@supports not (color: color-mix(in srgb, red, white)) {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  html {
    -webkit-text-size-adjust: 100%;
  }

  body {
    margin: 0;
    color: #262626;
    background: #ffffff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
    font-weight: 300;
  }

  button,
  input {
    font: inherit;
  }

  img,
  svg {
    display: block;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .dark body,
  .dark .auth-shell {
    color: #ffffff;
    background: #1a2129;
  }

  .auth-shell {
    min-height: 100vh;
    background: #ffffff;
  }

  .auth-grid {
    min-height: 100vh;
    display: block;
  }

  .auth-form-side {
    min-height: 100vh;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
  }

  .auth-form-side > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .auth-form-side > header img {
    width: auto;
    height: 32px;
  }

  .auth-panel {
    width: 100%;
    max-width: 480px;
    margin: 40px auto 0;
  }

  .auth-panel > div {
    border: 1px solid #e6e6e6;
    background: #ffffff;
    padding: 24px;
  }

  .dark .auth-panel > div {
    border-color: #34404d;
    background: #1f2730;
  }

  .auth-visual-side {
    display: none;
  }

  .app-capsule,
  .auth-tabbar {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e6e6e6;
    background: #ffffff;
  }

  .dark .app-capsule,
  .dark .auth-tabbar {
    border-color: #34404d;
    background: #1f2730;
  }

  .app-capsule {
    padding: 4px;
    gap: 2px;
  }

  .app-capsule-segment,
  .app-capsule-icon,
  .auth-tabbar button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    border: 0;
    padding: 0 10px;
    color: #6b6b6b;
    background: transparent;
    font-size: 13px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
  }

  .app-capsule-segment.active,
  .app-capsule-icon:hover,
  .auth-tabbar button.active {
    color: #262626;
    background: #f7f7f7;
  }

  .dark .app-capsule-segment.active,
  .dark .app-capsule-icon:hover,
  .dark .auth-tabbar button.active {
    color: #ffffff;
    background: #202832;
  }

  .app-capsule-divider {
    width: 1px;
    height: 18px;
    margin: 0 2px;
    background: #e6e6e6;
  }

  .auth-tabbar {
    width: 100%;
    padding: 4px;
    margin-bottom: 24px;
  }

  .auth-tabbar button {
    flex: 1;
    min-height: 40px;
    font-size: 14px;
    font-weight: 700;
  }

  .btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
  }

  .btn-primary {
    color: #ffffff;
    background: #1c69d4;
  }

  .btn-secondary {
    color: #1a1a1a;
    border: 1px solid #e6e6e6;
    background: #ffffff;
  }

  .input {
    width: 100%;
    min-height: 48px;
    border: 1px solid #e6e6e6;
    padding: 14px 16px;
    color: #262626;
    background: #ffffff;
    font-size: 16px;
  }

  .input-with-icon-left {
    padding-left: 44px;
  }

  .relative {
    position: relative;
  }

  .absolute {
    position: absolute;
  }

  .inset-y-0 {
    top: 0;
    bottom: 0;
  }

  .left-0 {
    left: 0;
  }

  .right-0 {
    right: 0;
  }

  .flex {
    display: flex;
  }

  .grid {
    display: grid;
  }

  .block {
    display: block;
  }

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

  .items-start {
    align-items: flex-start;
  }

  .justify-between {
    justify-content: space-between;
  }

  .justify-center {
    justify-content: center;
  }

  .flex-1 {
    flex: 1 1 0%;
  }

  .shrink-0 {
    flex-shrink: 0;
  }

  .pointer-events-none {
    pointer-events: none;
  }

  .w-full {
    width: 100%;
  }

  .w-3,
  .h-3 {
    width: 12px;
    height: 12px;
  }

  .w-4,
  .h-4 {
    width: 16px;
    height: 16px;
  }

  .w-5,
  .h-5 {
    width: 20px;
    height: 20px;
  }

  .h-8 {
    height: 32px;
  }

  .w-auto {
    width: auto;
  }

  .gap-2 {
    gap: 8px;
  }

  .gap-3 {
    gap: 12px;
  }

  .space-y-5 > * + * {
    margin-top: 20px;
  }

  .mb-1\.5 {
    margin-bottom: 6px;
  }

  .mb-6 {
    margin-bottom: 24px;
  }

  .mt-0\.5 {
    margin-top: 2px;
  }

  .mt-1 {
    margin-top: 4px;
  }

  .mt-4 {
    margin-top: 16px;
  }

  .mt-8 {
    margin-top: 32px;
  }

  .ml-2 {
    margin-left: 8px;
  }

  .mr-2\.5 {
    margin-right: 10px;
  }

  .-ml-1 {
    margin-left: -4px;
  }

  .p-3\.5 {
    padding: 14px;
  }

  .p-4 {
    padding: 16px;
  }

  .p-6 {
    padding: 24px;
  }

  .px-3 {
    padding-left: 12px;
    padding-right: 12px;
  }

  .py-2\.5 {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .py-3 {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .pl-3\.5 {
    padding-left: 14px;
  }

  .pr-3\.5 {
    padding-right: 14px;
  }

  .pr-12 {
    padding-right: 48px;
  }

  .border {
    border: 1px solid #e6e6e6;
  }

  .border-border {
    border-color: #e6e6e6;
  }

  .border-red-200 {
    border-color: #fecaca;
  }

  .border-green-200 {
    border-color: #bbf7d0;
  }

  .border-primary-200,
  .border-primary-300 {
    border-color: #b6d5ff;
  }

  .border-slate-200,
  .border-slate-300 {
    border-color: #e2e8f0;
  }

  .bg-bg-surface {
    background: #ffffff;
  }

  .bg-red-50 {
    background: #fef2f2;
  }

  .bg-green-50 {
    background: #f0fdf4;
  }

  .bg-green-500 {
    background: #22c55e;
  }

  .bg-primary-50 {
    background: #eef5ff;
  }

  .bg-primary-500 {
    background: #1c69d4;
  }

  .bg-slate-50,
  .bg-slate-100 {
    background: #f8fafc;
  }

  .text-lg {
    font-size: 18px;
  }

  .text-base {
    font-size: 16px;
  }

  .text-sm {
    font-size: 14px;
  }

  .text-xs {
    font-size: 12px;
  }

  .font-medium {
    font-weight: 500;
  }

  .font-bold {
    font-weight: 700;
  }

  .text-text-primary {
    color: #262626;
  }

  .text-text-secondary {
    color: #1a1a1a;
  }

  .text-text-muted,
  .text-slate-500,
  .text-slate-400 {
    color: #6b6b6b;
  }

  .text-primary-600,
  .text-primary-700 {
    color: #1c69d4;
  }

  .text-red-500,
  .text-red-700 {
    color: #b91c1c;
  }

  .text-green-700 {
    color: #15803d;
  }

  .text-white {
    color: #ffffff;
  }

  .whitespace-nowrap {
    white-space: nowrap;
  }

  .cursor-not-allowed {
    cursor: not-allowed;
  }

  .opacity-70 {
    opacity: 0.7;
  }

  .opacity-25 {
    opacity: 0.25;
  }

  .opacity-75 {
    opacity: 0.75;
  }

  .hover\:underline:hover {
    text-decoration: underline;
  }

  .grid-cols-\[minmax\(104px\,0\.42fr\)_minmax\(0\,1fr\)\] {
    grid-template-columns: minmax(104px, 0.42fr) minmax(0, 1fr);
  }

  .landing-page {
    overflow-x: hidden;
  }

  .landing-showcase figure {
    opacity: 1;
    transform: none;
  }

  .landing-hero {
    min-height: auto;
  }

  @media (min-width: 900px) {
    .auth-grid {
      display: grid;
      grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
    }

    .auth-form-side {
      padding: 32px 72px;
    }

    .auth-panel {
      margin: auto 0;
    }

    .auth-visual-side {
      display: block;
      position: relative;
      min-height: 100vh;
      overflow: hidden;
      background: #1a2129;
    }

    .auth-visual-side img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .auth-testimonial {
      position: absolute;
      left: 48px;
      right: 48px;
      bottom: 48px;
      padding: 28px;
      color: #ffffff;
      background: rgba(26, 33, 41, 0.78);
      border-left: 4px solid #1c69d4;
    }
  }
}
