:root {
  --tj-color-theme-primary: #d9b35b;
  --tj-color-theme-bg: #1a140c;
  --tj-color-theme-bg-2: #22180d;
  --tj-color-theme-bg-3: #1f1a12;
  --tj-color-theme-dark: #0c0906;
  --tj-color-theme-dark-2: #17120c;
  --tj-color-theme-dark-3: #2c2419;
  --tj-color-theme-dark-4: #8f7a56;
  --tj-color-heading-primary: #fff2cf;
  --tj-color-text-body: #e5d8b9;
  --tj-color-text-body-2: #cdbd95;
  --tj-color-text-body-3: #c0b189;
  --tj-color-text-body-4: #fff2cf;
  --tj-color-text-body-5: rgba(255, 242, 207, 0.84);
  --tj-color-grey-1: #090705;
  --tj-color-grey-2: #cdbd95;
  --tj-color-border-1: rgba(255, 255, 255, 0.11);
  --tj-color-border-2: rgba(255, 255, 255, 0.11);
  --tj-color-border-3: rgba(255, 255, 255, 0.15);
  --tj-color-border-4: rgba(255, 255, 255, 0.18);
  --tj-color-border-5: rgba(217, 179, 91, 0.24);
}

html,
body,
body.app-body,
body.app-body.jt-theme-bg {
  color: #f3e7c9;
}

body,
p,
li,
label,
input,
textarea,
select,
button,
small,
.muted-text,
.mini,
.metric-label,
.user-chip-role,
.brand-tagline,
.jt-topline-copy,
.jt-topline-meta a,
.jt-footer-links a,
.jt-mobile-nav__copy small,
.jt-submenu-copy small,
.table td,
.data-table td,
.table th,
.data-table th {
  color: #e6d8b6;
}

h1,
h2,
h3,
h4,
h5,
h6,
.panel h1,
.panel h2,
.panel h3,
.hero-copy h1,
.hero-copy h2,
.home-hero__copy h1,
.home-card h3,
.contact-card h3,
.product-card h3,
.jt-submenu-copy strong,
.jt-mobile-nav__copy strong,
.user-admin-entry h3,
.user-admin-disclosure summary,
.hero-copy strong,
.home-floating-card strong,
.section-head h1,
.section-head h2,
.section-head h3 {
  color: #fff3d6 !important;
  text-shadow: 0 0 24px rgba(217, 179, 91, 0.06);
}

.eyebrow,
.hero-copy .eyebrow,
.home-hero__copy .eyebrow {
  color: #f0d98d !important;
}

.title,
.section-title,
.sec-title,
.desc,
.subtitle,
.hero-copy p,
.section-head p,
.home-card p,
.contact-card p,
.product-card p {
  color: #e6d8b6 !important;
}

strong,
b,
.value,
.metric-value,
.wallet-balance,
.account-balance-big,
.footer-copy,
.jt-site-footer__brand p,
.detail-card strong,
.status-card strong {
  color: #fff0cf;
}

label > span,
.muted-text,
.mini,
.metric-label,
.brand-tagline,
.user-chip-role,
.jt-topline-copy,
.jt-topline-meta a,
.jt-footer-badges span,
.contact-inline-list span,
.user-list-note,
.amount-hint,
.input-hint,
.form-helper,
.inline-note {
  color: #cdbd95 !important;
}

input,
select,
textarea {
  color: #fff0cf;
}

select option {
  background: #12100d;
  color: #fff0cf;
}

::placeholder {
  color: #a99873;
}

.panel,
.hero-panel,
.install-panel,
.card-form,
.product-card,
.home-card,
.contact-card,
.proof-card,
.detail-card,
.metric-card,
.status-card,
.wallet-card,
.balance-action-card,
.user-admin-entry,
.user-admin-disclosure,
.table-wrap,
.qr-box,
.upload-zone,
.camera-widget,
.info-box-soft {
  min-width: 0;
}

.card-form,
.product-card,
.home-card,
.contact-card,
.proof-card,
.detail-card,
.metric-card,
.status-card,
.wallet-card,
.balance-action-card,
.user-admin-entry,
.user-admin-disclosure,
.qr-box,
.upload-zone,
.camera-widget,
.info-box-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  border-color: rgba(255, 255, 255, 0.09);
}

.form-grid,
.detail-grid,
.hero-grid,
.home-grid-3,
.home-grid-4,
.balance-doc-grid,
.balance-overview-grid,
.service-card-grid,
.upload-grid,
.contact-grid,
.proof-grid,
.product-grid,
.stats-grid,
.admin-stats-grid,
.user-admin-snapshot,
.user-admin-actions-layout {
  align-items: start;
}

.form-grid > *,
.detail-grid > *,
.hero-grid > *,
.home-grid-3 > *,
.home-grid-4 > *,
.balance-doc-grid > *,
.balance-overview-grid > *,
.service-card-grid > *,
.upload-grid > *,
.contact-grid > *,
.proof-grid > *,
.product-grid > *,
.user-admin-snapshot > *,
.user-admin-actions-layout > * {
  min-width: 0;
}

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

.quick-actions-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.stats-grid,
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.admin-stats-grid {
  margin-top: 20px;
}

.table,
.data-table {
  background: rgba(255, 255, 255, 0.025);
}

.table th,
.data-table th {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  color: #f0deb0 !important;
}

.table td,
.data-table td {
  color: #f0e3c3;
}

.badge-ok {
  background: rgba(217, 179, 91, 0.16);
  border-color: rgba(217, 179, 91, 0.28);
  color: #fff0bd;
}

.badge-warn {
  background: rgba(255, 211, 122, 0.16);
  border-color: rgba(255, 211, 122, 0.28);
  color: #fff0bd;
}

.badge-bad {
  background: rgba(255, 113, 130, 0.16);
  border-color: rgba(255, 113, 130, 0.24);
  color: #ffd7dd;
}

.badge-muted {
  background: rgba(255, 255, 255, 0.05);
  color: #e8dcb8;
}

.home-hero {
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, 0.95fr);
  gap: 28px;
}

.home-hero__copy h1 {
  max-width: 13ch;
}

.home-hero__copy p {
  max-width: 58ch;
  color: #eadfc1;
}

.hero-copy p,
.section-head p,
.home-card p,
.contact-card p,
.product-card p,
.contact-inline-list div span,
.contact-inline-list a span {
  color: #ebdfc0 !important;
}

.home-hero__media,
.home-card img.card-photo,
.contact-side img,
.catalog-fallback {
  background:
    radial-gradient(circle at 15% 20%, rgba(217, 179, 91, 0.18), transparent 24%),
    radial-gradient(circle at 85% 12%, rgba(255, 255, 255, 0.06), transparent 22%),
    linear-gradient(180deg, #17120d, #0a0806 100%);
}

.home-hero__media img,
.home-card img.card-photo,
.contact-side img,
.catalog-fallback,
.product-card .product-image {
  object-fit: cover;
}

.home-card,
.contact-card,
.proof-card,
.product-card,
.balance-doc-card,
.amount-hint,
.user-admin-entry,
.user-admin-disclosure {
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24), 0 0 18px rgba(217, 179, 91, 0.06);
}

.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.user-admin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.user-admin-entry {
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.user-admin-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.user-admin-subtitle {
  color: #cdbd95;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.user-admin-snapshot {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.user-admin-actions-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.user-admin-disclosure {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
}

.user-admin-disclosure summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
}

.user-admin-disclosure summary > span:first-child {
  font-weight: 700;
}

.user-admin-disclosure summary > span:last-child {
  margin-left: auto;
  text-align: right;
}

.user-admin-disclosure summary::-webkit-details-marker {
  display: none;
}

.user-admin-disclosure summary::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Pro';
  font-weight: 400;
  color: #f6d67c;
  transition: transform 0.18s ease;
}

.user-admin-disclosure[open] summary::after {
  transform: rotate(180deg);
}

.user-admin-disclosure[open] summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.user-admin-disclosure__body {
  padding: 18px;
}

.user-admin-form {
  margin-top: 0;
}

.user-balance-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 0;
}

.balance-action-card {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
}

.balance-action-card summary {
  padding: 0;
}

.balance-action-card > summary .btn {
  width: 100%;
  padding: 16px 18px;
  border: none;
  border-radius: 0;
  justify-content: center;
}

.balance-action-body {
  padding: 18px;
  background: rgba(9, 8, 6, 0.45);
}

.balance-doc-card h4 {
  margin-top: 12px;
  margin-bottom: 8px;
}

.balance-doc-card input[type="file"] {
  margin-top: 12px;
}

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

.balance-doc-card {
  border-style: dashed;
  border-color: rgba(217, 179, 91, 0.24);
  background: rgba(217, 179, 91, 0.05);
}

.balance-chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.balance-chip {
  background: rgba(255, 255, 255, 0.05);
}

.card-form,
.balance-action-body form,
.user-admin-form {
  overflow: hidden;
}

textarea,
input,
select,
button,
.btn,
.badge,
.balance-chip,
.jt-nav-link,
.jt-quickbar__link,
.jt-mainmenu ul > li > a,
.jt-submenu-copy strong,
.jt-submenu-copy small,
.user-admin-subtitle,
.flash,
.detail-card,
.metric-card,
.status-card,
.wallet-card {
  overflow-wrap: anywhere;
}

.jt-theme-header,
.jt-theme-header .container-fluid,
.jt-header-wrapper,
.jt-header-nav,
.jt-mainmenu,
.jt-mainmenu > ul,
.jt-mainmenu > ul > li,
.jt-quickbar,
.jt-quickbar .container-fluid,
.jt-quickbar__inner {
  overflow: visible !important;
}

.jt-mainmenu ul > li {
  padding-bottom: 6px;
}

.jt-mainmenu ul > li.has-dropdown::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 18px;
}

.jt-mainmenu ul > li > .jt-nav-dropdown {
  top: calc(100% + 1px) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateX(-50%) translateY(4px) scale(0.985) !important;
  transform-origin: top center;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease !important;
}

.jt-mainmenu ul > li > .jt-nav-dropdown::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
  background: transparent;
}

.jt-mainmenu ul > li:nth-last-child(-n+2) > .jt-nav-dropdown {
  transform: translateY(4px) scale(0.985) !important;
}

.jt-mainmenu ul > li:hover > .jt-nav-dropdown,
.jt-mainmenu ul > li:focus-within > .jt-nav-dropdown,
.jt-mainmenu ul > li.is-hovered > .jt-nav-dropdown {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(0) scale(1) !important;
}

.jt-mainmenu ul > li:nth-last-child(-n+2):hover > .jt-nav-dropdown,
.jt-mainmenu ul > li:nth-last-child(-n+2):focus-within > .jt-nav-dropdown,
.jt-mainmenu ul > li:nth-last-child(-n+2).is-hovered > .jt-nav-dropdown {
  transform: translateY(0) scale(1) !important;
}

.jt-mainmenu ul > li > a,
.jt-nav-link,
.jt-quickbar__link,
.jt-mobile-nav__link,
.jt-footer-links a {
  color: #f0dfb5 !important;
}

.jt-mainmenu ul > li:hover > a,
.jt-mainmenu ul > li.current-menu-ancestor > a,
.jt-mainmenu ul > li.current-menu-item > a,
.jt-nav-link:hover,
.jt-nav-link.active,
.jt-quickbar__link:hover,
.jt-quickbar__link.active,
.jt-mobile-nav__link:hover,
.jt-mobile-nav__link.active {
  color: #fff7de !important;
}

.jt-submenu-icon,
.home-card__icon,
.contact-card__icon,
.proof-card__icon {
  background: linear-gradient(180deg, rgba(217, 179, 91, 0.24), rgba(183, 134, 41, 0.16));
}

.jt-topline-badge,
.jt-topline-chip,
.jt-footer-badges span,
.chip,
.badge,
.balance-chip {
  border-color: rgba(255, 255, 255, 0.09);
}

.table-more-wrap,
.load-more-wrap {
  margin-top: 20px;
}

.table-more-wrap .btn,
.load-more-wrap .btn {
  min-width: 260px;
}

@media (max-width: 1240px) {
  .home-hero {
    grid-template-columns: 1fr;
  }

  .user-admin-actions-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .form-grid.three,
  .balance-doc-grid,
  .user-balance-actions,
  .contact-grid,
  .home-grid-3,
  .home-grid-4 {
    grid-template-columns: 1fr;
  }

  .quick-actions-wrap {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .user-admin-entry {
    padding: 18px;
  }

  .jt-header-cta,
  .jt-header-secondary {
    min-height: 48px;
  }
}


/* === STAGE 6: global readability, form and menu refinements === */
:root {
  --tj-color-common-white: #14100c;
  --tj-color-common-black: #050403;
  --bs-body-bg: #0a0806;
  --bs-body-color: #f3e7c8;
  --bs-emphasis-color: #fff3d6;
  --bs-border-color: rgba(255,255,255,0.10);
  --bs-secondary-bg: #15110d;
  --bs-tertiary-bg: #110d09;
  --bs-table-bg: transparent;
  --bs-table-color: #f3e7c8;
  --bs-table-border-color: rgba(255,255,255,0.10);
  --bs-table-hover-color: #fff4d6;
  --bs-table-hover-bg: rgba(255,255,255,0.03);
  --bs-table-striped-bg: rgba(255,255,255,0.018);
  --bs-table-striped-color: #f3e7c8;
  --jt-field-bg: linear-gradient(180deg, rgba(20, 15, 10, 0.96), rgba(12, 9, 6, 0.96));
  --jt-field-bg-focus: linear-gradient(180deg, rgba(29, 22, 14, 0.98), rgba(15, 11, 7, 0.98));
}
html { color-scheme: dark; }
body, body.app-body, body.app-body.jt-theme-bg { font-size: 14px; line-height: 1.58; }
h1, .hero-copy h1, .home-hero__copy h1 { font-size: clamp(32px, 4.2vw, 52px) !important; line-height: 0.98 !important; letter-spacing: -0.04em; }
.section-head h1, .section-head h2, .panel h1, .panel h2 { font-size: clamp(26px, 2.5vw, 42px) !important; line-height: 1.02; }
.panel h3, .home-card h3, .contact-card h3, .product-card h3, .user-admin-entry h3 { font-size: clamp(18px, 1.45vw, 24px) !important; line-height: 1.18; }
.hero-copy p, .home-hero__copy p, .section-head p, .home-card p, .contact-card p, .product-card p, .table td, .table th, .data-table td, .data-table th { font-size: 14px !important; }
.hero-copy p, .home-hero__copy p { max-width: 60ch; }
.metric-card, .wallet-card, .detail-card, .status-card { min-height: 0; }
.metric-value, .value, .wallet-balance, .account-balance-big, .table td strong, .table td, .table th, .data-table td, .data-table th, .quote-line, .badge { font-variant-numeric: tabular-nums lining-nums; }
.metric-value, .value { font-size: clamp(20px, 2vw, 32px) !important; line-height: 1.08 !important; letter-spacing: -0.03em; color: #fff4d6 !important; }
.metric-label, .mini, .user-chip-role, .jt-submenu-copy small, .jt-mobile-nav__copy small, .footer-copy, .footer-copy-muted { font-size: 12px !important; }
.hero-grid.compact { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.compact-hero .metric-card, .report-terminal .metric-card, .hero-grid.compact .metric-card { padding: 16px; border-radius: 22px; }
.table-wrap { background: linear-gradient(180deg, rgba(16, 12, 9, 0.96), rgba(9, 7, 5, 0.96)) !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); }
.table, .data-table { width: 100%; background: transparent !important; --bs-table-bg: transparent; --bs-table-accent-bg: transparent; --bs-table-striped-bg: rgba(255,255,255,0.018); --bs-table-striped-color: #f3e7c8; --bs-table-hover-bg: rgba(255,255,255,0.03); --bs-table-hover-color: #fff4d6; --bs-table-color: #f3e7c8; --bs-table-border-color: rgba(255,255,255,0.10); }
.table > :not(caption) > * > *, .data-table > :not(caption) > * > * { color: #f1e3bf !important; background-color: transparent !important; border-bottom-color: rgba(255,255,255,0.08) !important; }
.table thead th, .data-table thead th { background: linear-gradient(180deg, rgba(36, 28, 18, 0.98), rgba(17, 13, 9, 0.98)) !important; color: #f7df9b !important; font-size: 12px !important; letter-spacing: 0.07em; }
.table tbody tr, .data-table tbody tr { background: rgba(255,255,255,0.012) !important; }
.table tbody tr:nth-child(even), .data-table tbody tr:nth-child(even) { background: rgba(255,255,255,0.02) !important; }
.table tbody tr:hover, .data-table tbody tr:hover { background: rgba(255,255,255,0.03) !important; }
.table tbody td, .data-table tbody td { color: #f2e6c8 !important; }
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="image"]), select, textarea, .nice-select, .form-control, .form-select, .form-check-input, button[type="button"].nice-select { background: var(--jt-field-bg) !important; color: #fff1cf !important; border: 1px solid rgba(255,255,255,0.10) !important; box-shadow: none !important; }
input[type="file"] { padding: 12px 14px !important; }
input[type="file"]::file-selector-button { margin-right: 12px; padding: 9px 12px; border-radius: 12px; border: 1px solid rgba(217,179,91,0.24); background: linear-gradient(180deg, rgba(217,179,91,0.18), rgba(183,134,41,0.12)); color: #fff4d1; }
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="image"]):focus, select:focus, textarea:focus, .nice-select.open, .form-control:focus, .form-select:focus { background: var(--jt-field-bg-focus) !important; border-color: rgba(217,179,91,0.45) !important; box-shadow: 0 0 0 4px rgba(217,179,91,0.10) !important; }
input::placeholder, textarea::placeholder { color: #ae9f7b !important; }
select option, optgroup { background: #100d0a !important; color: #fff1cf !important; }
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, textarea:-webkit-autofill, select:-webkit-autofill { -webkit-text-fill-color: #fff1cf !important; -webkit-box-shadow: 0 0 0 1000px #14100c inset !important; transition: background-color 99999s ease-in-out 0s; }
input[type="date"], input[type="datetime-local"], input[type="month"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="email"], input[type="text"], input[type="url"] { min-height: 52px; }
input[type="date"]::-webkit-calendar-picker-indicator, input[type="datetime-local"]::-webkit-calendar-picker-indicator { filter: invert(0.92) sepia(0.35) saturate(0.5) brightness(1.1); opacity: 0.9; }
.form-check-input { width: 1.05rem; height: 1.05rem; }
.wallet-balance.wallet-positive-money, .account-balance-big.wallet-positive-money, .wallet-balance.wallet-positive-gold, .account-balance-big.wallet-positive-gold { color: #ffe6a6 !important; text-shadow: 0 0 18px rgba(217,179,91,0.20), 0 0 34px rgba(217,179,91,0.08) !important; }
.jt-header-wrapper { gap: 16px !important; padding: 16px 18px !important; align-items: center; }
.jt-header-logo { width: 146px !important; }
.jt-mainmenu ul { gap: 6px !important; }
.jt-mainmenu ul > li > a { padding: 11px 13px !important; font-size: 13px !important; }
.jt-mainmenu ul > li { padding-bottom: 10px !important; }
.jt-mainmenu ul > li.has-dropdown::after { height: 22px !important; }
.jt-mainmenu ul > li > .jt-nav-dropdown { top: calc(100% - 2px) !important; min-width: max-content; max-width: max-content; }
.jt-mainmenu ul > li > .jt-nav-dropdown::before { top: -22px !important; height: 22px !important; }
.jt-mainmenu ul > li > .jt-nav-dropdown > li > a { padding: 12px !important; gap: 10px !important; }
.jt-submenu-icon { width: 40px !important; height: 40px !important; border-radius: 13px !important; }
.jt-submenu-copy strong, .jt-mobile-nav__copy strong { font-size: 13px !important; }
.jt-header-actions { gap: 8px !important; min-width: 0 !important; }
.jt-user-chip { min-width: 172px !important; padding: 9px 12px !important; }
.jt-user-chip strong { font-size: 15px; line-height: 1.15; }
.jt-header-secondary, .jt-header-cta, .jt-quickbar__link, .jt-nav-link, .jt-mainmenu ul > li > a { white-space: nowrap; }
.jt-header-secondary, .jt-header-cta { padding: 11px 14px !important; font-size: 13px !important; border-radius: 15px !important; }
.jt-quickbar__inner { padding: 12px 14px !important; gap: 8px !important; }
.jt-quickbar__link { padding: 10px 12px !important; font-size: 12px !important; }
.home-hero { gap: 24px !important; padding: 28px !important; grid-template-columns: minmax(0, 1fr) minmax(380px, 0.92fr) !important; }
.home-hero__media { min-height: 380px !important; }
.home-card, .contact-card, .proof-card, .product-card, .metric-card, .status-card, .detail-card, .wallet-card, .balance-action-card, .user-admin-entry, .user-admin-disclosure { border-radius: 22px !important; }
.home-card, .contact-card, .proof-card, .product-card, .metric-card, .status-card, .detail-card, .wallet-card { padding: 18px !important; }
.home-card img.card-photo, .contact-side img, .catalog-fallback, .product-card .product-image { height: 210px !important; }
.home-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-grid-3, .home-grid-4, .contact-grid, .proof-grid, .service-stat-grid, .contact-office-grid { gap: 16px !important; }
.home-grid-tight { align-items: stretch; }
.info-card-accent { background: radial-gradient(circle at top right, rgba(217,179,91,0.16), transparent 26%), linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02)); }
.service-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.service-stat, .contact-office-card { padding: 18px; border-radius: 22px; border: 1px solid rgba(255,255,255,0.08); background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02)); box-shadow: 0 16px 38px rgba(0,0,0,0.24), 0 0 18px rgba(217,179,91,0.06); }
.service-stat strong { display: block; margin-bottom: 8px; font-size: clamp(24px, 2.3vw, 34px); line-height: 1; color: #ffe6a6; }
.service-stat span { color: #d9c8a0; font-size: 13px; }
.contact-office-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-inline-list a, .contact-inline-list div { min-width: 0; }
@media (max-width: 1480px) { .jt-desktop-nav { display: none !important; } .jt-menu-toggle { display: inline-flex !important; } .jt-header-wrapper { grid-template-columns: auto minmax(0,1fr) auto !important; } .jt-header-secondary { display: none !important; } }
@media (max-width: 1320px) { .home-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .home-hero { grid-template-columns: 1fr !important; } .jt-user-chip { display: none !important; } }
@media (max-width: 860px) { .contact-office-grid, .service-stat-grid, .contact-grid, .home-grid-3, .home-grid-4, .proof-grid, .balance-doc-grid, .form-grid.two, .form-grid.three, .two-col { grid-template-columns: 1fr !important; } .home-hero__copy h1, .hero-copy h1 { font-size: clamp(28px, 9vw, 42px) !important; } .metric-value, .value { font-size: clamp(18px, 7vw, 28px) !important; } }

/* === Messenger visual + calls upgrade (2026-04-26) === */
body.messages-php .app-shell{padding-top:0!important}
body.messages-php .jt-page{max-width:1720px;margin:0 auto;padding:18px clamp(10px,2vw,26px) 24px!important}
body.messages-php .jt-site-footer,.messages-php .jt-quickbar{display:none!important}
.jt-messenger-only-header{position:sticky;top:0;z-index:240;padding:12px clamp(10px,2vw,26px);background:linear-gradient(180deg,rgba(20,12,10,.94),rgba(20,12,10,.78));backdrop-filter:blur(18px);border-bottom:1px solid rgba(217,179,91,.18)}
.jt-messenger-only-inner{max-width:1720px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid rgba(217,179,91,.20);border-radius:24px;background:radial-gradient(circle at 8% 0%,rgba(217,179,91,.14),transparent 34%),linear-gradient(180deg,rgba(12,12,10,.94),rgba(3,3,3,.94));box-shadow:0 18px 54px rgba(0,0,0,.34);padding:12px 16px}
.jt-msg-brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:#fff2cd;font-weight:950;letter-spacing:.01em;min-width:0}
.jt-msg-brand:hover{color:#fff;text-shadow:0 0 18px rgba(217,179,91,.35)}
.jt-msg-brand img{width:38px;height:38px;object-fit:contain;filter:drop-shadow(0 0 14px rgba(217,179,91,.24))}
.jt-msg-brand span{font-size:clamp(18px,2.3vw,28px);line-height:1;white-space:nowrap}
.jt-msg-compact-action,.jt-mobile-message-action{position:relative;display:inline-grid;place-items:center;width:48px;height:48px;border-radius:17px;border:1px solid rgba(217,179,91,.28);background:linear-gradient(180deg,rgba(217,179,91,.18),rgba(255,255,255,.04));color:#ffe7a7;text-decoration:none;box-shadow:0 10px 30px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.08)}
.jt-msg-compact-action:hover,.jt-mobile-message-action:hover{transform:translateY(-1px);color:#fff;background:linear-gradient(180deg,rgba(217,179,91,.28),rgba(255,255,255,.07))}
.jt-nav-message-badge{position:absolute;right:-7px;top:-7px;display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:linear-gradient(180deg,#59ff9d,#20b96b);color:#07140c;font-size:11px;font-weight:950;border:2px solid rgba(10,8,6,.96);box-shadow:0 0 20px rgba(43,230,135,.4)}
.jt-nav-message-badge[hidden]{display:none!important}
.jt-mobile-message-action{display:none}
@media (max-width:1480px){.jt-mobile-message-action{display:inline-grid!important}}

.messenger-avatar-verified-wrap{position:relative;display:inline-grid;place-items:center;vertical-align:middle;isolation:isolate;flex:0 0 auto}
.messenger-avatar-verified-wrap .messenger-avatar{display:block}
.messenger-verify-badge{display:inline-grid;place-items:center;vertical-align:middle;border-radius:999px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);color:#f5e3bd;line-height:1;box-shadow:0 0 0 rgba(0,0,0,0);cursor:help;isolation:isolate;position:relative;overflow:hidden}
.messenger-verify-badge:before{content:"";position:absolute;inset:-60%;background:linear-gradient(120deg,transparent,rgba(255,255,255,.46),transparent);transform:translateX(-120%) rotate(18deg);opacity:0;pointer-events:none}
.messenger-verify-badge.has-glow:before{animation:verifySweep 3.8s ease-in-out infinite}
.verify-size-inline{width:18px;height:18px;margin-left:6px;font-size:9px;top:-1px}
.verify-size-avatar{position:absolute;right:-5px;bottom:-5px;width:22px;height:22px;font-size:10px;border-width:2px;border-color:rgba(8,7,5,.96);z-index:3}
.verify-super_admin{background:conic-gradient(from 20deg,#fff7cc,#ffb22c,#ff5dd1,#8a5cff,#fff7cc);color:#1b0b12;box-shadow:0 0 18px rgba(255,213,92,.72),0 0 36px rgba(158,92,255,.28)}
.verify-admin{background:linear-gradient(135deg,#ffeeb0,#d5a43b 52%,#74470d);color:#1b1205;box-shadow:0 0 18px rgba(217,179,91,.62),0 0 34px rgba(217,179,91,.18)}
.verify-manager{background:linear-gradient(135deg,#b7f7ff,#3cb6f0 54%,#174b91);color:#021626;box-shadow:0 0 18px rgba(76,194,255,.55)}
.verify-operator{background:linear-gradient(135deg,#d6c4ff,#7a62ff 55%,#3423a0);color:#fff;box-shadow:0 0 18px rgba(122,98,255,.58)}
.verify-cashier{background:linear-gradient(135deg,#caffdf,#39d98a 54%,#0d7047);color:#052315;box-shadow:0 0 18px rgba(57,217,138,.58)}
.verify-modeler{background:linear-gradient(135deg,#f2fbff,#9aa9b8 52%,#46586c);color:#0c141c;box-shadow:0 0 18px rgba(180,205,226,.44)}
.verify-moderator{background:linear-gradient(135deg,#ffd3b3,#ff7a45 55%,#8d2d15);color:#230b03;box-shadow:0 0 18px rgba(255,122,69,.46)}
.verify-system{background:linear-gradient(135deg,#fff6d0,#b9a26c);color:#17120a}
.verify-client{background:rgba(255,255,255,.07);color:#9f947e;border-color:rgba(255,255,255,.14);box-shadow:none!important}
.messenger-verify-badge.has-glow{animation:verifyPulse 2.6s ease-in-out infinite}
.messenger-verify-badge.no-glow{animation:none!important;filter:saturate(.82);opacity:.9}
@keyframes verifyPulse{0%,100%{transform:translateZ(0) scale(1)}50%{transform:translateZ(0) scale(1.08)}}
@keyframes verifySweep{0%,55%{opacity:0;transform:translateX(-130%) rotate(18deg)}68%{opacity:.75}85%,100%{opacity:0;transform:translateX(130%) rotate(18deg)}}

.message-bottom-line{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px;min-height:24px}
.message-read-status{display:inline-flex;align-items:center;gap:5px;margin-left:auto;color:#d6c49e;font-size:11px;font-weight:900;white-space:nowrap;cursor:help;opacity:.95}
.message-read-status i{font-size:13px;line-height:1}
.message-read-status.is-sent{color:#b8ad95}
.message-read-status.is-delivered{color:#ffe1a0;text-shadow:0 0 12px rgba(217,179,91,.18)}
.message-read-status.is-read{color:#68baff;text-shadow:0 0 14px rgba(79,170,255,.42)}
.message-row.theirs .message-read-status{display:none}
.message-action-icon{width:28px;height:28px;padding:0!important;display:inline-grid!important;place-items:center;border-radius:999px!important;font-size:12px!important}
.message-actions{display:inline-flex!important;align-items:center;gap:6px;margin-left:8px;opacity:.38;transition:opacity .16s ease,transform .16s ease}
.message-row:hover .message-actions{opacity:1;transform:translateY(-1px)}
.message-inline-editor{display:grid;gap:8px;margin-top:8px;min-width:min(420px,70vw)}
.message-inline-editor textarea{width:100%;min-height:64px;resize:vertical;border-radius:16px;border:1px solid rgba(217,179,91,.30);background:rgba(0,0,0,.24);color:#fff7df;padding:10px 12px;outline:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}
.message-inline-editor textarea:focus{border-color:rgba(217,179,91,.62);box-shadow:0 0 0 3px rgba(217,179,91,.12)}
.message-inline-editor-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.message-inline-editor.is-saving{opacity:.7;pointer-events:none}
.message-meta strong{display:inline-flex;align-items:center;min-width:0}.message-meta strong .messenger-verify-badge{flex:0 0 auto}

.message-row.is-system{display:flex!important;justify-content:center!important;align-self:stretch!important;max-width:100%!important;grid-template-columns:1fr!important;margin:8px 0}
.message-system-pill{display:inline-flex;align-items:center;gap:10px;max-width:min(760px,94%);border-radius:999px;padding:9px 14px;background:linear-gradient(135deg,rgba(217,179,91,.18),rgba(255,255,255,.055));border:1px solid rgba(217,179,91,.26);color:#ffe9b6;font-weight:850;box-shadow:0 12px 32px rgba(0,0,0,.18)}
.message-system-pill small{color:#bdaa86;font-size:11px;font-weight:700;white-space:nowrap}.message-system-icon{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:999px;background:rgba(217,179,91,.18);color:#ffd979}.call-status-missed .message-system-pill{border-color:rgba(255,105,105,.32);background:linear-gradient(135deg,rgba(255,105,105,.14),rgba(255,255,255,.04));color:#ffd2d2}.call-status-ended .message-system-pill{border-color:rgba(88,220,145,.24);color:#d4ffe5}

.messenger-audio-card{display:flex;align-items:center;gap:12px;padding:10px;border-radius:16px;background:linear-gradient(135deg,rgba(217,179,91,.12),rgba(255,255,255,.035));border:1px solid rgba(217,179,91,.16);min-width:min(380px,78vw)}
.messenger-audio-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:15px;background:radial-gradient(circle at 30% 20%,#fff0b5,#d4a63a 62%,#68460d);color:#170f04;box-shadow:0 0 20px rgba(217,179,91,.34)}
.messenger-audio-main{display:grid;gap:8px;min-width:0;flex:1}.messenger-audio-main audio{width:100%!important;max-width:100%!important}.messenger-audio-wave{display:flex;align-items:end;gap:4px;height:20px}.messenger-audio-wave span{display:block;width:4px;border-radius:999px;background:linear-gradient(180deg,#fff1b8,#d4a63a);animation:audioWave 1.05s ease-in-out infinite;opacity:.85}.messenger-audio-wave span:nth-child(1){height:8px;animation-delay:.02s}.messenger-audio-wave span:nth-child(2){height:18px;animation-delay:.11s}.messenger-audio-wave span:nth-child(3){height:12px;animation-delay:.2s}.messenger-audio-wave span:nth-child(4){height:20px;animation-delay:.29s}.messenger-audio-wave span:nth-child(5){height:10px;animation-delay:.38s}@keyframes audioWave{0%,100%{transform:scaleY(.55);opacity:.55}50%{transform:scaleY(1.05);opacity:1}}
.messenger-video-card{position:relative;overflow:hidden;border-radius:17px;background:#050505;border:1px solid rgba(217,179,91,.18);box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}
.messenger-video-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.08),transparent 30%,rgba(0,0,0,.22));pointer-events:none}.messenger-media-pill{position:absolute;left:10px;top:10px;z-index:2;display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:5px 9px;background:rgba(0,0,0,.55);border:1px solid rgba(255,255,255,.14);color:#ffe6a6;font-size:12px;font-weight:900;backdrop-filter:blur(8px)}

.record-stop-btn[hidden]{display:none!important}.record-stop-btn:not([hidden]){animation:recordStopPulse 1.25s ease-in-out infinite}.messenger-compose.is-recording{position:relative;border-color:rgba(255,92,92,.34)!important;box-shadow:0 0 0 3px rgba(255,92,92,.08),0 0 34px rgba(255,92,92,.10)}.messenger-compose.is-recording [data-record-status]{display:inline-flex;align-items:center;gap:8px;color:#ffd8d8;font-weight:900}.messenger-compose.is-recording [data-record-status]:before{content:"";width:10px;height:10px;border-radius:50%;background:#ff5964;box-shadow:0 0 0 0 rgba(255,89,100,.6);animation:recordDot 1.05s ease-out infinite}@keyframes recordDot{to{box-shadow:0 0 0 10px rgba(255,89,100,0)}}@keyframes recordStopPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.05)}}

.messenger-call-layer{background:radial-gradient(circle at 50% 20%,rgba(217,179,91,.24),transparent 32%),rgba(0,0,0,.78)!important;backdrop-filter:blur(18px) saturate(1.15)!important}.messenger-call-card{position:relative;overflow:hidden;border-radius:32px!important;background:radial-gradient(circle at 12% 8%,rgba(217,179,91,.18),transparent 28%),linear-gradient(180deg,rgba(22,18,13,.98),rgba(5,5,4,.98))!important;border:1px solid rgba(217,179,91,.34)!important;box-shadow:0 32px 100px rgba(0,0,0,.72),0 0 70px rgba(217,179,91,.16)!important}.messenger-call-card:before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,transparent,rgba(255,255,255,.06),transparent);transform:translateX(-120%);animation:callCardSweep 5s ease-in-out infinite;pointer-events:none}.messenger-call-layer.is-ringing .messenger-call-card{animation:callCardPulse 1.8s ease-in-out infinite}.messenger-call-identity{display:flex;align-items:center;gap:14px;min-width:0}.messenger-call-orb{position:relative;display:grid;place-items:center;width:72px;height:72px;border-radius:50%;background:radial-gradient(circle at 35% 25%,#fff2b9,#d4a63a 58%,#65430b);color:#160f04;box-shadow:0 0 28px rgba(217,179,91,.45),inset 0 1px 0 rgba(255,255,255,.28);flex:0 0 auto}.messenger-call-orb span{position:absolute;inset:0;border-radius:50%;border:1px solid rgba(217,179,91,.55);animation:callOrbRing 2.1s ease-out infinite}.messenger-call-orb span:nth-child(2){animation-delay:.45s}.messenger-call-orb span:nth-child(3){animation-delay:.9s}.messenger-call-orb i{font-size:24px;z-index:2}.messenger-call-layer.is-ringing .messenger-call-orb i{animation:callPhoneShake 1.2s ease-in-out infinite}.messenger-call-video-grid{align-items:stretch!important}.messenger-call-remote,.messenger-call-local{position:relative;border-radius:24px;overflow:hidden;background:linear-gradient(135deg,rgba(217,179,91,.11),rgba(255,255,255,.035));border:1px solid rgba(255,255,255,.08)}.messenger-call-remote video,.messenger-call-local video{height:100%;min-height:220px!important;border:0!important;border-radius:24px!important;background:radial-gradient(circle at center,rgba(217,179,91,.16),rgba(0,0,0,.9))!important}.messenger-call-local video{min-height:150px!important}.messenger-call-remote span,.messenger-call-local span{position:absolute;left:12px;bottom:12px;border-radius:999px;padding:5px 10px;background:rgba(0,0,0,.52);border:1px solid rgba(255,255,255,.12);color:#ffe8ae;font-size:12px;font-weight:900;backdrop-filter:blur(8px)}.messenger-call-controls .btn{min-width:138px;justify-content:center}.call-accept-btn{box-shadow:0 0 24px rgba(68,225,135,.24)!important}@keyframes callOrbRing{0%{opacity:.7;transform:scale(1)}100%{opacity:0;transform:scale(1.75)}}@keyframes callPhoneShake{0%,100%{transform:rotate(0)}20%{transform:rotate(-12deg)}40%{transform:rotate(10deg)}60%{transform:rotate(-7deg)}80%{transform:rotate(5deg)}}@keyframes callCardPulse{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-2px) scale(1.012)}}@keyframes callCardSweep{0%,55%{transform:translateX(-120%)}76%,100%{transform:translateX(120%)}}

@media (max-width:820px){body.messages-php .jt-page{padding:10px 8px 16px!important}.jt-messenger-only-header{padding:8px}.jt-messenger-only-inner{border-radius:20px;padding:9px 11px}.jt-msg-brand img{width:34px;height:34px}.jt-msg-brand span{font-size:22px}.messenger-page .messenger-thread-head{position:sticky;top:0;z-index:5;background:rgba(8,7,5,.92);backdrop-filter:blur(12px)}.message-read-status span{display:none}.message-inline-editor{min-width:min(310px,86vw)}.message-system-pill{border-radius:20px;align-items:flex-start}.messenger-audio-card{min-width:min(300px,84vw)}.messenger-call-layer{padding:10px!important}.messenger-call-card{width:100%!important;max-height:96vh;overflow:auto;border-radius:24px!important;padding:14px!important}.messenger-call-head{display:grid!important;gap:12px}.messenger-call-identity{align-items:flex-start}.messenger-call-orb{width:58px;height:58px}.messenger-call-video-grid{grid-template-columns:1fr!important}.messenger-call-remote video{min-height:48vh!important}.messenger-call-local{position:absolute;right:22px;bottom:92px;width:34vw;min-width:116px;max-width:170px;box-shadow:0 18px 50px rgba(0,0,0,.48)}.messenger-call-local video{min-height:120px!important}.messenger-call-controls{display:grid!important;grid-template-columns:1fr 1fr}.messenger-call-controls .btn{min-width:0;width:100%}.messenger-call-controls [data-call-end]{grid-column:1/-1}}
.messenger-nick-line{display:inline-flex;align-items:center;gap:2px;color:#c8b58e!important}.messenger-nick-line .messenger-verify-badge{transform:scale(.82);margin-left:4px}


/* 3DImpEx selection: readable gold instead of black highlight */
::selection{background:#d9b35b;color:#090705;text-shadow:none}
::-moz-selection{background:#d9b35b;color:#090705;text-shadow:none}
input::selection,textarea::selection{background:#f0cf76;color:#090705}

.jt-lang-switcher{position:relative;display:inline-flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid rgba(217,179,91,.24);border-radius:999px;background:rgba(217,179,91,.08);color:#f8edca;font-weight:800}
.jt-lang-switcher img,.jt-lang-option img,.jt-language-card img{width:24px;height:16px;object-fit:cover;border-radius:4px;box-shadow:0 0 0 1px rgba(255,255,255,.16)}
.jt-lang-switcher select{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}
.jt-language-gate{position:fixed;inset:0;z-index:9998;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 20% 10%,rgba(217,179,91,.24),transparent 34%),linear-gradient(180deg,rgba(7,6,5,.96),rgba(12,9,5,.98));backdrop-filter:blur(18px)}
.jt-language-gate[hidden]{display:none}.jt-language-panel{width:min(980px,96vw);border:1px solid rgba(217,179,91,.35);border-radius:34px;background:linear-gradient(180deg,rgba(18,15,10,.96),rgba(8,7,6,.94));box-shadow:0 30px 120px rgba(0,0,0,.55),0 0 80px rgba(217,179,91,.12);padding:30px}.jt-language-hello{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px;color:#d9b35b;font-weight:900;letter-spacing:.04em}.jt-language-hello span{padding:5px 9px;border-radius:999px;background:rgba(217,179,91,.08);border:1px solid rgba(217,179,91,.14)}.jt-language-panel h2{margin:0 0 8px;color:#fff2cf;font-size:clamp(28px,4vw,46px)}.jt-language-panel p{margin:0 0 18px;color:#cdbd95}.jt-language-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}.jt-language-card{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid rgba(255,255,255,.09);border-radius:18px;background:rgba(255,255,255,.035);transition:.18s transform,.18s border-color,.18s background}.jt-language-card:hover{transform:translateY(-2px);border-color:rgba(217,179,91,.55);background:rgba(217,179,91,.12)}.jt-language-card strong{display:block;color:#fff2cf}.jt-language-card small{display:block;color:#cdbd95}.jt-language-current{border-color:rgba(217,179,91,.65);box-shadow:0 0 0 1px rgba(217,179,91,.25) inset}
.jt-andromeda-footer{margin-top:18px;border:1px solid rgba(217,179,91,.22);border-radius:26px;background:linear-gradient(180deg,rgba(217,179,91,.08),rgba(255,255,255,.025));padding:18px}.jt-andromeda-grid{display:grid;grid-template-columns:minmax(220px,.75fr) 1fr;gap:16px;align-items:center}.jt-andromeda-logo{width:220px;max-width:100%;height:auto;border-radius:18px}.jt-andromeda-mini-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin-top:10px}.jt-andromeda-mini{padding:12px;border-radius:18px;border:1px solid rgba(255,255,255,.08);background:rgba(0,0,0,.18)}.jt-andromeda-mini span{display:block;color:#cdbd95;font-size:12px}.jt-andromeda-mini strong{display:block;color:#fff2cf}.jt-andromeda-legal{margin-top:12px;color:#cdbd95;font-size:12px;line-height:1.55}.jt-site-footer__bottom .footer-copy{margin-top:8px}.messages-php .jt-site-footer{margin-top:12px}
@media(max-width:720px){.jt-andromeda-grid{grid-template-columns:1fr}.jt-language-panel{padding:20px}.jt-language-grid{grid-template-columns:1fr 1fr}}

html *::selection{background:#d9b35b!important;color:#090705!important;text-shadow:none!important}
html *::-moz-selection{background:#d9b35b!important;color:#090705!important;text-shadow:none!important}
input::selection,textarea::selection,[contenteditable]::selection{background:#f0cf76!important;color:#090705!important}

/* Biometric/paranoid mode + compact mobile language switch */
@media (max-width: 720px) {
  .jt-header-actions .jt-lang-switcher,
  .jt-mobile-panel__meta .jt-lang-switcher {
    min-width: 0;
    padding: 0;
    gap: 4px;
  }
  .jt-header-actions .jt-lang-switcher .jt-lang-current span:not(.jt-flag),
  .jt-header-actions .jt-lang-switcher .jt-lang-option span:not(.jt-flag),
  .jt-mobile-panel__meta .jt-lang-switcher .jt-lang-current span:not(.jt-flag),
  .jt-mobile-panel__meta .jt-lang-switcher .jt-lang-option span:not(.jt-flag) {
    display: none !important;
  }
  .jt-header-actions .jt-lang-switcher .jt-lang-current,
  .jt-header-actions .jt-lang-switcher .jt-lang-option {
    width: 38px;
    min-width: 38px;
    justify-content: center;
    padding: 8px;
  }
  .jt-header-actions .jt-lang-switcher .jt-flag,
  .jt-mobile-panel__meta .jt-lang-switcher .jt-flag {
    width: 22px;
    height: 22px;
    margin: 0;
  }
}

.jt-biometric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.jt-biometric-card {
  border: 1px solid rgba(214, 174, 91, .26);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(11, 10, 8, .93), rgba(42, 33, 17, .74));
  box-shadow: 0 24px 70px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.04);
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.jt-biometric-card::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -20%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(214,174,91,.22), transparent 65%);
  pointer-events: none;
}
.jt-biometric-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.jt-biometric-title i {
  color: #d6ae5b;
}
.jt-biometric-status {
  border: 1px solid rgba(214, 174, 91, .2);
  border-radius: 18px;
  padding: 10px 12px;
  background: rgba(0,0,0,.24);
  color: #f7ead0;
  min-height: 44px;
  margin: 10px 0;
}
.jt-biometric-status.danger {
  border-color: rgba(255, 93, 93, .52);
  color: #ffd0d0;
}
.jt-face-stage {
  position: relative;
  border-radius: 28px;
  border: 1px solid rgba(214, 174, 91, .35);
  background: #050403;
  overflow: hidden;
  min-height: 280px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}
.jt-face-stage video {
  display: block;
  width: 100%;
  height: min(56vh, 420px);
  object-fit: cover;
  transform: scaleX(-1);
  opacity: .72;
}
.jt-face-stage canvas {
  display: none;
}
.jt-face-white-light {
  position: absolute;
  inset: 0;
  background: #fff;
  z-index: 1;
  opacity: .88;
  pointer-events: none;
}
.jt-face-dim {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 42%, transparent 0 18%, rgba(0,0,0,.16) 35%, rgba(0,0,0,.58) 100%);
  mix-blend-mode: multiply;
  z-index: 2;
  pointer-events: none;
}
.jt-face-scan-orb {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(52vw, 260px);
  height: min(52vw, 260px);
  transform: translate(-50%, -50%);
  border-radius: 999px;
  border: 2px solid rgba(214,174,91,.74);
  box-shadow: 0 0 42px rgba(214,174,91,.22), inset 0 0 40px rgba(214,174,91,.10);
  z-index: 3;
  pointer-events: none;
}
.jt-face-scan-orb::before,
.jt-face-scan-orb::after {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: inherit;
  border: 1px dashed rgba(255,255,255,.28);
  animation: jtFacePulse 2.2s ease-in-out infinite;
}
.jt-face-scan-orb::after {
  inset: 27%;
  animation-delay: .4s;
}
.jt-face-scan-line {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,230,173,.92), transparent);
  box-shadow: 0 0 16px rgba(214,174,91,.8);
  z-index: 4;
  animation: jtFaceScanLine 2.1s ease-in-out infinite;
  pointer-events: none;
}
.jt-biometric-light-on .jt-face-stage video {
  opacity: .18;
  filter: grayscale(.35) contrast(.85);
}
@keyframes jtFacePulse {
  0%, 100% { transform: scale(.92); opacity: .42; }
  50% { transform: scale(1.06); opacity: .88; }
}
@keyframes jtFaceScanLine {
  0%, 100% { top: 18%; opacity: .35; }
  50% { top: 78%; opacity: 1; }
}
.jt-biometric-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}
.jt-biometric-card input[type="password"],
.jt-biometric-card input[type="text"],
.jt-biometric-card input[type="tel"] {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(214,174,91,.22);
  background: rgba(0,0,0,.34);
  color: #fff2d3;
  padding: 11px 13px;
}
.jt-face-current {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 12px 0;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
}
.jt-face-current img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(214,174,91,.45);
}
.jt-biometric-warning {
  border: 1px solid rgba(255, 205, 90, .26);
  border-radius: 18px;
  padding: 12px;
  background: rgba(214,174,91,.08);
  color: #ffe7af;
  margin: 10px 0;
}
.jt-qr-target-settings {
  border-top: 1px solid rgba(214,174,91,.16);
  margin-top: 12px;
  padding-top: 12px;
}
.jt-qr-target-settings-list {
  display: grid;
  gap: 8px;
  margin: 10px 0;
}
.jt-qr-target-settings-list .jt-qr-target-item {
  cursor: pointer;
}
.jt-qr-phone-page {
  min-height: 58vh;
  display: grid;
  align-items: center;
}
.jt-qr-phone-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  border-radius: 30px;
  border: 1px solid rgba(214,174,91,.25);
  background: linear-gradient(145deg, rgba(12,10,7,.95), rgba(43,33,18,.78));
  padding: clamp(22px, 5vw, 54px);
  box-shadow: 0 30px 90px rgba(0,0,0,.38);
}
.jt-qr-phone-icon {
  width: 76px;
  height: 76px;
  display: inline-grid;
  place-items: center;
  border-radius: 26px;
  margin-bottom: 18px;
  color: #1e1608;
  background: linear-gradient(135deg, #f5d37a, #b9872e);
  box-shadow: 0 18px 45px rgba(214,174,91,.3);
  font-size: 34px;
}
@media (max-width: 720px) {
  .jt-header-actions .jt-lang-switcher > span,
  .jt-mobile-panel__meta .jt-lang-switcher > span { display: none !important; }
  .jt-header-actions .jt-lang-switcher > img,
  .jt-mobile-panel__meta .jt-lang-switcher > img { width: 24px; height: 24px; margin: 0 !important; }
  .jt-header-actions .jt-lang-switcher { width: 40px; min-width: 40px; max-width: 40px; overflow: hidden; }
}

/* Biometric V2 / RSA / human check */
.jt-bio-v2 .jt-identity-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:18px 0}.jt-identity-card{position:relative;border:1px solid rgba(248,215,123,.24);border-radius:20px;background:linear-gradient(135deg,rgba(248,215,123,.10),rgba(255,255,255,.03));padding:16px;cursor:pointer;box-shadow:0 16px 50px rgba(0,0,0,.18)}.jt-identity-card input{position:absolute;opacity:0}.jt-identity-card:has(input:checked),.jt-identity-card.is-active{border-color:#f8d77b;box-shadow:0 0 0 1px rgba(248,215,123,.35),0 20px 70px rgba(248,215,123,.12)}.jt-identity-title{display:block;font-weight:800;color:#f8d77b;margin-bottom:6px}.jt-face-stage{position:relative;overflow:hidden;min-height:320px;border:1px solid rgba(248,215,123,.22);border-radius:26px;background:radial-gradient(circle at center,rgba(248,215,123,.10),rgba(5,4,7,.96));display:flex;align-items:center;justify-content:center}.jt-face-stage video{width:100%;height:100%;min-height:320px;object-fit:cover;opacity:.52;filter:saturate(.88) contrast(1.08)}.jt-face-stage.eye-mode video{filter:brightness(.85) contrast(1.35)}.jt-face-dim{position:absolute;inset:0;background:radial-gradient(ellipse at center,transparent 20%,rgba(0,0,0,.45) 60%,rgba(0,0,0,.78));pointer-events:none}.jt-face-white-light{position:fixed;inset:0;background:#fff;z-index:9990;opacity:.82;pointer-events:none}.jt-face-scan-orb{position:absolute;width:170px;height:220px;border:2px solid rgba(248,215,123,.82);border-radius:48% 48% 45% 45%;display:grid;place-items:center;color:#f8d77b;font-size:40px;box-shadow:0 0 45px rgba(248,215,123,.28),inset 0 0 24px rgba(248,215,123,.16)}.jt-face-stage.eye-mode .jt-face-scan-orb{width:260px;height:110px;border-radius:50%;}.jt-face-scan-orb span{position:absolute;inset:-14px;border:1px solid rgba(248,215,123,.24);border-radius:inherit;animation:jtBioPulse 2.4s infinite}.jt-face-scan-orb span:nth-child(2){animation-delay:.45s}.jt-face-scan-orb span:nth-child(3){animation-delay:.9s}.jt-face-scan-line{position:absolute;left:12%;right:12%;height:2px;background:linear-gradient(90deg,transparent,#f8d77b,transparent);box-shadow:0 0 22px #f8d77b;animation:jtBioLine 2.2s linear infinite}.scanning-face .jt-face-scan-line,.scanning-eye .jt-face-scan-line{animation-duration:1.05s}@keyframes jtBioPulse{from{transform:scale(.92);opacity:.7}to{transform:scale(1.25);opacity:0}}@keyframes jtBioLine{0%{top:10%}50%{top:88%}100%{top:10%}}.jt-biometric-status{border:1px solid rgba(248,215,123,.22);border-radius:18px;padding:14px 16px;margin:16px 0;background:rgba(248,215,123,.08);color:#f5deb0}.jt-biometric-status.is-ok{border-color:rgba(53,214,132,.6);background:rgba(53,214,132,.12);color:#b7ffd7}.jt-biometric-status.is-bad{border-color:rgba(255,83,83,.6);background:rgba(255,83,83,.12);color:#ffd0d0}.jt-face-current-grid{display:flex;gap:12px;flex-wrap:wrap;margin:10px 0}.jt-face-current-grid figure{margin:0;border:1px solid rgba(248,215,123,.2);border-radius:16px;overflow:hidden;background:rgba(255,255,255,.04);max-width:160px}.jt-face-current-grid img{width:100%;display:block}.jt-face-current-grid figcaption{font-size:12px;color:#d8cda8;padding:8px}.jt-eye-scan-visual,.jt-voice-wave{height:120px;border:1px solid rgba(248,215,123,.2);border-radius:22px;background:radial-gradient(circle,rgba(248,215,123,.12),rgba(0,0,0,.25));display:flex;align-items:center;justify-content:center;overflow:hidden;margin-bottom:14px}.jt-eye-scan-visual span{width:180px;height:70px;border:3px solid #f8d77b;border-radius:50%;box-shadow:0 0 25px rgba(248,215,123,.35)}.jt-eye-scan-visual b{position:absolute;width:60px;height:60px;border:2px dashed rgba(248,215,123,.8);border-radius:50%;animation:jtBioSpin 3s linear infinite}.jt-eye-scan-visual i{position:absolute;width:260px;height:2px;background:#f8d77b;box-shadow:0 0 18px #f8d77b;animation:jtBioLine 2s linear infinite}.jt-voice-wave span{display:block;width:12px;border-radius:10px;background:#f8d77b;margin:0 6px;animation:jtVoice 1.1s ease-in-out infinite}.jt-voice-wave span:nth-child(1){height:34px}.jt-voice-wave span:nth-child(2){height:70px;animation-delay:.12s}.jt-voice-wave span:nth-child(3){height:48px;animation-delay:.24s}.jt-voice-wave span:nth-child(4){height:88px;animation-delay:.36s}.jt-voice-wave span:nth-child(5){height:40px;animation-delay:.48s}@keyframes jtVoice{50%{transform:scaleY(.45);opacity:.6}}@keyframes jtBioSpin{to{transform:rotate(360deg)}}.jt-human-check{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:12px;border:1px solid rgba(255,255,255,.18);border-radius:6px;background:#fafafa;color:#202124;max-width:330px;padding:12px;margin:12px 0}.jt-human-box{display:flex;align-items:center;gap:12px;border:0;background:transparent;color:#202124;font-size:16px;cursor:pointer}.jt-human-square{width:28px;height:28px;border:2px solid #7a7a7a;border-radius:3px;display:grid;place-items:center;background:#fff}.jt-human-square i,.jt-human-square b{display:none}.jt-human-brand{display:flex;align-items:center;gap:7px;justify-self:end;font-size:11px;color:#5f6368}.jt-human-brand img{width:28px;height:28px;object-fit:contain}.jt-human-note{grid-column:1/-1;font-size:12px;color:#5f6368}.jt-human-check.passed .jt-human-square{border-color:#2e7d32;background:#2e7d32;color:#fff}.jt-human-check.passed .jt-human-square i{display:block}.jt-human-check.failed .jt-human-square{border-color:#c62828;background:#fff;color:#c62828}.jt-human-check.failed .jt-human-square b{display:block;font-size:24px;line-height:1}.jt-human-check.loading{opacity:.72}.jt-bio-tutorial .feature-card img{width:100%;border-radius:18px;margin-bottom:12px}.hyper-admin-page .inline-form{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.hyper-admin-page .inline-form input{max-width:180px}
@media (max-width:720px){.jt-face-stage{min-height:240px}.jt-face-stage video{min-height:240px}.jt-face-scan-orb{width:130px;height:170px}.jt-human-check{max-width:100%;grid-template-columns:1fr}.jt-human-brand{justify-self:start}.jt-bio-v2 .jt-identity-picker{grid-template-columns:1fr}}

/* 2026-05 QR/biometric/i18n mobile hotfix: loaded after app.css, so repeat final overrides here. */
.jt-lang-switcher{width:46px!important;height:46px!important;min-width:46px!important;max-width:46px!important;justify-content:center!important;padding:0!important;border-radius:50%!important;overflow:hidden!important;flex:0 0 46px!important}
.jt-lang-switcher>img,.jt-lang-switcher img{width:28px!important;height:28px!important;border-radius:50%!important;object-fit:cover!important;margin:0!important}
.jt-lang-switcher>span,.jt-lang-switcher .jt-lang-current span:not(.jt-flag),.jt-lang-switcher .jt-lang-option span:not(.jt-flag){position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
@media(max-width:760px){.jt-lang-switcher{width:40px!important;height:40px!important;min-width:40px!important;max-width:40px!important}.jt-lang-switcher>img,.jt-lang-switcher img{width:25px!important;height:25px!important}.jt-header-actions,.jt-topline-meta{gap:6px!important}}
.jt-device-name-card{grid-template-columns:64px minmax(0,1fr)!important;align-items:center!important;width:min(720px,94vw)!important}.jt-device-name-card>div:nth-child(2){min-width:0!important}.jt-device-name-form{grid-column:2!important;display:grid!important;grid-template-columns:minmax(260px,1fr) auto!important;gap:12px!important;align-items:center!important}.jt-device-name-form input{width:100%!important;min-width:0!important;height:52px!important;font-size:16px!important}.jt-device-name-form .btn{height:52px!important;white-space:nowrap!important;padding-inline:18px!important}
@media(max-width:640px){.jt-device-name-card{grid-template-columns:1fr!important;text-align:center!important;padding:20px!important}.jt-device-icon{margin:0 auto!important}.jt-device-name-form{grid-column:auto!important;grid-template-columns:1fr!important}.jt-device-name-form .btn{width:100%!important;justify-content:center!important}}
.presence-badge span,.online-dot,.status-dot,.jt-online-dot,.presence-dot,.messenger-presence-dot,.jt-presence-dot,[class*="online-dot"],[class*="status-dot"]{width:10px!important;height:10px!important;min-width:10px!important;min-height:10px!important;max-width:10px!important;max-height:10px!important;border-radius:50%!important;display:inline-block!important;aspect-ratio:1/1!important;line-height:1!important;padding:0!important;vertical-align:middle!important}
.jt-eye-camera-stage{position:relative!important;min-height:220px!important;border:1px solid rgba(248,215,123,.22)!important;border-radius:24px!important;overflow:hidden!important;background:radial-gradient(circle at center,rgba(248,215,123,.10),rgba(5,4,7,.92))!important;margin-bottom:14px!important;display:grid!important;place-items:center!important}.jt-eye-camera-stage video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;opacity:.44!important;filter:brightness(.8) contrast(1.35) saturate(.8)!important}.jt-eye-scan-visual{position:relative!important;width:min(360px,88%)!important;height:150px!important;margin:0!important;z-index:2!important;background:transparent!important;border:0!important;overflow:hidden!important;display:grid!important;place-items:center!important}.jt-eye-scan-visual i{position:absolute!important;left:8%!important;right:8%!important;top:24px!important;width:auto!important;height:2px!important;background:#f8d77b!important;box-shadow:0 0 18px #f8d77b!important;animation:jtEyeLineLocal 1.55s ease-in-out infinite!important}
@keyframes jtEyeLineLocal{0%,100%{transform:translateY(0);opacity:.35}50%{transform:translateY(96px);opacity:1}}


/* Biometric V3 guidance */
.jt-bio-guide{margin:12px 0 14px;padding:14px 16px;border:1px solid rgba(255,255,255,.14);border-radius:18px;background:rgba(14,22,38,.78);box-shadow:0 12px 34px rgba(0,0,0,.16);display:grid;gap:7px}
.jt-bio-guide b{font-size:.95rem;letter-spacing:.02em}
.jt-bio-guide span{color:var(--muted,#aeb7c7);line-height:1.45}
.jt-bio-progress{height:7px;border-radius:999px;background:rgba(255,255,255,.09);overflow:hidden}
.jt-bio-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,rgba(255,255,255,.42),rgba(255,255,255,.86));border-radius:inherit;transition:width .25s ease}
.biometric-sticky-actions{position:sticky;bottom:14px;z-index:5;padding:10px;border-radius:18px;background:rgba(8,12,20,.78);backdrop-filter:blur(12px)}
.biometric-save-main{font-size:1.02rem;min-height:48px}
.jt-biometric-status.is-bad+.jt-biometric-camera-card .jt-bio-guide{border-color:rgba(255,92,92,.35)}
