* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --bg: #07101f;
  --panel: rgba(10, 18, 43, 0.85);
  --panel-soft: rgba(15, 27, 62, 0.74);
  --line: rgba(110, 188, 255, 0.12);
  --text: #eaf4ff;
  --muted: #9eb6d1;
  --primary: #41d8ff;
  --secondary: #7a7cff;
  --success: #38d39f;
  --danger: #ff7a94;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top, rgba(72, 193, 255, 0.16), transparent 26%),
    linear-gradient(180deg, #081123 0%, #060d18 100%);
  color: var(--text);
}

body.home-reference {
  background:
    radial-gradient(circle at 14% 10%, rgba(53, 210, 255, 0.2), transparent 22%),
    radial-gradient(circle at 82% 12%, rgba(203, 80, 255, 0.18), transparent 22%),
    radial-gradient(circle at 58% 64%, rgba(60, 133, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #09112a 0%, #08142f 38%, #08112a 100%);
  background-attachment: fixed;
}

body.home-reference::before,
body.home-reference::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body.home-reference::before {
  background:
    radial-gradient(circle at 20% 18%, rgba(0, 217, 255, 0.1) 0 10%, transparent 11%),
    radial-gradient(circle at 76% 14%, rgba(202, 90, 255, 0.12) 0 9%, transparent 10%),
    radial-gradient(circle at 50% 76%, rgba(74, 159, 255, 0.09) 0 14%, transparent 15%);
  filter: blur(36px);
  opacity: 0.9;
  animation: homeAuroraFloat 16s ease-in-out infinite alternate;
}

body.home-reference::after {
  background:
    linear-gradient(90deg, transparent 0%, rgba(0, 214, 255, 0.05) 48%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(144, 91, 255, 0.05) 50%, transparent 100%);
  mix-blend-mode: screen;
  opacity: 0.45;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

#app {
  max-width: var(--lm-canvas-width, 430px);
  min-height: 100vh;
  margin: 0 auto;
}

.app-shell {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.app-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(104, 146, 205, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(104, 146, 205, 0.1) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

body.home-reference .app-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 10%, rgba(40, 215, 255, 0.22), transparent 18%),
    radial-gradient(circle at 78% 82%, rgba(192, 83, 255, 0.16), transparent 20%),
    linear-gradient(180deg, rgba(14, 31, 72, 0.08) 0%, rgba(11, 18, 43, 0) 100%);
  opacity: 0.9;
}

.page-shell {
  position: relative;
  z-index: 1;
  padding: 20px 16px 30px;
}

@keyframes homeAuroraFloat {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  50% {
    transform: translate3d(2%, 1%, 0) scale(1.05);
  }
  100% {
    transform: translate3d(-1%, 3%, 0) scale(1.02);
  }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  padding: 0 16px;
  background: rgba(6, 13, 28, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(83, 161, 230, 0.2);
}

body.home-reference .topbar {
  background:
    linear-gradient(90deg, rgba(8, 16, 44, 0.98) 0%, rgba(12, 25, 61, 0.96) 34%, rgba(20, 17, 59, 0.96) 70%, rgba(8, 16, 44, 0.98) 100%);
  backdrop-filter: blur(18px);
  border-bottom-color: rgba(95, 184, 255, 0.26);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.topbar-side {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
}

.topbar-right {
  justify-content: flex-end;
  gap: 10px;
}

.menu-toggle,
.country-switch,
.country-option {
  border: 0;
  color: var(--text);
}

.menu-toggle,
.country-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(16, 28, 62, 0.95);
  box-shadow: inset 0 0 0 1px rgba(110, 188, 255, 0.15);
  cursor: pointer;
  transition: 0.2s ease;
}

.menu-toggle:hover,
.country-switch:hover,
.menu-toggle[aria-expanded="true"],
.country-switch[aria-expanded="true"] {
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px rgba(110, 188, 255, 0.35), 0 10px 24px rgba(8, 17, 35, 0.32);
}

.menu-lines {
  width: 20px;
  height: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-lines span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), #9ecbff);
}

.menu-toggle-text {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #d3ecff;
}

.topbar-menu,
.country-menu,
.topbar-auth-menu {
  position: absolute;
  top: calc(100% + 10px);
  display: none;
  flex-direction: column;
  gap: 8px;
  min-width: 178px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(7, 14, 33, 0.98);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.topbar-menu {
  left: 0;
}

.country-menu {
  right: 0;
}

.topbar-auth-menu {
  right: 98px;
}

.topbar-menu.is-open,
.country-menu.is-open,
.topbar-auth-menu.is-open {
  display: flex;
}

.topbar-auth-trigger {
  min-width: 108px;
  justify-content: center;
}

#topbar-auth-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar-link,
.country-option {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(19, 31, 71, 0.7);
  color: var(--muted);
  cursor: pointer;
  transition: 0.2s ease;
}

.topbar-link[hidden],
.country-option[hidden],
[data-auth-only][hidden],
[data-guest-only][hidden] {
  display: none !important;
}

.topbar-link:hover,
.country-option:hover,
.topbar-link.is-active,
.country-option.is-active {
  color: var(--text);
  background: linear-gradient(90deg, rgba(65, 216, 255, 0.2), rgba(122, 124, 255, 0.2));
}

.brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(66, 218, 255, 0.25), rgba(122, 124, 255, 0.28));
  box-shadow: 0 0 20px rgba(65, 216, 255, 0.16);
}

.brand-mark img {
  width: 24px;
  height: 24px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 0.14em;
}

.brand-copy small {
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: 0.36em;
  color: var(--muted);
}

.country-icon {
  width: 18px;
  height: 18px;
}

.country-icon img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.country-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.country-copy strong {
  font-size: 13px;
}

.country-copy small {
  font-size: 11px;
  color: var(--muted);
}

.country-caret {
  color: #87d1ff;
}

.panel,
.hero-card,
.feature-card,
.stat-card,
.content-card,
.form-card,
.footer-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card,
.content-card,
.form-card {
  padding: 24px;
}

.hero-card::after,
.content-card::after,
.form-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(65, 216, 255, 0.16), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(122, 124, 255, 0.16), transparent 25%);
  pointer-events: none;
}

.hero-grid,
.section-grid,
.stats-grid,
.feature-grid,
.dual-grid,
.footer-grid {
  display: grid;
  gap: 16px;
}

.hero-grid {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(65, 216, 255, 0.12);
  color: #b7efff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-title {
  margin: 18px 0 12px;
  font-size: 40px;
  line-height: 1.08;
}

.hero-subtitle,
.section-copy,
.meta-copy,
.footer-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn,
.btn-secondary {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  border: 0;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #04111f;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(65, 216, 255, 0.2);
}

.btn-secondary {
  background: rgba(18, 31, 69, 0.86);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(110, 188, 255, 0.18);
}

.btn:hover,
.btn-secondary:hover {
  transform: translateY(-1px);
}

.btn:disabled,
.btn-secondary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.metric-card,
.stat-card,
.feature-card,
.mini-card {
  padding: 16px;
  border-radius: var(--radius-lg);
  background: rgba(17, 30, 69, 0.78);
  border: 1px solid rgba(113, 188, 255, 0.12);
}

.metric-card strong,
.stat-card strong {
  display: block;
  font-size: 20px;
  margin-bottom: 6px;
}

.metric-card span,
.stat-card span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.hero-visual {
  padding: 20px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(18, 34, 74, 0.92), rgba(8, 17, 35, 0.92));
  border: 1px solid rgba(110, 188, 255, 0.14);
}

.hero-visual img {
  width: 100%;
  margin: 0 auto 18px;
}

.mini-card-grid {
  display: grid;
  gap: 12px;
}

.mini-card-label {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}

.mini-card-value {
  font-size: 22px;
  font-weight: 700;
}

.section {
  margin-top: 18px;
}

.section-head {
  margin-bottom: 14px;
}

.section-title {
  margin: 0 0 10px;
  font-size: 28px;
}

.feature-card h3,
.content-list strong {
  margin: 0 0 8px;
  font-size: 18px;
}

.feature-card p,
.content-list span,
.label,
.hint,
.status-text {
  color: var(--muted);
  line-height: 1.6;
}

.stats-grid,
.feature-grid,
.dual-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.timeline-step {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(65, 216, 255, 0.18), rgba(122, 124, 255, 0.18));
  color: #dff8ff;
  font-weight: 700;
}

.content-list {
  display: grid;
  gap: 14px;
}

.content-list-item {
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--panel-soft);
  border: 1px solid rgba(110, 188, 255, 0.1);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: var(--radius-lg);
  background: var(--panel-soft);
  border: 1px solid rgba(110, 188, 255, 0.14);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 18px 18px;
  color: var(--muted);
  line-height: 1.7;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.shell {
  display: grid;
  gap: 18px;
}

.home-source-hero {
  z-index: 1;
}

.home-source-title,
.home-section-title {
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
}

.home-section-title {
  font-size: 26px;
}

.home-source-subline,
.home-source-copy,
.home-section-subtitle,
.home-footer-copy {
  margin: 0;
  color: #c4def5;
  line-height: 1.7;
}

.home-source-subline {
  margin-bottom: 12px;
}

.home-source-subline span {
  color: #37b7ff;
  font-weight: 700;
}

.home-source-copy,
.home-section-subtitle {
  margin-top: 12px;
}

.home-feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.home-feature-pill,
.home-quota-card {
  padding: 16px;
  border-radius: var(--radius-lg);
  background: rgba(17, 30, 69, 0.78);
  border: 1px solid rgba(113, 188, 255, 0.12);
}

.home-quota-card.has-approval-card {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.approval-card {
  position: relative;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(30, 58, 138, 0.25));
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 24px;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.approval-card-head {
  margin-bottom: 20px;
}

.approval-card-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}

.approval-card-main {
  flex: 1 1 auto;
  min-width: 0;
}

.approval-card-status {
  flex: 0 1 128px;
  min-width: 0;
  text-align: right;
}

.approval-card-status-value {
  display: block;
  max-width: 100%;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  text-wrap: pretty;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.approval-card-title {
  display: block;
  font-size: 14px;
  color: #93c5fd;
  margin-bottom: 4px;
}

.approval-card-amount {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
}

.approval-card-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.approval-card-item span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.approval-card-item strong {
  display: block;
  font-size: 14px;
  color: #ffffff;
}

.approval-card-footer {
  position: relative;
  z-index: 2;
}

.approval-card-btn {
  width: 100%;
  text-align: center;
}

.approval-card-link-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.approval-card.is-profile {
  margin-bottom: 16px;
}

.loan-notice-card-home {
  margin-bottom: 0;
  padding: 18px 22px 20px;
  background:
    radial-gradient(circle at top right, rgba(73, 151, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(23, 35, 68, 0.98), rgba(13, 21, 44, 0.98));
  border: 1px solid rgba(102, 153, 255, 0.22);
  border-bottom: none;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: 0 16px 40px rgba(5, 10, 25, 0.28);
}

.loan-notice-home-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.loan-notice-home-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(123, 170, 255, 0.14);
  border: 1px solid rgba(123, 170, 255, 0.2);
  color: #dbe8ff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.loan-notice-home-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-align: right;
}

.loan-notice-home-body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.loan-notice-home-amount-block {
  min-width: 0;
}

.loan-notice-home-label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  color: #9fb5e8;
  letter-spacing: 0.03em;
}

.loan-notice-home-amount {
  display: block;
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
  color: #ffffff;
}

.loan-notice-home-status {
  max-width: 280px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #d6e2ff;
  font-size: 13px;
  line-height: 1.5;
}

.home-application-status-card {
  position: relative;
  margin-top: 18px;
  margin-bottom: 0;
  padding: 22px 22px 18px;
  background: #1f7dff;
  border: 1px solid rgba(151, 204, 255, 0.26);
  box-shadow: 0 18px 42px rgba(8, 37, 92, 0.28);
}

.home-application-status-card.is-reviewing {
  background: linear-gradient(135deg, #27ae60 0%, #48c774 100%);
  border-color: rgba(184, 244, 203, 0.42);
  box-shadow: 0 18px 42px rgba(18, 92, 48, 0.26);
}

.home-application-status-card.is-pending {
  background: linear-gradient(135deg, #e5a11b 0%, #f4bf47 100%);
  border-color: rgba(255, 225, 153, 0.42);
  box-shadow: 0 18px 42px rgba(154, 101, 8, 0.24);
}

.home-application-status-head {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  text-align: center;
}

.home-application-status-kicker {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-application-status-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  text-align: center;
}

.home-application-status-copy {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.home-application-status-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.home-application-status-badge.is-reviewing {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.home-application-status-badge.is-pending {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.home-application-status-badge.is-success {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.home-application-status-badge.is-danger {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.home-application-status-amount-block {
  margin-top: 2px;
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
}

.home-application-status-label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.home-application-status-amount {
  display: block;
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  word-break: break-word;
}

.home-application-status-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.home-application-status-cta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 16px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}

@media (max-width: 640px) {
  .home-application-status-dual-grid {
    grid-template-columns: 1fr;
  }

  .approval-card-head-row {
    gap: 12px;
  }

  .approval-card-status {
    flex-basis: 112px;
  }

  .approval-card-amount {
    font-size: 28px;
  }

  .loan-notice-home-head,
  .loan-notice-home-body {
    flex-direction: column;
    align-items: flex-start;
  }

  .loan-notice-home-title {
    text-align: left;
  }

  .loan-notice-home-amount {
    font-size: 28px;
  }

  .loan-notice-home-status {
    max-width: none;
    width: 100%;
  }

  .home-application-status-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-application-status-grid {
    grid-template-columns: 1fr;
  }
}

.home-feature-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 170px;
  text-align: center;
  font-weight: 600;
}

.home-feature-text {
  max-width: 80px;
  line-height: 1.5;
}

.home-feature-icon {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(156, 246, 255, 0.98) 0 18%, rgba(34, 216, 255, 0.95) 19% 28%, rgba(17, 126, 226, 0.92) 29% 36%, rgba(17, 126, 226, 0.28) 37% 56%, transparent 57%),
    radial-gradient(circle at center, rgba(21, 43, 95, 0.94) 0 72%, rgba(7, 21, 54, 0.98) 73% 100%);
  border: 1px solid rgba(82, 218, 255, 0.28);
  box-shadow:
    inset 0 0 18px rgba(124, 238, 255, 0.12),
    0 0 24px rgba(35, 219, 255, 0.22);
}

.home-feature-icon::before,
.home-feature-icon::after {
  content: "";
  position: absolute;
}

.home-feature-icon-exchange::before {
  left: 15px;
  top: 18px;
  width: 32px;
  height: 24px;
  background:
    linear-gradient(#0a5f92, #0a5f92) left 6px top 4px / 16px 2px no-repeat,
    linear-gradient(#0a5f92, #0a5f92) right 6px bottom 4px / 16px 2px no-repeat,
    linear-gradient(45deg, transparent 44%, #0a5f92 44% 56%, transparent 56%) right 6px top 0 / 8px 8px no-repeat,
    linear-gradient(225deg, transparent 44%, #0a5f92 44% 56%, transparent 56%) left 6px bottom 0 / 8px 8px no-repeat;
}

.home-feature-icon-exchange::after {
  left: 18px;
  top: 21px;
  width: 26px;
  height: 18px;
  border-top: 2px solid rgba(10, 95, 146, 0.58);
  border-bottom: 2px solid rgba(10, 95, 146, 0.58);
  border-radius: 999px;
}

.home-feature-icon-time::before {
  left: 16px;
  top: 16px;
  width: 26px;
  height: 26px;
  border: 2px solid #0a5f92;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(10, 95, 146, 0.12);
}

.home-feature-icon-time::after {
  left: 29px;
  top: 20px;
  width: 2px;
  height: 15px;
  background: #0a5f92;
  transform-origin: top center;
  box-shadow:
    5px 5px 0 -0.5px #0a5f92,
    0 -4px 0 -0.5px #0a5f92,
    0 18px 0 -0.5px rgba(10, 95, 146, 0.12);
}

.home-feature-icon-mortgage::before {
  left: 17px;
  top: 15px;
  width: 28px;
  height: 18px;
  background:
    linear-gradient(45deg, transparent 43%, #0a5f92 43% 50%, transparent 50%) left top / 15px 16px no-repeat,
    linear-gradient(-45deg, transparent 43%, #0a5f92 43% 50%, transparent 50%) right top / 15px 16px no-repeat,
    linear-gradient(#0a5f92, #0a5f92) center 2px / 2px 7px no-repeat;
}

.home-feature-icon-mortgage::after {
  left: 20px;
  bottom: 15px;
  width: 20px;
  height: 13px;
  border: 2px solid #0a5f92;
  border-top: 0;
  border-radius: 0 0 3px 3px;
  background:
    linear-gradient(#0a5f92, #0a5f92) center bottom / 4px 7px no-repeat;
}

.home-quota-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.home-quota-title {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.home-quota-range {
  font-size: 28px;
  font-weight: 700;
}

.home-about-grid {
  display: grid;
  gap: 16px;
}

.home-about-image {
  margin-top: 16px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(113, 188, 255, 0.12);
}

.home-about-image img {
  width: 100%;
  display: block;
}

.hero-sub {
  margin: 0 0 20px;
  color: #c4def5;
  line-height: 1.7;
}

.hero-sub span {
  color: #37b7ff;
  font-weight: 700;
}

.grid,
.actions-grid,
.menu-card {
  display: grid;
  gap: 14px;
}

.grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat,
.action-card,
.menu-item {
  padding: 16px;
  border-radius: var(--radius-lg);
  background: rgba(17, 30, 69, 0.78);
  border: 1px solid rgba(113, 188, 255, 0.12);
}

.value {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.actions-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.action-card {
  min-height: 132px;
  display: flex;
  align-items: center;
}

.action-content {
  width: 100%;
}

.action-title {
  margin: 0 0 8px;
  font-size: 20px;
}

.action-desc,
.menu-label,
.label {
  color: var(--muted);
  line-height: 1.6;
}

.menu-label {
  font-weight: 600;
}

.home-footer-copy {
  margin-top: 6px;
}

body.home-reference .page-shell {
  padding: 16px 12px 24px;
}

body.home-reference .shell {
  gap: 18px;
}

body.home-reference .section {
  margin-top: 18px;
}

body.home-reference {
  --home-glow-line: rgba(46, 225, 255, 0.28);
  --home-glow-border: rgba(122, 165, 235, 0.16);
  --home-glow-inner: rgba(136, 176, 240, 0.03);
  --home-glow-shadow: rgba(20, 58, 120, 0.06);
  --home-card-bg: linear-gradient(180deg, rgba(20, 31, 76, 0.88) 0%, rgba(12, 25, 63, 0.84) 100%);
  --home-section-card-bg: linear-gradient(180deg, rgba(15, 27, 70, 0.92) 0%, rgba(21, 57, 105, 0.84) 100%);
  --home-card-radius: 18px;
  --home-section-cyan: #10d9ff;
}

body.home-reference .home-feature-pill,
body.home-reference .hero-card.home-source-hero,
body.home-reference .home-about-card,
body.home-reference .faq-item,
body.home-reference .home-advantage-card,
body.home-reference .stat,
body.home-reference .home-quota-card {
  position: relative;
  border: 1px solid var(--home-glow-border);
  box-shadow:
    inset 0 0 0 1px var(--home-glow-inner),
    0 0 10px var(--home-glow-shadow);
  overflow: hidden;
  border-radius: var(--home-card-radius);
}

body.home-reference .home-source-hero {
  padding: 24px;
  background: var(--home-card-bg);
}

body.home-reference .home-source-title {
  font-size: 32px;
  line-height: 1.2;
  color: var(--text);
}

body.home-reference .home-source-subline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 700;
  color: #bfeeff;
}

body.home-reference .home-source-subline span {
  display: inline-flex;
  min-height: 28px;
  padding: 0 12px;
  align-items: center;
  border-radius: 999px;
  background: rgba(65, 216, 255, 0.12);
  color: #ffffff;
  font-size: 14px;
}

body.home-reference .home-source-copy,
body.home-reference .home-section-subtitle {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

body.home-reference .home-feature-strip {
  gap: 14px;
  margin-top: 22px;
}

body.home-reference .home-feature-pill {
  position: relative;
  min-height: 170px;
  padding: 18px 8px 16px;
  background: linear-gradient(180deg, rgba(23, 36, 86, 0.9) 0%, rgba(13, 31, 76, 0.82) 100%);
}

body.home-reference .home-feature-icon {
  width: 52px;
  height: 52px;
  color: #ffffff;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.home-reference .home-feature-icon::before,
body.home-reference .home-feature-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
}

body.home-reference .home-feature-text {
  max-width: 64px;
  font-size: 13px;
  line-height: 1.6;
  color: #f3f7ff;
}

body.home-reference .home-feature-icon-exchange::before {
  width: 30px;
  height: 18px;
  transform: translate(-50%, -50%);
  background:
    linear-gradient(currentColor, currentColor) left 2px top 4px / 18px 2px no-repeat,
    linear-gradient(currentColor, currentColor) right 2px bottom 4px / 18px 2px no-repeat,
    linear-gradient(45deg, transparent 44%, currentColor 44% 56%, transparent 56%) right 1px top 0 / 8px 8px no-repeat,
    linear-gradient(225deg, transparent 44%, currentColor 44% 56%, transparent 56%) left 1px bottom 0 / 8px 8px no-repeat;
}

body.home-reference .home-feature-icon-exchange::after {
  width: 22px;
  height: 10px;
  transform: translate(-50%, -50%);
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  border-radius: 999px;
  opacity: 0.8;
}

body.home-reference .home-feature-icon-time::before {
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
  border: 2px solid currentColor;
  border-radius: 50%;
}

body.home-reference .home-feature-icon-time::after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
  background: currentColor;
  box-shadow:
    5px 4px 0 -0.5px currentColor;
}

body.home-reference .home-feature-icon-mortgage::before {
  width: 26px;
  height: 22px;
  transform: translate(-50%, -50%);
  background:
    linear-gradient(45deg, transparent 43%, currentColor 43% 50%, transparent 50%) left top / 14px 14px no-repeat,
    linear-gradient(-45deg, transparent 43%, currentColor 43% 50%, transparent 50%) right top / 14px 14px no-repeat,
    linear-gradient(currentColor, currentColor) center 12px / 18px 2px no-repeat,
    linear-gradient(currentColor, currentColor) left 4px bottom 2px / 2px 8px no-repeat,
    linear-gradient(currentColor, currentColor) right 4px bottom 2px / 2px 8px no-repeat;
}

body.home-reference .home-feature-icon-mortgage::after {
  width: 30px;
  height: 2px;
  transform: translate(-50%, -50%) rotate(-32deg);
  background: currentColor;
}
}

body.home-reference .home-quota-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 28px 18px;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #67cfff 0%, #9ce7ff 100%) !important;
  border-color: rgba(223, 246, 255, 0.95) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.28),
    0 14px 28px rgba(69, 177, 238, 0.28) !important;
}

body.home-reference .home-quota-card::before,
body.home-reference .home-quota-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

body.home-reference .home-quota-card::before {
  z-index: 0;
  background: none;
  animation: none;
}

body.home-reference .home-quota-card::after {
  z-index: 0;
  background: none;
  transform: none;
  opacity: 0;
  will-change: transform, opacity;
  animation: none;
}

body.home-reference .home-quota-card > * {
  position: relative;
  z-index: 1;
}

body.home-reference .home-quota-title,
body.home-reference .home-quota-range {
  color: #ffffff;
}

body.home-reference .home-quota-title {
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

body.home-reference .home-quota-range {
  font-size: 15px;
  font-weight: 700;
}

body.home-reference .home-quota-card .btn {
  min-width: 170px;
  margin-top: 18px;
  background: #ececf5;
  color: #6b75ea;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.28),
    0 10px 22px rgba(32, 112, 194, 0.16);
}

body.home-reference .home-quota-card .btn:hover {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.32),
    0 12px 24px rgba(32, 112, 194, 0.22);
}

body.home-reference .home-quota-card .btn::after {
  content: " ->";
}

@keyframes quotaDiagonalSweep {
  0% {
    transform: translate3d(-160%, 160%, 0);
    opacity: 0;
  }
  10% {
    opacity: 0.94;
  }
  34% {
    transform: translate3d(160%, -160%, 0);
    opacity: 0.94;
  }
  42%,
  100% {
    transform: translate3d(160%, -160%, 0);
    opacity: 0;
  }
}

@keyframes quotaColorCycle {
  0%,
  19.999% {
    background: linear-gradient(135deg, rgba(53, 132, 220, 0.98) 0%, rgba(43, 196, 224, 0.95) 100%);
  }
  20%,
  39.999% {
    background: linear-gradient(135deg, rgba(76, 102, 224, 0.98) 0%, rgba(114, 134, 236, 0.95) 100%);
  }
  40%,
  59.999% {
    background: linear-gradient(135deg, rgba(36, 158, 172, 0.98) 0%, rgba(62, 206, 177, 0.94) 100%);
  }
  60%,
  79.999% {
    background: linear-gradient(135deg, rgba(45, 125, 204, 0.98) 0%, rgba(59, 170, 236, 0.95) 100%);
  }
  80%,
  100% {
    background: linear-gradient(135deg, rgba(32, 146, 183, 0.98) 0%, rgba(45, 204, 214, 0.95) 100%);
  }
}

body.home-reference .home-stats-stack {
  gap: 14px;
}

body.home-reference .stat {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 104px;
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(62, 79, 155, 0.66) 0%, rgba(29, 68, 133, 0.56) 100%);
}

body.home-reference .home-stats-stack .stat:nth-child(2) {
  background: linear-gradient(135deg, rgba(116, 72, 125, 0.62) 0%, rgba(95, 58, 93, 0.52) 100%);
}

body.home-reference .home-stats-stack .stat:nth-child(3) {
  background: linear-gradient(135deg, rgba(48, 88, 144, 0.66) 0%, rgba(25, 98, 128, 0.52) 100%);
}

body.home-reference .home-stats-stack .stat:nth-child(4) {
  background: linear-gradient(135deg, rgba(26, 84, 105, 0.66) 0%, rgba(15, 91, 92, 0.54) 100%);
}

body.home-reference .home-stats-stack .stat::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  pointer-events: none;
  will-change: transform, opacity;
  transform-origin: center center;
}

body.home-reference .home-stats-stack .stat::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.26;
  pointer-events: none;
  will-change: transform, opacity;
}

body.home-reference .home-stats-stack .stat:nth-child(1)::after {
  background:
    linear-gradient(90deg, rgba(163, 214, 255, 0.12), rgba(163, 214, 255, 0.12)) 72% 64% / 40px 1px no-repeat,
    linear-gradient(rgba(163, 214, 255, 0.12), rgba(163, 214, 255, 0.12)) 72% 64% / 1px 32px no-repeat,
    linear-gradient(35deg, transparent 46%, rgba(185, 226, 255, 0.18) 49% 50%, transparent 53%) 72% 64% / 42px 24px no-repeat,
    linear-gradient(-35deg, transparent 46%, rgba(185, 226, 255, 0.14) 49% 50%, transparent 53%) 72% 64% / 30px 18px no-repeat;
  animation: statGlyphOrbitA 7.8s cubic-bezier(0.44, 0.06, 0.52, 0.98) infinite;
}

body.home-reference .home-stats-stack .stat:nth-child(1)::before {
  background:
    linear-gradient(90deg, rgba(120, 204, 255, 0.08), rgba(120, 204, 255, 0.08)) 72% 64% / 54px 1px no-repeat,
    linear-gradient(rgba(120, 204, 255, 0.08), rgba(120, 204, 255, 0.08)) 72% 64% / 1px 42px no-repeat,
    linear-gradient(90deg, rgba(120, 204, 255, 0.08), rgba(120, 204, 255, 0.08)) 72% 50% / 28px 1px no-repeat,
    linear-gradient(90deg, rgba(120, 204, 255, 0.08), rgba(120, 204, 255, 0.08)) 72% 78% / 22px 1px no-repeat,
    linear-gradient(rgba(120, 204, 255, 0.08), rgba(120, 204, 255, 0.08)) 60% 64% / 1px 16px no-repeat,
    linear-gradient(rgba(120, 204, 255, 0.08), rgba(120, 204, 255, 0.08)) 84% 64% / 1px 12px no-repeat;
  animation: statGlyphFieldA 9.4s cubic-bezier(0.38, 0.08, 0.34, 1) infinite;
}

body.home-reference .home-stats-stack .stat:nth-child(2)::after {
  left: 16px;
  top: 50%;
  width: 78px;
  height: 78px;
  inset: auto;
  border-radius: 50%;
  border: 2px solid rgba(191, 164, 255, 0.16);
  box-shadow:
    inset 0 0 0 1px rgba(243, 208, 255, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.02);
  transform: translate3d(0, -50%, 0);
  background:
    radial-gradient(circle at 50% 50%, transparent 0 18px, rgba(248, 189, 255, 0.16) 19px 20px, transparent 21px),
    radial-gradient(circle at 50% 50%, transparent 0 27px, rgba(248, 189, 255, 0.12) 28px 29px, transparent 30px),
    linear-gradient(90deg, rgba(248, 189, 255, 0.1), rgba(248, 189, 255, 0.1)) 50% 50% / 38px 1px no-repeat;
  animation: statGlyphOrbitB 8.8s cubic-bezier(0.44, 0.05, 0.58, 0.98) infinite;
}

body.home-reference .home-stats-stack .stat:nth-child(2)::before {
  left: auto;
  right: 22px;
  top: 50%;
  width: 66px;
  height: 56px;
  inset: auto;
  border: 2px solid rgba(190, 160, 255, 0.18);
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0 50%);
  transform: translate3d(0, -50%, 0);
  background:
    linear-gradient(90deg, rgba(208, 176, 255, 0.12), rgba(208, 176, 255, 0.12)) 0 50% / 58px 1px no-repeat,
    linear-gradient(135deg, rgba(255, 189, 235, 0.04), rgba(153, 141, 255, 0.06));
  animation: statGlyphHexB 9.6s cubic-bezier(0.46, 0.08, 0.38, 1) infinite;
}

body.home-reference .home-stats-stack .stat:nth-child(3)::after {
  background:
    radial-gradient(circle at 80% 46%, transparent 0 26px, rgba(255, 164, 164, 0.18) 27px 28px, transparent 29px),
    radial-gradient(circle at 80% 46%, transparent 0 36px, rgba(255, 164, 164, 0.1) 37px 38px, transparent 39px),
    conic-gradient(from 40deg at 80% 46%, transparent 0 18%, rgba(255, 164, 164, 0.16) 18% 25%, transparent 25% 100%);
  animation: statGlyphArcC 8.2s cubic-bezier(0.45, 0.06, 0.55, 0.98) infinite;
}

body.home-reference .home-stats-stack .stat:nth-child(3)::before {
  background:
    linear-gradient(90deg, rgba(246, 147, 147, 0.16), rgba(246, 147, 147, 0.16)) 52% 76% / 88px 2px no-repeat,
    repeating-linear-gradient(90deg, transparent 0 10px, rgba(246, 147, 147, 0.07) 10px 11px, transparent 11px 18px) 56% 66% / 80px 32px no-repeat,
    linear-gradient(90deg, rgba(246, 147, 147, 0.1), rgba(246, 147, 147, 0.1)) 60% 68% / 56px 1px no-repeat;
  animation: statGlyphLineC 9.4s cubic-bezier(0.38, 0.08, 0.34, 1) infinite;
}

body.home-reference .home-stats-stack .stat:nth-child(4)::after {
  background:
    radial-gradient(circle at 58% 54%, transparent 0 4px, rgba(255, 115, 185, 0.2) 4px 5px, transparent 6px),
    radial-gradient(circle at 42% 38%, transparent 0 3px, rgba(255, 115, 185, 0.18) 3px 4px, transparent 5px),
    radial-gradient(circle at 75% 38%, transparent 0 3px, rgba(255, 115, 185, 0.18) 3px 4px, transparent 5px),
    radial-gradient(circle at 46% 70%, transparent 0 3px, rgba(255, 115, 185, 0.18) 3px 4px, transparent 5px),
    radial-gradient(circle at 79% 70%, transparent 0 3px, rgba(255, 115, 185, 0.18) 3px 4px, transparent 5px);
  animation: statGlyphNodesD 8.6s cubic-bezier(0.43, 0.06, 0.57, 0.95) infinite;
}

body.home-reference .home-stats-stack .stat:nth-child(4)::before {
  background:
    linear-gradient(rgba(255, 115, 185, 0.1), rgba(255, 115, 185, 0.1)) 50% 46% / 42px 1px no-repeat,
    linear-gradient(rgba(255, 115, 185, 0.1), rgba(255, 115, 185, 0.1)) 62% 62% / 30px 1px no-repeat,
    linear-gradient(90deg, rgba(255, 115, 185, 0.1), rgba(255, 115, 185, 0.1)) 52% 62% / 1px 30px no-repeat,
    linear-gradient(60deg, transparent 47%, rgba(255, 115, 185, 0.1) 49% 50%, transparent 52%) 61% 46% / 38px 30px no-repeat,
    linear-gradient(-60deg, transparent 47%, rgba(255, 115, 185, 0.1) 49% 50%, transparent 52%) 60% 62% / 40px 32px no-repeat;
  animation: statGlyphNetworkD 10.1s cubic-bezier(0.46, 0.08, 0.38, 1) infinite;
}

body.home-reference .stat .label {
  position: relative;
  z-index: 1;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: none;
}

body.home-reference .stat .value {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  font-size: 19px;
  line-height: 1.3;
  color: var(--home-section-cyan);
  text-shadow: 0 0 14px rgba(0, 216, 255, 0.18);
}

@keyframes statGlyphOrbitA {
  0% {
    transform: translate3d(-4%, 5%, 0) scale(0.96) rotate(-6deg);
    opacity: 0.16;
  }
  21% {
    transform: translate3d(5%, -3%, 0) scale(1.04) rotate(8deg);
    opacity: 0.3;
  }
  47% {
    transform: translate3d(-3%, -6%, 0) scale(0.98) rotate(14deg);
    opacity: 0.2;
  }
  73% {
    transform: translate3d(6%, 3%, 0) scale(1.06) rotate(-9deg);
    opacity: 0.32;
  }
  100% {
    transform: translate3d(-4%, 5%, 0) scale(0.96) rotate(-6deg);
    opacity: 0.16;
  }
}

@keyframes statGlyphFieldA {
  0% {
    transform: translate3d(4%, -4%, 0) scale(0.98) rotate(5deg);
    opacity: 0.12;
  }
  24% {
    transform: translate3d(-4%, 5%, 0) scale(1.04) rotate(-7deg);
    opacity: 0.24;
  }
  58% {
    transform: translate3d(3%, 2%, 0) scale(1) rotate(10deg);
    opacity: 0.16;
  }
  82% {
    transform: translate3d(-5%, -5%, 0) scale(1.06) rotate(-6deg);
    opacity: 0.24;
  }
  100% {
    transform: translate3d(4%, -4%, 0) scale(0.98) rotate(5deg);
    opacity: 0.12;
  }
}

@keyframes statGlyphOrbitB {
  0% {
    transform: translate3d(0, -50%, 0) scale(0.94) rotate(-10deg);
    opacity: 0.2;
  }
  26% {
    transform: translate3d(6px, calc(-50% - 6px), 0) scale(1.08) rotate(8deg);
    opacity: 0.36;
  }
  52% {
    transform: translate3d(-5px, calc(-50% + 8px), 0) scale(0.98) rotate(17deg);
    opacity: 0.24;
  }
  78% {
    transform: translate3d(7px, calc(-50% - 4px), 0) scale(1.1) rotate(-13deg);
    opacity: 0.38;
  }
  100% {
    transform: translate3d(0, -50%, 0) scale(0.94) rotate(-10deg);
    opacity: 0.2;
  }
}

@keyframes statGlyphHexB {
  0% {
    transform: translate3d(0, -50%, 0) scale(0.94) rotate(8deg);
    opacity: 0.18;
  }
  29% {
    transform: translate3d(-5px, calc(-50% + 4px), 0) scale(1.08) rotate(-10deg);
    opacity: 0.3;
  }
  57% {
    transform: translate3d(4px, calc(-50% - 7px), 0) scale(0.98) rotate(-18deg);
    opacity: 0.2;
  }
  81% {
    transform: translate3d(-7px, calc(-50% + 2px), 0) scale(1.12) rotate(12deg);
    opacity: 0.32;
  }
  100% {
    transform: translate3d(0, -50%, 0) scale(0.94) rotate(8deg);
    opacity: 0.18;
  }
}

@keyframes statGlyphArcC {
  0% {
    transform: translate3d(-6%, 5%, 0) scale(0.94) rotate(-9deg);
    opacity: 0.2;
  }
  24% {
    transform: translate3d(7%, -4%, 0) scale(1.08) rotate(10deg);
    opacity: 0.34;
  }
  49% {
    transform: translate3d(-3%, -8%, 0) scale(0.98) rotate(20deg);
    opacity: 0.22;
  }
  74% {
    transform: translate3d(8%, 4%, 0) scale(1.12) rotate(-14deg);
    opacity: 0.34;
  }
  100% {
    transform: translate3d(-6%, 5%, 0) scale(0.94) rotate(-9deg);
    opacity: 0.2;
  }
}

@keyframes statGlyphLineC {
  0% {
    transform: translate3d(5%, -4%, 0) scale(0.96) rotate(7deg);
    opacity: 0.18;
  }
  28% {
    transform: translate3d(-6%, 6%, 0) scale(1.08) rotate(-9deg);
    opacity: 0.32;
  }
  53% {
    transform: translate3d(4%, 2%, 0) scale(1) rotate(15deg);
    opacity: 0.22;
  }
  79% {
    transform: translate3d(-7%, -6%, 0) scale(1.1) rotate(-11deg);
    opacity: 0.34;
  }
  100% {
    transform: translate3d(5%, -4%, 0) scale(0.96) rotate(7deg);
    opacity: 0.18;
  }
}

@keyframes statGlyphNodesD {
  0% {
    transform: translate3d(-4%, 6%, 0) scale(0.94) rotate(-8deg);
    opacity: 0.22;
  }
  22% {
    transform: translate3d(6%, -4%, 0) scale(1.08) rotate(10deg);
    opacity: 0.34;
  }
  51% {
    transform: translate3d(-3%, -7%, 0) scale(0.98) rotate(18deg);
    opacity: 0.24;
  }
  77% {
    transform: translate3d(8%, 5%, 0) scale(1.1) rotate(-12deg);
    opacity: 0.36;
  }
  100% {
    transform: translate3d(-4%, 6%, 0) scale(0.94) rotate(-8deg);
    opacity: 0.22;
  }
}

@keyframes statGlyphNetworkD {
  0% {
    transform: translate3d(5%, -5%, 0) scale(0.96) rotate(7deg);
    opacity: 0.18;
  }
  31% {
    transform: translate3d(-6%, 6%, 0) scale(1.08) rotate(-10deg);
    opacity: 0.3;
  }
  58% {
    transform: translate3d(3%, 2%, 0) scale(1) rotate(14deg);
    opacity: 0.22;
  }
  83% {
    transform: translate3d(-8%, -6%, 0) scale(1.12) rotate(-11deg);
    opacity: 0.32;
  }
  100% {
    transform: translate3d(5%, -5%, 0) scale(0.96) rotate(7deg);
    opacity: 0.18;
  }
}


body.home-reference .home-about-card {
  padding: 24px;
  background: var(--home-section-card-bg);
}

body.home-reference .section .home-section-title {
  position: relative;
  padding-left: 14px;
  margin-bottom: 16px;
  font-size: 18px;
  color: var(--home-section-cyan);
}

body.home-reference .section .home-section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 3px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(102, 236, 255, 1), rgba(10, 174, 255, 1));
  box-shadow: 0 0 12px rgba(0, 216, 255, 0.2);
}

body.home-reference .home-about-image {
  margin-top: 14px;
  margin-bottom: 16px;
  height: 122px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(113, 188, 255, 0.12);
  overflow: hidden;
  background: rgba(4, 13, 36, 0.8);
}

body.home-reference .home-about-image img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
}

body.home-reference .home-faq-list {
  gap: 12px;
}

body.home-reference .faq-item {
  background: var(--home-section-card-bg);
}

body.home-reference .faq-question {
  min-height: 58px;
  padding: 0 18px;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: #eef7ff;
}

body.home-reference .faq-question:hover {
  color: #9cecff;
}

body.home-reference .faq-question > span:first-child {
  max-width: calc(100% - 24px);
}

body.home-reference .faq-caret {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: transparent;
  font-size: 0;
  line-height: 0;
  transition: transform 0.2s ease;
}

body.home-reference .faq-caret::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 3px;
  width: 7px;
  height: 7px;
  border-right: 2px solid #65e7ff;
  border-bottom: 2px solid #65e7ff;
  box-shadow: 0 0 8px rgba(0, 216, 255, 0.2);
  transform: rotate(45deg);
}

body.home-reference .faq-item.is-open .faq-caret {
  transform: rotate(180deg);
}

body.home-reference .faq-answer {
  padding: 0 18px 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

body.home-reference .home-advantages-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body.home-reference .home-advantage-card {
  min-height: 82px;
  padding: 16px;
  background: var(--home-section-card-bg);
}

body.home-reference .home-advantage-card .action-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.home-reference .home-advantage-check {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  position: relative;
  background: transparent;
  box-shadow: none;
}

body.home-reference .home-advantage-check::before,
body.home-reference .home-advantage-check::after {
  content: "";
  position: absolute;
}

body.home-reference .home-advantage-icon-mortgage::before {
  left: 5px;
  top: 4px;
  width: 18px;
  height: 12px;
  background:
    linear-gradient(45deg, transparent 43%, currentColor 43% 50%, transparent 50%) left top / 10px 11px no-repeat,
    linear-gradient(-45deg, transparent 43%, currentColor 43% 50%, transparent 50%) right top / 10px 11px no-repeat,
    linear-gradient(currentColor, currentColor) center 1px / 2px 5px no-repeat;
}

body.home-reference .home-advantage-icon-mortgage::after {
  left: 7px;
  bottom: 5px;
  width: 14px;
  height: 10px;
  border: 2px solid currentColor;
  border-top: 0;
}

body.home-reference .home-advantage-icon-guarantee::before {
  left: 7px;
  top: 4px;
  width: 14px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 8px 8px 10px 10px;
  clip-path: polygon(50% 0, 100% 18%, 100% 65%, 50% 100%, 0 65%, 0 18%);
}

body.home-reference .home-advantage-icon-guarantee::after {
  left: 11px;
  top: 10px;
  width: 8px;
  height: 5px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

body.home-reference .home-advantage-icon-quota::before {
  left: 5px;
  top: 7px;
  width: 18px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

body.home-reference .home-advantage-icon-quota::after {
  left: 12px;
  top: 5px;
  width: 4px;
  height: 16px;
  background:
    linear-gradient(currentColor, currentColor) center top / 2px 16px no-repeat,
    linear-gradient(currentColor, currentColor) center center / 8px 2px no-repeat;
}

body.home-reference .home-advantage-icon-fast::before {
  left: 6px;
  top: 5px;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

body.home-reference .home-advantage-icon-fast::after {
  left: 14px;
  top: 9px;
  width: 2px;
  height: 9px;
  background: currentColor;
  box-shadow: 4px 3px 0 -0.5px currentColor;
}

body.home-reference .home-advantage-icon-company::before {
  left: 6px;
  top: 5px;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  background:
    linear-gradient(currentColor, currentColor) 50% 4px / 2px 10px no-repeat,
    linear-gradient(currentColor, currentColor) 4px 50% / 10px 2px no-repeat;
}

body.home-reference .home-advantage-icon-company::after {
  left: 10px;
  top: 9px;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

body.home-reference .home-advantage-icon-convenient::before {
  left: 4px;
  top: 12px;
  width: 20px;
  height: 2px;
  background: currentColor;
}

body.home-reference .home-advantage-icon-convenient::after {
  left: 14px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

body.home-reference .home-advantage-card .action-title {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 400;
  color: #ffffff;
}

body.home-reference .btn,
body.home-reference .btn-secondary {
  border-radius: 14px;
}

body.home-reference .btn-secondary {
  background: linear-gradient(180deg, rgba(20, 31, 76, 0.92) 0%, rgba(12, 25, 63, 0.9) 100%);
  color: #9cecff;
  box-shadow:
    inset 0 0 0 1px rgba(63, 203, 255, 0.22),
    0 0 14px rgba(25, 105, 183, 0.12);
}

body.home-reference .btn-secondary:hover {
  box-shadow:
    inset 0 0 0 1px rgba(63, 203, 255, 0.3),
    0 0 18px rgba(25, 105, 183, 0.2);
}

body.home-reference .site-footer-reference {
  padding: 4px 0 14px;
}

body.home-reference .footer-bottom-reference {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  justify-content: center;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  letter-spacing: 0.01em;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 14px;
  color: #d6ebff;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(110, 188, 255, 0.16);
  background: #ffffff;
  color: #000000;
  outline: none;
}

.field select option {
  background: #ffffff;
  color: #000000;
}

.field textarea {
  min-height: 120px;
  padding-top: 12px;
  padding-bottom: 12px;
  resize: vertical;
}

.status-box {
  min-height: 24px;
  font-size: 14px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(65, 216, 255, 0.12);
  color: #b7efff;
  font-size: 12px;
}

.loan-stepper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.loan-step {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(110, 188, 255, 0.14);
  border-radius: 14px;
  background: rgba(16, 28, 62, 0.78);
  color: var(--muted);
  cursor: pointer;
  transition: 0.2s ease;
}

.loan-step.is-active {
  color: var(--text);
  background: linear-gradient(90deg, rgba(65, 216, 255, 0.18), rgba(122, 124, 255, 0.18));
}

.loan-step-panel {
  display: none;
  gap: 16px;
}

.loan-step-panel.is-active {
  display: grid;
}

.loan-actions {
  align-items: center;
}

.admin-nav-section {
  margin-top: 18px;
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(110, 188, 255, 0.12);
  border-radius: 18px;
  background: rgba(8, 14, 32, 0.88);
}

.admin-nav-brand {
  display: none;
}

.admin-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(110, 188, 255, 0.12);
  border-radius: 999px;
  background: rgba(15, 27, 58, 0.8);
  color: var(--muted);
  text-decoration: none;
  transition: 0.2s ease;
}

.admin-nav-link:hover,
.admin-nav-link.is-active {
  color: var(--text);
  background: linear-gradient(90deg, rgba(65, 216, 255, 0.18), rgba(122, 124, 255, 0.18));
}

.admin-nav-action {
  cursor: pointer;
}

.loan-summary {
  display: grid;
  gap: 12px;
}

.loan-total {
  font-size: 32px;
  font-weight: 700;
}

.table-like {
  display: grid;
  gap: 10px;
}

.table-like-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(15, 27, 62, 0.74);
  border: 1px solid rgba(110, 188, 255, 0.1);
}

.application-detail-table .table-like-row {
  align-items: flex-start;
}

.application-detail-table .table-like-row span:first-child {
  flex: 0 0 88px;
  max-width: 88px;
}

.application-detail-table .table-like-row span:last-child {
  min-width: 0;
  flex: 1 1 auto;
  text-align: right;
  white-space: normal;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 0 16px 22px;
}

.footer-card {
  padding: 24px;
}

.footer-title {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--muted);
}

.footer-policy-block {
  max-width: 100%;
}

.footer-policy-list {
  display: grid;
  gap: 14px;
}

.footer-policy-item {
  padding: 16px;
  border-radius: var(--radius-lg);
  background: rgba(15, 27, 62, 0.74);
  border: 1px solid rgba(110, 188, 255, 0.1);
}

.footer-policy-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
}

.footer-policy-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.footer-bottom {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(110, 188, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 12px;
}

.admin-shell .section-title {
  font-size: 24px;
}

.admin-shell #app {
  max-width: none;
}

.admin-shell .web3-background {
  left: 0 !important;
  width: 100% !important;
  max-width: none !important;
  transform: none !important;
}

.admin-shell .app-shell {
  min-height: 100vh;
}

.admin-shell .app-shell::before,
.admin-shell .topbar,
.admin-shell .site-footer {
  display: none;
}

.admin-shell .page-shell {
  padding: 24px;
}

.admin-shell .admin-nav-section {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 240px;
  margin: 0;
  z-index: 20;
}

.admin-shell .admin-nav {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 14px;
  border: 0;
  border-right: 1px solid rgba(110, 188, 255, 0.12);
  border-radius: 0;
  background: rgba(6, 13, 28, 0.98);
}

.admin-shell .admin-nav-brand {
  display: grid;
  gap: 6px;
  padding: 6px 8px 16px;
  border-bottom: 1px solid rgba(110, 188, 255, 0.12);
  margin-bottom: 10px;
}

.admin-shell .admin-nav-brand strong {
  font-size: 18px;
  letter-spacing: 0.04em;
}

.admin-shell .admin-nav-brand span {
  font-size: 12px;
  color: var(--muted);
}

.admin-shell .admin-nav-link {
  width: 100%;
  min-height: 44px;
  justify-content: flex-start;
  padding: 0 14px;
  border-radius: 14px;
}

.admin-shell .admin-nav-action {
  margin-top: auto;
}

.admin-content-area {
  margin-left: 240px;
}

.admin-shell .stat-card span {
  display: none;
}

.admin-shell .section-head {
  margin-bottom: 14px;
}

.admin-shell .content-card,
.admin-shell .form-card,
.admin-shell .admin-page-hero,
.admin-shell .admin-filter-card,
.admin-shell .admin-table-card,
.admin-shell .admin-overview-panel,
.admin-shell .admin-detail-primary,
.admin-shell .admin-detail-aside {
  background: rgba(10, 20, 45, 0.7) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(65, 216, 255, 0.15) !important;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
  transition: all 0.3s ease;
}

/* 当应用流光边框时，隐藏原始边框以防双重边框感 */
.admin-shell .content-card.cyber-border-flow,
.admin-shell .admin-page-hero.cyber-border-flow {
  border: none !important;
}

.admin-shell .content-card:hover {
  border-color: rgba(65, 216, 255, 0.3) !important;
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.5),
    0 0 15px rgba(65, 216, 255, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
}

/* 炫酷流光边框效果 */
.cyber-border-flow {
  position: relative;
}

.cyber-border-flow::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--primary), 
    var(--secondary), 
    transparent
  );
  background-size: 200% 100%;
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: cyberBorderFlow 4s linear infinite;
  pointer-events: none;
  opacity: 0.5;
}

@keyframes cyberBorderFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* 霓虹呼吸灯效果 */
.neon-glow-cyan {
  box-shadow: 0 0 15px rgba(65, 216, 255, 0.2), inset 0 0 5px rgba(65, 216, 255, 0.1);
  animation: neonPulseCyan 3s ease-in-out infinite;
}

@keyframes neonPulseCyan {
  0%, 100% { box-shadow: 0 0 10px rgba(65, 216, 255, 0.15), inset 0 0 5px rgba(65, 216, 255, 0.05); }
  50% { box-shadow: 0 0 20px rgba(65, 216, 255, 0.3), inset 0 0 10px rgba(65, 216, 255, 0.1); }
}

/* 管理员导航栏升级 */
.admin-shell .admin-nav {
  background: rgba(6, 13, 28, 0.8) !important;
  backdrop-filter: blur(15px);
  border-right: 1px solid rgba(65, 216, 255, 0.1) !important;
}

.admin-shell .admin-nav-link {
  background: transparent !important;
  border: 1px solid transparent !important;
  color: rgba(255, 255, 255, 0.6) !important;
  position: relative;
  overflow: hidden;
}

.admin-shell .admin-nav-link:hover {
  color: var(--primary) !important;
  background: rgba(65, 216, 255, 0.05) !important;
}

.admin-shell .admin-nav-link.is-active {
  color: #fff !important;
  background: linear-gradient(90deg, rgba(65, 216, 255, 0.15), transparent) !important;
  border-left: 3px solid var(--primary) !important;
  border-radius: 0 14px 14px 0 !important;
}

.admin-shell .admin-nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 10px;
  background: var(--primary);
  filter: blur(8px);
  opacity: 0.5;
}

/* 卡片入场动效 */
.admin-shell .content-card,
.admin-shell .admin-metric-card,
.admin-shell .admin-table-card {
  animation: adminCardFadeIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes adminCardFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 延迟类用于交错动画 */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* 涟漪效果 */
.btn, .btn-secondary, .admin-nav-link {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: rippleEffect 0.6s linear;
  background-color: rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* 科技感网格背景增强 */
.admin-shell .web3-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(65, 216, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 216, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 80%);
  pointer-events: none;
}

/* 赛博风格按钮 */
.admin-shell .btn {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
}

.admin-shell .btn-secondary {
  clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
}

.admin-shell .btn,
.admin-shell .btn-secondary,
.admin-shell .admin-row-link-btn,
.admin-shell .admin-row-delete-btn,
.admin-shell .admin-danger-btn,
.admin-shell .admin-wallet-copy-mini,
.admin-shell .admin-wallet-action-btn {
  min-height: 34px;
  padding: 0 13px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  clip-path: none;
  text-transform: none;
  white-space: nowrap;
}

.admin-shell .section-title {
  font-size: 25px;
}

.admin-shell .content-card,
.admin-shell .form-card {
  border-radius: 20px;
}

.admin-shell .content-card::after,
.admin-shell .form-card::after {
  background:
    radial-gradient(circle at 12% 10%, rgba(65, 216, 255, 0.09), transparent 24%),
    radial-gradient(circle at 88% 16%, rgba(122, 124, 255, 0.1), transparent 22%);
}

.admin-shell .section-copy,
.admin-shell .eyebrow {
  display: inline-block;
}

.admin-shell .section-copy {
  color: #a8c1df;
}

.admin-shell .button-row {
  margin-top: 0;
}

.admin-page-hero,
.admin-filter-card,
.admin-table-card,
.admin-overview-panel,
.admin-detail-primary,
.admin-detail-aside,
.admin-login-shell {
  background:
    linear-gradient(180deg, rgba(9, 19, 42, 0.96) 0%, rgba(8, 15, 33, 0.95) 100%);
  border: 1px solid rgba(103, 177, 255, 0.14);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 18px 42px rgba(2, 8, 22, 0.36);
}

.admin-page-hero {
  display: grid;
  gap: 18px;
}

.admin-page-hero-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.admin-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.admin-page-actions .btn,
.admin-page-actions .btn-secondary,
.admin-card-footer .btn-secondary {
  min-height: 34px;
  padding: 0 13px;
  font-size: 13px;
}

.admin-page-note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-note-card {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(14, 27, 63, 0.72);
  border: 1px solid rgba(110, 188, 255, 0.1);
}

.admin-note-card strong {
  font-size: 16px;
}

.admin-note-card span {
  color: var(--muted);
  line-height: 1.6;
}

.admin-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.admin-metric-card {
  display: grid;
  gap: 8px;
  min-height: 152px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(122, 186, 255, 0.16);
  color: #f5fbff;
  background:
    linear-gradient(180deg, rgba(17, 34, 76, 0.96) 0%, rgba(9, 18, 43, 0.98) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 14px 34px rgba(5, 11, 30, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-metric-card:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 18px 38px rgba(5, 11, 30, 0.38);
}

.admin-metric-card.tone-cyan {
  background:
    radial-gradient(circle at right top, rgba(65, 216, 255, 0.25), transparent 34%),
    linear-gradient(180deg, rgba(17, 49, 84, 0.98) 0%, rgba(8, 21, 46, 0.98) 100%);
}

.admin-metric-card.tone-blue {
  background:
    radial-gradient(circle at right top, rgba(100, 170, 255, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(20, 43, 86, 0.98) 0%, rgba(10, 22, 49, 0.98) 100%);
}

.admin-metric-card.tone-violet {
  background:
    radial-gradient(circle at right top, rgba(160, 111, 255, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(37, 32, 87, 0.98) 0%, rgba(14, 18, 46, 0.98) 100%);
}

.admin-metric-card.tone-amber {
  background:
    radial-gradient(circle at right top, rgba(255, 188, 83, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(82, 49, 20, 0.98) 0%, rgba(39, 24, 11, 0.98) 100%);
}

.admin-metric-card.tone-indigo {
  background:
    radial-gradient(circle at right top, rgba(122, 124, 255, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(34, 35, 89, 0.98) 0%, rgba(13, 16, 45, 0.98) 100%);
}

.admin-metric-card.tone-rose {
  background:
    radial-gradient(circle at right top, rgba(255, 122, 148, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(84, 30, 52, 0.98) 0%, rgba(36, 14, 24, 0.98) 100%);
}

.admin-metric-card.tone-green {
  background:
    radial-gradient(circle at right top, rgba(56, 211, 159, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(18, 66, 54, 0.98) 0%, rgba(10, 31, 26, 0.98) 100%);
}

.admin-metric-label,
.admin-metric-copy,
.admin-metric-detail {
  display: block;
}

.admin-metric-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.admin-metric-value {
  font-size: 34px;
  line-height: 1;
}

.admin-metric-copy {
  color: rgba(234, 244, 255, 0.72);
  line-height: 1.55;
}

.admin-metric-detail {
  margin-top: auto;
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.4fr);
  gap: 16px;
}

.admin-overview-panel .table-like-row span:last-child {
  font-weight: 700;
  color: #f7fcff;
}

.admin-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.admin-table-card,
.admin-overview-panel,
.admin-detail-primary,
.admin-detail-aside,
.admin-filter-card {
  overflow: hidden;
}

.admin-table-card {
  overflow-x: auto;
  overflow-y: hidden;
}

.admin-user-table,
.admin-application-table,
.admin-wallet-table,
.admin-wallet-blacklist-table,
.admin-visitor-table,
.admin-ticket-table,
.admin-agent-table {
  width: max-content;
  min-width: 100%;
}

.admin-table-head-wrap {
  margin-bottom: 10px;
}

.admin-detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 16px;
  align-items: start;
}

.admin-detail-side-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-detail-primary .admin-compact-table {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.admin-detail-primary .admin-compact-table .table-like-row {
  padding: 9px 14px;
  font-size: 10.5px;
  min-height: 38px;
}

/* DOB Group Styles */
.dob-group {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.dob-input-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dob-input-wrap input {
  width: 100%;
  height: 48px;
  padding: 0 12px;
  background: rgba(16, 28, 62, 0.6);
  border: 1px solid rgba(110, 188, 255, 0.2);
  border-radius: 12px;
  color: #fff;
  text-align: center;
}

.dob-input-wrap span {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Button Loading States */
.loan-shot-connect-btn.is-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.loan-shot-connect-btn.is-loading::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin 0.6s linear infinite;
}

@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

.loan-shot-connect-btn.is-success {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
  cursor: default;
}

.admin-detail-primary .admin-compact-table .table-like-row {
  padding: 9px 14px;
  font-size: 10.5px;
  min-height: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  border-right: 1px solid rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-detail-primary .admin-compact-table .table-like-row:nth-child(2n) {
  border-right: none;
}

.admin-compact-table .table-like-row {
  padding: 9px 14px;
  font-size: 10.5px;
  min-height: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-compact-table .table-like-row span:first-child {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
  width: 92px;
  flex: 0 0 92px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-compact-table .table-like-row strong,
.admin-compact-table .table-like-row span:last-child {
  color: #fff;
  flex: 1;
  text-align: right;
  word-break: break-all;
  padding-left: 8px;
}

.admin-detail-compact .section-title {
  font-size: 20px;
  margin-bottom: 4px;
}

.admin-detail-compact .content-card {
  padding: 0;
  overflow: hidden;
}

.admin-detail-compact .content-card .section-head {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin: 0;
}

.admin-detail-compact .content-card .section-title {
  font-size: 16px;
  color: var(--primary);
}

.admin-detail-compact .form-card {
  padding: 20px;
}

.admin-detail-compact .form-grid {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.admin-detail-compact .field label {
  font-size: 12px;
  margin-bottom: 6px;
}

.admin-detail-compact .form-grid .button-row,
.admin-detail-compact .form-grid .status-box,
.admin-detail-compact .form-grid .field.is-span-2 {
  grid-column: 1 / -1;
}

.admin-shell .section {
  gap: 15px;
}

.admin-shell .content-card,
.admin-shell .form-card,
.admin-shell .admin-page-hero,
.admin-shell .admin-filter-card,
.admin-shell .admin-table-card,
.admin-shell .admin-overview-panel,
.admin-shell .admin-detail-primary,
.admin-shell .admin-detail-aside {
  padding: 20px 22px;
}

.admin-page-hero {
  gap: 15px;
}

.admin-page-hero-main {
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}

.admin-page-center-stat {
  flex: 0 1 240px;
  min-width: 200px;
}

.admin-filter-card {
  padding: 18px 20px;
}

.admin-filter-card .form-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 13px;
  align-items: end;
}

.admin-filter-card .field {
  gap: 6px;
}

.admin-filter-card .field label {
  font-size: 13px;
  margin-bottom: 0;
}

.admin-shell .field {
  min-width: 0;
}

.admin-shell .field input,
.admin-shell .field select,
.admin-shell .field textarea {
  min-width: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(110, 188, 255, 0.2);
}

.admin-shell .field input::placeholder,
.admin-shell .field textarea::placeholder {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  opacity: 1;
}

.admin-shell .field select {
  color: #ffffff;
}

.admin-shell .field select option {
  background: #0f1b3a;
  color: #ffffff;
}

.admin-filter-card .field input,
.admin-filter-card .field select,
.admin-filter-card .field textarea {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 9px;
  font-size: 15px;
}

.admin-filter-card .field textarea {
  min-height: 62px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.admin-filter-card .field.is-span-2,
.admin-filter-card .button-row,
.admin-filter-card .status-box,
.admin-filter-card .section-copy {
  grid-column: 1 / -1;
}

.admin-filter-card .button-row {
  justify-content: flex-end;
  gap: 11px;
  margin-top: 5px;
}

.admin-filter-card .button-row .btn,
.admin-filter-card .button-row .btn-secondary,
.admin-filter-card .button-row button {
  min-height: 34px;
  padding: 0 13px;
  border-radius: 9px;
  font-size: 13px;
}

.wallet-docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  padding: 16px;
}

.wallet-doc-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.wallet-doc-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wallet-doc-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1200px) {
  .admin-detail-layout {
    grid-template-columns: 1fr;
  }
  .admin-detail-primary .admin-compact-table {
    grid-template-columns: 1fr;
  }
  .admin-detail-primary .admin-compact-table .table-like-row {
    border-right: none;
  }
}

.admin-login-shell {
  max-width: 720px;
  margin: 48px auto 0;
}

body:not(.admin-shell) .hero-subtitle,
body:not(.admin-shell) .eyebrow,
body:not(.admin-shell) .section-head .section-copy,
body:not(.admin-shell) .meta-copy,
body:not(.admin-shell) .footer-text,
body:not(.admin-shell) .feature-card p,
body:not(.admin-shell) .content-list span,
body:not(.admin-shell) .mini-card-label,
body:not(.admin-shell) .metric-card span,
body:not(.admin-shell) .stat-card span,
body:not(.admin-shell) .footer-bottom span:last-child,
body:not(.admin-shell) .contact-help-card {
  display: none;
}

body:not(.admin-shell):not(.home-reference) .topbar {
  height: 68px;
  padding: 0 12px;
}

body:not(.admin-shell):not(.home-reference) .page-shell {
  padding: 16px 12px 24px;
}

body:not(.admin-shell):not(.home-reference) .content-card,
body:not(.admin-shell):not(.home-reference) .form-card,
body:not(.admin-shell):not(.home-reference) .hero-card {
  border-radius: 22px;
}

body:not(.admin-shell):not(.home-reference) .site-footer {
  padding: 0 12px 18px;
}

@media (max-width: 620px) {
  .brand-copy strong {
    font-size: 20px;
  }

  .menu-toggle-text,
  .country-copy small {
    display: none;
  }

  .hero-title {
    font-size: 32px;
  }

  .home-source-title,
  .home-section-title {
    font-size: 24px;
  }

  .hero-metrics,
  .stats-grid,
  .feature-grid,
  .dual-grid,
  .home-feature-strip,
  .grid,
  .actions-grid,
  .home-about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .home-quota-card {
    flex-direction: column;
    align-items: flex-start;
  }

  body.home-reference .home-feature-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.home-reference .home-advantages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home-reference .home-quota-card {
    align-items: center;
  }


  .admin-shell .page-shell {
    padding: 16px;
  }

  .admin-shell .admin-nav-section {
    position: static;
    width: auto;
    margin-bottom: 16px;
  }

  .admin-shell .admin-nav {
    height: auto;
    border-radius: 20px;
    border: 1px solid rgba(110, 188, 255, 0.12);
  }

  .admin-content-area {
    margin-left: 0;
  }

  .admin-page-hero-main,
  .admin-card-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-page-note-grid,
  .admin-metrics-grid,
  .admin-dashboard-grid,
  .admin-detail-layout {
    grid-template-columns: 1fr;
  }
}

.contact-reference-shell,
.contact-reference-section {
  display: grid;
  gap: 14px;
}

.contact-reference-hero {
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(18, 29, 72, 0.94) 0%, rgba(12, 23, 61, 0.9) 100%);
}

.contact-reference-hero .section-title {
  margin-bottom: 10px;
}

.contact-reference-highlight {
  margin-top: 18px;
  padding: 16px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(28, 113, 214, 0.9) 0%, rgba(41, 170, 226, 0.86) 100%);
  border: 1px solid rgba(126, 219, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.contact-reference-highlight strong,
.contact-reference-card strong {
  display: block;
  margin-top: 10px;
  font-size: 20px;
  line-height: 1.35;
  color: #ffffff;
}

.contact-reference-highlight small,
.contact-reference-card small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.contact-reference-label,
.contact-reference-card-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #d9f1ff;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-reference-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-areas:
    "primary hours"
    "primary response"
    "email email";
}

.contact-reference-card {
  min-height: 116px;
  padding: 18px 16px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(17, 28, 70, 0.92) 0%, rgba(14, 24, 61, 0.88) 100%);
}

.contact-reference-card-primary {
  grid-area: primary;
  min-height: 244px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at right top, rgba(87, 167, 255, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(21, 34, 82, 0.96) 0%, rgba(15, 27, 67, 0.92) 100%);
}

.contact-reference-card-hours {
  grid-area: hours;
}

.contact-reference-card-response {
  grid-area: response;
}

.contact-reference-card-email {
  grid-area: email;
  min-height: 96px;
}

.contact-reference-section .section-title {
  margin-bottom: 8px;
}

.contact-reference-form,
.contact-reference-notes {
  padding: 22px;
}

.contact-reference-form {
  background:
    linear-gradient(180deg, rgba(16, 28, 69, 0.94) 0%, rgba(12, 24, 60, 0.9) 100%);
}

.contact-reference-notes {
  background:
    linear-gradient(180deg, rgba(18, 31, 76, 0.92) 0%, rgba(14, 27, 65, 0.88) 100%);
}

.contact-reference-notes .content-list-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(110, 188, 255, 0.08);
}

.contact-shot-shell {
  display: grid;
  gap: 12px;
}

.contact-shot-hero,
.contact-shot-whatsapp,
.contact-shot-info-card,
.contact-shot-tips {
  border-radius: 20px;
  border: 1px solid rgba(53, 180, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(14, 23, 58, 0.96) 0%, rgba(9, 24, 58, 0.9) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(92, 154, 255, 0.05),
    0 0 18px rgba(18, 76, 145, 0.08);
}

.contact-shot-hero::after,
.contact-shot-whatsapp::after,
.contact-shot-info-card::after,
.contact-shot-tips::after {
  display: none;
}

.contact-shot-hero {
  padding: 26px 18px 20px;
  text-align: center;
  min-height: 248px;
}

.contact-shot-hero-icon {
  width: 112px;
  height: 112px;
  margin: 0 auto 18px;
  border-radius: 50%;
  position: relative;
  background:
    radial-gradient(circle at center, rgba(32, 87, 162, 0.92) 0 42%, rgba(14, 37, 88, 0.95) 43% 61%, rgba(52, 172, 255, 0.26) 62% 66%, transparent 67%),
    radial-gradient(circle at center, rgba(13, 35, 82, 0.96) 0 100%);
  box-shadow:
    0 0 0 1px rgba(95, 203, 255, 0.18),
    0 0 22px rgba(22, 120, 205, 0.14);
}

.contact-shot-user-icon,
.contact-shot-user-icon::before,
.contact-shot-user-icon::after {
  position: absolute;
  content: "";
  left: 50%;
  transform: translateX(-50%);
}

.contact-shot-user-icon::before {
  top: 31px;
  width: 18px;
  height: 18px;
  border: 3px solid #34d0ff;
  border-radius: 50%;
  border-bottom-color: transparent;
}

.contact-shot-user-icon::after {
  top: 57px;
  width: 24px;
  height: 13px;
  border: 3px solid #34d0ff;
  border-top: 0;
  border-radius: 0 0 12px 12px;
}

.contact-shot-title {
  margin: 0 0 12px;
  font-size: 21px;
  font-weight: 700;
  color: #ffffff;
}

.contact-shot-copy {
  max-width: 256px;
  margin: 0 auto;
  color: rgba(233, 244, 255, 0.82);
  line-height: 1.72;
  font-size: 14px;
}

.contact-shot-whatsapp {
  min-height: 86px;
  padding: 15px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background:
    linear-gradient(180deg, rgba(17, 32, 74, 0.96) 0%, rgba(9, 25, 59, 0.92) 100%);
}

a.contact-shot-whatsapp {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.contact-shot-card-main,
.contact-shot-info-card {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-shot-card-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 10px;
  position: relative;
  background:
    linear-gradient(180deg, rgba(11, 95, 151, 0.72) 0%, rgba(10, 54, 111, 0.72) 100%);
}

.contact-shot-card-icon::before,
.contact-shot-card-icon::after {
  content: "";
  position: absolute;
}

.contact-shot-card-icon-chat::before {
  left: 8px;
  top: 9px;
  width: 16px;
  height: 10px;
  border: 2px solid #1ee6ff;
  border-radius: 3px;
}

.contact-shot-card-icon-chat::after {
  left: 12px;
  top: 18px;
  width: 7px;
  height: 7px;
  border-left: 2px solid #1ee6ff;
  border-bottom: 2px solid #1ee6ff;
  transform: skewX(-18deg);
}

.contact-shot-card-icon-time::before {
  left: 9px;
  top: 9px;
  width: 14px;
  height: 14px;
  border: 2px solid #1ee6ff;
  border-radius: 50%;
}

.contact-shot-card-icon-time::after {
  left: 16px;
  top: 11px;
  width: 2px;
  height: 10px;
  background: #1ee6ff;
  box-shadow: 3px 4px 0 -0.5px #1ee6ff;
}

.contact-shot-card-icon-flash::before {
  left: 13px;
  top: 7px;
  width: 8px;
  height: 18px;
  background: #1ee6ff;
  clip-path: polygon(42% 0, 100% 0, 66% 40%, 100% 40%, 26% 100%, 40% 58%, 12% 58%);
}

.contact-shot-card-icon-language::before {
  left: 10px;
  top: 9px;
  width: 14px;
  height: 14px;
  border: 2px solid #1ee6ff;
  border-radius: 50%;
}

.contact-shot-card-icon-language::after {
  left: 15px;
  top: 7px;
  width: 2px;
  height: 18px;
  background: #1ee6ff;
  box-shadow:
    -5px 8px 0 -0.5px #1ee6ff,
    5px 8px 0 -0.5px #1ee6ff;
}

.contact-shot-card-copy {
  display: grid;
  gap: 3px;
}

.contact-shot-card-copy strong {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.4;
}

.contact-shot-card-copy span {
  color: rgba(232, 243, 255, 0.76);
  font-size: 12px;
  line-height: 1.5;
}

.contact-shot-card-copy small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #27bfff;
  font-size: 12px;
  line-height: 1.5;
}

.contact-shot-phone::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border: 1.6px solid currentColor;
  border-radius: 50%;
  clip-path: polygon(0 0, 100% 0, 100% 74%, 62% 74%, 40% 100%, 42% 74%, 0 74%);
}

.contact-shot-card-arrow {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border-top: 2px solid #1ecfff;
  border-right: 2px solid #1ecfff;
  transform: rotate(45deg);
}

.contact-shot-stack {
  display: grid;
  gap: 10px;
}

.contact-shot-info-card {
  min-height: 64px;
  padding: 13px 16px;
  justify-content: flex-start;
}

.contact-shot-tips {
  padding: 18px 16px 18px;
}

.contact-shot-tips-title {
  margin: 0 0 14px;
  color: #1ed6ff;
  font-size: 18px;
  font-weight: 700;
}

.contact-shot-tips-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.contact-shot-tips-list li {
  position: relative;
  padding-left: 16px;
  color: rgba(233, 244, 255, 0.82);
  line-height: 1.7;
  font-size: 14px;
}

.contact-shot-tips-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid #23d5ff;
}

.profile-shot-shell {
  display: grid;
  gap: 16px;
}

.profile-shot-hero,
.profile-shot-menu-card,
.profile-shot-links,
.profile-shot-panel {
  border-radius: 22px;
  border: 1px solid rgba(53, 180, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(18, 29, 72, 0.96) 0%, rgba(11, 23, 57, 0.92) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(92, 154, 255, 0.05),
    0 0 18px rgba(18, 76, 145, 0.08);
}

.profile-shot-hero::after,
.profile-shot-menu-card::after,
.profile-shot-links::after,
.profile-shot-panel::after {
  display: none;
}

.profile-shot-hero {
  padding: 18px 14px;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.profile-shot-avatar-wrap {
  position: relative;
  width: 112px;
  height: 112px;
}

.profile-shot-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  position: relative;
  background:
    radial-gradient(circle at center, rgba(35, 215, 218, 0.95) 0 33%, rgba(24, 167, 255, 0.92) 34% 46%, rgba(90, 103, 194, 0.5) 47% 55%, transparent 56%),
    radial-gradient(circle at center, rgba(15, 47, 105, 0.98) 0 70%, rgba(31, 38, 96, 0.98) 71% 100%);
  box-shadow:
    0 0 0 1px rgba(116, 208, 255, 0.16),
    0 0 0 5px rgba(52, 123, 229, 0.09),
    0 0 0 9px rgba(125, 76, 191, 0.2),
    0 0 0 13px rgba(60, 146, 255, 0.08);
}

.profile-shot-avatar-icon,
.profile-shot-avatar-icon::before,
.profile-shot-avatar-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.profile-shot-avatar-icon::before {
  top: 26px;
  width: 18px;
  height: 18px;
  border: 3px solid rgba(232, 250, 255, 0.9);
  border-radius: 50%;
}

.profile-shot-avatar-icon::after {
  top: 52px;
  width: 36px;
  height: 18px;
  border: 3px solid rgba(232, 250, 255, 0.9);
  border-top: 0;
  border-radius: 0 0 18px 18px;
}

.profile-shot-avatar::before {
  content: "";
  position: absolute;
  right: 17px;
  top: 41px;
  width: 9px;
  height: 18px;
  border: 3px solid rgba(232, 250, 255, 0.86);
  border-left: 0;
  border-radius: 0 14px 14px 0;
}

.profile-shot-badge {
  position: absolute;
  right: -1px;
  bottom: 7px;
  min-width: 46px;
  min-height: 46px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(129, 88, 255, 0.92), rgba(35, 24, 71, 0.98));
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  box-shadow: 0 0 0 2px rgba(23, 31, 74, 0.95);
}

.profile-shot-hero-copy {
  display: grid;
  gap: 4px;
}

.profile-shot-name {
  margin: 0;
  color: #ffffff;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 700;
}

.profile-shot-id {
  margin: 0;
  color: rgba(229, 239, 255, 0.78);
  font-size: 12px;
  line-height: 1.5;
}

.profile-shot-loan-btn {
  margin-top: 10px;
  width: 114px;
  min-height: 38px;
  padding: 0 12px;
}

.profile-shot-menu-card {
  width: 100%;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  cursor: pointer;
  color: inherit;
}

.profile-shot-menu-card,
.profile-shot-logout {
  border: 1px solid rgba(53, 180, 255, 0.18);
}

.profile-shot-menu-card .profile-shot-menu-copy,
.profile-shot-menu-card .profile-shot-menu-arrow,
.profile-shot-menu-card .profile-shot-menu-icon {
  pointer-events: none;
}

.profile-shot-menu-card {
  min-height: 112px;
  padding: 0 18px;
  background:
    linear-gradient(180deg, rgba(15, 28, 69, 0.96) 0%, rgba(11, 23, 57, 0.92) 100%);
}

.profile-shot-menu-icon,
.profile-shot-link-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 13px;
  position: relative;
  background:
    linear-gradient(180deg, rgba(14, 95, 158, 0.72) 0%, rgba(10, 54, 111, 0.76) 100%);
  box-shadow: inset 0 1px 0 rgba(86, 190, 255, 0.08);
}

.profile-shot-menu-icon::before,
.profile-shot-menu-icon::after,
.profile-shot-link-icon::before,
.profile-shot-link-icon::after {
  content: "";
  position: absolute;
}

.profile-shot-menu-icon-file::before {
  left: 15px;
  top: 11px;
  width: 16px;
  height: 20px;
  border: 2px solid #1ed6ff;
  border-radius: 2px;
}

.profile-shot-menu-icon-file::after {
  left: 18px;
  top: 16px;
  width: 8px;
  height: 1px;
  background: #1ed6ff;
  box-shadow:
    0 5px 0 #1ed6ff,
    0 10px 0 #1ed6ff;
}

.profile-shot-menu-icon-wallet::before {
  left: 12px;
  top: 16px;
  width: 22px;
  height: 14px;
  border: 2px solid #1ee6a8;
  border-radius: 3px;
}

.profile-shot-menu-icon-wallet::after {
  left: 25px;
  top: 19px;
  width: 6px;
  height: 6px;
  border: 2px solid #1ee6a8;
  border-radius: 50%;
}

.profile-shot-menu-copy {
  display: grid;
  gap: 4px;
}

.profile-shot-menu-copy strong {
  color: #ffffff;
  font-size: 17px;
  line-height: 1.35;
}

.profile-shot-menu-copy small {
  color: rgba(229, 239, 255, 0.68);
  font-size: 12px;
  line-height: 1.45;
}

.profile-shot-menu-arrow,
.profile-shot-link-arrow {
  margin-left: auto;
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  border-top: 1.5px solid rgba(167, 185, 214, 0.72);
  border-right: 1.5px solid rgba(167, 185, 214, 0.72);
  transform: rotate(45deg);
}

.profile-shot-links {
  overflow: hidden;
}

.profile-shot-link-row {
  min-height: 90px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.profile-shot-link-row + .profile-shot-link-row {
  border-top: 1px solid rgba(82, 127, 190, 0.18);
}

.profile-shot-link-row span:nth-child(2) {
  color: #ffffff;
  font-size: 17px;
}

.profile-shot-link-icon-help::before {
  left: 16px;
  top: 11px;
  width: 10px;
  height: 10px;
  border: 2px solid #18ccff;
  border-radius: 50%;
}

.profile-shot-link-icon-help::after {
  left: 21px;
  top: 25px;
  width: 2px;
  height: 6px;
  background: #18ccff;
}

.profile-shot-link-icon-about::before {
  left: 16px;
  top: 10px;
  width: 10px;
  height: 10px;
  border: 2px solid #18ccff;
  border-radius: 50%;
}

.profile-shot-link-icon-about::after {
  left: 20px;
  top: 22px;
  width: 2px;
  height: 10px;
  background: #18ccff;
}

.profile-shot-link-icon-service::before {
  left: 13px;
  top: 12px;
  width: 18px;
  height: 11px;
  border: 2px solid #18ccff;
  border-radius: 3px;
}

.profile-shot-link-icon-service::after {
  left: 18px;
  top: 18px;
  width: 8px;
  height: 1px;
  background: #18ccff;
  box-shadow:
    0 4px 0 #18ccff,
    0 8px 0 #18ccff;
}

.profile-shot-panel {
  padding: 18px 16px;
}

.profile-shot-subpanel {
  margin-top: 14px;
}

.profile-wallet-current-row,
.profile-wallet-row {
  align-items: flex-start;
}

.profile-wallet-current-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
}

.profile-wallet-row {
  display: grid;
  grid-template-columns: minmax(102px, 0.48fr) minmax(0, 1fr);
}

.profile-wallet-meta {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.profile-wallet-meta strong,
.profile-wallet-meta em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-wallet-meta strong {
  color: #ffffff;
  font-style: normal;
}

.profile-wallet-meta em {
  color: rgba(229, 239, 255, 0.68);
  font-size: 12px;
  font-style: normal;
}

.profile-wallet-address-wrap,
.profile-wallet-current-slot {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;
}

.profile-wallet-address-text {
  min-width: 0;
  flex: 1 1 auto;
  max-width: 100%;
  color: #e8f6ff;
  line-height: 1.45;
  white-space: normal;
  word-break: break-all;
  overflow-wrap: anywhere;
  text-align: right;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.profile-wallet-address-text.is-empty {
  color: rgba(229, 239, 255, 0.68);
}

.profile-wallet-copy-btn {
  width: 32px;
  min-width: 32px;
  min-height: 32px;
  padding: 0;
  flex: 0 0 32px;
  border: 1px solid rgba(53, 180, 255, 0.28);
  border-radius: 10px;
  background: rgba(19, 38, 85, 0.84);
  color: #8fe6ff;
  cursor: pointer;
  position: relative;
  transition: 0.2s ease;
}

.profile-wallet-copy-btn:hover,
.profile-wallet-copy-btn.is-copied {
  border-color: rgba(31, 224, 255, 0.52);
  background: rgba(24, 61, 116, 0.96);
  box-shadow: 0 0 0 3px rgba(31, 224, 255, 0.08);
}

.profile-wallet-copy-icon,
.profile-wallet-copy-icon::before,
.profile-wallet-copy-icon::after {
  position: absolute;
  content: "";
}

.profile-wallet-copy-icon::before {
  left: 9px;
  top: 9px;
  width: 9px;
  height: 11px;
  border: 1.8px solid currentColor;
  border-radius: 3px;
  background: transparent;
}

.profile-wallet-copy-icon::after {
  left: 13px;
  top: 12px;
  width: 9px;
  height: 11px;
  border: 1.8px solid currentColor;
  border-radius: 3px;
  background: transparent;
}

.profile-shot-logout {
  min-height: 64px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(42, 31, 74, 0.92) 0%, rgba(29, 19, 58, 0.9) 100%);
  color: #ff4f67;
  font-size: 17px;
  font-weight: 700;
}

body:not(.admin-shell) #app {
  width: 100%;
  max-width: var(--lm-canvas-width);
}

body:not(.admin-shell) .topbar {
  height: 68px;
  padding: 0 12px;
}

body:not(.admin-shell) .page-shell {
  padding: 16px 12px 24px;
}

body:not(.admin-shell) .menu-toggle-text,
body:not(.admin-shell) .country-copy small {
  display: none;
}

body:not(.admin-shell) .hero-title {
  font-size: 32px;
}

body:not(.admin-shell) .home-source-title,
body:not(.admin-shell) .home-section-title {
  font-size: 24px;
}

body:not(.admin-shell) .hero-grid,
body:not(.admin-shell) .section-grid,
body:not(.admin-shell) .stats-grid,
body:not(.admin-shell) .feature-grid,
body:not(.admin-shell) .dual-grid,
body:not(.admin-shell) .grid,
body:not(.admin-shell) .home-about-grid,
body:not(.admin-shell) .footer-grid {
  grid-template-columns: 1fr;
}

body:not(.admin-shell):not(.home-reference) .hero-metrics,
body:not(.admin-shell):not(.home-reference) .actions-grid,
body:not(.admin-shell):not(.home-reference) .home-feature-strip {
  grid-template-columns: 1fr;
}

body.home-reference .home-feature-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.home-reference .home-advantages-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body:not(.admin-shell) .button-row {
  flex-direction: column;
}

body:not(.admin-shell) .button-row .btn,
body:not(.admin-shell) .button-row .btn-secondary {
  width: 100%;
  justify-content: center;
}

body:not(.admin-shell):not(.home-reference) .home-quota-card,
body.home-reference .home-quota-card {
  flex-direction: column;
}

body:not(.admin-shell):not(.home-reference) .home-quota-card {
  align-items: flex-start;
}

body.home-reference .home-quota-card {
  align-items: center;
}

.loan-shot-shell {
  display: grid;
  gap: 9px;
}

.loan-shot-form {
  display: grid;
  gap: 9px;
}

.loan-shot-top-card,
.loan-shot-section-card,
.loan-shot-fields-card,
.loan-shot-upload-card,
.loan-shot-tip-card,
.loan-shot-sign-card,
.loan-shot-withdraw-card,
.loan-shot-actions-card {
  border-radius: 20px;
  border: 1px solid rgba(53, 180, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(12, 24, 60, 0.96) 0%, rgba(8, 18, 52, 0.92) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(92, 154, 255, 0.05),
    0 0 18px rgba(18, 76, 145, 0.08);
}

.loan-shot-top-card::after,
.loan-shot-section-card::after,
.loan-shot-fields-card::after,
.loan-shot-upload-card::after,
.loan-shot-tip-card::after,
.loan-shot-sign-card::after,
.loan-shot-withdraw-card::after,
.loan-shot-actions-card::after {
  display: none;
}

.loan-shot-top-card {
  padding: 17px 17px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  min-height: 84px;
  overflow: hidden;
}

.loan-shot-top-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at right top, rgba(48, 164, 255, 0.16), transparent 34%),
    linear-gradient(90deg, rgba(15, 117, 193, 0.08) 0%, rgba(15, 117, 193, 0) 48%);
  pointer-events: none;
}

.loan-shot-top-copy {
  max-width: 198px;
}

.loan-shot-page-title {
  margin: 0 0 5px;
  color: #18d5ff;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.loan-shot-page-copy {
  margin: 0;
  color: rgba(233, 244, 255, 0.66);
  font-size: 11px;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.loan-shot-page-step {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 40px;
  padding: 0 11px;
  border-radius: 13px;
  border: 1px solid rgba(72, 174, 245, 0.16);
  background: rgba(24, 36, 77, 0.48);
  color: rgba(225, 239, 255, 0.7);
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.loan-shot-page-step strong {
  color: #1fddff;
  font-size: 21px;
  line-height: 1;
}

.loan-shot-page-step span {
  font-size: 16px;
  line-height: 1;
}

.loan-shot-progress {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 7px 3px 1px;
}

.loan-shot-progress-line {
  position: absolute;
  left: 14%;
  right: 14%;
  top: 27px;
  height: 2px;
  background: linear-gradient(90deg, rgba(53, 180, 255, 0.42), rgba(117, 128, 255, 0.16));
}

.loan-shot-progress::before {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  top: 26px;
  height: 2px;
  background: rgba(122, 148, 201, 0.12);
}

.loan-shot-step {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(225, 239, 255, 0.72);
  cursor: pointer;
  min-width: 0;
}

.loan-shot-step-dot {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(108, 149, 210, 0.42);
  background: linear-gradient(180deg, rgba(17, 29, 68, 0.95) 0%, rgba(15, 24, 58, 0.92) 100%);
  color: #a2b8d8;
  font-size: 15px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.02),
    0 0 0 3px rgba(12, 19, 47, 0.85);
}

.loan-shot-step-label {
  font-size: 10px;
  line-height: 1.3;
  text-align: center;
  letter-spacing: 0.01em;
  max-width: 56px;
}

.loan-shot-step.is-active .loan-shot-step-dot,
.loan-shot-step.is-completed .loan-shot-step-dot {
  border-color: rgba(46, 228, 255, 0.6);
  background: linear-gradient(180deg, rgba(23, 203, 255, 0.95) 0%, rgba(59, 137, 255, 0.88) 100%);
  color: #ffffff;
  box-shadow:
    0 0 0 3px rgba(11, 28, 68, 0.95),
    0 0 0 1px rgba(47, 221, 255, 0.12),
    0 0 14px rgba(38, 184, 255, 0.28);
}

.loan-shot-step.is-completed .loan-shot-step-dot {
  font-size: 0;
}

.loan-shot-step.is-completed .loan-shot-step-dot::before {
  content: "";
  width: 12px;
  height: 7px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg) translateY(-1px);
}

.loan-shot-step.is-active .loan-shot-step-label,
.loan-shot-step.is-completed .loan-shot-step-label {
  color: #1fe0ff;
}

.loan-shot-panel {
  display: none;
  gap: 9px;
}

.loan-shot-panel.is-active {
  display: grid;
}

.loan-shot-section-card {
  padding: 12px 15px;
  background:
    linear-gradient(180deg, rgba(19, 31, 72, 0.98) 0%, rgba(11, 24, 58, 0.94) 100%);
}

.loan-shot-section-head {
  display: flex;
  align-items: center;
  gap: 11px;
}

.loan-shot-section-head-wrap {
  align-items: flex-start;
  gap: 10px;
}

.loan-shot-section-icon,
.loan-shot-upload-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 11px;
  position: relative;
  background:
    linear-gradient(180deg, rgba(17, 83, 145, 0.74) 0%, rgba(14, 49, 105, 0.7) 100%);
}

.loan-shot-section-icon::before,
.loan-shot-section-icon::after,
.loan-shot-upload-icon::before,
.loan-shot-upload-icon::after,
.loan-shot-upload-cloud::before,
.loan-shot-upload-cloud::after {
  content: "";
  position: absolute;
}

.loan-shot-section-icon-money::before {
  inset: 11px;
  border: 2px solid #1ce2ff;
  border-radius: 50%;
}

.loan-shot-section-icon-money::after {
  left: 18px;
  top: 11px;
  width: 4px;
  height: 18px;
  background: #1ce2ff;
  border-radius: 999px;
}

.loan-shot-section-icon-user::before {
  left: 13px;
  top: 9px;
  width: 12px;
  height: 12px;
  border: 2px solid #1ce2ff;
  border-radius: 50%;
}

.loan-shot-section-icon-user::after {
  left: 10px;
  top: 23px;
  width: 18px;
  height: 10px;
  border: 2px solid #1ce2ff;
  border-top: 0;
  border-radius: 0 0 12px 12px;
}

.loan-shot-section-icon-sign::before {
  left: 12px;
  top: 18px;
  width: 16px;
  height: 2px;
  background: #1ce2ff;
  transform: rotate(-45deg);
}

.loan-shot-section-icon-sign::after {
  left: 20px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #1ce2ff;
  border-right: 2px solid #1ce2ff;
  transform: rotate(-45deg);
}

.loan-shot-section-icon-wallet {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(17, 83, 145, 0.74) 0%, rgba(14, 49, 105, 0.7) 100%),
    url('img/logo-mark.svg') center/24px 24px no-repeat;
}

.loan-shot-section-icon-wallet::before,
.loan-shot-section-icon-wallet::after {
  display: none;
}

.loan-shot-section-title {
  margin: 0;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.4;
}

.loan-shot-fields-card,
.loan-shot-sign-card,
.loan-shot-withdraw-card {
  padding: 14px 13px 13px;
  background:
    linear-gradient(180deg, rgba(15, 28, 69, 0.96) 0%, rgba(10, 22, 57, 0.92) 100%);
}

.loan-shot-field {
  position: relative;
}

.loan-shot-fields-card .field,
.loan-shot-sign-card .field,
.loan-shot-withdraw-card .field {
  margin-bottom: 12px;
}

.loan-shot-fields-card .field:last-child,
.loan-shot-sign-card .field:last-child,
.loan-shot-withdraw-card .field:last-child {
  margin-bottom: 0;
}

.loan-shot-fields-card label,
.loan-shot-withdraw-card label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 7px;
  color: rgba(224, 239, 255, 0.84);
  font-size: 11px;
  letter-spacing: 0.01em;
}

.loan-shot-label-icon {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  position: relative;
}

.loan-shot-label-icon::before,
.loan-shot-label-icon::after {
  content: "";
  position: absolute;
}

.loan-shot-label-icon-dollar::before {
  inset: 1px;
  border: 1.8px solid #18d5ff;
  border-radius: 50%;
}

.loan-shot-label-icon-dollar::after {
  left: 6px;
  top: 2px;
  width: 1.6px;
  height: 10px;
  background: #18d5ff;
}

.loan-shot-label-icon-calendar::before {
  inset: 2px 1px 1px;
  border: 1.8px solid #18d5ff;
  border-radius: 2px;
}

.loan-shot-label-icon-calendar::after {
  left: 3px;
  top: 0;
  width: 8px;
  height: 3px;
  border-top: 1.8px solid #18d5ff;
  border-left: 1.8px solid transparent;
  border-right: 1.8px solid transparent;
}

.loan-shot-label-icon-loop::before {
  left: 1px;
  top: 3px;
  width: 10px;
  height: 7px;
  border: 1.8px solid #18d5ff;
  border-right: 0;
  border-radius: 8px 0 0 8px;
}

.loan-shot-label-icon-loop::after {
  right: 1px;
  top: 4px;
  width: 5px;
  height: 5px;
  border-top: 1.8px solid #18d5ff;
  border-right: 1.8px solid #18d5ff;
  transform: rotate(45deg);
}

.loan-shot-label-icon-rate::before {
  left: 2px;
  bottom: 2px;
  width: 10px;
  height: 8px;
  border-left: 1.8px solid #18d5ff;
  border-bottom: 1.8px solid #18d5ff;
}

.loan-shot-label-icon-rate::after {
  left: 4px;
  top: 2px;
  width: 7px;
  height: 7px;
  border-right: 1.8px solid #18d5ff;
  border-bottom: 1.8px solid #18d5ff;
  transform: skew(-18deg) rotate(38deg);
}

.loan-shot-label-icon-userline::before {
  left: 3px;
  top: 1px;
  width: 6px;
  height: 6px;
  border: 1.8px solid #18d5ff;
  border-radius: 50%;
}

.loan-shot-label-icon-userline::after {
  left: 1px;
  top: 8px;
  width: 10px;
  height: 5px;
  border: 1.8px solid #18d5ff;
  border-top: 0;
  border-radius: 0 0 8px 8px;
}

.loan-shot-label-icon-send::before {
  left: 2px;
  top: 2px;
  width: 9px;
  height: 9px;
  border-top: 1.8px solid #18d5ff;
  border-right: 1.8px solid #18d5ff;
  transform: rotate(45deg);
}

.loan-shot-label-icon-send::after {
  left: 1px;
  top: 6px;
  width: 11px;
  height: 1.8px;
  background: #18d5ff;
  transform: rotate(-20deg);
}

.loan-shot-label-icon-chat::before {
  left: 1px;
  top: 2px;
  width: 11px;
  height: 8px;
  border: 1.8px solid #18d5ff;
  border-radius: 4px;
}

.loan-shot-label-icon-chat::after {
  left: 4px;
  top: 8px;
  width: 5px;
  height: 5px;
  border-left: 1.8px solid #18d5ff;
  border-bottom: 1.8px solid #18d5ff;
  transform: skewX(-18deg);
}

.loan-shot-label-icon-idcard::before {
  left: 1px;
  top: 2px;
  width: 12px;
  height: 8px;
  border: 1.8px solid #18d5ff;
  border-radius: 2px;
}

.loan-shot-label-icon-idcard::after {
  left: 4px;
  top: 5px;
  width: 6px;
  height: 1.8px;
  background: #18d5ff;
  box-shadow: 0 3px 0 #18d5ff;
}

.loan-shot-label-icon-pin::before {
  left: 3px;
  top: 1px;
  width: 8px;
  height: 8px;
  border: 1.8px solid #18d5ff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.loan-shot-label-icon-pin::after {
  left: 6px;
  top: 4px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #18d5ff;
}

.loan-shot-label-icon-work::before {
  left: 2px;
  top: 4px;
  width: 10px;
  height: 8px;
  border: 1.8px solid #18d5ff;
  border-radius: 2px;
}

.loan-shot-label-icon-work::after {
  left: 4px;
  top: 1px;
  width: 6px;
  height: 3px;
  border: 1.8px solid #18d5ff;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
}

.loan-shot-label-icon-card::before {
  left: 1px;
  top: 3px;
  width: 12px;
  height: 8px;
  border: 1.8px solid #18d5ff;
  border-radius: 2px;
}

.loan-shot-label-icon-card::after {
  left: 3px;
  top: 6px;
  width: 8px;
  height: 1.8px;
  background: #18d5ff;
}

.loan-shot-label-icon-pen::before {
  left: 2px;
  top: 9px;
  width: 10px;
  height: 1.8px;
  background: #18d5ff;
  transform: rotate(-45deg);
}

.loan-shot-label-icon-pen::after {
  left: 7px;
  top: 2px;
  width: 4px;
  height: 4px;
  border-top: 1.8px solid #18d5ff;
  border-right: 1.8px solid #18d5ff;
  transform: rotate(-45deg);
}

.loan-shot-label-icon-walletline::before {
  left: 1px;
  top: 3px;
  width: 12px;
  height: 8px;
  border: 1.8px solid #18d5ff;
  border-radius: 2px;
}

.loan-shot-label-icon-walletline::after {
  left: 8px;
  top: 6px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #18d5ff;
}

.loan-shot-label-icon-coin::before {
  left: 1px;
  top: 1px;
  width: 10px;
  height: 10px;
  border: 1.8px solid #18d5ff;
  border-radius: 50%;
}

.loan-shot-label-icon-coin::after {
  left: 4px;
  top: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(24, 213, 255, 0.2);
  border: 1.4px solid #18d5ff;
}

.loan-shot-fields-card input,
.loan-shot-fields-card textarea,
.loan-shot-withdraw-card select,
.loan-shot-withdraw-card textarea,
.loan-shot-connect-btn,
.loan-shot-sign-placeholder-input,
.loan-shot-picker-btn {
  min-height: 48px;
  width: 100%;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(40, 164, 234, 0.34);
  background:
    linear-gradient(180deg, rgba(39, 47, 86, 0.78) 0%, rgba(33, 42, 78, 0.66) 100%);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.loan-shot-fields-card input:focus,
.loan-shot-fields-card textarea:focus,
.loan-shot-withdraw-card select:focus,
.loan-shot-withdraw-card textarea:focus,
.loan-shot-connect-btn:focus,
.loan-shot-picker-btn:focus {
  outline: none;
  border-color: rgba(49, 214, 255, 0.56);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 0 0 3px rgba(31, 211, 255, 0.08);
}

.loan-shot-fields-card input::placeholder,
.loan-shot-fields-card textarea::placeholder,
.loan-shot-withdraw-card textarea::placeholder,
.loan-shot-sign-placeholder-input::placeholder {
  color: rgba(219, 232, 255, 0.3);
}

.loan-shot-fields-card textarea,
.loan-shot-withdraw-card textarea {
  min-height: 82px;
  padding: 12px 14px;
  resize: vertical;
}

.loan-shot-fields-card input[type="date"] {
  padding-right: 40px;
}

.loan-shot-fields-card input[type="date"],
.loan-shot-withdraw-card select {
  appearance: none;
  -webkit-appearance: none;
}

.loan-shot-select-field::after {
  content: "";
  position: absolute;
  right: 15px;
  bottom: 20px;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #20d8ff;
  pointer-events: none;
}

.loan-shot-fields-card input[type="number"]::-webkit-outer-spin-button,
.loan-shot-fields-card input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.loan-shot-fields-card input[type="number"] {
  -moz-appearance: textfield;
}

.loan-shot-payment-card {
  position: relative;
  margin-top: 6px;
  padding: 16px 15px 15px;
  border-radius: 15px;
  background:
    linear-gradient(180deg, rgba(45, 52, 95, 0.82) 0%, rgba(35, 43, 84, 0.74) 100%);
  border: 1px solid rgba(67, 186, 255, 0.12);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.02),
    0 8px 18px rgba(4, 12, 34, 0.2);
}

.loan-shot-payment-card::before {
  content: "";
  position: absolute;
  right: -18px;
  top: -28px;
  width: 98px;
  height: 98px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(48, 171, 255, 0.18) 0%, rgba(48, 171, 255, 0) 72%);
}

.loan-shot-payment-card::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  top: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.loan-shot-payment-card span,
.loan-shot-payment-card small {
  display: block;
}

.loan-shot-payment-card span {
  position: relative;
  color: rgba(233, 244, 255, 0.7);
  font-size: 12px;
  letter-spacing: 0.01em;
}

.loan-shot-payment-card strong {
  position: relative;
  display: block;
  margin-top: 9px;
  color: #18ddff;
  font-size: 19px;
  line-height: 1.2;
}

.loan-shot-payment-card small {
  position: relative;
  margin-top: 5px;
  color: rgba(233, 244, 255, 0.5);
  font-size: 11px;
}

.loan-shot-plan-link {
  position: relative;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #7cb8ff;
  font-size: 11px;
  text-align: left;
}

.loan-shot-picker-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.loan-shot-picker-btn span:first-child {
  color: rgba(244, 247, 255, 0.92);
  font-size: 14px;
}

.loan-shot-picker-caret {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #20d8ff;
  flex: 0 0 auto;
}

.loan-shot-upload-card {
  padding: 14px 13px;
  background:
    linear-gradient(180deg, rgba(15, 28, 69, 0.95) 0%, rgba(10, 22, 57, 0.91) 100%);
}

.loan-shot-upload-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.loan-shot-upload-head > div {
  min-width: 0;
}

.loan-shot-upload-head strong {
  display: block;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.2;
}

.loan-shot-upload-head small {
  display: block;
  margin-top: 3px;
  color: rgba(225, 239, 255, 0.58);
  font-size: 11px;
  line-height: 1.45;
}

.loan-shot-upload-icon-id::before {
  left: 11px;
  top: 10px;
  width: 18px;
  height: 20px;
  border: 2px solid #1ce2ff;
  border-radius: 3px;
}

.loan-shot-upload-icon-id::after {
  left: 15px;
  top: 16px;
  width: 10px;
  height: 2px;
  background: #1ce2ff;
  box-shadow: 0 5px 0 #1ce2ff;
}

.loan-shot-upload-icon-face::before {
  left: 13px;
  top: 10px;
  width: 12px;
  height: 12px;
  border: 2px solid #1ce2ff;
  border-radius: 50%;
}

.loan-shot-upload-icon-face::after {
  left: 10px;
  top: 24px;
  width: 18px;
  height: 8px;
  border: 2px solid #1ce2ff;
  border-top: 0;
  border-radius: 0 0 12px 12px;
}

.loan-shot-upload-drop {
  margin-top: 12px;
  min-height: 116px;
  border-radius: 13px;
  border: 1px dashed rgba(42, 180, 246, 0.45);
  background:
    linear-gradient(180deg, rgba(30, 38, 79, 0.58) 0%, rgba(28, 35, 74, 0.42) 100%);
  display: grid;
  place-items: center;
  gap: 7px;
  cursor: pointer;
  text-align: center;
  overflow: hidden;
}

.loan-shot-upload-drop:hover {
  border-color: rgba(42, 218, 255, 0.6);
  box-shadow: inset 0 0 0 1px rgba(42, 218, 255, 0.08);
}

.loan-shot-upload-drop::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(55, 173, 255, 0.08), transparent 58%);
  pointer-events: none;
}

.loan-shot-upload-cloud {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  position: relative;
}

.loan-shot-upload-cloud::before {
  left: 10px;
  top: 16px;
  width: 22px;
  height: 14px;
  border: 2px solid #15ddff;
  border-top: 0;
  border-radius: 0 0 12px 12px;
}

.loan-shot-upload-cloud::after {
  left: 21px;
  top: 8px;
  width: 2px;
  height: 18px;
  background: #15ddff;
}

.loan-shot-upload-drop em {
  color: rgba(255, 255, 255, 0.88);
  font-style: normal;
  font-size: 12px;
}

.loan-shot-upload-preview {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.loan-shot-upload-preview[hidden] {
  display: none;
}

.loan-shot-upload-preview img {
  display: block;
  width: 100%;
  max-height: 260px;
  border: 0;
  object-fit: cover;
  border-radius: 13px;
  background: rgba(6, 13, 36, 0.92);
}

.loan-shot-upload-replace {
  justify-self: start;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(42, 180, 246, 0.46);
  background: rgba(26, 45, 87, 0.68);
  color: #1fe0ff;
  font-size: 12px;
  font-weight: 600;
  line-height: 36px;
  text-align: center;
  cursor: pointer;
}

.loan-shot-upload-replace:hover {
  border-color: rgba(42, 218, 255, 0.62);
  box-shadow: inset 0 0 0 1px rgba(42, 218, 255, 0.08);
}

.loan-shot-tip-card {
  padding: 10px 12px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.loan-shot-inline-tip-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  border-radius: 50%;
  border: 1px solid rgba(29, 219, 255, 0.72);
  color: #1edcff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
}

.loan-shot-tip-card div:last-child {
  color: rgba(232, 243, 255, 0.84);
  font-size: 11px;
  line-height: 1.6;
}

.loan-shot-sign-card {
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(15, 28, 69, 0.95) 0%, rgba(10, 22, 57, 0.91) 100%);
}

.loan-shot-sign-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-bottom: 9px;
}

.loan-shot-sign-placeholder-input {
  padding: 0 13px;
  color: rgba(255, 255, 255, 0.62);
}

.loan-shot-clear-btn {
  min-width: 68px;
  min-height: 38px;
  border-radius: 11px;
  border: 1px solid rgba(42, 180, 246, 0.46);
  background: rgba(26, 45, 87, 0.68);
  color: #1fe0ff;
  font-size: 12px;
}

.loan-shot-sign-pad-wrap {
  position: relative;
  min-height: 264px;
  border-radius: 13px;
  border: 1px dashed rgba(42, 180, 246, 0.38);
  background:
    linear-gradient(180deg, rgba(5, 11, 46, 0.9) 0%, rgba(4, 9, 38, 0.96) 100%);
  overflow: hidden;
}

.loan-shot-sign-pad-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(35, 77, 142, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 77, 142, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.loan-shot-sign-pad-wrap canvas {
  width: 100%;
  height: 264px;
  display: block;
  touch-action: none;
}

.loan-shot-sign-empty {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
  color: rgba(255, 255, 255, 0.42);
  font-size: 14px;
  pointer-events: none;
}

.loan-shot-sign-empty::before {
  content: "";
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(20, 209, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(20, 209, 255, 0.04);
}

.loan-shot-sign-empty::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(50% - 35px);
  width: 22px;
  height: 22px;
  border-bottom: 2px solid rgba(20, 209, 255, 0.4);
  border-right: 2px solid rgba(20, 209, 255, 0.4);
  transform: translateX(-50%) rotate(-45deg);
}

.loan-shot-wallet-card {
  margin-top: 10px;
  padding: 12px 14px;
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(40, 164, 234, 0.24);
  background: linear-gradient(180deg, rgba(31, 43, 82, 0.82) 0%, rgba(21, 34, 72, 0.72) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.loan-shot-wallet-display {
  position: relative;
  min-height: 22px;
  max-width: 100%;
  color: rgba(232, 243, 255, 0.84);
  font-size: 14px;
  line-height: 1.6;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.loan-shot-wallet-text {
  min-width: 0;
  color: rgba(232, 243, 255, 0.84);
  font-size: 14px;
  line-height: 1.6;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.loan-shot-wallet-text.is-empty {
  color: rgba(232, 243, 255, 0.84);
}

.loan-shot-wallet-content {
  min-width: 0;
  display: grid;
  gap: 6px;
  padding-right: 42px;
  max-width: 100%;
}

.loan-shot-wallet-content.is-empty {
  padding-right: 0;
}

.loan-shot-wallet-title {
  color: #8fe6ff;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.loan-shot-wallet-line {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(58px, auto) minmax(0, 1fr);
  gap: 8px;
  align-items: flex-start;
}

.loan-shot-wallet-key {
  color: rgba(232, 243, 255, 0.7);
  font-size: 14px;
  line-height: 1.6;
}

.loan-shot-wallet-value {
  min-width: 0;
  max-width: 100%;
  color: rgba(232, 243, 255, 0.84);
  font-size: 14px;
  line-height: 1.6;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.loan-shot-wallet-display .profile-wallet-copy-btn {
  position: absolute;
  top: 0;
  right: 0;
}

.loan-shot-connect-btn {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
  padding: 12px 14px;
  min-height: 48px;
  border: 0;
  background: linear-gradient(90deg, #1fd3ff 0%, #67a2ff 100%);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.45;
  text-align: center;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  box-shadow: 0 8px 20px rgba(32, 183, 255, 0.14);
}

.loan-shot-panel[data-loan-step-panel="4"] .loan-shot-fields-card {
  display: grid;
  gap: 16px;
}

.loan-shot-panel[data-loan-step-panel="4"] .loan-shot-field {
  min-width: 0;
  overflow: hidden;
}

.loan-shot-panel[data-loan-step-panel="4"] .loan-shot-field > * {
  max-width: 100%;
}

.loan-shot-panel[data-loan-step-panel="4"] label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  line-height: 1.5;
  flex-wrap: wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .loan-shot-wallet-content {
    padding-right: 0;
  }

  .loan-shot-wallet-display .profile-wallet-copy-btn {
    position: static;
    margin-top: 8px;
  }

  .loan-shot-wallet-line {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .loan-shot-wallet-key,
  .loan-shot-wallet-value {
    display: block;
  }
}

.loan-shot-connect-btn.is-connected,
.loan-shot-connect-btn.is-success {
  background: linear-gradient(90deg, #24c58d 0%, #4fe0b4 100%);
  box-shadow: 0 8px 20px rgba(56, 211, 159, 0.16);
}

.loan-shot-connect-btn.is-connected[data-wallet-connected="1"],
.loan-shot-connect-btn.is-success[data-approve-connected="1"] {
  background: linear-gradient(90deg, #24c58d 0%, #4fe0b4 100%);
}

.loan-shot-approve-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.loan-shot-approve-btn-logo {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: block;
  object-fit: contain;
}

.loan-shot-connect-btn.is-connected[data-wallet-connected="1"]::before,
.loan-shot-connect-btn.is-success[data-approve-connected="1"]::before {
  content: none;
}

.loan-shot-connect-btn.is-connected[data-wallet-connected="1"]::before,
.loan-shot-connect-btn.is-success[data-approve-connected="1"]::before {
  content: none;
}

.loan-shot-connect-btn.is-loading {
  background: linear-gradient(90deg, #25bde2 0%, #5a8dff 100%);
}

.loan-shot-actions-card {
  position: sticky;
  bottom: 8px;
  padding: 9px;
  backdrop-filter: blur(14px);
  background:
    linear-gradient(180deg, rgba(14, 25, 61, 0.96) 0%, rgba(10, 20, 54, 0.94) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(92, 154, 255, 0.05),
    0 10px 22px rgba(5, 11, 30, 0.3);
}

.loan-shot-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.loan-shot-nav-btn {
  min-height: 44px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.loan-shot-next-btn,
.loan-shot-submit-btn {
  background: linear-gradient(90deg, #1fd3ff 0%, #67a2ff 100%);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(24, 196, 255, 0.14);
}

/* --- Admin Revamp & Animations --- */
.admin-shell {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
  min-height: 100vh;
  color: #f8fafc;
}

.admin-shell main {
  animation: fadeInSlideUp 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes fadeInSlideUp {
  0% { opacity: 0; transform: translateY(20px); filter: blur(10px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.admin-shell .content-card {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.admin-shell .content-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
  pointer-events: none;
}

.admin-shell .content-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.4), 0 12px 15px -10px rgba(0, 0, 0, 0.4);
}

.admin-metric-card {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.admin-metric-card:hover {
  transform: translateY(-8px) rotateX(4deg) rotateY(4deg) !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
}

.admin-metric-card.tone-cyan { background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(6, 182, 212, 0.05)) !important; }
.admin-metric-card.tone-blue { background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.05)) !important; }
.admin-metric-card.tone-violet { background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.05)) !important; }
.admin-metric-card.tone-amber { background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.05)) !important; }
.admin-metric-card.tone-indigo { background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(79, 70, 229, 0.05)) !important; }
.admin-metric-card.tone-rose { background: linear-gradient(135deg, rgba(244, 63, 94, 0.2), rgba(244, 63, 94, 0.05)) !important; }
.admin-metric-card.tone-green { background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.05)) !important; }

.admin-funnel-bar {
  border-radius: 0 18px 18px 0;
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.admin-funnel-bar::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  20% { left: 100%; }
  100% { left: 100%; }
}

.table-like-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
  transition: background 0.2s ease;
}

.table-like-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.admin-nav-item {
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.admin-nav-item.is-active {
  background: rgba(59, 130, 246, 0.1) !important;
  border-left-color: #3b82f6 !important;
  color: #fff !important;
}

/* Scrollbar styling */
.admin-shell ::-webkit-scrollbar {
  width: 6px;
}
.admin-shell ::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}
.admin-shell ::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
.admin-shell ::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}


.loan-picker-modal[hidden],
.loan-plan-modal[hidden] {
  display: none !important;
}

.loan-picker-sheet {
  width: 100%;
  max-width: 420px;
  min-height: 304px;
  background: #f8f8f8;
  color: #202020;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}

.loan-picker-header {
  min-height: 52px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  align-items: center;
  border-bottom: 1px solid #ececec;
}

.loan-picker-header strong {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
}

.loan-picker-action {
  padding: 0;
  border: 0;
  background: transparent;
  color: #8c8c8c;
  font-size: 14px;
  text-align: left;
}

.loan-picker-action-confirm {
  color: #1b75ff;
  text-align: right;
}

.loan-picker-wheel {
  position: relative;
  height: 252px;
  --loan-picker-offset: 103px;
  background: #f8f8f8;
  overflow-x: hidden;
  overflow-y: auto;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
}

.loan-picker-wheel::before,
.loan-picker-wheel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: var(--loan-picker-offset);
  z-index: 3;
  pointer-events: none;
}

.loan-picker-wheel::before {
  top: 0;
  background: linear-gradient(180deg, #f8f8f8 0%, rgba(248, 248, 248, 0.9) 55%, rgba(248, 248, 248, 0) 100%);
}

.loan-picker-wheel::after {
  bottom: 0;
  background: linear-gradient(0deg, #f8f8f8 0%, rgba(248, 248, 248, 0.9) 55%, rgba(248, 248, 248, 0) 100%);
}

.loan-picker-wheel .loan-picker-track {
  position: relative;
  padding: var(--loan-picker-offset) 0;
}

.loan-picker-wheel::-webkit-scrollbar {
  display: none;
}

.loan-picker-wheel::selection {
  background: transparent;
}

.loan-picker-wheel .loan-picker-track::before,
.loan-picker-wheel .loan-picker-track::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: #e9e9e9;
  z-index: 2;
  pointer-events: none;
}

.loan-picker-wheel .loan-picker-track::before {
  top: var(--loan-picker-offset);
}

.loan-picker-wheel .loan-picker-track::after {
  top: calc(var(--loan-picker-offset) + var(--loan-picker-option-height, 46px));
}

.loan-picker-option {
  width: 100%;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  background: transparent;
  color: #343434;
  font-size: 15px;
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
  transition: color 120ms ease, transform 120ms ease, opacity 120ms ease;
  opacity: 0.5;
  scroll-snap-align: center;
}

.loan-picker-option.is-selected {
  color: #111111;
  font-weight: 600;
  opacity: 1;
  transform: scale(1.02);
}

.admin-application-table {
  gap: 8px;
}

.admin-application-list-row {
  display: grid;
  grid-template-columns: minmax(118px, 1.1fr) minmax(88px, 0.84fr) minmax(88px, 0.9fr) minmax(108px, 0.96fr) minmax(88px, 0.82fr) minmax(88px, 0.82fr) minmax(82px, 0.72fr) minmax(72px, 0.78fr) minmax(78px, 0.72fr) minmax(84px, 0.78fr) minmax(138px, 0.98fr) minmax(156px, 1.08fr);
  align-items: center;
  justify-content: initial;
  gap: 10px;
}

.admin-application-list-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-application-list-head {
  background: rgba(24, 39, 84, 0.92);
  color: #cfe8ff;
  font-weight: 700;
}

.admin-application-list-head span:last-child,
.admin-application-list-row span:last-child {
  text-align: left;
}

.admin-user-table {
  gap: 8px;
}

/* 后台列表通用行样式 */
.admin-user-list-row,
.admin-application-list-row,
.admin-visitor-list-row,
.admin-faq-list-row,
.admin-wallet-list-row,
.admin-wallet-blacklist-list-row {
  display: grid;
  align-items: center;
  gap: 6px;
  padding: 9px 11px;
}

.admin-user-list-row span,
.admin-application-list-row span,
.admin-visitor-list-row span,
.admin-faq-list-row span,
.admin-wallet-list-row span,
.admin-wallet-blacklist-list-row span {
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12.5px;
  line-height: 1.3;
  color: #fff;
}

.admin-user-list-row .admin-time-cell,
.admin-application-list-row .admin-time-cell,
.admin-wallet-list-row .admin-time-cell {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.35;
}

.admin-user-list-head span,
.admin-application-list-head span,
.admin-visitor-list-head span,
.admin-wallet-list-head span,
.admin-wallet-blacklist-list-head span {
  color: #cfe8ff !important;
  font-weight: 700;
}

.admin-wallet-blacklist-list-row {
  grid-template-columns: minmax(180px, 1.4fr) 1fr minmax(140px, 1fr) minmax(100px, 0.8fr);
}

.admin-user-list-row {
  grid-template-columns: minmax(148px, 1.2fr) minmax(102px, 0.78fr) minmax(78px, 0.62fr) minmax(96px, 0.82fr) minmax(78px, 0.62fr) minmax(78px, 0.62fr) minmax(110px, 0.9fr) minmax(72px, 0.56fr) minmax(82px, 0.62fr) minmax(112px, 0.86fr) minmax(112px, 0.86fr) minmax(84px, 0.62fr) minmax(112px, 0.86fr) minmax(188px, 1.28fr);
}

.admin-application-list-row {
  grid-template-columns: minmax(118px, 0.9fr) minmax(96px, 0.8fr) minmax(108px, 0.82fr) minmax(96px, 0.82fr) minmax(82px, 0.66fr) minmax(82px, 0.66fr) minmax(110px, 0.86fr) minmax(82px, 0.56fr) minmax(86px, 0.62fr) minmax(118px, 0.86fr) minmax(120px, 0.92fr) minmax(110px, 0.82fr) minmax(184px, 1.22fr);
}

.admin-visitor-list-row {
  grid-template-columns: minmax(138px, 1fr) minmax(98px, 0.72fr) minmax(96px, 0.72fr) minmax(96px, 0.72fr) minmax(148px, 0.98fr) minmax(148px, 0.98fr);
}

.admin-user-list-head,
.admin-application-list-head,
.admin-visitor-list-head {
  background: rgba(24, 39, 84, 0.92);
  border-radius: 12px 12px 0 0;
}

.admin-user-maincell {
  display: grid;
  gap: 2px;
}

.admin-user-maincell strong,
.admin-user-maincell em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-user-maincell strong {
  font-size: 14px;
  font-style: normal;
  color: #f7fbff;
}

.admin-user-maincell em {
  font-size: 12px;
  font-style: normal;
  color: var(--muted);
}

.admin-users-page .admin-user-list-row > span:nth-child(4),
.admin-users-page .admin-user-list-row > span:nth-child(10),
.admin-users-page .admin-user-list-row > span:nth-child(11),
.admin-users-page .admin-user-list-row .admin-time-cell,
.admin-users-page .admin-user-wallet-line strong.admin-time-cell {
  white-space: normal;
  overflow: visible;
  text-overflow: initial;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.35;
}

.admin-users-page .admin-user-wallet-line {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 6px;
  align-items: start;
  min-width: 0;
}

.admin-users-page .admin-user-wallet-line span:first-child {
  color: rgba(207, 232, 255, 0.72);
  font-size: 12px;
}

.admin-users-page .admin-user-wallet-line strong {
  min-width: 0;
  font-size: 12px;
  line-height: 1.3;
}

.admin-row-actions {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 6px;
  overflow: visible !important;
  white-space: nowrap !important;
}

.admin-row-actions form {
  margin: 0;
}

.admin-wallet-status-cell {
  color: rgba(233, 244, 255, 0.78);
}

.admin-wallet-status-cell.is-connected {
  color: #82f2c4;
}

.admin-row-link-btn,
.admin-row-delete-btn,
.admin-danger-btn {
  min-height: 34px;
  padding: 0 13px;
  border-radius: 9px;
  border: 0;
  cursor: pointer;
  font-size: 13px;
}

.admin-row-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.admin-danger-btn {
  background: linear-gradient(90deg, rgba(255, 122, 148, 0.22), rgba(255, 86, 113, 0.28));
  color: #ffd7df;
  box-shadow: inset 0 0 0 1px rgba(255, 122, 148, 0.24);
}

.admin-danger-btn:hover {
  transform: translateY(-1px);
}

.admin-danger-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.admin-visitor-table {
  gap: 8px;
}

.admin-wallet-table,
.admin-wallet-blacklist-table {
  gap: 8px;
}

.admin-wallet-list-row {
  display: grid;
  grid-template-columns: minmax(190px, 1.22fr) minmax(92px, 0.64fr) minmax(82px, 0.54fr) minmax(82px, 0.54fr) minmax(118px, 0.74fr) minmax(108px, 0.68fr) minmax(126px, 0.76fr) minmax(138px, 0.84fr) minmax(116px, 0.74fr) minmax(128px, 0.78fr) minmax(156px, 0.88fr);
  align-items: center;
  gap: 6px;
  padding: 8px 8px;
}

.admin-wallet-block {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.admin-wallet-meta-line {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  line-height: 1.2;
  min-width: 0;
}

.admin-wallet-meta-line em {
  color: rgba(255, 255, 255, 0.4);
  font-style: normal;
  width: 40px;
  flex: 0 0 40px;
}

.admin-wallet-meta-line span:last-child,
.admin-wallet-address-cell {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-wallet-account {
  font-size: 12px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 2px;
}

.admin-wallet-address-cell {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  word-break: break-all;
  display: block;
  margin-bottom: 2px;
}

.admin-wallet-main-block {
  gap: 8px;
}

.admin-wallet-account {
  font-size: 12px;
  color: #ffffff;
}

.admin-wallet-address-cell {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.admin-wallet-meta-line {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 6px;
  align-items: start;
  min-width: 0;
}

.admin-wallet-meta-line em {
  font-style: normal;
  color: rgba(207, 232, 255, 0.7);
  font-size: 12px;
}

.admin-wallet-meta-line span:last-child {
  min-width: 0;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  line-height: 1.25;
  max-height: none;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-wallet-hash-cell {
  display: grid;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
}

.admin-wallet-hash-cell button {
  justify-self: start;
}

.admin-wallet-hash-text {
  min-width: 0;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  line-height: 1.2;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-wallet-copy-mini {
  min-height: 28px;
  padding: 0 9px;
  border-radius: 8px;
  font-size: 12px;
}

.admin-wallet-list-row .admin-row-actions {
  gap: 5px;
}

.admin-wallet-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  align-content: flex-start;
  min-width: 0;
}

.admin-wallet-actions form {
  width: auto;
  min-width: 0;
}

.admin-wallet-list-row .btn-secondary,
.admin-wallet-list-row .admin-danger-btn {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 11px;
}

.admin-wallet-actions {
  justify-content: flex-start;
  overflow: hidden;
}

.admin-wallet-action-btn,
.admin-wallet-copy-mini {
  max-width: 100%;
}

.admin-wallet-action-btn {
  width: 100%;
  justify-content: center;
}

.admin-wallet-list-head > span {
  white-space: nowrap;
}

.admin-wallet-list-head,
.admin-wallet-blacklist-list-head {
  background: rgba(24, 39, 84, 0.92);
  color: #cfe8ff;
  font-weight: 700;
}

.admin-applications-page .admin-applications-hero {
  padding: 15px 17px;
}

.admin-applications-page .admin-applications-hero .admin-page-hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
}

.admin-applications-page .admin-applications-filter {
  padding: 15px 17px;
}

.admin-applications-page .admin-applications-filter .form-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 11px 13px;
}

.admin-applications-page .admin-applications-filter .field.is-span-2 {
  grid-column: span 2;
}

.admin-applications-page .admin-applications-filter .button-row {
  grid-column: auto;
  align-self: end;
  justify-content: flex-end;
  margin-top: 0;
}

.admin-applications-page .admin-applications-filter .field input,
.admin-applications-page .admin-applications-filter .field select,
.admin-applications-page .admin-applications-filter .field textarea {
  min-height: 39px;
  padding: 0 12px;
  font-size: 14px;
}

.admin-applications-page .admin-applications-filter .button-row .btn,
.admin-applications-page .admin-applications-filter .button-row .btn-secondary,
.admin-applications-page .admin-applications-filter .button-row button {
  min-height: 39px;
  padding: 0 15px;
}

.admin-applications-page .admin-applications-table-card {
  padding: 12px 14px;
  overflow-x: auto;
  overflow-y: hidden;
}

.admin-applications-page .admin-application-table {
  width: 100%;
  min-width: 1548px;
  gap: 6px;
}

.admin-applications-page .admin-application-list-row {
  grid-template-columns: 122px 92px 104px 96px 76px 76px 120px 88px 82px 126px 138px 88px 116px minmax(188px, 1fr);
  gap: 6px;
  padding: 7px 8px;
}

.admin-applications-page .admin-application-list-head > span {
  white-space: nowrap;
}

.admin-applications-page .admin-application-list-row > span {
  font-size: 12px;
}

.admin-applications-page .admin-application-list-row > span:nth-child(10),
.admin-applications-page .admin-application-list-row > span:nth-child(11),
.admin-applications-page .admin-application-list-row > span:nth-child(13),
.admin-applications-page .admin-application-list-row .admin-time-cell {
  white-space: normal;
  overflow: visible;
  text-overflow: initial;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.3;
}

.admin-applications-page .admin-application-list-row > span:nth-child(11) .admin-status-badge {
  white-space: nowrap;
}

.admin-applications-page .admin-application-list-row .admin-row-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  white-space: normal !important;
}

.admin-applications-page .admin-application-list-row .admin-row-actions .admin-danger-btn {
  grid-column: 1 / -1;
}

.admin-applications-page .admin-application-list-row .admin-row-link-btn,
.admin-applications-page .admin-application-list-row .admin-danger-btn {
  width: 100%;
  min-height: 30px;
  padding: 0 9px;
  font-size: 12px;
  justify-content: center;
}

.admin-wallets-page .admin-wallets-hero {
  padding: 14px 16px;
}

.admin-wallets-page .admin-wallets-hero .admin-page-hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 11px;
  align-items: center;
}

.admin-wallets-page .admin-page-center-stat {
  min-width: 170px;
}

.admin-wallets-page #admin-wallet-total-balance {
  font-size: 22px !important;
}

.admin-wallets-page .admin-page-actions {
  gap: 6px;
}

.admin-wallets-page .admin-page-actions .btn-secondary,
.admin-wallets-page .admin-page-actions .btn {
  min-height: 30px;
  padding: 0 11px;
  font-size: 12px;
}

.admin-wallets-page .admin-wallets-filter {
  padding: 14px 16px;
}

.admin-wallets-page .admin-wallets-filter .form-grid {
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) auto;
  gap: 10px;
}

.admin-wallets-page .admin-wallets-filter .field input,
.admin-wallets-page .admin-wallets-filter .field select,
.admin-wallets-page .admin-wallets-filter .field textarea {
  min-height: 38px;
  font-size: 14px;
  padding: 0 11px;
}

.admin-wallets-page .admin-wallets-filter .button-row {
  grid-column: auto;
  align-self: end;
  justify-content: flex-end;
}

.admin-wallets-page .admin-wallets-filter .button-row .btn,
.admin-wallets-page .admin-wallets-filter .button-row .btn-secondary,
.admin-wallets-page .admin-wallets-filter .button-row button {
  min-height: 38px;
  padding: 0 13px;
  font-size: 13px;
}

.admin-wallets-page .admin-wallets-table-card {
  padding: 12px 14px;
  overflow-x: auto;
  overflow-y: hidden;
}

.admin-wallets-page .admin-wallet-table {
  width: 100%;
  min-width: 1360px;
  gap: 6px;
}

.admin-wallets-page .admin-wallet-list-row {
  grid-template-columns: 180px 82px 72px 72px 108px 96px 110px 120px 106px 118px minmax(148px, 1fr);
  gap: 4px;
  padding: 6px 6px;
}

.admin-wallets-page .admin-wallet-list-row span {
  font-size: 12px;
}

.admin-wallets-page .admin-wallet-list-row .admin-time-cell,
.admin-wallets-page .admin-wallet-meta-line .admin-time-cell {
  white-space: normal;
  overflow: visible;
  text-overflow: initial;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.35;
}

.admin-wallets-page .admin-wallet-main-block,
.admin-wallets-page .admin-wallet-block {
  gap: 2px;
}

.admin-wallets-page .admin-wallet-account {
  font-size: 11px;
  margin-bottom: 0;
}

.admin-wallets-page .admin-wallet-address-cell,
.admin-wallets-page .admin-wallet-hash-text {
  font-size: 10px;
}

.admin-wallets-page .admin-wallet-meta-line {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 4px;
  font-size: 10px;
}

.admin-wallets-page .admin-wallet-meta-line em {
  width: 34px;
  flex: 0 0 34px;
  font-size: 10px;
}

.admin-wallets-page .admin-wallet-list-row > span:nth-child(9) {
  white-space: normal;
  overflow: visible;
  text-overflow: initial;
}

.admin-wallets-page .admin-wallet-hash-cell {
  gap: 4px;
}

.admin-wallets-page .admin-wallet-copy-mini {
  min-height: 26px;
  padding: 0 8px;
  font-size: 11px;
}

.admin-wallets-page .admin-wallet-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  align-items: stretch;
}

.admin-wallets-page .admin-wallet-actions form {
  width: 100%;
}

.admin-wallets-page .admin-wallet-action-btn,
.admin-wallets-page .admin-wallet-actions .admin-danger-btn {
  width: 100%;
  min-height: 26px;
  padding: 0 6px;
  font-size: 11px;
  justify-content: center;
}

@media (max-width: 1280px) {
  .admin-applications-page .admin-applications-hero .admin-page-hero-main {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .admin-applications-page .admin-applications-filter .form-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .admin-applications-page .admin-applications-filter .button-row {
    grid-column: 1 / -1;
  }

  .admin-wallets-page .admin-wallets-hero .admin-page-hero-main {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .admin-wallets-page .admin-wallets-filter .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-wallets-page .admin-wallets-filter .button-row {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .admin-applications-page .admin-applications-filter .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-applications-page .admin-applications-filter .field.is-span-2,
  .admin-applications-page .admin-applications-filter .button-row {
    grid-column: 1 / -1;
  }

  .admin-wallets-page .admin-wallets-filter .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .admin-applications-page .admin-applications-filter .form-grid {
    grid-template-columns: 1fr;
  }
}

.admin-wallet-blacklist-list-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(160px, 1fr) minmax(148px, 0.9fr) minmax(112px, 0.68fr);
  align-items: center;
  justify-content: initial;
  gap: 8px;
}

.admin-wallet-blacklist-list-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-visitor-list-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(108px, 0.76fr) minmax(102px, 0.7fr) minmax(102px, 0.7fr) minmax(160px, 0.94fr) minmax(160px, 0.94fr);
  align-items: center;
  justify-content: initial;
  gap: 8px;
}

.admin-visitor-list-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-visitor-list-head {
  background: rgba(24, 39, 84, 0.92);
  color: #cfe8ff;
  font-weight: 700;
}

@media (max-width: 880px) {
  .admin-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-dashboard-grid,
  .admin-detail-layout {
    grid-template-columns: 1fr;
  }

  .admin-table-card {
    overflow-x: auto;
  }
}

.loan-plan-modal {
  position: fixed;
  inset: 0;
  z-index: 25010;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.loan-plan-sheet {
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  background: rgba(10, 20, 45, 0.98);
  border: 1px solid rgba(65, 216, 255, 0.3);
  color: #fff;
  border-radius: 24px;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(65, 216, 255, 0.1);
  overflow: hidden;
  animation: modalSlideUp 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.loan-plan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.loan-plan-header strong {
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(90deg, #fff, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.loan-plan-close {
  width: 32px;
  height: 32px;
  border: 0;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 24px;
  line-height: 32px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loan-plan-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

.loan-plan-summary {
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.loan-plan-summary-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.loan-plan-summary-row span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.loan-plan-summary-row strong {
  font-size: 16px;
  color: var(--primary);
  font-weight: 700;
}

.loan-plan-table-wrap {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 16px 24px 24px;
}

.loan-plan-columns {
  display: grid;
  grid-template-columns: 50px 1fr 1fr 1fr 1fr;
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
}

.loan-plan-columns span {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.loan-plan-list {
  flex: 1;
  overflow-y: auto;
  padding-right: 4px;
}

.loan-plan-list::-webkit-scrollbar {
  width: 4px;
}

.loan-plan-list::-webkit-scrollbar-thumb {
  background: rgba(65, 216, 255, 0.2);
  border-radius: 2px;
}

.loan-plan-item {
  display: grid;
  grid-template-columns: 50px 1fr 1fr 1fr 1fr;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 13px;
  transition: background 0.2s;
}

.loan-plan-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.loan-plan-item span:first-child {
  color: rgba(255, 255, 255, 0.4);
}

.loan-plan-item span:nth-child(3) {
  color: #fff;
  font-weight: 600;
}

.loan-plan-item span:nth-child(4),
.loan-plan-item span:nth-child(5) {
  color: rgba(255, 255, 255, 0.7);
}

body.is-loan-plan-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .loan-plan-sheet {
    max-width: 100%;
    border-radius: 24px 24px 0 0;
    position: absolute;
    bottom: 0;
    max-height: 90vh;
  }
  
  .loan-plan-summary {
    grid-template-columns: 1fr;
    padding: 16px 24px;
    gap: 12px;
  }

  .loan-plan-table-wrap {
    padding: 8px 14px 16px;
  }

  .loan-plan-columns {
    display: none;
  }

  .loan-plan-list {
    overflow-x: hidden;
  }

  .loan-plan-item {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px 0;
  }

  .loan-plan-item span {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
  }

  .loan-plan-item span::before {
    content: attr(data-label);
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    text-transform: uppercase;
  }
}

.loan-shot-next-btn:disabled,
.loan-shot-submit-btn:disabled,
.loan-shot-connect-btn:disabled {
  opacity: 0.48;
  filter: saturate(0.7);
  cursor: not-allowed;
  box-shadow: none;
}

.loan-shot-submit-btn[hidden],
.loan-shot-nav-btn[hidden] {
  display: none !important;
}

:root {
  --lm-bg: #0a0e27;
  --lm-cyan: #00d4ff;
  --lm-indigo: #667eea;
  --lm-white: #ffffff;
  --lm-canvas-width: 430px;
  --lm-border-w: min(.267vw, 1.041px);
  --lm-blur: blur(min(2.667vw, 10.4px));
  --lm-pad-xs: min(2.133vw, 8.32px);
  --lm-pad-sm: min(3.2vw, 12.48px);
  --lm-pad-md: min(4.267vw, 16.64px);
  --lm-pad-lg: min(6.4vw, 24.96px);
  --lm-card-pad: min(5.333vw, 20.8px);
  --lm-fs-xs: min(2.667vw, 10.4px);
  --lm-fs-sm: min(3.2vw, 12.48px);
  --lm-fs-md: min(3.733vw, 14.56px);
  --lm-fs-lg: min(4.267vw, 16.64px);
  --lm-fs-xl: min(5.333vw, 20.8px);
  --lm-fs-2xl: min(5.867vw, 22.88px);
  --lm-fs-3xl: min(6.4vw, 24.96px);
  --lm-fs-hero: min(9.6vw, 37.44px);
  --lm-radius-sm: min(2.133vw, 8.32px);
  --lm-radius-md: min(3.2vw, 12.48px);
  --lm-radius-lg: min(4.267vw, 16.64px);
  --lm-radius-xl: min(5.333vw, 20.8px);
  --lm-white-92: rgba(255, 255, 255, 0.92);
  --lm-white-88: rgba(255, 255, 255, 0.88);
  --lm-white-70: rgba(255, 255, 255, 0.7);
  --lm-white-55: rgba(255, 255, 255, 0.55);
  --lm-white-10: rgba(255, 255, 255, 0.1);
  --lm-white-13: rgba(255, 255, 255, 0.08);
  --lm-white-16: rgba(255, 255, 255, 0.1);
  --lm-glass-08: rgba(255, 255, 255, 0.031);
  --lm-glass-0d: rgba(255, 255, 255, 0.051);
  --lm-glass-1a: rgba(255, 255, 255, 0.102);
  --lm-glow-shadow: rgba(0, 212, 255, 0.102);
  --lm-cyan-10: rgba(0, 212, 255, 0.1);
  --lm-cyan-15: rgba(0, 212, 255, 0.15);
  --lm-cyan-20: rgba(0, 212, 255, 0.2);
  --lm-cyan-30: rgba(0, 212, 255, 0.3);
  --lm-cyan-50: rgba(0, 212, 255, 0.5);
  --lm-border: rgba(0, 212, 255, 0.2);
  --lm-border-strong: rgba(0, 212, 255, 0.3);
}

body {
  background: var(--lm-bg);
  color: var(--lm-white-88);
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Segoe UI, Arial, Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
}

body.home-reference,
body {
  background-attachment: fixed;
}

body.home-reference::before,
body.home-reference::after {
  display: none;
}

body.home-reference::before {
  background:
    radial-gradient(circle at center, rgba(102, 126, 234, 0.55) 0%, transparent 70%) max(-160px, -26.667vw) max(-160px, -26.667vw) / min(480px, 80vw) min(480px, 80vw) no-repeat,
    radial-gradient(circle at center, rgba(0, 212, 255, 0.55) 0%, transparent 70%) max(-80px, -13.333vw) max(calc(100% - min(400px, 66.667vw) + max(-80px, -13.333vw)), 0px) / min(400px, 66.667vw) min(400px, 66.667vw) no-repeat,
    radial-gradient(circle at center, rgba(240, 147, 251, 0.28) 0%, transparent 70%) 50% max(calc(100% - min(320px, 53.333vw) + max(-80px, -13.333vw)), 0px) / min(320px, 53.333vw) min(320px, 53.333vw) no-repeat;
  filter: blur(min(16vw, 96px));
  opacity: 0.5;
  animation: lm-orb-float 20s ease-in-out infinite;
}

body.home-reference::after {
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.05) min(.267vw, 1.6px), transparent min(.267vw, 1.6px)),
    linear-gradient(90deg, rgba(0, 212, 255, 0.05) min(.267vw, 1.6px), transparent min(.267vw, 1.6px));
  background-size: min(13.333vw, 80px) min(13.333vw, 80px);
  opacity: 0.35;
  animation: lm-grid-move 20s linear infinite;
}

body.admin-shell {
  --lm-canvas-width: 600px;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: none;
  pointer-events: none;
  z-index: 0;
  filter: blur(72px);
  opacity: 0.4;
  background:
    radial-gradient(circle at center, rgba(102, 126, 234, 0.55) 0%, transparent 70%) -160px -160px / 480px 480px no-repeat,
    radial-gradient(circle at center, rgba(0, 212, 255, 0.55) 0%, transparent 70%) calc(100% - 240px) 120px / 400px 400px no-repeat,
    radial-gradient(circle at center, rgba(240, 147, 251, 0.28) 0%, transparent 70%) 50% calc(100% - 160px) / 320px 320px no-repeat;
  animation: lm-orb-float 20s ease-in-out infinite;
  left: 50%;
  width: min(100%, var(--lm-canvas-width));
  transform: translateX(-50%);
  filter: blur(min(16vw, 96px));
  background:
    radial-gradient(circle at center, rgba(102, 126, 234, 0.55) 0%, transparent 70%) max(-160px, -26.667vw) max(-160px, -26.667vw) / min(480px, 80vw) min(480px, 80vw) no-repeat,
    radial-gradient(circle at center, rgba(0, 212, 255, 0.55) 0%, transparent 70%) max(-80px, -13.333vw) max(calc(100% - min(400px, 66.667vw) + max(-80px, -13.333vw)), 0px) / min(400px, 66.667vw) min(400px, 66.667vw) no-repeat,
    radial-gradient(circle at center, rgba(240, 147, 251, 0.28) 0%, transparent 70%) 50% max(calc(100% - min(320px, 53.333vw) + max(-80px, -13.333vw)), 0px) / min(320px, 53.333vw) min(320px, 53.333vw) no-repeat;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: none;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.9;
  animation: lm-grid-move 20s linear infinite;
  left: 50%;
  width: min(100%, var(--lm-canvas-width));
  transform: translateX(-50%);
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.05) min(.267vw, 1.6px), transparent min(.267vw, 1.6px)),
    linear-gradient(90deg, rgba(0, 212, 255, 0.05) min(.267vw, 1.6px), transparent min(.267vw, 1.6px));
  background-size: min(13.333vw, 80px) min(13.333vw, 80px);
}

@keyframes lm-orb-float {
  0% {
    transform: translateX(-50%) translate(0, 0) scale(1);
  }
  33% {
    transform: translateX(-50%) translate(min(8vw, 48px), max(-8vw, -48px)) scale(1.1);
  }
  66% {
    transform: translateX(-50%) translate(max(-5.333vw, -32px), min(5.333vw, 32px)) scale(0.92);
  }
  100% {
    transform: translateX(-50%) translate(0, 0) scale(1);
  }
}

@keyframes lm-grid-move {
  0% {
    transform: translateX(-50%) translate(0, 0);
  }
  100% {
    transform: translateX(-50%) translate(min(13.333vw, 80px), min(13.333vw, 80px));
  }
}

body #app {
  max-width: var(--lm-canvas-width);
  position: relative;
  z-index: 1;
}

body .page-shell {
  padding: var(--lm-pad-lg) var(--lm-pad-md);
  padding-bottom: min(8.533vw, 51.2px);
  display: flex;
  flex-direction: column;
  gap: var(--lm-pad-lg);
}

body .topbar {
  height: min(13.333vw, 52px);
  background: rgba(10, 14, 39, 0.98);
  backdrop-filter: blur(min(8vw, 48px));
  border-bottom: var(--lm-border-w) solid var(--lm-border-strong);
  box-shadow: 0 min(1.067vw, 6.4px) min(8vw, 48px) rgba(0, 212, 255, 0.15), 0 0 min(16vw, 96px) rgba(10, 14, 39, 0.8);
}

body .brand strong,
body .brand small {
  color: var(--lm-cyan);
}

body .brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--lm-pad-sm);
}

body .brand-mark {
  width: min(9.6vw, 37.44px);
  height: min(9.6vw, 37.44px);
  border-radius: var(--lm-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: var(--lm-border-w) solid rgba(0, 212, 255, 0.2);
  box-shadow: 0 0 min(6.667vw, 40px) rgba(0, 212, 255, 0.12);
  overflow: hidden;
}

body .brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body .brand-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: min(1.067vw, 6.4px);
}

body .brand-wordmark {
  height: min(4.8vw, 28.8px);
  width: auto;
  filter: drop-shadow(0 0 min(2.133vw, 12.8px) rgba(0, 212, 255, 0.4));
}

body .brand-title {
  font-size: var(--lm-fs-sm);
  letter-spacing: min(.267vw, 1.6px);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

body .menu-toggle,
body .country-switch {
  background: rgba(0, 212, 255, 0.08);
  border: var(--lm-border-w) solid var(--lm-border-strong);
  border-radius: min(2.667vw, 16px);
  box-shadow: none;
}

body .menu-toggle-text,
body .country-copy,
body .country-caret {
  display: none;
}

body .topbar-left {
  gap: var(--lm-pad-sm);
}

body .menu-toggle {
  width: min(9.6vw, 37.44px);
  height: min(9.6vw, 37.44px);
  padding: 0;
  justify-content: center;
}

body .country-switch {
  width: min(9.6vw, 37.44px);
  height: min(9.6vw, 37.44px);
  padding: 0;
  justify-content: center;
}

body .country-icon {
  width: min(5.333vw, 20.8px);
  height: min(5.333vw, 20.8px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body .country-icon img {
  width: 100%;
  height: 100%;
  filter: brightness(0) invert(1) drop-shadow(0 0 min(2.133vw, 12.8px) rgba(0, 212, 255, 0.5));
}

body .topbar-menu,
body .country-menu,
body .topbar-auth-menu {
  position: fixed;
  top: 0;
  left: 50%;
  width: min(100%, var(--lm-canvas-width));
  transform: translateX(-50%);
  background: transparent;
  display: none;
  z-index: 20000;
  pointer-events: none;
  bottom: 0;
}

body .topbar-menu.is-open,
body .country-menu.is-open,
body .topbar-auth-menu.is-open {
  display: block;
  pointer-events: auto;
}

body .menu-drawer {
  overflow: hidden;
}

body .menu-drawer .drawer-content {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  height: auto;
  width: 50%;
  max-width: 300px;
  padding: var(--lm-pad-md);
  background: rgba(10, 14, 39, 0.98);
  backdrop-filter: blur(min(5.333vw, 20.8px));
  border-right: var(--lm-border-w) solid rgba(0, 212, 255, 0.3);
  box-shadow: 0 min(1.067vw, 6.4px) min(8vw, 48px) rgba(0, 212, 255, 0.15), 0 0 min(16vw, 96px) rgba(10, 14, 39, 0.8);
  display: flex;
  flex-direction: column;
  gap: var(--lm-pad-sm);
  overflow: hidden;
  transform: translateX(-105%);
  transition: transform 0.25s ease;
  pointer-events: auto;
}

body .topbar-menu.is-open .drawer-content,
body .country-menu.is-open .drawer-content,
body .topbar-auth-menu.is-open .drawer-content {
  transform: translateX(0);
}

body .country-menu .drawer-content,
body .topbar-auth-menu .drawer-content {
  left: auto;
  right: 0;
  transform: translateX(105%);
  border-right: none;
  border-left: var(--lm-border-w) solid rgba(0, 212, 255, 0.3);
}

body .menu-drawer .drawer-content::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
  animation: lm-drawer-rotate 20s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes lm-drawer-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

body .drawer-header {
  position: relative;
  z-index: 1;
  padding: var(--lm-pad-sm) var(--lm-pad-sm) var(--lm-pad-xs);
  border-bottom: var(--lm-border-w) solid rgba(0, 212, 255, 0.18);
}

body .drawer-brand {
  display: flex;
  align-items: center;
  gap: var(--lm-pad-sm);
}

body .drawer-brand-mark {
  width: min(10.667vw, 42px);
  height: min(10.667vw, 42px);
  flex: 0 0 min(10.667vw, 42px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.18), rgba(102, 126, 234, 0.22));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 min(4vw, 24px) rgba(0, 212, 255, 0.18);
}

body .drawer-brand-mark img {
  width: min(6.4vw, 24px);
  height: min(6.4vw, 24px);
  object-fit: contain;
}

body .drawer-brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  gap: min(.533vw, 3.2px);
}

body .drawer-logo {
  height: min(3.2vw, 19px);
  width: min(15vw, 60px);
  min-width: 0;
  max-width: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 min(2.667vw, 16px) rgba(0, 212, 255, 0.35));
}

body .drawer-brand-title {
  font-size: var(--lm-fs-xs);
  font-weight: 700;
  letter-spacing: min(.4vw, 2.4px);
  color: rgba(255, 255, 255, 0.64);
}

body .drawer-title {
  font-size: var(--lm-fs-lg);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: min(.133vw, .8px);
}

body .menu-overlay {
  position: fixed;
  top: 0;
  left: 50%;
  width: min(100%, var(--lm-canvas-width));
  transform: translateX(-50%);
  height: 100%;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 15000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

body .menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

body .topbar-link,
body .country-option {
  min-height: min(11.733vw, 45.76px);
  padding: 0 var(--lm-pad-md);
  border-radius: var(--lm-radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: var(--lm-border-w) solid rgba(0, 212, 255, 0.2);
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--lm-fs-md);
  font-weight: 600;
  letter-spacing: min(.133vw, .8px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--lm-pad-sm);
  position: relative;
  z-index: 1;
}

body .topbar-link:hover,
body .country-option:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.5);
}

body .topbar-link.is-active,
body .country-option.is-active {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.18), rgba(102, 126, 234, 0.18));
  border-color: rgba(0, 212, 255, 0.6);
  color: #ffffff;
}

body .topbar-link::after,
body .country-option::after {
  content: "›";
  margin-left: auto;
  color: rgba(0, 212, 255, 0.9);
  font-size: var(--lm-fs-lg);
  font-weight: 700;
}

body .menu-toggle:hover,
body .country-switch:hover,
body .menu-toggle[aria-expanded="true"],
body .country-switch[aria-expanded="true"] {
  background: rgba(0, 212, 255, 0.15);
  border-color: rgba(0, 212, 255, 0.6);
  box-shadow: 0 0 min(6.667vw, 40px) rgba(0, 212, 255, 0.5), 0 min(1.067vw, 6.4px) min(4vw, 24px) rgba(0, 212, 255, 0.3);
  transform: translateY(max(-.533vw, -3.2px));
}

body .content-card,
body .form-card {
  background: var(--lm-glass-0d);
  backdrop-filter: var(--lm-blur);
  border: var(--lm-border-w) solid var(--lm-border);
  border-radius: var(--lm-radius-xl);
  box-shadow: 0 min(1.067vw, 6.4px) min(5.333vw, 32px) var(--lm-glow-shadow);
  padding: var(--lm-pad-lg);
}

body .section-head .eyebrow {
  color: var(--lm-white-70);
  letter-spacing: min(.133vw, .8px);
  font-size: var(--lm-fs-sm);
}

body .section-head {
  margin-bottom: var(--lm-pad-sm);
}

body .section-title {
  margin: 0 0 var(--lm-pad-xs);
}

body .section-title {
  color: var(--lm-cyan);
  font-size: var(--lm-fs-xl);
  text-shadow: 0 0 min(2.133vw, 12.8px) rgba(0, 212, 255, 0.45);
}

body .section-copy {
  color: var(--lm-white-70);
  font-size: var(--lm-fs-md);
  line-height: 1.6;
}

body .btn {
  border: none;
  border-radius: var(--lm-radius-md);
  background: linear-gradient(135deg, var(--lm-cyan), var(--lm-indigo));
  color: var(--lm-white);
  box-shadow: 0 min(1.067vw, 6.4px) min(5.333vw, 32px) rgba(0, 212, 255, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
  min-height: min(11.733vw, 45.76px);
  padding: 0 min(4vw, 24px);
  font-size: var(--lm-fs-md);
  font-weight: 600;
}

body .btn:hover:not(:disabled) {
  transform: translateY(max(-.533vw, -3.2px));
  box-shadow: 0 min(1.6vw, 9.6px) min(8vw, 48px) rgba(0, 212, 255, 0.6);
}

body .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
  filter: saturate(0.8);
}

body .btn-secondary {
  border-radius: var(--lm-radius-md);
  background: rgba(255, 255, 255, 0.1);
  border: var(--lm-border-w) solid var(--lm-border-strong);
  color: var(--lm-white);
  box-shadow: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  min-height: min(11.733vw, 45.76px);
  padding: 0 min(4vw, 24px);
  font-size: var(--lm-fs-md);
  font-weight: 600;
}

body .btn-secondary:hover:not(:disabled) {
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.5);
  transform: translateY(max(-.533vw, -3.2px));
}

body .field input,
body .field textarea,
body .field select {
  background: rgba(255, 255, 255, 0.08);
  border: var(--lm-border-w) solid rgba(0, 212, 255, 0.25);
  border-radius: var(--lm-radius-md);
  color: var(--lm-white);
  font-size: var(--lm-fs-md);
  padding: min(3.2vw, 19.2px) min(4.267vw, 25.6px);
  min-height: min(11.733vw, 45.76px);
}

body .field input::placeholder,
body .field textarea::placeholder {
  color: var(--lm-white-55);
}

body .field input:focus,
body .field textarea:focus,
body .field select:focus {
  outline: none;
  border-color: rgba(0, 212, 255, 0.6);
  box-shadow: 0 0 0 min(.533vw, 3.2px) rgba(0, 212, 255, 0.15);
}

body .status-box {
  background: rgba(0, 0, 0, 0.2);
  border: var(--lm-border-w) solid rgba(255, 255, 255, 0.08);
  border-radius: var(--lm-radius-md);
  color: var(--lm-white-70);
  font-size: var(--lm-fs-sm);
}

body .site-footer {
  background: transparent;
}

body .footer-card {
  background: var(--lm-glass-0d);
  backdrop-filter: var(--lm-blur);
  border: var(--lm-border-w) solid rgba(0, 212, 255, 0.18);
  border-radius: var(--lm-radius-xl);
  box-shadow: 0 min(1.067vw, 6.4px) min(5.333vw, 32px) rgba(0, 212, 255, 0.078);
  padding: var(--lm-card-pad);
}

body .panel,
body .hero-card,
body .feature-card,
body .stat-card,
body .metric-card,
body .mini-card,
body .action-card,
body .faq-item,
body .home-feature-pill,
body .home-advantage-card,
body .stat {
  background: var(--lm-glass-08);
  border: var(--lm-border-w) solid var(--lm-border);
  border-radius: var(--lm-radius-xl);
  box-shadow: 0 min(1.067vw, 6.4px) min(5.333vw, 32px) rgba(0, 212, 255, 0.078);
}

body .action-card,
body .faq-item,
body .home-feature-pill,
body .home-advantage-card,
body .stat {
  border-radius: var(--lm-radius-lg);
}

body .home-quota-card {
  position: relative;
  overflow: hidden;
  border: none;
  background: linear-gradient(-45deg, #0a5bff, #00bcd4, #3f51b5, #673ab7, #4527a0);
  background-size: 400% 400%;
  animation: lm-shimmer-gradient 8s ease infinite;
  box-shadow: 0 min(2.133vw, 12.8px) min(5.333vw, 32px) rgba(10, 91, 255, 0.3);
  color: var(--lm-white);
  padding: var(--lm-pad-lg);
  border-radius: var(--lm-radius-lg);
}

body .home-quota-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
  transform: rotate(30deg);
  animation: lm-shimmer-sweep 4s linear infinite;
  pointer-events: none;
}

@keyframes lm-shimmer-gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes lm-shimmer-sweep {
  0% {
    transform: translate(-100%) rotate(30deg);
  }
  100% {
    transform: translate(100%) rotate(30deg);
  }
}

body.home-reference .home-source-hero {
  position: relative;
  overflow: hidden;
  background: var(--lm-glass-08);
  border: var(--lm-border-w) solid rgba(102, 126, 234, 0.22);
  backdrop-filter: var(--lm-blur);
}

body.home-reference .home-source-hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(102, 126, 234, 0.22), transparent 70%);
  animation: lm-home-pulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes lm-home-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.55;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.85;
  }
}

body.home-reference .home-stats-stack .value {
  color: var(--lm-cyan);
  text-shadow: 0 0 min(2.667vw, 16px) rgba(0, 212, 255, 0.3);
  font-size: var(--lm-fs-3xl);
}

body.home-reference .shell {
  gap: var(--lm-pad-lg);
}

body .section {
  margin-top: 0;
}

body .shell {
  gap: var(--lm-pad-lg);
}

body.home-reference .home-source-title {
  font-size: var(--lm-fs-hero);
  line-height: 1.1;
  font-weight: 700;
}

body.home-reference .home-section-title {
  font-size: var(--lm-fs-2xl);
  line-height: 1.2;
  font-weight: 700;
}

body.home-reference .home-source-subline,
body.home-reference .home-source-copy,
body.home-reference .home-section-subtitle {
  font-size: var(--lm-fs-md);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

body.home-reference .home-source-subline span {
  color: var(--lm-cyan);
  font-weight: 700;
}

body.home-reference .home-source-hero,
body.home-reference .home-about-card,
body.home-reference .faq-item,
body.home-reference .home-advantage-card,
body.home-reference .stat,
body.home-reference .home-quota-card,
body.home-reference .home-feature-pill {
  background: var(--lm-glass-0d);
  backdrop-filter: var(--lm-blur);
}

body.home-reference .home-stats-stack .label {
  font-size: var(--lm-fs-md);
  color: rgba(255, 255, 255, 0.7);
}

body.home-reference .home-feature-pill {
  border-radius: var(--lm-radius-sm);
  padding: var(--lm-pad-sm);
}

body.home-reference .home-feature-text {
  font-size: var(--lm-fs-md);
}

body.home-reference .faq-question {
  min-height: min(11.733vw, 45.76px);
  padding: 0 var(--lm-pad-md);
  font-size: var(--lm-fs-md);
}

body.home-reference .faq-answer {
  padding: 0 var(--lm-pad-md) var(--lm-pad-md);
  font-size: var(--lm-fs-md);
  line-height: 1.6;
}

body.home-reference .home-faq-list {
  display: grid;
  gap: var(--lm-pad-sm);
}

body.home-reference .home-faq-list .faq-item {
  background: var(--lm-glass-0d);
  backdrop-filter: var(--lm-blur);
  border: var(--lm-border-w) solid rgba(0, 212, 255, 0.2);
  border-radius: var(--lm-radius-lg);
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 min(1.067vw, 6.4px) min(5.333vw, 32px) rgba(0, 212, 255, 0.078);
}

body.home-reference .home-faq-list .faq-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.35);
}

body.home-reference .home-faq-list .faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--lm-pad-sm);
  cursor: pointer;
  text-align: left;
}

body.home-reference .home-faq-list .faq-question:hover {
  background: rgba(0, 212, 255, 0.06);
}

body.home-reference .home-faq-list .faq-caret {
  color: var(--lm-cyan);
  font-weight: 700;
  transition: transform 0.25s ease;
}

body.home-reference .home-faq-list .faq-item.is-open .faq-caret {
  transform: rotate(180deg);
}

body.home-reference .home-faq-list .faq-answer {
  color: rgba(255, 255, 255, 0.7);
}

body.home-reference .recent-loans {
  margin: 0 0 min(6.4vw, 38.4px);
  padding: min(6.4vw, 38.4px);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(min(2.667vw, 16px));
  border-radius: var(--lm-radius-xl);
  border: none;
  box-shadow: 0 min(1.067vw, 6.4px) min(5.333vw, 32px) rgba(0, 212, 255, 0.1);
  position: relative;
  z-index: 1;
}

body.home-reference .recent-loans h3 {
  margin: 0 0 min(4.267vw, 25.6px);
  font-size: min(5.867vw, 35.2px);
  color: var(--lm-cyan);
  font-weight: 700;
  position: relative;
  padding-left: min(4.267vw, 25.6px);
}

body.home-reference .recent-loans h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: min(1.067vw, 6.4px);
  height: min(6.4vw, 38.4px);
  background: linear-gradient(135deg, var(--lm-cyan), var(--lm-indigo));
  border-radius: min(.533vw, 3.2px);
  box-shadow: 0 0 min(2.667vw, 16px) rgba(0, 212, 255, 0.5);
}

body {
  font-weight: 400;
  font-size: var(--lm-fs-md);
  line-height: 1.6;
}

body strong {
  font-weight: 600;
}

body h1,
body h2,
body h3 {
  font-weight: 700;
}

body .section-head .eyebrow {
  font-weight: 500;
}

body .section-title {
  font-weight: 600;
}

body .field label {
  font-size: var(--lm-fs-md);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

body .field input,
body .field textarea,
body .field select {
  font-weight: 400;
}

body .home-quota-title {
  font-size: var(--lm-fs-md);
  font-weight: 500;
}

body .home-quota-range {
  font-size: var(--lm-fs-2xl);
  font-weight: 700;
}

body .stat .label,
body .label,
body .hint,
body .status-text {
  font-size: var(--lm-fs-md);
  font-weight: 500;
}

body .stat .value,
body .value {
  font-weight: 700;
}

body.home-reference .recent-loans .loan-address {
  font-weight: 600;
}

body.home-reference .recent-loans .loan-status {
  font-weight: 500;
}

body::before,
body::after {
  display: none;
}

body .app-shell::before {
  display: none;
}

body .app-shell::after {
  display: none;
}

body .web3-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: none;
  z-index: 0;
  pointer-events: none;
  background: var(--lm-bg);
  overflow: hidden;
  isolation: isolate;
  left: 50%;
  width: min(100%, var(--lm-canvas-width));
  transform: translateX(-50%);
}

body .page-shell,
body .site-footer {
  position: relative;
  z-index: 1;
}

body .gradient-orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.65;
  will-change: transform;
  animation: lm-web3-float 20s ease-in-out infinite;
  mix-blend-mode: screen;
  filter: blur(min(12vw, 46.8px));
  z-index: 1;
}

body .orb-1 {
  width: min(93.333vw, 364px);
  height: min(93.333vw, 364px);
  background: radial-gradient(circle, rgba(102, 126, 234, 0.95) 0%, transparent 65%);
  top: -20%;
  left: -25%;
  animation-delay: 0s;
}

body .orb-2 {
  width: min(93.333vw, 364px);
  height: min(93.333vw, 364px);
  background: radial-gradient(circle, rgba(0, 212, 255, 0.95) 0%, transparent 65%);
  top: 10%;
  right: -30%;
  animation-delay: 2s;
  animation-duration: 26s;
}

body .orb-3 {
  width: min(93.333vw, 364px);
  height: min(93.333vw, 364px);
  background: radial-gradient(circle, rgba(0, 212, 255, 0.7) 0%, rgba(102, 126, 234, 0.55) 30%, transparent 70%);
  bottom: -25%;
  left: 10%;
  animation-delay: 6s;
  animation-duration: 30s;
}

@keyframes lm-web3-float {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  33% {
    transform: translate3d(min(4.267vw, 16.64px), min(-5.333vw, -20.8px), 0) scale(1.08);
  }
  66% {
    transform: translate3d(min(-4.267vw, -16.64px), min(4.267vw, 16.64px), 0) scale(0.96);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

body .grid-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: min(5.333vw, 20.8px) min(5.333vw, 20.8px);
  opacity: 0.12;
  animation: lm-grid-move-bg 16s linear infinite;
}

body:not(.admin-shell) .web3-background::after {
  content: "";
  position: absolute;
  inset: -10% 0 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(106, 194, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(146, 124, 255, 0.105) 1px, transparent 1px);
  background-size: min(7.467vw, 28px) min(7.467vw, 28px);
  opacity: 0.42;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.62) 56%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.62) 56%, transparent 100%);
  animation: lm-home-grid-drift 18s linear infinite;
}

body.home-reference .web3-background::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(58, 176, 255, 0.48) 0%, rgba(58, 176, 255, 0.24) 32%, transparent 64%) 46% 32% / min(10.667vw, 40px) min(10.667vw, 40px) no-repeat,
    radial-gradient(circle, rgba(105, 118, 255, 0.43) 0%, rgba(105, 118, 255, 0.22) 32%, transparent 65%) 50% 37% / min(7.733vw, 29px) min(7.733vw, 29px) no-repeat,
    radial-gradient(circle, rgba(128, 92, 255, 0.5) 0%, rgba(128, 92, 255, 0.25) 31%, transparent 66%) 55% 43% / min(11.733vw, 44px) min(11.733vw, 44px) no-repeat,
    radial-gradient(circle, rgba(170, 88, 255, 0.46) 0%, rgba(170, 88, 255, 0.22) 30%, transparent 67%) 60% 49% / min(7.467vw, 28px) min(7.467vw, 28px) no-repeat,
    radial-gradient(circle, rgba(72, 164, 255, 0.36) 0%, rgba(72, 164, 255, 0.17) 31%, transparent 67%) 64% 55% / min(9.333vw, 35px) min(9.333vw, 35px) no-repeat,
    radial-gradient(circle, rgba(142, 94, 255, 0.42) 0%, rgba(142, 94, 255, 0.19) 30%, transparent 68%) 68% 61% / min(6.933vw, 26px) min(6.933vw, 26px) no-repeat,
    radial-gradient(circle, rgba(122, 86, 255, 0.39) 0%, rgba(122, 86, 255, 0.17) 30%, transparent 69%) 71% 66% / min(6.4vw, 24px) min(6.4vw, 24px) no-repeat,
    radial-gradient(circle, rgba(162, 82, 255, 0.37) 0%, rgba(162, 82, 255, 0.16) 29%, transparent 70%) 74% 71% / min(5.333vw, 20px) min(5.333vw, 20px) no-repeat,
    radial-gradient(circle, rgba(138, 90, 255, 0.34) 0%, rgba(138, 90, 255, 0.145) 28%, transparent 72%) 57% 39% / min(4.8vw, 18px) min(4.8vw, 18px) no-repeat,
    radial-gradient(circle, rgba(154, 96, 255, 0.33) 0%, rgba(154, 96, 255, 0.14) 28%, transparent 72%) 66% 58% / min(4.267vw, 16px) min(4.267vw, 16px) no-repeat,
    radial-gradient(circle, rgba(176, 92, 255, 0.3) 0%, rgba(176, 92, 255, 0.13) 27%, transparent 73%) 52% 35% / min(4vw, 15px) min(4vw, 15px) no-repeat,
    radial-gradient(circle, rgba(148, 86, 255, 0.31) 0%, rgba(148, 86, 255, 0.13) 27%, transparent 73%) 62% 46% / min(3.733vw, 14px) min(3.733vw, 14px) no-repeat,
    radial-gradient(circle, rgba(186, 100, 255, 0.29) 0%, rgba(186, 100, 255, 0.12) 27%, transparent 74%) 69% 64% / min(3.467vw, 13px) min(3.467vw, 13px) no-repeat,
    radial-gradient(circle, rgba(132, 82, 255, 0.28) 0%, rgba(132, 82, 255, 0.11) 26%, transparent 74%) 76% 73% / min(3.2vw, 12px) min(3.2vw, 12px) no-repeat;
  filter: blur(min(0.667vw, 2.5px));
  opacity: 1;
  animation: lm-home-orb-chain-sway 14s ease-in-out infinite;
}

@keyframes lm-grid-move-bg {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(min(10.667vw, 41.6px), min(10.667vw, 41.6px));
  }
}

@keyframes lm-home-grid-drift {
  0% {
    transform: translateY(min(-5.333vw, -20px));
  }
  100% {
    transform: translateY(min(8vw, 30px));
  }
}

@keyframes lm-home-orb-chain-sway {
  0% {
    transform: translate3d(0, 0, 0);
  }
  25% {
    transform: translate3d(min(1.867vw, 7px), min(-1.067vw, -4px), 0);
  }
  50% {
    transform: translate3d(min(3.733vw, 14px), min(2.133vw, 8px), 0);
  }
  75% {
    transform: translate3d(min(2.4vw, 9px), min(4vw, 15px), 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

.admin-agent-ticket-compact .admin-page-hero {
  padding: 14px 16px;
  border-radius: 14px;
}

.admin-agent-ticket-compact .section {
  gap: 12px;
}

.admin-agent-ticket-compact .admin-agent-ticket-card {
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
}

.admin-agent-ticket-compact .admin-agent-ticket-card .section-head {
  padding: 14px 16px 0;
  margin-bottom: 0;
}

.admin-agent-ticket-compact .admin-agent-ticket-form {
  gap: 12px;
  padding: 14px 16px 16px;
}

.admin-agent-ticket-compact .admin-agent-ticket-form .field {
  gap: 6px;
}

.admin-agent-ticket-compact .admin-agent-ticket-form input,
.admin-agent-ticket-compact .admin-agent-ticket-form select,
.admin-agent-ticket-compact .admin-agent-ticket-form textarea {
  min-height: 40px;
}

.admin-agent-ticket-compact .admin-agent-ticket-form textarea {
  min-height: 112px;
}

.admin-agent-ticket-compact .admin-agent-ticket-form .button-row {
  margin-top: 0;
}

.admin-agent-ticket-compact .admin-agent-ticket-card .status-box {
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 12px;
}

.admin-agent-ticket-compact .admin-table-card .table-like {
  gap: 8px;
  padding: 12px;
}

.admin-agent-ticket-compact .admin-table-card .table-like-row {
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
}

.admin-agent-ticket-compact .admin-table-card .table-like-row span {
  font-size: 11.5px;
  line-height: 1.35;
}

.admin-agent-ticket-compact .admin-table-card .table-like-row form {
  margin: 0;
}

.admin-agent-ticket-compact .admin-table-card .btn-secondary,
.admin-agent-ticket-compact .admin-agent-ticket-form .btn,
.admin-agent-ticket-compact .admin-agent-ticket-form .btn-secondary {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
}

.admin-agent-ticket-compact .admin-row-link-btn[data-copy-text] {
  min-width: 88px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.admin-agent-ticket-compact .admin-row-link-btn[data-copy-text].is-copied {
  color: #081b12;
  background: linear-gradient(135deg, rgba(83, 255, 190, 0.98), rgba(86, 219, 255, 0.98));
  border-color: rgba(115, 255, 207, 0.88);
  box-shadow: 0 0 0 1px rgba(140, 255, 215, 0.18), 0 14px 26px rgba(52, 212, 174, 0.32);
  transform: translateY(-1px) scale(1.03);
}

.admin-ticket-table {
  gap: 8px;
}

.admin-agent-table {
  gap: 8px;
}

.admin-agent-list-row {
  display: grid;
  grid-template-columns: minmax(128px, 0.9fr) minmax(96px, 0.7fr) minmax(110px, 0.8fr) minmax(240px, 1.7fr) minmax(92px, 0.66fr) minmax(150px, 1fr) minmax(80px, 0.58fr) minmax(128px, 0.84fr) minmax(184px, 1.08fr);
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
}

.admin-agent-list-head {
  background: rgba(24, 39, 84, 0.92);
  border-radius: 12px 12px 0 0;
}

.admin-agent-list-row span {
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
  line-height: 1.2;
  color: #fff;
}

.admin-agent-list-head span {
  color: #cfe8ff !important;
  font-weight: 700;
}

.admin-ticket-list-row {
  display: grid;
  grid-template-columns: minmax(78px, 0.56fr) minmax(122px, 0.9fr) minmax(98px, 0.72fr) minmax(96px, 0.68fr) minmax(96px, 0.68fr) minmax(260px, 1.8fr) minmax(126px, 0.88fr) minmax(88px, 0.62fr) minmax(126px, 0.88fr) minmax(150px, 1fr);
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
}

.admin-ticket-list-head {
  background: rgba(24, 39, 84, 0.92);
  border-radius: 12px 12px 0 0;
}

.admin-ticket-list-row span {
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
  line-height: 1.2;
  color: #fff;
}

.admin-ticket-list-head span {
  color: #cfe8ff !important;
  font-weight: 700;
}

.admin-ticket-content-cell {
  line-height: 1.25;
  max-height: none;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.admin-agent-stats-stack {
  display: grid;
  gap: 3px;
}

.admin-agent-stats-stack span {
  font-size: 11px;
  color: #dbe7ff;
}

.admin-agent-self-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0 16px 16px;
}

.admin-agent-self-item {
  display: grid;
  gap: 6px;
  padding: 12px 13px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(133, 180, 255, 0.12);
}

.admin-agent-self-item.is-span-2 {
  grid-column: span 2;
}

.admin-agent-self-label {
  font-size: 11px;
  color: #b7cfff;
}

.admin-agent-self-value {
  font-size: 15px;
  line-height: 1.35;
  color: #ffffff;
}

.admin-agent-self-link-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-agent-self-link {
  min-width: 0;
  flex: 1;
  font-size: 12px;
  line-height: 1.5;
  color: #ffffff;
  word-break: break-all;
}

.admin-agent-sub-list-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(90px, 0.8fr) minmax(90px, 0.8fr) minmax(90px, 0.8fr) minmax(120px, 1fr);
  align-items: center;
  gap: 8px;
}

.admin-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.admin-status-badge.is-success {
  color: #89ffd2;
  background: rgba(58, 186, 132, 0.18);
  border-color: rgba(104, 255, 180, 0.3);
  box-shadow: inset 0 0 0 1px rgba(104, 255, 180, 0.06);
}

.admin-status-badge.is-warning {
  color: #ffd98a;
  background: rgba(255, 176, 57, 0.16);
  border-color: rgba(255, 200, 107, 0.3);
  box-shadow: inset 0 0 0 1px rgba(255, 207, 126, 0.06);
}

.admin-status-badge.is-muted {
  color: #bfd0ff;
  background: rgba(130, 154, 223, 0.14);
  border-color: rgba(173, 194, 255, 0.24);
}

.admin-shell .page-shell {
  padding: 18px 18px 20px !important;
  gap: 14px !important;
}

.admin-shell .content-card,
.admin-shell .form-card,
.admin-shell .admin-page-hero,
.admin-shell .admin-filter-card,
.admin-shell .admin-table-card,
.admin-shell .admin-overview-panel,
.admin-shell .admin-detail-primary,
.admin-shell .admin-detail-aside,
.admin-shell .admin-login-shell {
  border-radius: 14px !important;
}

.admin-shell .content-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34) !important;
}

.admin-shell .section-head {
  margin-bottom: 10px !important;
  gap: 4px !important;
}

.admin-shell .section-head .eyebrow {
  font-size: 11px !important;
  letter-spacing: 0.06em !important;
}

.admin-shell .section-title {
  font-size: 20px !important;
  line-height: 1.2 !important;
}

.admin-shell .section-copy,
.admin-shell .section-subtitle {
  font-size: 12px !important;
  line-height: 1.55 !important;
}

.admin-shell .admin-page-hero {
  gap: 12px !important;
  padding: 14px 16px !important;
}

.admin-shell .admin-page-hero-main {
  gap: 14px !important;
}

.admin-shell .admin-page-actions {
  gap: 8px !important;
}

.admin-shell .admin-page-actions .btn,
.admin-shell .admin-page-actions .btn-secondary,
.admin-shell .admin-card-footer .btn-secondary {
  min-height: 36px !important;
  padding: 0 12px !important;
  border-radius: 10px !important;
}

.admin-shell .admin-filter-card,
.admin-shell .admin-table-card {
  padding: 0 !important;
  overflow: hidden !important;
}

.admin-shell .admin-filter-card .form-grid {
  gap: 12px !important;
  padding: 14px 16px 16px !important;
}

.admin-shell .admin-table-card .table-like {
  gap: 8px !important;
  padding: 12px !important;
}

.admin-shell .admin-table-card .table-like-row {
  padding: 10px 12px !important;
  border-radius: 12px;
}

.admin-shell .admin-metrics-grid {
  gap: 12px !important;
}

.admin-shell .admin-metric-card {
  min-height: 132px !important;
  padding: 15px 16px !important;
  border-radius: 16px !important;
  gap: 6px !important;
}

.admin-shell .admin-metric-label {
  font-size: 11px !important;
}

.admin-shell .admin-metric-value {
  font-size: 28px !important;
}

.admin-shell .admin-metric-copy,
.admin-shell .admin-metric-detail {
  font-size: 11px !important;
  line-height: 1.4 !important;
}

.admin-team-summary-panel {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(113, 171, 255, 0.18);
  background: linear-gradient(135deg, rgba(12, 24, 58, 0.88), rgba(19, 30, 72, 0.82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.admin-team-summary-panel[hidden] {
  display: none !important;
}

.admin-team-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.admin-team-summary-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(90, 149, 255, 0.16);
  color: #cae0ff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.admin-team-summary-title {
  font-size: 13px;
  color: #f5f8ff;
}

.admin-team-summary-body {
  display: grid;
  gap: 10px;
}

.admin-team-summary-copy {
  font-size: 12px;
  line-height: 1.65;
  color: rgba(224, 235, 255, 0.9);
}

.admin-team-summary-copy strong {
  color: #ffffff;
}

.admin-team-summary-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-team-summary-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.admin-team-summary-chip.is-cyan {
  color: #92f3ff;
  background: rgba(39, 166, 194, 0.16);
}

.admin-team-summary-chip.is-blue {
  color: #a9c7ff;
  background: rgba(74, 114, 225, 0.18);
}

.admin-team-summary-chip.is-violet {
  color: #d6b6ff;
  background: rgba(121, 87, 227, 0.18);
}

.admin-team-summary-chip.is-amber {
  color: #ffd08d;
  background: rgba(194, 126, 42, 0.18);
}

.admin-team-summary-chip.is-green {
  color: #9cffc8;
  background: rgba(58, 171, 112, 0.18);
}

.admin-team-summary-chip.is-rose {
  color: #ffb7cf;
  background: rgba(190, 76, 117, 0.18);
}

@media (max-width: 880px) {
  .admin-agent-self-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .admin-agent-self-item.is-span-2 {
    grid-column: auto;
  }

  .admin-agent-self-link-row {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-table-card {
    overflow-x: auto;
  }
}

body .button-row {
  gap: var(--lm-pad-sm);
  margin-top: var(--lm-pad-md);
}

body .form-grid {
  gap: var(--lm-pad-sm);
}

body .table-like {
  gap: var(--lm-pad-sm);
}

body .table-like-row {
  padding: var(--lm-pad-sm) var(--lm-pad-md);
  border-radius: var(--lm-radius-sm);
  background: var(--lm-glass-08);
  border: var(--lm-border-w) solid rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease, border-color 0.3s ease;
}

body .table-like-row:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.25);
}

body .contact-shot-shell,
body .profile-shot-shell,
body .loan-shot-shell {
  display: grid;
  gap: var(--lm-pad-lg);
}

body .content-card h1,
body .content-card h2,
body .content-card h3,
body .content-card p,
body .form-card h1,
body .form-card h2,
body .form-card h3,
body .form-card p {
  margin: 0;
}

body .section-head {
  display: flex;
  flex-direction: column;
  gap: var(--lm-pad-xs);
}

body .contact-shot-hero,
body .contact-shot-whatsapp,
body .contact-shot-info-card,
body .contact-shot-tips,
body .profile-shot-hero,
body .profile-shot-menu-card,
body .profile-shot-links,
body .profile-shot-panel {
  background: var(--lm-glass-0d);
  backdrop-filter: var(--lm-blur);
  border: var(--lm-border-w) solid rgba(0, 212, 255, 0.2);
  border-radius: var(--lm-radius-xl);
  box-shadow: 0 min(1.067vw, 6.4px) min(5.333vw, 32px) rgba(0, 212, 255, 0.078);
  padding: var(--lm-card-pad);
}

body .profile-shot-hero {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

body .profile-shot-avatar-wrap {
  margin: 0 auto;
}

body .profile-shot-hero-copy {
  width: 100%;
  justify-items: center;
  text-align: center;
}

body .profile-shot-loan-btn {
  width: min(100%, 220px);
  min-height: min(12.8vw, 56px);
  padding: 0 min(5.333vw, 28px);
}

body .contact-shot-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

body .contact-shot-title,
body .contact-shot-copy {
  text-align: center;
}

body .contact-shot-hero .contact-shot-copy {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  text-align: center;
}

body .profile-shot-menu-card,
body .profile-shot-links {
  padding: var(--lm-pad-md);
}

body .profile-shot-link-row {
  padding: var(--lm-pad-sm) 0;
}

body .contact-shot-stack {
  display: grid;
  gap: var(--lm-pad-sm);
}

body .contact-shot-card-main,
body .contact-shot-info-card {
  gap: var(--lm-pad-sm);
}

body .contact-shot-card-icon {
  width: min(7.467vw, 44.8px);
  height: min(7.467vw, 44.8px);
  flex: 0 0 min(7.467vw, 44.8px);
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.1);
  border: var(--lm-border-w) solid rgba(0, 212, 255, 0.2);
}

body .contact-shot-card-icon::before,
body .contact-shot-card-icon::after {
  border-color: var(--lm-cyan);
  background: var(--lm-cyan);
}

body .contact-shot-title,
body .loan-shot-page-title {
  font-size: var(--lm-fs-xl);
  font-weight: 700;
}

body .contact-shot-copy,
body .loan-shot-page-copy {
  font-size: var(--lm-fs-md);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

body .contact-shot-tips-title,
body .loan-shot-section-title,
body .profile-shot-panel .section-title {
  font-size: var(--lm-fs-lg);
  font-weight: 700;
}

body .contact-shot-card-copy strong,
body .profile-shot-menu-copy strong {
  font-size: var(--lm-fs-md);
  font-weight: 600;
}

body .contact-shot-card-copy span,
body .profile-shot-menu-copy small {
  font-size: var(--lm-fs-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

body .profile-shot-name {
  font-size: var(--lm-fs-2xl);
  font-weight: 700;
}

body .profile-shot-id {
  font-size: var(--lm-fs-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

body .profile-shot-menu-card {
  display: flex;
  align-items: center;
  gap: var(--lm-pad-sm);
}

body .profile-shot-menu-arrow,
body .profile-shot-link-arrow {
  color: #ffffff;
  border-top-color: rgba(255, 255, 255, 0.88);
  border-right-color: rgba(255, 255, 255, 0.88);
}

body.home-reference .home-feature-icon,
body.home-reference .home-advantage-check,
body .contact-shot-hero-icon,
body .contact-shot-card-icon,
body .profile-shot-avatar,
body .profile-shot-menu-icon,
body .profile-shot-link-icon {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

body.home-reference .home-feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
}

body.home-reference .home-feature-icon::before,
body.home-reference .home-feature-icon::after,
body.home-reference .home-advantage-check::before,
body.home-reference .home-advantage-check::after,
body .contact-shot-user-icon,
body .contact-shot-user-icon::before,
body .contact-shot-user-icon::after,
body .contact-shot-card-icon::before,
body .contact-shot-card-icon::after,
body .profile-shot-avatar-icon,
body .profile-shot-avatar-icon::before,
body .profile-shot-avatar-icon::after,
body .profile-shot-menu-icon::before,
body .profile-shot-menu-icon::after,
body .profile-shot-link-icon::before,
body .profile-shot-link-icon::after,
body .profile-shot-avatar::before {
  color: #ffffff;
  border-color: currentColor;
  background: transparent;
  box-sizing: border-box;
}

body.home-reference .home-feature-icon-exchange::before {
  width: 30px;
  height: 18px;
  transform: translate(-50%, -50%);
  background:
    linear-gradient(currentColor, currentColor) left 2px top 4px / 18px 2px no-repeat,
    linear-gradient(currentColor, currentColor) right 2px bottom 4px / 18px 2px no-repeat,
    linear-gradient(45deg, transparent 44%, currentColor 44% 56%, transparent 56%) right 0 top 0 / 8px 8px no-repeat,
    linear-gradient(225deg, transparent 44%, currentColor 44% 56%, transparent 56%) left 0 bottom 0 / 8px 8px no-repeat;
}

body.home-reference .home-feature-icon-exchange::after {
  width: 24px;
  height: 10px;
  transform: translate(-50%, -50%);
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  border-radius: 999px;
  opacity: 0.72;
}

body.home-reference .home-feature-icon-time::before {
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
  border: 2px solid currentColor;
  border-radius: 50%;
}

body.home-reference .home-feature-icon-time::after {
  width: 11px;
  height: 11px;
  transform: translate(-30%, -60%);
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  border-radius: 1px;
}

body.home-reference .home-feature-icon-mortgage::before {
  width: 26px;
  height: 22px;
  transform: translate(-50%, -50%);
  background:
    linear-gradient(45deg, transparent 44%, currentColor 44% 54%, transparent 54%) left top / 14px 14px no-repeat,
    linear-gradient(-45deg, transparent 44%, currentColor 44% 54%, transparent 54%) right top / 14px 14px no-repeat,
    linear-gradient(currentColor, currentColor) center 11px / 18px 2px no-repeat,
    linear-gradient(currentColor, currentColor) left 4px bottom 2px / 2px 9px no-repeat,
    linear-gradient(currentColor, currentColor) right 4px bottom 2px / 2px 9px no-repeat;
}

body.home-reference .home-feature-icon-mortgage::after {
  width: 32px;
  height: 2px;
  transform: translate(-50%, -50%) rotate(-38deg);
  background: currentColor;
}

body.home-reference .home-advantage-check {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 12px;
}

body.home-reference .home-advantage-card .action-title {
  margin: 0;
  font-size: var(--lm-fs-md);
  line-height: 1.4;
}

body.home-reference .home-advantage-icon-mortgage::before {
  left: 7px;
  top: 8px;
  width: 20px;
  height: 16px;
  background:
    linear-gradient(45deg, transparent 44%, currentColor 44% 54%, transparent 54%) left top / 11px 11px no-repeat,
    linear-gradient(-45deg, transparent 44%, currentColor 44% 54%, transparent 54%) right top / 11px 11px no-repeat,
    linear-gradient(currentColor, currentColor) center 8px / 14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) left 3px bottom 1px / 2px 8px no-repeat,
    linear-gradient(currentColor, currentColor) right 3px bottom 1px / 2px 8px no-repeat;
}

body.home-reference .home-advantage-icon-mortgage::after {
  left: 6px;
  top: 16px;
  width: 22px;
  height: 2px;
  background: currentColor;
  transform: rotate(-38deg);
}

body.home-reference .home-advantage-icon-guarantee::before {
  left: 9px;
  top: 6px;
  width: 16px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 8px 8px 10px 10px;
  clip-path: polygon(50% 0, 100% 18%, 100% 66%, 50% 100%, 0 66%, 0 18%);
}

body.home-reference .home-advantage-icon-guarantee::after {
  left: 8px;
  top: 16px;
  width: 18px;
  height: 2px;
  background: currentColor;
  transform: rotate(-38deg);
}

body.home-reference .home-advantage-icon-quota::before {
  left: 7px;
  top: 10px;
  width: 20px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

body.home-reference .home-advantage-icon-quota::after {
  left: 17px;
  top: 7px;
  width: 2px;
  height: 20px;
  background: currentColor;
  box-shadow:
    -5px 9px 0 -0.5px transparent,
    0 0 0 0 currentColor;
  transform: none;
}

body.home-reference .home-advantage-icon-quota::after {
  background:
    linear-gradient(currentColor, currentColor) center center / 2px 20px no-repeat,
    linear-gradient(currentColor, currentColor) center center / 10px 2px no-repeat;
}

body.home-reference .home-advantage-icon-fast::before {
  left: 7px;
  top: 16px;
  width: 14px;
  height: 2px;
  background: currentColor;
  box-shadow:
    0 -5px 0 currentColor,
    0 5px 0 currentColor;
}

body.home-reference .home-advantage-icon-fast::after {
  left: 18px;
  top: 11px;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

body.home-reference .home-advantage-icon-company::before {
  left: 9px;
  top: 7px;
  width: 16px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 4px;
  background:
    linear-gradient(currentColor, currentColor) left 4px top 5px / 2px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center top 5px / 2px 2px no-repeat,
    linear-gradient(currentColor, currentColor) right 4px top 5px / 2px 2px no-repeat,
    linear-gradient(currentColor, currentColor) left 4px center / 2px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center center / 2px 2px no-repeat,
    linear-gradient(currentColor, currentColor) right 4px center / 2px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center bottom 3px / 6px 2px no-repeat;
}

body.home-reference .home-advantage-icon-company::after {
  left: 11px;
  top: 4px;
  width: 12px;
  height: 2px;
  background: currentColor;
}

body.home-reference .home-advantage-icon-convenient::before {
  left: 8px;
  top: 8px;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

body.home-reference .home-advantage-icon-convenient::after {
  left: 14px;
  top: 13px;
  width: 9px;
  height: 6px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

body .contact-shot-hero-icon {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

body .contact-shot-user-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42px;
  height: 24px;
  transform: translate(-50%, -50%);
  border: 3px solid currentColor;
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
}

body .contact-shot-user-icon::before {
  left: 2px;
  top: 12px;
  width: 6px;
  height: 14px;
  transform: none;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 30px 0 0 currentColor;
}

body .contact-shot-user-icon::after {
  right: -6px;
  left: auto;
  top: 18px;
  width: 16px;
  height: 8px;
  transform: none;
  border-bottom: 3px solid currentColor;
  border-right: 3px solid currentColor;
  border-radius: 0 0 12px 0;
}

body .contact-shot-card-icon {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

body .contact-shot-card-icon::before,
body .contact-shot-card-icon::after {
  border-color: currentColor;
  background: transparent;
}

body .contact-shot-card-icon-chat::before {
  left: 10px;
  top: 10px;
  width: 18px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

body .contact-shot-card-icon-chat::after {
  left: 14px;
  top: 20px;
  width: 7px;
  height: 7px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: skewX(-18deg);
}

body .contact-shot-card-icon-time::before {
  left: 10px;
  top: 10px;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

body .contact-shot-card-icon-time::after {
  left: 18px;
  top: 14px;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

body .contact-shot-card-icon-flash::before {
  left: 15px;
  top: 8px;
  width: 10px;
  height: 20px;
  background: currentColor;
  clip-path: polygon(42% 0, 100% 0, 66% 40%, 100% 40%, 26% 100%, 40% 58%, 12% 58%);
}

body .contact-shot-card-icon-language::before {
  left: 10px;
  top: 10px;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

body .contact-shot-card-icon-language::after {
  left: 18px;
  top: 8px;
  width: 2px;
  height: 20px;
  background: currentColor;
  box-shadow:
    -6px 9px 0 -0.5px currentColor,
    6px 9px 0 -0.5px currentColor;
}

body .profile-shot-avatar {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 0 0 5px rgba(255, 255, 255, 0.04),
    0 0 0 10px rgba(255, 255, 255, 0.02);
}

body .profile-shot-avatar-icon::before {
  top: 28px;
  width: 22px;
  height: 22px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

body .profile-shot-avatar-icon::after {
  top: 58px;
  width: 42px;
  height: 20px;
  border: 3px solid currentColor;
  border-top: 0;
  border-radius: 0 0 22px 22px;
}

body .profile-shot-avatar::before {
  right: 18px;
  top: 44px;
  width: 10px;
  height: 18px;
  border: 3px solid currentColor;
  border-left: 0;
  border-radius: 0 14px 14px 0;
}

body .profile-shot-menu-icon,
body .profile-shot-link-icon {
  border-radius: 14px;
}

body .profile-shot-menu-icon-file::before {
  left: 14px;
  top: 11px;
  width: 18px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

body .profile-shot-menu-icon-file::after {
  left: 19px;
  top: 17px;
  width: 8px;
  height: 2px;
  background: currentColor;
  box-shadow:
    0 6px 0 currentColor,
    0 12px 0 currentColor;
}

body .profile-shot-menu-icon-wallet::before {
  left: 15px;
  top: 10px;
  width: 16px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 10px 10px 10px 0;
  transform: rotate(45deg);
}

body .profile-shot-menu-icon-wallet::after {
  left: 21px;
  top: 18px;
  width: 6px;
  height: 6px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

body .profile-shot-link-icon-help::before {
  left: 15px;
  top: 11px;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

body .profile-shot-link-icon-help::after {
  left: 22px;
  top: 15px;
  width: 2px;
  height: 9px;
  background: currentColor;
  border-radius: 999px;
}

body .profile-shot-link-icon-about::before {
  left: 15px;
  top: 11px;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

body .profile-shot-link-icon-about::after {
  left: 22px;
  top: 14px;
  width: 2px;
  height: 12px;
  background: currentColor;
  box-shadow: 0 -4px 0 0 currentColor;
  border-radius: 999px;
}

body .profile-shot-link-icon-service::before {
  left: 10px;
  top: 12px;
  width: 18px;
  height: 12px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}

body .profile-shot-link-icon-service::after {
  left: 14px;
  top: 22px;
  width: 4px;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 14px 0 0 currentColor;
}

body.home-reference .home-feature-icon,
body.home-reference .home-advantage-check,
body .contact-shot-hero-icon,
body .contact-shot-card-icon,
body .profile-shot-avatar,
body .profile-shot-menu-icon,
body .profile-shot-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.home-reference .home-feature-icon-exchange {
  color: #39d4ff;
  background: linear-gradient(180deg, rgba(57, 212, 255, 0.16), rgba(57, 212, 255, 0.05));
  border-color: rgba(57, 212, 255, 0.3);
  box-shadow: 0 8px 20px rgba(57, 212, 255, 0.14);
}

body.home-reference .home-feature-icon-time {
  color: #ffb347;
  background: linear-gradient(180deg, rgba(255, 179, 71, 0.16), rgba(255, 179, 71, 0.05));
  border-color: rgba(255, 179, 71, 0.28);
  box-shadow: 0 8px 20px rgba(255, 179, 71, 0.14);
}

body.home-reference .home-feature-icon-mortgage {
  color: #9c7bff;
  background: linear-gradient(180deg, rgba(156, 123, 255, 0.16), rgba(156, 123, 255, 0.05));
  border-color: rgba(156, 123, 255, 0.28);
  box-shadow: 0 8px 20px rgba(156, 123, 255, 0.14);
}

body.home-reference .home-advantage-icon-mortgage {
  color: #8e7dff;
  background: linear-gradient(180deg, rgba(142, 125, 255, 0.16), rgba(142, 125, 255, 0.05));
  border-color: rgba(142, 125, 255, 0.24);
}

body.home-reference .home-advantage-icon-guarantee {
  color: #ff7a8f;
  background: linear-gradient(180deg, rgba(255, 122, 143, 0.16), rgba(255, 122, 143, 0.05));
  border-color: rgba(255, 122, 143, 0.24);
}

body.home-reference .home-advantage-icon-quota {
  color: #42d392;
  background: linear-gradient(180deg, rgba(66, 211, 146, 0.16), rgba(66, 211, 146, 0.05));
  border-color: rgba(66, 211, 146, 0.24);
}

body.home-reference .home-advantage-icon-fast {
  color: #ffb347;
  background: linear-gradient(180deg, rgba(255, 179, 71, 0.16), rgba(255, 179, 71, 0.05));
  border-color: rgba(255, 179, 71, 0.24);
}

body.home-reference .home-advantage-icon-company {
  color: #4fc3ff;
  background: linear-gradient(180deg, rgba(79, 195, 255, 0.16), rgba(79, 195, 255, 0.05));
  border-color: rgba(79, 195, 255, 0.24);
}

body.home-reference .home-advantage-icon-convenient {
  color: #5ed7c7;
  background: linear-gradient(180deg, rgba(94, 215, 199, 0.16), rgba(94, 215, 199, 0.05));
  border-color: rgba(94, 215, 199, 0.24);
}

body .contact-shot-hero-icon {
  color: #6bbcff;
  background:
    radial-gradient(circle at 30% 30%, rgba(107, 188, 255, 0.28), rgba(17, 62, 120, 0.1)),
    rgba(255, 255, 255, 0.03);
  border-color: rgba(107, 188, 255, 0.24);
  box-shadow: 0 12px 28px rgba(107, 188, 255, 0.12);
}

body .contact-shot-card-icon-chat {
  color: #42d392;
  background: linear-gradient(180deg, rgba(66, 211, 146, 0.16), rgba(66, 211, 146, 0.05));
  border-color: rgba(66, 211, 146, 0.26);
  box-shadow: 0 8px 20px rgba(66, 211, 146, 0.12);
}

body .contact-shot-card-icon-time {
  color: #ffb347;
  background: linear-gradient(180deg, rgba(255, 179, 71, 0.16), rgba(255, 179, 71, 0.05));
  border-color: rgba(255, 179, 71, 0.24);
  box-shadow: 0 8px 20px rgba(255, 179, 71, 0.12);
}

body .contact-shot-card-icon-flash {
  color: #ff8f5a;
  background: linear-gradient(180deg, rgba(255, 143, 90, 0.16), rgba(255, 143, 90, 0.05));
  border-color: rgba(255, 143, 90, 0.24);
  box-shadow: 0 8px 20px rgba(255, 143, 90, 0.12);
}

body .contact-shot-card-icon-language {
  color: #8f86ff;
  background: linear-gradient(180deg, rgba(143, 134, 255, 0.16), rgba(143, 134, 255, 0.05));
  border-color: rgba(143, 134, 255, 0.24);
  box-shadow: 0 8px 20px rgba(143, 134, 255, 0.12);
}

body .profile-shot-avatar {
  color: #6bc6ff;
  background:
    radial-gradient(circle at 30% 30%, rgba(107, 198, 255, 0.2), transparent 52%),
    rgba(255, 255, 255, 0.03);
  border-color: rgba(107, 198, 255, 0.24);
  box-shadow:
    0 0 0 5px rgba(107, 198, 255, 0.06),
    0 0 0 10px rgba(107, 198, 255, 0.03);
}

body .profile-shot-menu-icon-file {
  color: #4fc3ff;
  background: linear-gradient(180deg, rgba(79, 195, 255, 0.16), rgba(79, 195, 255, 0.05));
  border-color: rgba(79, 195, 255, 0.24);
}

body .profile-shot-menu-icon-wallet {
  color: #42d392;
  background: linear-gradient(180deg, rgba(66, 211, 146, 0.16), rgba(66, 211, 146, 0.05));
  border-color: rgba(66, 211, 146, 0.24);
}

body .profile-shot-link-icon-help {
  color: #ffb347;
  background: linear-gradient(180deg, rgba(255, 179, 71, 0.16), rgba(255, 179, 71, 0.05));
  border-color: rgba(255, 179, 71, 0.24);
}

body .profile-shot-link-icon-about {
  color: #8f86ff;
  background: linear-gradient(180deg, rgba(143, 134, 255, 0.16), rgba(143, 134, 255, 0.05));
  border-color: rgba(143, 134, 255, 0.24);
}

body .profile-shot-link-icon-service {
  color: #ff7fb2;
  background: linear-gradient(180deg, rgba(255, 127, 178, 0.16), rgba(255, 127, 178, 0.05));
  border-color: rgba(255, 127, 178, 0.24);
}

body .profile-shot-link-icon-service::before {
  left: 10px;
  top: 11px;
  width: 18px;
  height: 11px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

body .profile-shot-link-icon-service::after {
  left: 13px;
  top: 21px;
  width: 6px;
  height: 10px;
  background: currentColor;
  border-radius: 999px;
  box-shadow: 13px 0 0 currentColor;
}

body .contact-shot-user-icon {
  width: 40px;
  height: 22px;
  border-radius: 22px 22px 0 0;
}

body .contact-shot-user-icon::before {
  left: 1px;
  top: 11px;
  width: 6px;
  height: 13px;
  box-shadow: 32px 0 0 currentColor;
}

body .contact-shot-user-icon::after {
  right: -6px;
  top: 16px;
  width: 16px;
  height: 9px;
}

/* Tabler/Lucide-inspired icon replacement */
body.home-reference .home-feature-icon,
body.home-reference .home-advantage-check,
body .contact-shot-hero-icon,
body .contact-shot-card-icon,
body .profile-shot-avatar,
body .profile-shot-menu-icon,
body .profile-shot-link-icon {
  position: relative;
}

body .contact-shot-user-icon,
body .profile-shot-avatar-icon {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  display: block;
  transform: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit;
}

body.home-reference .home-feature-icon::before,
body.home-reference .home-advantage-check::before,
body .contact-shot-user-icon::before,
body .contact-shot-card-icon::before,
body .profile-shot-avatar-icon::before,
body .profile-shot-menu-icon::before,
body .profile-shot-link-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: var(--icon-size, 24px);
  height: var(--icon-size, 24px);
  border: 0 !important;
  border-radius: 0 !important;
  background: currentColor !important;
  box-shadow: none !important;
  -webkit-mask: var(--icon-mask) center / contain no-repeat;
  mask: var(--icon-mask) center / contain no-repeat;
}

body.home-reference .home-feature-icon::after,
body.home-reference .home-advantage-check::after,
body .contact-shot-user-icon::after,
body .contact-shot-card-icon::after,
body .profile-shot-avatar::before,
body .profile-shot-avatar-icon::after,
body .profile-shot-menu-icon::after,
body .profile-shot-link-icon::after {
  display: none !important;
}

body.home-reference .home-feature-icon {
  --icon-size: 26px;
}

body.home-reference .home-feature-icon-exchange {
  --icon-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M7 7h11'/><path d='m13 3 4 4-4 4'/><path d='M17 17H6'/><path d='m10 21-4-4 4-4'/></svg>");
}

body.home-reference .home-feature-icon-time {
  --icon-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='8'/><path d='M12 8v5l3 2'/></svg>");
}

body.home-reference .home-feature-icon-mortgage {
  --icon-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 10.5 12 3l9 7.5'/><path d='M5 9.5V20h14V9.5'/><path d='m4 4 16 16'/></svg>");
}

body.home-reference .home-advantage-check {
  --icon-size: 20px;
}

body.home-reference .home-advantage-icon-mortgage {
  --icon-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 10.5 12 3l9 7.5'/><path d='M5 9.5V20h14V9.5'/><path d='m4 4 16 16'/></svg>");
}

body.home-reference .home-advantage-icon-guarantee {
  --icon-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3 6 6v5c0 4.5 2.9 7.6 6 9 3.1-1.4 6-4.5 6-9V6l-6-3Z'/><path d='m4 4 16 16'/></svg>");
}

body.home-reference .home-advantage-icon-quota {
  --icon-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><ellipse cx='12' cy='6' rx='7' ry='3'/><path d='M5 6v6c0 1.7 3.1 3 7 3s7-1.3 7-3V6'/><path d='M5 12v6c0 1.7 3.1 3 7 3s7-1.3 7-3v-6'/></svg>");
}

body.home-reference .home-advantage-icon-fast {
  --icon-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h12'/><path d='m13 6 6 6-6 6'/><path d='M5 7v10'/></svg>");
}

body.home-reference .home-advantage-icon-company {
  --icon-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 21h18'/><path d='M5 21V7l7-4v18'/><path d='M19 21V11l-7-4'/><path d='M9 9h.01'/><path d='M9 13h.01'/><path d='M9 17h.01'/><path d='M15 13h.01'/><path d='M15 17h.01'/></svg>");
}

body.home-reference .home-advantage-icon-convenient {
  --icon-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='m8.5 12.5 2.5 2.5 4.5-5'/></svg>");
}

body .contact-shot-user-icon {
  --icon-size: 44px;
}

body .contact-shot-user-icon::before {
  --icon-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 12a8 8 0 1 1 16 0'/><path d='M4 13v3a2 2 0 0 0 2 2h1v-6H6a2 2 0 0 0-2 2Z'/><path d='M20 13v3a2 2 0 0 1-2 2h-1v-6h1a2 2 0 0 1 2 2Z'/><path d='M9 18v1a3 3 0 0 0 3 3h2'/></svg>");
}

body .contact-shot-card-icon,
body .profile-shot-menu-icon,
body .profile-shot-link-icon {
  --icon-size: 22px;
}

body .contact-shot-card-icon-chat {
  --icon-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 11.5a8.5 8.5 0 1 1-4.7-7.6A8.3 8.3 0 0 1 21 11.5Z'/><path d='M8 10h8'/><path d='M8 14h5'/></svg>");
}

body .contact-shot-card-icon-time {
  --icon-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='8'/><path d='M12 8v5l3 2'/></svg>");
}

body .contact-shot-card-icon-flash {
  --icon-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M13 2 4 14h6l-1 8 9-12h-6l1-8Z'/></svg>");
}

body .contact-shot-card-icon-language {
  --icon-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='M3 12h18'/><path d='M12 3a15 15 0 0 1 4 9 15 15 0 0 1-4 9 15 15 0 0 1-4-9 15 15 0 0 1 4-9'/></svg>");
}

body .profile-shot-avatar-icon {
  --icon-size: 40px;
}

body .profile-shot-avatar-icon::before {
  --icon-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 21a8 8 0 0 0-16 0'/><circle cx='12' cy='8' r='4'/></svg>");
}

body .profile-shot-menu-icon-file {
  --icon-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14 2H7a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7Z'/><path d='M14 2v5h5'/><path d='M9 13h6'/><path d='M9 17h6'/></svg>");
}

body .profile-shot-menu-icon-wallet {
  --icon-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 21s6-5.33 6-11a6 6 0 1 0-12 0c0 5.67 6 11 6 11Z'/><circle cx='12' cy='10' r='2'/></svg>");
}

body .profile-shot-link-icon-help {
  --icon-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='M9.5 9a2.5 2.5 0 0 1 5 0c0 1.5-2 2.1-2 4'/><path d='M12 17h.01'/></svg>");
}

body .profile-shot-link-icon-about {
  --icon-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='M12 10v6'/><path d='M12 7h.01'/></svg>");
}

body .profile-shot-link-icon-service {
  --icon-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 12a8 8 0 1 1 16 0'/><path d='M4 13v3a2 2 0 0 0 2 2h1v-6H6a2 2 0 0 0-2 2Z'/><path d='M20 13v3a2 2 0 0 1-2 2h-1v-6h1a2 2 0 0 1 2 2Z'/><path d='M9 18v1a3 3 0 0 0 3 3h2'/></svg>");
}

body.home-reference .home-feature-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  min-height: 170px;
  padding: 16px 10px;
}

body.home-reference .home-feature-icon {
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 64px;
  height: 64px;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 32px 32px !important;
  margin: 0 auto;
  flex: 0 0 auto;
}

body.home-reference .home-feature-icon-exchange,
body.home-reference .home-feature-icon-time,
body.home-reference .home-feature-icon-mortgage {
  --icon-mask: none !important;
}

body.home-reference .home-feature-icon-exchange::before,
body.home-reference .home-feature-icon-time::before,
body.home-reference .home-feature-icon-mortgage::before,
body.home-reference .home-feature-icon-exchange::after,
body.home-reference .home-feature-icon-time::after,
body.home-reference .home-feature-icon-mortgage::after {
  display: none !important;
  content: none !important;
}

body.home-reference .home-feature-icon-exchange {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2339d4ff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M7 7h11'/><path d='m13 3 4 4-4 4'/><path d='M17 17H6'/><path d='m10 21-4-4 4-4'/></svg>") !important;
}

body.home-reference .home-feature-icon-time {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffb347' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='8'/><path d='M12 8v5l3 2'/></svg>") !important;
}

body.home-reference .home-feature-icon-mortgage {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239c7bff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 10.5 12 3l9 7.5'/><path d='M5 9.5V20h14V9.5'/><path d='m4 4 16 16'/></svg>") !important;
}

body.home-reference .home-feature-text {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  text-align: center;
  max-width: 84px;
  min-height: 34px;
  font-size: 11px;
  line-height: 1.3;
}

.admin-settings-compact .admin-settings-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-settings-compact .admin-settings-card {
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
}

.admin-settings-compact .admin-settings-card .section-head {
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-settings-compact .admin-settings-card .section-title {
  font-size: 16px;
  line-height: 1.3;
}

.admin-settings-compact .admin-settings-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 14px 16px 16px;
}

.admin-settings-compact .admin-settings-form-grid .field {
  gap: 6px;
}

.admin-settings-compact .admin-settings-form-grid .field.is-span-2,
.admin-settings-compact .admin-settings-form-grid .button-row.is-span-2,
.admin-settings-compact .admin-settings-form-grid .status-box.is-span-2 {
  grid-column: 1 / -1;
}

.admin-settings-compact .field label {
  font-size: 12px;
  margin-bottom: 0;
}

.admin-settings-compact .field input,
.admin-settings-compact .field textarea,
.admin-settings-compact .field select {
  min-height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border-width: 1px;
}

.admin-settings-compact .field textarea {
  min-height: 88px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.admin-settings-compact .button-row {
  gap: 8px;
}

.admin-settings-compact .button-row .btn,
.admin-settings-compact .button-row .btn-secondary {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 12px;
}

.admin-settings-compact .status-box {
  min-height: 18px;
  font-size: 12px;
}

.admin-settings-compact .field p {
  margin: 2px 0 0;
  font-size: 11px !important;
  line-height: 1.45;
}

@media (max-width: 880px) {
  .admin-settings-compact .admin-settings-grid,
  .admin-settings-compact .admin-settings-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-settings-compact .admin-settings-form-grid .field.is-span-2,
  .admin-settings-compact .admin-settings-form-grid .button-row.is-span-2,
  .admin-settings-compact .admin-settings-form-grid .status-box.is-span-2 {
    grid-column: auto;
  }
}

body .loan-shot-progress {
  padding: 0;
}

body .loan-shot-step-label {
  font-size: var(--lm-fs-sm);
  font-weight: 500;
}

body .loan-shot-step-dot {
  font-weight: 700;
}

body .loan-shot-fields-card {
  display: grid;
  gap: var(--lm-pad-sm);
}

body .loan-shot-fields-card .field label,
body .loan-shot-withdraw-card label {
  font-size: var(--lm-fs-md);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

body .loan-shot-fields-card input,
body .loan-shot-fields-card textarea,
body .loan-shot-withdraw-card select,
body .loan-shot-picker-btn,
body .loan-shot-connect-btn,
body .loan-shot-sign-placeholder-input {
  font-size: var(--lm-fs-md);
  font-weight: 400;
}

body .loan-shot-fields-card input,
body .loan-shot-withdraw-card select,
body .loan-shot-picker-btn,
body .loan-shot-connect-btn,
body .loan-shot-sign-placeholder-input {
  min-height: min(11.733vw, 45.76px);
  padding: var(--lm-pad-sm) var(--lm-pad-md);
  border-radius: var(--lm-radius-md);
}

body .loan-shot-fields-card textarea,
body .loan-shot-withdraw-card textarea {
  padding: var(--lm-pad-sm) var(--lm-pad-md);
  border-radius: var(--lm-radius-md);
  min-height: min(24vw, 144px);
}

body.home-reference .recent-loans .marquee-container {
  height: min(58.667vw, 352px);
  overflow: hidden;
  position: relative;
  border-radius: var(--lm-radius-md);
  background: rgba(0, 0, 0, 0.18);
  padding: min(2.133vw, 12.8px);
}

body.home-reference .recent-loans .marquee-content {
  display: flex;
  flex-direction: column;
  animation: lm-scroll-vertical 30s linear infinite;
  will-change: transform;
  transform: translateZ(0);
}

body.home-reference .recent-loans .marquee-content:hover {
  animation-play-state: paused;
}

@keyframes lm-scroll-vertical {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

.lm-anim-in {
  animation: lm-fade-in-up 0.8s ease-out both;
  will-change: transform, opacity;
}

.lm-anim-down {
  animation: lm-fade-in-down 0.8s ease-out both;
  will-change: transform, opacity;
}

@keyframes lm-fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(min(5.333vw, 32px));
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lm-fade-in-down {
  0% {
    opacity: 0;
    transform: translateY(max(-5.333vw, -32px));
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

body.home-reference .recent-loans .loan-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: min(3.2vw, 19.2px) min(4.267vw, 25.6px);
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--lm-radius-sm);
  margin-bottom: min(2.133vw, 12.8px);
  border: min(.267vw, 1.6px) solid rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease;
}

body.home-reference .recent-loans .loan-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

body.home-reference .recent-loans .loan-address {
  font-size: min(3.733vw, 22.4px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: min(.133vw, .8px);
}

body.home-reference .recent-loans .loan-status {
  margin-top: min(1.6vw, 9.6px);
  font-size: min(3.467vw, 20.8px);
  color: rgba(255, 255, 255, 0.7);
}

body:not(.admin-shell) .section {
  margin: 0;
}

body:not(.admin-shell) .shell,
body:not(.admin-shell) .profile-shot-shell,
body:not(.admin-shell) .contact-shot-shell,
body:not(.admin-shell) .loan-shot-shell {
  display: flex;
  flex-direction: column;
  gap: var(--lm-pad-lg);
}

body:not(.admin-shell) .content-card h1,
body:not(.admin-shell) .content-card h2,
body:not(.admin-shell) .content-card h3,
body:not(.admin-shell) .content-card p,
body:not(.admin-shell) .form-card h1,
body:not(.admin-shell) .form-card h2,
body:not(.admin-shell) .form-card h3,
body:not(.admin-shell) .form-card p {
  margin: 0;
}

body:not(.admin-shell) .content-card p + p,
body:not(.admin-shell) .form-card p + p {
  margin-top: var(--lm-pad-sm);
}

body.home-reference .hero-card.home-source-hero,
body.home-reference .home-about-card,
body.home-reference .recent-loans {
  padding: var(--lm-pad-lg);
  border-radius: var(--lm-radius-xl);
}

body.home-reference .recent-loans .marquee-container {
  border-radius: var(--lm-radius-md);
}

body.home-reference .recent-loans .loan-item {
  padding: var(--lm-pad-sm);
  background: var(--lm-glass-08);
  border-radius: var(--lm-radius-md);
  margin-bottom: var(--lm-pad-xs);
}

body.home-reference .recent-loans .loan-address {
  font-size: var(--lm-fs-md);
  font-weight: 700;
  color: var(--lm-white-92);
}

body.home-reference .recent-loans .loan-status {
  margin-top: min(1.6vw, 9.6px);
  font-size: var(--lm-fs-sm);
  font-weight: 500;
  color: var(--lm-white-70);
}
