/* Tak Network kinetic business theme */
:root {
  --tk-ink: #07111f;
  --tk-navy: #0b1b33;
  --tk-navy-2: #102846;
  --tk-slate: #34445d;
  --tk-muted: #64748b;
  --tk-line: #d8e8f7;
  --tk-line-strong: #9bc8f0;
  --tk-bg: #f4f9ff;
  --tk-panel: rgba(255, 255, 255, .92);
  --tk-accent: #2563eb;
  --tk-accent-2: #06b6d4;
  --tk-cyan: #06b6d4;
  --tk-indigo: #4f46e5;
  --tk-gold: #f59e0b;
  --tk-mint: #10b981;
  --tk-success: #059669;
  --tk-danger: #dc2626;
  --tk-warning: #b45309;
  --tk-shadow: 0 22px 60px rgba(21, 63, 105, .16);
  --tk-shadow-soft: 0 12px 32px rgba(21, 63, 105, .11);
  --tk-glow: 0 0 0 1px rgba(6, 182, 212, .18), 0 18px 48px rgba(37, 99, 235, .15);
  --tk-radius: 8px;
  --tk-ease: cubic-bezier(.2, .8, .2, 1);
}

html {
  min-height: 100%;
}

body.tk-public-shell,
body.tk-admin-shell,
body.tk-login-page {
  position: relative;
  min-height: 100%;
  overflow-x: hidden;
  color: var(--tk-ink);
  font-family: "Montserrat", "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
  background-color: var(--tk-bg);
  background-image: linear-gradient(180deg, #f8fbff 0%, #eef8ff 58%, #f7fbff 100%);
}

body.tk-public-shell::before,
body.tk-admin-shell::before,
body.tk-login-page::before,
body.tk-public-shell::after,
body.tk-admin-shell::after,
body.tk-login-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

body.tk-public-shell::before,
body.tk-admin-shell::before,
body.tk-login-page::before {
  opacity: .9;
  background-image:
    linear-gradient(90deg, rgba(37, 99, 235, .07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(6, 182, 212, .06) 1px, transparent 1px),
    linear-gradient(112deg, transparent 0 12%, rgba(6, 182, 212, .14) 12% 12.6%, transparent 13% 36%, rgba(245, 158, 11, .10) 36% 36.45%, transparent 37%),
    linear-gradient(155deg, rgba(79, 70, 229, .08), transparent 42%, rgba(16, 185, 129, .08));
  background-size: 44px 44px, 44px 44px, 100% 100%, 100% 100%;
  animation: tk-bg-pan 24s linear infinite;
}

body.tk-public-shell::after,
body.tk-admin-shell::after,
body.tk-login-page::after {
  opacity: .34;
  background-image:
    repeating-linear-gradient(0deg, rgba(7, 17, 31, .035) 0, rgba(7, 17, 31, .035) 1px, transparent 1px, transparent 8px),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, .58), transparent);
  mix-blend-mode: multiply;
}

body.tk-modal-lock {
  overflow: hidden;
}

body.tk-public-shell *,
body.tk-admin-shell *,
body.tk-login-page * {
  letter-spacing: 0;
}

body.tk-public-shell a,
body.tk-admin-shell a,
body.tk-login-page a {
  color: var(--tk-accent);
}

body.tk-public-shell a:hover,
body.tk-admin-shell a:hover,
body.tk-login-page a:hover {
  color: var(--tk-accent-2);
}

body.tk-public-shell :focus-visible,
body.tk-admin-shell :focus-visible,
body.tk-login-page :focus-visible {
  outline: 3px solid rgba(3, 105, 161, .28);
  outline-offset: 2px;
}

.tk-public-shell .lyear-layout-web,
.tk-admin-shell .lyear-layout-web {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.tk-public-shell .lyear-layout-sidebar,
.tk-admin-shell .lyear-layout-sidebar {
  width: 240px;
  box-shadow: 12px 0 36px rgba(15, 23, 42, .16);
}

.tk-public-shell .sidebar-header,
.tk-admin-shell .sidebar-header,
.tk-public-shell .lyear-layout-sidebar-scroll,
.tk-admin-shell .lyear-layout-sidebar-scroll {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, #111827 0%, #0f172a 48%, #08111f 100%);
}

.tk-public-shell .sidebar-header,
.tk-admin-shell .sidebar-header {
  min-height: 96px;
  border-bottom: 1px solid rgba(226, 232, 240, .12);
  box-shadow: none;
}

.tk-public-shell .sidebar-header a,
.tk-admin-shell .sidebar-header a,
.tk-brand {
  display: flex !important;
  align-items: center;
  gap: 12px;
  min-height: 96px;
  padding: 18px 18px;
  text-align: left !important;
}

.tk-public-shell .sidebar-header a img,
.tk-admin-shell .sidebar-header a img,
.tk-brand img {
  width: 54px !important;
  height: 54px !important;
  object-fit: contain;
  margin: 0 !important;
  padding: 7px;
  border: 1px solid rgba(226, 232, 240, .14);
  border-radius: var(--tk-radius);
  background: rgba(255, 255, 255, .08);
}

.tk-brand__text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.2;
}

.tk-brand__name {
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tk-brand__sub {
  margin-top: 5px;
  color: rgba(226, 232, 240, .62);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.tk-public-shell .nav-drawer,
.tk-admin-shell .nav-drawer {
  padding: 14px 10px;
}

.tk-public-shell .nav-drawer li a,
.tk-admin-shell .nav-drawer li a {
  margin: 4px 0;
  padding: 12px 16px 12px 48px;
  color: rgba(226, 232, 240, .74);
  border-right: 0;
  border-radius: var(--tk-radius);
  font-size: 14px;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.tk-public-shell .nav-drawer > li > a > i,
.tk-admin-shell .nav-drawer > li > a > i {
  top: 11px;
  left: 17px;
  color: rgba(226, 232, 240, .64);
  font-size: 18px;
}

.tk-public-shell .nav-drawer > li > a:hover,
.tk-admin-shell .nav-drawer > li > a:hover,
.tk-public-shell .nav-drawer > .active > a,
.tk-admin-shell .nav-drawer > .active > a,
.tk-public-shell .nav-drawer > li.active > a,
.tk-admin-shell .nav-drawer > li.active > a {
  color: #fff;
  background: rgba(255, 255, 255, .09) !important;
  transform: translateX(2px);
}

.tk-public-shell .nav-drawer > li > a:hover i,
.tk-admin-shell .nav-drawer > li > a:hover i,
.tk-public-shell .nav-drawer > .active > a i,
.tk-admin-shell .nav-drawer > .active > a i {
  color: #fff;
}

.tk-public-shell .sidebar-footer,
.tk-admin-shell .sidebar-footer {
  color: rgba(226, 232, 240, .56);
  border-top: 1px solid rgba(226, 232, 240, .10);
}

.tk-public-shell .sidebar-footer a,
.tk-admin-shell .sidebar-footer a {
  color: #fff;
}

.tk-public-shell .lyear-layout-header,
.tk-admin-shell .lyear-layout-header {
  min-height: 68px;
  border-bottom: 1px solid rgba(226, 232, 240, .86);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 32px rgba(15, 23, 42, .07);
  backdrop-filter: blur(18px);
}

.tk-public-shell .topbar,
.tk-admin-shell .topbar {
  min-height: 68px;
  padding: 0 24px;
}

.tk-public-shell .lyear-aside-toggler,
.tk-admin-shell .lyear-aside-toggler {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  padding: 0;
  border: 1px solid var(--tk-line);
  border-radius: var(--tk-radius);
  background: #fff;
}

.tk-public-shell .lyear-aside-toggler .lyear-toggler-bar,
.tk-admin-shell .lyear-aside-toggler .lyear-toggler-bar {
  background-color: var(--tk-navy);
}

.tk-public-shell .navbar-page-title,
.tk-admin-shell .navbar-page-title {
  padding: 0;
  color: var(--tk-navy);
  font-size: 17px;
  font-weight: 800;
}

.tk-topbar-note {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--tk-line);
  border-radius: var(--tk-radius);
  color: var(--tk-muted);
  background: #fff;
  font-size: 12px;
  font-weight: 700;
}

.tk-public-shell .lyear-layout-container > .main-content,
.tk-admin-shell .lyear-layout-container > .main-content {
  min-height: 100vh;
  padding-top: 68px;
  padding-left: 240px;
  background: transparent;
  transition: padding .3s ease;
}

.tk-public-shell.lyear-layout-sidebar-close .lyear-layout-container > .main-content,
.tk-admin-shell.lyear-layout-sidebar-close .lyear-layout-container > .main-content {
  padding-left: 0;
}

.tk-public-shell .main-content-inner,
.tk-admin-shell .main-content-inner,
.tk-public-shell .content-wrapper,
.tk-admin-shell .content-wrapper {
  padding: 24px;
}

.tk-public-shell .main-content-inner > .container,
.tk-admin-shell .main-content-inner > .container {
  width: 100%;
  max-width: 1180px;
}

.tk-public-shell .main-content-inner br,
.tk-admin-shell .main-content-inner br {
  display: none;
}

.tk-admin-shell .lyear-layout-content {
  min-height: 100vh;
  padding-top: 92px;
  background: transparent;
}

.tk-admin-shell .lyear-layout-content .container-fluid {
  padding: 24px;
}

.tk-public-shell .card,
.tk-admin-shell .card,
.tk-login-page .login-center {
  border: 1px solid rgba(226, 232, 240, .88);
  border-radius: var(--tk-radius);
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--tk-shadow-soft);
  overflow: hidden;
}

.tk-public-shell .card:hover,
.tk-admin-shell .card:hover {
  box-shadow: var(--tk-shadow);
}

.tk-public-shell .card .card-body,
.tk-admin-shell .card .card-body {
  padding: 24px;
}

.tk-public-shell .card .card_title,
.tk-admin-shell .card .card_title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--tk-navy);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: none;
}

.tk-public-shell .card .card_title::before,
.tk-admin-shell .card .card_title::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--tk-gold), var(--tk-accent));
}

.tk-public-shell .form-group,
.tk-admin-shell .form-group {
  margin-bottom: 18px;
}

.tk-public-shell .col-form-label,
.tk-admin-shell .col-form-label,
.tk-public-shell label,
.tk-admin-shell label,
.tk-login-page label {
  color: var(--tk-slate);
  font-size: 13px;
  font-weight: 800;
}

.tk-public-shell .form-control,
.tk-admin-shell .form-control,
.tk-login-page .form-control,
.tk-public-shell .form-controlssa,
.tk-public-shell .form-controlss {
  min-height: 44px;
  border: 1px solid var(--tk-line);
  border-radius: var(--tk-radius);
  color: var(--tk-ink);
  background-color: #fff;
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.tk-public-shell .form-control:focus,
.tk-admin-shell .form-control:focus,
.tk-login-page .form-control:focus,
.tk-public-shell .form-controlssa:focus {
  border-color: var(--tk-accent);
  box-shadow: 0 0 0 4px rgba(3, 105, 161, .12);
}

.tk-public-shell .form-control::placeholder,
.tk-admin-shell .form-control::placeholder,
.tk-login-page .form-control::placeholder {
  color: #94a3b8;
}

.tk-public-shell .btn,
.tk-admin-shell .btn,
.tk-login-page .btn,
.tk-modal .btn {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--tk-radius);
  border-width: 1px;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}

.tk-public-shell .btn:hover,
.tk-admin-shell .btn:hover,
.tk-login-page .btn:hover,
.tk-modal .btn:hover {
  transform: translateY(-1px);
}

.tk-public-shell .btn-primary,
.tk-admin-shell .btn-primary,
.tk-login-page .btn-primary {
  border-color: var(--tk-accent);
  background: linear-gradient(135deg, var(--tk-accent), var(--tk-navy));
  color: #fff;
  box-shadow: 0 12px 24px rgba(3, 105, 161, .18);
}

.tk-public-shell .btn-primary:hover,
.tk-public-shell .btn-primary:focus,
.tk-admin-shell .btn-primary:hover,
.tk-admin-shell .btn-primary:focus,
.tk-login-page .btn-primary:hover,
.tk-login-page .btn-primary:focus {
  border-color: var(--tk-navy);
  background: linear-gradient(135deg, #075985, #0f172a);
  color: #fff;
}

.tk-public-shell .btn-success,
.tk-admin-shell .btn-success {
  border-color: var(--tk-success);
  background: var(--tk-success);
}

.tk-public-shell .btn-danger,
.tk-admin-shell .btn-danger {
  border-color: var(--tk-danger);
  background: var(--tk-danger);
}

.tk-public-shell .table,
.tk-admin-shell .table {
  margin-bottom: 0;
  color: var(--tk-slate);
  background: #fff;
}

.tk-public-shell .table thead th,
.tk-admin-shell .table thead th,
.tk-public-shell .table tbody th,
.tk-admin-shell .table tbody th {
  color: var(--tk-navy);
  background: #f8fafc;
  border-color: var(--tk-line) !important;
  font-size: 12px;
  font-weight: 900;
}

.tk-public-shell .table td,
.tk-admin-shell .table td {
  border-color: var(--tk-line) !important;
  vertical-align: middle;
}

.tk-public-shell .table-hover > tbody > tr:hover,
.tk-admin-shell .table-hover > tbody > tr:hover {
  background: #f1f5f9;
}

.tk-public-shell .table-responsive,
.tk-admin-shell .table-responsive {
  border: 1px solid var(--tk-line);
  border-radius: var(--tk-radius);
  background: #fff;
}

.tk-admin-shell .bg-primary,
.tk-admin-shell .bg-tong,
.tk-admin-shell .bg-success,
.tk-admin-shell .bg-tongji {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, var(--tk-navy), var(--tk-accent)) !important;
  border: 1px solid rgba(255, 255, 255, .22);
}

.tk-admin-shell .bg-success {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #064e3b, var(--tk-success)) !important;
}

.tk-admin-shell .img-avatar.bg-translucent {
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .22);
}

.tk-admin-shell .dropdown-menu {
  border: 1px solid var(--tk-line);
  border-radius: var(--tk-radius);
  box-shadow: var(--tk-shadow-soft);
}

.tk-admin-shell .topbar-right > li > a {
  color: var(--tk-slate);
}

.tk-admin-shell .profile_name {
  color: var(--tk-navy);
  font-weight: 800;
}

.tk-admin-shell .dataTables_wrapper .dataTables_filter input,
.tk-admin-shell .dataTables_wrapper .dataTables_length select {
  min-height: 36px;
  border: 1px solid var(--tk-line);
  border-radius: 6px;
}

.tk-admin-shell .dataTables_wrapper .dataTables_paginate .paginate_button {
  border: 1px solid var(--tk-line) !important;
  border-radius: 6px !important;
  color: var(--tk-slate) !important;
  background: #fff !important;
}

.tk-admin-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.tk-admin-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  border-color: var(--tk-accent) !important;
  color: #fff !important;
  background: var(--tk-accent) !important;
}

.tk-status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.tk-status-chip--success {
  color: #065f46;
  background: #d1fae5;
}

.tk-status-chip--danger {
  color: #991b1b;
  background: #fee2e2;
}

.tk-status-chip--muted {
  color: var(--tk-slate);
  background: #e2e8f0;
}

.tk-home {
  display: grid;
  gap: 22px;
}

.tk-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 24px;
  padding: 28px;
  border: 1px solid rgba(226, 232, 240, .86);
  border-radius: var(--tk-radius);
  background:
    linear-gradient(135deg, rgba(15, 23, 42, .96), rgba(15, 23, 42, .88)),
    linear-gradient(90deg, rgba(183, 139, 47, .24), rgba(3, 105, 161, .18));
  box-shadow: var(--tk-shadow);
  overflow: hidden;
}

.tk-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}

.tk-hero__content,
.tk-hero__panel {
  position: relative;
  z-index: 1;
}

.tk-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(183, 139, 47, .38);
  border-radius: var(--tk-radius);
  color: #fde68a;
  background: rgba(183, 139, 47, .12);
  font-size: 12px;
  font-weight: 900;
}

.tk-hero h1 {
  max-width: 760px;
  margin: 18px 0 12px;
  color: #fff;
  font-size: 52px;
  font-weight: 900;
  line-height: 1.05;
}

.tk-hero__lead {
  max-width: 640px;
  color: rgba(226, 232, 240, .82);
  font-size: 16px;
  line-height: 1.8;
}

.tk-hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin-top: 24px;
}

.tk-hero__metric {
  padding: 14px;
  border: 1px solid rgba(226, 232, 240, .14);
  border-radius: var(--tk-radius);
  background: rgba(255, 255, 255, .06);
}

.tk-hero__metric strong {
  display: block;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.tk-hero__metric span {
  color: rgba(226, 232, 240, .66);
  font-size: 12px;
  font-weight: 700;
}

.tk-hero__panel {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(226, 232, 240, .18);
  border-radius: var(--tk-radius);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(18px);
}

.tk-hero__panel-title {
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.tk-hero__panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(226, 232, 240, .12);
}

.tk-hero__panel-row:last-child {
  border-bottom: 0;
}

.tk-hero__panel-row span {
  color: rgba(226, 232, 240, .64);
  font-size: 12px;
  font-weight: 800;
}

.tk-hero__panel-row strong {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.tk-contact-card {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: 22px;
  align-items: stretch;
}

.tk-contact-card__brief {
  padding: 24px;
  border: 1px solid var(--tk-line);
  border-radius: var(--tk-radius);
  background: #fff;
  box-shadow: var(--tk-shadow-soft);
}

.tk-contact-card__brief h2 {
  margin: 0 0 10px;
  color: var(--tk-navy);
  font-size: 24px;
  font-weight: 900;
}

.tk-contact-card__brief p {
  color: var(--tk-muted);
  font-size: 14px;
  line-height: 1.8;
}

.tk-contact-card__list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.tk-contact-card__list span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--tk-slate);
  font-size: 13px;
  font-weight: 800;
}

.tk-contact-card__list i {
  color: var(--tk-accent);
}

.tk-contact-form {
  min-height: 100%;
}

.tk-contact-form .card-body {
  display: grid;
  align-content: center;
}

.tk-contact-help {
  margin: -4px 0 18px;
  color: var(--tk-muted);
  font-size: 13px;
  line-height: 1.7;
}

.tk-contact-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.tk-contact-qq {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(183, 139, 47, .34);
  border-radius: var(--tk-radius);
  color: var(--tk-navy);
  background: rgba(183, 139, 47, .10);
  font-weight: 900;
}

.tk-contact-qq input {
  accent-color: var(--tk-accent);
}

.tk-login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.tk-login-page .lyear-wrapper {
  width: min(1080px, 100%);
}

.tk-login-page .lyear-login {
  min-height: calc(100vh - 48px);
}

.tk-login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, .82);
  border-radius: var(--tk-radius);
  background: #fff;
  box-shadow: var(--tk-shadow);
}

.tk-login-visual {
  display: flex;
  min-height: 560px;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, .96), rgba(3, 105, 161, .80)),
    linear-gradient(90deg, rgba(183, 139, 47, .30), transparent);
}

.tk-login-visual h1 {
  max-width: 520px;
  margin: 0;
  color: #fff;
  font-size: 42px;
  font-weight: 900;
  line-height: 1.12;
}

.tk-login-visual p {
  max-width: 500px;
  margin: 16px 0 0;
  color: rgba(226, 232, 240, .82);
  font-size: 15px;
  line-height: 1.8;
}

.tk-login-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 900;
}

.tk-login-mark img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  padding: 7px;
  border: 1px solid rgba(226, 232, 240, .18);
  border-radius: var(--tk-radius);
  background: rgba(255, 255, 255, .10);
}

.tk-login-panel {
  display: grid;
  align-content: center;
  padding: 34px;
}

.tk-login-panel h2 {
  margin: 0 0 8px;
  color: var(--tk-navy);
  font-size: 26px;
  font-weight: 900;
}

.tk-login-panel p {
  margin-bottom: 24px;
  color: var(--tk-muted);
  font-size: 13px;
  line-height: 1.7;
}

.tk-login-panel .form-gp {
  margin-bottom: 18px;
}

.tk-login-panel .form-gp input {
  height: 46px;
  padding: 10px 13px;
  border: 1px solid var(--tk-line);
  border-radius: var(--tk-radius);
  font-size: 14px;
}

.tk-login-actions {
  display: grid;
  gap: 10px;
}

.tk-login-actions .btn-default {
  border: 1px solid var(--tk-line);
  color: var(--tk-slate);
  background: #fff;
}

.tk-login-actions .btn-default:hover {
  color: var(--tk-navy);
  border-color: var(--tk-line-strong);
  background: #f8fafc;
}

.tk-modal[hidden] {
  display: none !important;
}

.tk-modal {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.tk-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, .58);
  backdrop-filter: blur(10px);
}

.tk-modal__dialog {
  position: relative;
  width: min(520px, 100%);
  border: 1px solid rgba(226, 232, 240, .72);
  border-radius: var(--tk-radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 250, 252, .96)),
    #fff;
  box-shadow: 0 26px 80px rgba(2, 6, 23, .28);
  overflow: hidden;
  transform: translateY(10px) scale(.98);
  opacity: 0;
  transition: opacity .22s ease, transform .22s ease;
}

.tk-modal.is-open .tk-modal__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.tk-modal__header {
  position: relative;
  padding: 26px 26px 18px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, .98), rgba(3, 105, 161, .88)),
    var(--tk-navy);
}

.tk-modal__header::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--tk-gold), rgba(255, 255, 255, .08));
}

.tk-modal__badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(253, 230, 138, .28);
  border-radius: var(--tk-radius);
  color: #fde68a;
  background: rgba(183, 139, 47, .12);
  font-size: 12px;
  font-weight: 900;
}

.tk-modal__title {
  margin: 14px 44px 8px 0;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}

.tk-modal__subtitle {
  margin: 0;
  color: rgba(226, 232, 240, .80);
  font-size: 14px;
  line-height: 1.8;
}

.tk-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--tk-radius);
  color: #fff;
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
}

.tk-modal__body {
  padding: 24px 26px 26px;
}

.tk-modal__info {
  display: grid;
  gap: 12px;
}

.tk-modal__info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--tk-line);
  border-radius: var(--tk-radius);
  background: #fff;
}

.tk-modal__info-row span {
  color: var(--tk-muted);
  font-size: 12px;
  font-weight: 800;
}

.tk-modal__info-row strong {
  color: var(--tk-navy);
  font-size: 18px;
  font-weight: 900;
}

.tk-modal__context {
  margin: 14px 0 0;
  color: var(--tk-muted);
  font-size: 13px;
  line-height: 1.7;
}

.tk-modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.tk-modal__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--tk-radius);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.tk-modal__action:hover {
  transform: translateY(-1px);
}

.tk-modal__action--primary {
  border: 1px solid var(--tk-accent);
  color: #fff;
  background: linear-gradient(135deg, var(--tk-accent), var(--tk-navy));
}

.tk-modal__action--ghost {
  border: 1px solid var(--tk-line);
  color: var(--tk-slate);
  background: #fff;
}

.tk-modal__action--ghost:hover {
  color: var(--tk-navy);
  border-color: var(--tk-line-strong);
  background: #f8fafc;
}

.layui-layer,
.layui-layer-dialog {
  border-radius: var(--tk-radius) !important;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(2, 6, 23, .24) !important;
}

.layui-layer-title {
  color: #fff !important;
  border: 0 !important;
  background: linear-gradient(135deg, var(--tk-navy), var(--tk-accent)) !important;
  font-weight: 900 !important;
}

.layui-layer-btn .layui-layer-btn0 {
  border-color: var(--tk-accent) !important;
  background: var(--tk-accent) !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1024px) {
  .tk-public-shell .lyear-layout-container > .main-content,
  .tk-admin-shell .lyear-layout-container > .main-content,
  .tk-admin-shell .lyear-layout-content {
    padding-left: 0;
  }

  .tk-public-shell .lyear-layout-header,
  .tk-admin-shell .lyear-layout-header {
    padding-left: 0;
  }

  .tk-hero,
  .tk-contact-card,
  .tk-login-shell {
    grid-template-columns: 1fr;
  }

  .tk-login-visual {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .tk-public-shell .main-content-inner,
  .tk-admin-shell .main-content-inner,
  .tk-admin-shell .lyear-layout-content .container-fluid {
    padding: 14px;
  }

  .tk-public-shell .topbar,
  .tk-admin-shell .topbar {
    padding: 0 12px;
  }

  .tk-topbar-note {
    display: none;
  }

  .tk-hero {
    padding: 20px;
  }

  .tk-hero h1 {
    font-size: 32px;
  }

  .tk-hero__metrics {
    grid-template-columns: 1fr;
  }

  .tk-contact-card {
    grid-template-columns: 1fr;
  }

  .tk-modal__actions {
    grid-template-columns: 1fr;
  }

  .tk-login-page {
    padding: 12px;
  }

  .tk-login-panel,
  .tk-login-visual {
    padding: 24px;
  }

  .tk-login-visual h1 {
    font-size: 30px;
  }
}

/* Kinetic tech layer */
.tk-login-page .lyear-wrapper {
  position: relative;
  z-index: 1;
}

.tk-public-shell .lyear-layout-sidebar,
.tk-admin-shell .lyear-layout-sidebar {
  position: fixed;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(6, 182, 212, .12), transparent 22%),
    linear-gradient(180deg, #071323 0%, #0a1c32 52%, #050b14 100%);
  box-shadow: 18px 0 48px rgba(7, 17, 31, .22);
  isolation: isolate;
}

.tk-public-shell .lyear-layout-sidebar::before,
.tk-admin-shell .lyear-layout-sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .42;
  background-image:
    linear-gradient(90deg, rgba(148, 225, 255, .12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(148, 225, 255, .08) 1px, transparent 1px);
  background-size: 30px 30px;
}

.tk-public-shell .lyear-layout-sidebar::after,
.tk-admin-shell .lyear-layout-sidebar::after {
  content: "";
  position: absolute;
  top: -45%;
  right: 0;
  width: 1px;
  height: 90%;
  background: linear-gradient(180deg, transparent, rgba(6, 182, 212, .95), rgba(245, 158, 11, .82), transparent);
  box-shadow: 0 0 18px rgba(6, 182, 212, .9);
  animation: tk-sidebar-line 5.8s var(--tk-ease) infinite;
}

.tk-public-shell .sidebar-header,
.tk-admin-shell .sidebar-header,
.tk-public-shell .lyear-layout-sidebar-scroll,
.tk-admin-shell .lyear-layout-sidebar-scroll {
  background: transparent;
}

.tk-public-shell .sidebar-header,
.tk-admin-shell .sidebar-header {
  border-bottom-color: rgba(148, 225, 255, .14);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .04);
}

.tk-public-shell .sidebar-header a img,
.tk-admin-shell .sidebar-header a img,
.tk-brand img,
.tk-login-mark img {
  border-color: rgba(148, 225, 255, .24);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05)),
    rgba(6, 182, 212, .08);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, .05), 0 0 22px rgba(6, 182, 212, .16);
}

.tk-brand__sub {
  color: rgba(191, 232, 255, .68);
}

.tk-public-shell .nav-drawer li a,
.tk-admin-shell .nav-drawer li a {
  position: relative;
  color: rgba(215, 235, 249, .75);
  font-weight: 700;
  overflow: hidden;
  transition: color .22s var(--tk-ease), background-color .22s var(--tk-ease), transform .22s var(--tk-ease), box-shadow .22s var(--tk-ease);
}

.tk-public-shell .nav-drawer li a::after,
.tk-admin-shell .nav-drawer li a::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  opacity: 0;
  background: linear-gradient(180deg, var(--tk-cyan), var(--tk-gold));
  box-shadow: 0 0 16px rgba(6, 182, 212, .72);
  transition: opacity .22s var(--tk-ease);
}

.tk-public-shell .nav-drawer > li > a:hover,
.tk-admin-shell .nav-drawer > li > a:hover,
.tk-public-shell .nav-drawer > .active > a,
.tk-admin-shell .nav-drawer > .active > a,
.tk-public-shell .nav-drawer > li.active > a,
.tk-admin-shell .nav-drawer > li.active > a {
  background: linear-gradient(90deg, rgba(6, 182, 212, .18), rgba(255, 255, 255, .055)) !important;
  box-shadow: inset 0 0 0 1px rgba(148, 225, 255, .11);
  transform: translateX(3px);
}

.tk-public-shell .nav-drawer > li > a:hover::after,
.tk-admin-shell .nav-drawer > li > a:hover::after,
.tk-public-shell .nav-drawer > .active > a::after,
.tk-admin-shell .nav-drawer > .active > a::after,
.tk-public-shell .nav-drawer > li.active > a::after,
.tk-admin-shell .nav-drawer > li.active > a::after {
  opacity: 1;
}

.tk-public-shell .nav-drawer > li > a:hover i,
.tk-admin-shell .nav-drawer > li > a:hover i,
.tk-public-shell .nav-drawer > .active > a i,
.tk-admin-shell .nav-drawer > .active > a i {
  color: #8be7ff;
}

.tk-public-shell .lyear-layout-header,
.tk-admin-shell .lyear-layout-header {
  border-bottom-color: rgba(155, 200, 240, .64);
  background: rgba(248, 252, 255, .86);
  box-shadow: 0 10px 34px rgba(21, 63, 105, .09);
  -webkit-backdrop-filter: blur(18px);
}

.tk-public-shell .lyear-aside-toggler,
.tk-admin-shell .lyear-aside-toggler,
.tk-topbar-note {
  border-color: rgba(155, 200, 240, .78);
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 8px 20px rgba(21, 63, 105, .08);
}

.tk-topbar-note {
  color: var(--tk-navy);
}

.tk-topbar-note::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--tk-mint);
  box-shadow: 0 0 10px rgba(16, 185, 129, .72);
  animation: tk-status-pulse 1.8s ease-in-out infinite;
}

.tk-public-shell .card,
.tk-admin-shell .card,
.tk-login-page .login-center,
.tk-login-shell,
.tk-brand-preview {
  position: relative;
  border-color: rgba(155, 200, 240, .72);
  background: var(--tk-panel);
  box-shadow: var(--tk-shadow-soft);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.tk-public-shell .card > *,
.tk-admin-shell .card > *,
.tk-login-shell > *,
.tk-brand-preview > * {
  position: relative;
  z-index: 1;
}

.tk-public-shell .card::before,
.tk-admin-shell .card::before,
.tk-login-shell::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  z-index: 0;
  width: 120%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, .95), rgba(245, 158, 11, .9), transparent);
  transition: transform .58s var(--tk-ease);
}

.tk-public-shell .card:hover,
.tk-admin-shell .card:hover {
  border-color: rgba(6, 182, 212, .34);
  box-shadow: var(--tk-shadow), var(--tk-glow);
}

.tk-public-shell .card:hover::before,
.tk-admin-shell .card:hover::before,
.tk-login-shell:hover::before {
  transform: translateX(210%);
}

.tk-public-shell .card .card_title::before,
.tk-admin-shell .card .card_title::before {
  background: linear-gradient(180deg, var(--tk-cyan), var(--tk-gold));
  box-shadow: 0 0 16px rgba(6, 182, 212, .38);
}

.tk-public-shell .form-control,
.tk-admin-shell .form-control,
.tk-login-page .form-control,
.tk-public-shell .form-controlssa,
.tk-public-shell .form-controlss {
  border-color: rgba(155, 200, 240, .82);
  background-color: rgba(255, 255, 255, .86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .92);
}

.tk-public-shell .form-control:focus,
.tk-admin-shell .form-control:focus,
.tk-login-page .form-control:focus,
.tk-public-shell .form-controlssa:focus {
  border-color: var(--tk-cyan);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(6, 182, 212, .14), inset 0 1px 0 rgba(255, 255, 255, .92);
}

.tk-field-help {
  margin: -4px 0 18px;
  color: var(--tk-muted);
  font-size: 13px;
  line-height: 1.7;
}

.tk-public-shell .btn,
.tk-admin-shell .btn,
.tk-login-page .btn,
.tk-modal .btn,
.tk-modal__action {
  touch-action: manipulation;
  transition: transform .18s var(--tk-ease), box-shadow .18s var(--tk-ease), background-color .18s var(--tk-ease), border-color .18s var(--tk-ease);
}

.tk-public-shell .btn:active,
.tk-admin-shell .btn:active,
.tk-login-page .btn:active,
.tk-modal .btn:active,
.tk-modal__action:active {
  transform: translateY(0) scale(.99);
}

.tk-public-shell .btn[disabled],
.tk-admin-shell .btn[disabled],
.tk-login-page .btn[disabled] {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}

.tk-public-shell .btn-primary,
.tk-admin-shell .btn-primary,
.tk-login-page .btn-primary,
.tk-modal__action--primary {
  border-color: rgba(37, 99, 235, .8);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, var(--tk-accent), var(--tk-cyan));
  color: #fff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, .24), 0 0 22px rgba(6, 182, 212, .16);
}

.tk-public-shell .btn-primary:hover,
.tk-public-shell .btn-primary:focus,
.tk-admin-shell .btn-primary:hover,
.tk-admin-shell .btn-primary:focus,
.tk-login-page .btn-primary:hover,
.tk-login-page .btn-primary:focus,
.tk-modal__action--primary:hover {
  border-color: rgba(6, 182, 212, .95);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #1d4ed8, #0891b2);
  color: #fff;
  box-shadow: 0 16px 34px rgba(37, 99, 235, .28), 0 0 26px rgba(6, 182, 212, .22);
}

.tk-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}

.tk-form-actions .btn {
  min-width: 150px;
}

.tk-admin-shell .bg-primary,
.tk-admin-shell .bg-tong,
.tk-admin-shell .bg-success,
.tk-admin-shell .bg-tongji {
  position: relative;
  border: 1px solid rgba(148, 225, 255, .26);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #102846, #1d4ed8 54%, #06b6d4) !important;
  box-shadow: 0 18px 42px rgba(37, 99, 235, .22);
}

.tk-admin-shell .bg-success {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #064e3b, #059669 54%, #10b981) !important;
}

.tk-admin-shell .bg-tong {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #111827, #4f46e5 55%, #f59e0b) !important;
}

.tk-hero {
  border-color: rgba(148, 225, 255, .28);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0)),
    linear-gradient(130deg, #071323 0%, #0b2340 52%, #06111f 100%);
  box-shadow: 0 26px 70px rgba(7, 17, 31, .25), inset 0 0 0 1px rgba(255, 255, 255, .05);
  animation: tk-enter-up .46s var(--tk-ease) both;
}

.tk-hero::before {
  opacity: .68;
  background-image:
    linear-gradient(90deg, rgba(148, 225, 255, .13) 1px, transparent 1px),
    linear-gradient(0deg, rgba(148, 225, 255, .09) 1px, transparent 1px),
    linear-gradient(112deg, transparent 0 48%, rgba(6, 182, 212, .23) 48% 48.5%, transparent 49%),
    linear-gradient(40deg, transparent 0 62%, rgba(245, 158, 11, .18) 62% 62.4%, transparent 63%);
  background-size: 38px 38px, 38px 38px, 100% 100%, 100% 100%;
}

.tk-hero::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -35%;
  width: 32%;
  height: 140%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(125, 238, 255, .18), transparent);
  transform: rotate(18deg);
  animation: tk-hero-scan 7.5s var(--tk-ease) infinite;
}

.tk-hero__eyebrow {
  border-color: rgba(6, 182, 212, .38);
  color: #a7f3ff;
  background: rgba(6, 182, 212, .12);
}

.tk-hero__eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--tk-mint);
  box-shadow: 0 0 12px rgba(16, 185, 129, .9);
  animation: tk-status-pulse 1.6s ease-in-out infinite;
}

.tk-hero h1 {
  font-size: 52px;
}

.tk-hero__metric,
.tk-hero__panel {
  border-color: rgba(148, 225, 255, .2);
  box-shadow: inset 0 0 24px rgba(255, 255, 255, .035);
}

.tk-hero__metric {
  min-height: 82px;
}

.tk-hero__metric strong {
  overflow-wrap: anywhere;
}

.tk-contact-card__brief {
  position: relative;
  border-color: rgba(155, 200, 240, .72);
  background: rgba(255, 255, 255, .9);
  overflow: hidden;
}

.tk-contact-card__brief::before,
.tk-brand-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .52;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(37, 99, 235, .08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(6, 182, 212, .07) 1px, transparent 1px);
  background-size: 34px 34px;
}

.tk-contact-card__brief > * {
  position: relative;
  z-index: 1;
}

.tk-contact-card__list i {
  color: var(--tk-accent);
}

.tk-contact-qq {
  border-color: rgba(6, 182, 212, .26);
  background: rgba(6, 182, 212, .08);
}

.tk-settings-grid {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  gap: 22px;
  align-items: stretch;
}

.tk-brand-preview {
  min-height: 100%;
  padding: 26px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0)),
    linear-gradient(145deg, #071323 0%, #102846 52%, #07111f 100%);
}

.tk-brand-preview::before {
  opacity: .28;
  background-size: 32px 32px;
}

.tk-brand-preview::after,
.tk-contact-card__brief::after,
.tk-public-shell .card.tk-tilt-ready::after,
.tk-admin-shell .card.tk-tilt-ready::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--tk-x, 50%) var(--tk-y, 50%), rgba(6, 182, 212, .18), transparent 34%);
  transition: opacity .2s var(--tk-ease);
}

.tk-brand-preview.tk-hovering::after,
.tk-contact-card__brief.tk-hovering::after,
.tk-public-shell .card.tk-tilt-ready.tk-hovering::after,
.tk-admin-shell .card.tk-tilt-ready.tk-hovering::after {
  opacity: 1;
}

.tk-brand-preview__kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(148, 225, 255, .22);
  border-radius: var(--tk-radius);
  color: #a7f3ff;
  background: rgba(6, 182, 212, .10);
  font-size: 12px;
  font-weight: 900;
}

.tk-brand-preview__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  margin-top: 28px;
  border: 1px solid rgba(148, 225, 255, .26);
  border-radius: var(--tk-radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .04)),
    rgba(6, 182, 212, .09);
  box-shadow: inset 0 0 30px rgba(255, 255, 255, .06), 0 0 34px rgba(6, 182, 212, .18);
}

.tk-brand-preview__logo img {
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.tk-brand-preview h2 {
  margin: 22px 0 8px;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.tk-brand-preview p {
  margin: 0;
  color: rgba(215, 235, 249, .78);
  font-size: 14px;
  line-height: 1.8;
}

.tk-brand-chips {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.tk-brand-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(148, 225, 255, .16);
  border-radius: var(--tk-radius);
  background: rgba(255, 255, 255, .07);
}

.tk-brand-chip span {
  color: rgba(215, 235, 249, .66);
  font-size: 12px;
  font-weight: 800;
}

.tk-brand-chip strong {
  max-width: 58%;
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tk-upload-drop {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px dashed rgba(37, 99, 235, .38);
  border-radius: var(--tk-radius);
  background: rgba(235, 247, 255, .6);
}

.tk-upload-drop input[type="file"] {
  width: 100%;
}

.tk-upload-drop__title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--tk-navy);
  font-size: 14px;
  font-weight: 900;
}

.tk-upload-drop__meta {
  color: var(--tk-muted);
  font-size: 12px;
  line-height: 1.7;
}

.tk-login-shell {
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 30px 90px rgba(7, 17, 31, .22);
}

.tk-login-visual {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #071323 0%, #0b2340 54%, #06111f 100%);
}

.tk-modal__backdrop {
  background: rgba(2, 8, 23, .62);
  -webkit-backdrop-filter: blur(12px);
}

.tk-modal__dialog {
  width: min(540px, 100%);
  border-color: rgba(148, 225, 255, .38);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(240, 249, 255, .97)),
    #fff;
  box-shadow: 0 30px 90px rgba(2, 8, 23, .34), 0 0 40px rgba(6, 182, 212, .16);
  transition: opacity .24s var(--tk-ease), transform .24s var(--tk-ease);
}

.tk-modal__header {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, #071323 0%, #102846 56%, #0e7490 100%);
}

.tk-modal__header::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .42;
  background-image:
    linear-gradient(90deg, rgba(148, 225, 255, .14) 1px, transparent 1px),
    linear-gradient(0deg, rgba(148, 225, 255, .08) 1px, transparent 1px);
  background-size: 30px 30px;
}

.tk-modal__header::after {
  background: linear-gradient(90deg, var(--tk-cyan), var(--tk-gold), rgba(255, 255, 255, .08));
}

.tk-modal__badge,
.tk-modal__title,
.tk-modal__subtitle,
.tk-modal__close {
  position: relative;
  z-index: 1;
}

.tk-modal__badge {
  border-color: rgba(167, 243, 255, .28);
  color: #a7f3ff;
  background: rgba(6, 182, 212, .12);
}

.tk-modal__info-row {
  border-color: rgba(155, 200, 240, .78);
}

.tk-modal__info-row strong {
  text-align: right;
  overflow-wrap: anywhere;
}

.tk-modal__action--ghost {
  border-color: rgba(155, 200, 240, .78);
}

.layui-layer-title {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, var(--tk-navy), var(--tk-accent), var(--tk-cyan)) !important;
}

.layui-layer-btn .layui-layer-btn0 {
  border-color: var(--tk-accent) !important;
  background: linear-gradient(135deg, var(--tk-accent), var(--tk-cyan)) !important;
}

.tk-tilt-ready {
  transform: perspective(900px) rotateX(var(--tk-tilt-x, 0deg)) rotateY(var(--tk-tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform .22s var(--tk-ease), box-shadow .22s var(--tk-ease), border-color .22s var(--tk-ease);
  will-change: transform;
}

.tk-tilt-ready.tk-hovering {
  box-shadow: var(--tk-shadow), var(--tk-glow);
}

.tk-reveal {
  animation: tk-enter-up .42s var(--tk-ease) both;
  animation-delay: var(--tk-delay, 0ms);
}

.tk-tilt-ready.tk-reveal {
  animation-name: tk-fade-in;
}

@keyframes tk-bg-pan {
  0% {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }
  100% {
    background-position: 44px 44px, 44px 44px, 0 0, 0 0;
  }
}

@keyframes tk-sidebar-line {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  12%,
  78% {
    opacity: 1;
  }
  100% {
    transform: translateY(180%);
    opacity: 0;
  }
}

@keyframes tk-hero-scan {
  0% {
    transform: translateX(0) rotate(18deg);
    opacity: 0;
  }
  14%,
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(460%) rotate(18deg);
    opacity: 0;
  }
}

@keyframes tk-status-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: .9;
  }
  50% {
    transform: scale(1.28);
    opacity: 1;
  }
}

@keyframes tk-enter-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tk-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tk-tilt-ready {
    transform: none !important;
  }
}

@media (max-width: 1024px) {
  .tk-settings-grid {
    grid-template-columns: 1fr;
  }

  .tk-hero h1 {
    font-size: 40px;
  }
}

@media (max-width: 640px) {
  .tk-hero h1 {
    font-size: 32px;
  }

  .tk-settings-grid {
    grid-template-columns: 1fr;
  }

  .tk-brand-preview {
    padding: 24px;
  }

  .tk-brand-chip {
    align-items: flex-start;
    flex-direction: column;
  }

  .tk-brand-chip strong {
    max-width: 100%;
    text-align: left;
  }
}

/* Mobile drawer stacking fix: keep the menu above LightYear's tap-to-close mask. */
.tk-public-shell .lyear-layout-web,
.tk-admin-shell .lyear-layout-web {
  z-index: auto;
}

.tk-public-shell .lyear-layout-sidebar,
.tk-admin-shell .lyear-layout-sidebar {
  z-index: 1060;
}

.tk-public-shell .lyear-layout-header,
.tk-admin-shell .lyear-layout-header {
  z-index: 1050;
}

.tk-public-shell .lyear-mask-modal,
.tk-admin-shell .lyear-mask-modal {
  z-index: 1040;
}
