/* Desktop Cockpit rebuild (reference-style: left sidebar + right workspace) */
@media (min-width: 1200px) {
  html.desktop-cockpit body {
    overflow: hidden !important;
    background:
      radial-gradient(120% 90% at 6% -12%, rgba(98, 136, 105, 0.18) 0%, rgba(98, 136, 105, 0) 58%),
      radial-gradient(110% 95% at 94% 110%, rgba(199, 164, 95, 0.12) 0%, rgba(199, 164, 95, 0) 64%),
      linear-gradient(180deg, #e8eee8 0%, #dfe6df 100%) !important;
  }

  html.desktop-cockpit #appScreen.app-shell {
    display: grid !important;
    grid-template-columns: 296px minmax(0, 1fr) !important;
    grid-template-rows: minmax(0, 1fr) !important;
    gap: 18px !important;
    width: min(1560px, calc(100vw - 30px)) !important;
    height: calc(100vh - 30px) !important;
    min-height: calc(100vh - 30px) !important;
    margin: 15px auto !important;
    padding: 18px !important;
    border-radius: 24px !important;
    border: 1px solid #d4ded3 !important;
    box-shadow: 0 20px 50px rgba(23, 43, 29, 0.14) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0.26) 100%) !important;
    overflow: hidden !important;
    position: relative !important;
  }

  html.desktop-cockpit .app-header {
    grid-column: 1 !important;
    grid-row: 1 !important;
    position: relative !important;
    top: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 12px !important;
    border-radius: 20px !important;
    border: 1px solid #dbe4dc !important;
    background: linear-gradient(180deg, #f5f8f4 0%, #edf3ed 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65) !important;
    display: grid !important;
    grid-template-rows: auto auto auto minmax(130px, 1fr) auto !important;
    gap: 10px !important;
    overflow: hidden !important;
  }

  html.desktop-cockpit .app-header > * {
    min-width: 0 !important;
  }

  html.desktop-cockpit .header-top {
    border-radius: 14px !important;
    border: 1px solid rgba(46, 78, 59, 0.18) !important;
    background: linear-gradient(135deg, #294734 0%, #315940 100%) !important;
    box-shadow: 0 8px 16px rgba(21, 41, 28, 0.18) !important;
    padding: 10px 11px !important;
    min-height: 74px !important;
  }

  html.desktop-cockpit .header-user {
    min-width: 0 !important;
  }

  html.desktop-cockpit .avatar {
    width: 38px !important;
    height: 38px !important;
    font-size: 15px !important;
    border: 1px solid rgba(235, 247, 236, 0.32) !important;
  }

  html.desktop-cockpit .header-info {
    min-width: 0 !important;
  }

  html.desktop-cockpit .header-name {
    font-size: 15px !important;
    line-height: 1.2 !important;
    color: #f3faf4 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  html.desktop-cockpit .header-role {
    font-size: 12px !important;
    color: rgba(233, 244, 234, 0.78) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  html.desktop-cockpit .header-actions {
    gap: 6px !important;
  }

  html.desktop-cockpit .header-actions .icon-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(240, 250, 241, 0.2) !important;
    background: rgba(240, 250, 241, 0.1) !important;
    color: #edf7ee !important;
  }

  html.desktop-cockpit .balance-block {
    margin: 0 !important;
    padding: 11px 12px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(50, 78, 60, 0.2) !important;
    background:
      radial-gradient(95% 80% at 98% 0%, rgba(205, 171, 102, 0.24) 0%, rgba(205, 171, 102, 0) 66%),
      linear-gradient(135deg, #365f43 0%, #2a4d37 100%) !important;
    box-shadow: 0 8px 18px rgba(23, 41, 30, 0.2) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
  }

  html.desktop-cockpit .balance-label,
  html.desktop-cockpit .balance-amount,
  html.desktop-cockpit #heroAccountCopyBtn {
    color: #eef7ef !important;
  }

  html.desktop-cockpit .balance-label {
    font-size: 10px !important;
    letter-spacing: 0.1em !important;
    text-align: left !important;
    opacity: 0.8 !important;
  }

  html.desktop-cockpit .balance-label-row {
    justify-content: flex-start !important;
  }

  html.desktop-cockpit .balance-amount {
    font-size: clamp(1.35rem, 1.8vw, 1.86rem) !important;
    line-height: 1.06 !important;
    text-align: left !important;
    text-shadow: none !important;
  }

  html.desktop-cockpit #heroAccountCopyBtn {
    justify-content: flex-start !important;
    font-size: 12px !important;
    opacity: 0.92 !important;
  }

  html.desktop-cockpit #sidebar.bottom-nav {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 6px !important;
    border-radius: 14px !important;
    border: 1px solid #d7e1d7 !important;
    background: #ffffff !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    transform: none !important;
    opacity: 1 !important;
    z-index: auto !important;
  }

  html.desktop-cockpit #sidebar.bottom-nav::before,
  html.desktop-cockpit #sidebar.bottom-nav::after {
    content: none !important;
  }

  html.desktop-cockpit #sidebar .nav-item {
    width: 100% !important;
    min-height: 44px !important;
    border-radius: 10px !important;
    padding: 0 10px !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 9px !important;
    color: #4f5f54 !important;
    border: 1px solid transparent !important;
    background: transparent !important;
  }

  html.desktop-cockpit #sidebar .nav-item svg {
    width: 16px !important;
    height: 16px !important;
    opacity: 0.9 !important;
  }

  html.desktop-cockpit #sidebar .nav-item span {
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    white-space: nowrap !important;
    opacity: 1 !important;
  }

  html.desktop-cockpit #sidebar .nav-item:hover {
    background: #f2f6f1 !important;
    color: #2f4938 !important;
  }

  html.desktop-cockpit #sidebar .nav-item.active {
    border-color: #d1ddd2 !important;
    background: linear-gradient(180deg, #f7fbf7 0%, #edf4ee 100%) !important;
    color: #23382a !important;
    box-shadow: 0 4px 10px rgba(23, 41, 30, 0.08) !important;
  }

  html.desktop-cockpit .bank-cards-carousel {
    display: block !important;
    margin: 0 !important;
    min-height: 0 !important;
  }

  html.desktop-cockpit .bank-cards-track {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scroll-snap-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  html.desktop-cockpit .bank-card {
    width: 100% !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    min-height: 116px !important;
    max-height: none !important;
    height: auto !important;
    aspect-ratio: auto !important;
    border-radius: 14px !important;
    scroll-snap-align: none !important;
    box-shadow: 0 6px 14px rgba(25, 43, 31, 0.22) !important;
  }

  html.desktop-cockpit .bank-card-content {
    padding: 10px 12px !important;
  }

  html.desktop-cockpit .bank-card-number {
    font-size: 13px !important;
    letter-spacing: 0.12em !important;
  }

  html.desktop-cockpit .bank-card-name,
  html.desktop-cockpit .bank-card-date {
    font-size: 10px !important;
  }

  html.desktop-cockpit .bank-cards-dots {
    display: none !important;
  }

  html.desktop-cockpit .quick-actions {
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  html.desktop-cockpit .qa-btn {
    min-height: 74px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(43, 72, 54, 0.2) !important;
    background: linear-gradient(180deg, #f8fbf8 0%, #edf4ee 100%) !important;
    color: #244033 !important;
    box-shadow: 0 4px 8px rgba(21, 39, 28, 0.08) !important;
  }

  html.desktop-cockpit .qa-btn .qa-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 11px !important;
    border: 1px solid rgba(47, 77, 58, 0.18) !important;
    background: #ffffff !important;
    color: #2f5d43 !important;
  }

  html.desktop-cockpit .qa-label {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #2f4739 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }

  html.desktop-cockpit .app-content {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    overflow: auto !important;
    padding: 20px 24px 28px !important;
    border-radius: 20px !important;
    border: 1px solid #dbe4dc !important;
    background: linear-gradient(180deg, #fcfdfb 0%, #f4f8f4 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    scrollbar-gutter: stable both-edges !important;
  }

  html.desktop-cockpit .app-content > .screen {
    display: none !important;
  }

  html.desktop-cockpit .app-content > .screen.active-screen {
    display: block !important;
    margin: 0 !important;
    max-width: none !important;
    padding-bottom: 32px !important;
  }

  html.desktop-cockpit .section-title {
    font-size: clamp(30px, 2.8vw, 38px) !important;
    line-height: 1 !important;
    margin-bottom: 14px !important;
    color: #22382a !important;
    letter-spacing: -0.01em !important;
  }

  html.desktop-cockpit #dashboard.active-screen {
    display: grid !important;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr) !important;
    gap: 14px !important;
    align-items: start !important;
  }

  html.desktop-cockpit #dashboard.active-screen > .section-title {
    grid-column: 1 / -1 !important;
    margin-bottom: 2px !important;
  }

  html.desktop-cockpit #dashboard.active-screen #recentTransactionsCard {
    grid-column: 1 !important;
    grid-row: 2 / span 2 !important;
    min-height: 340px !important;
  }

  html.desktop-cockpit #dashboard.active-screen .month-strip {
    grid-column: 2 !important;
    grid-row: 2 !important;
    margin: 0 !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  html.desktop-cockpit #dashboard.active-screen #sparklineCard {
    grid-column: 2 !important;
    grid-row: 3 !important;
    margin: 0 !important;
  }

  html.desktop-cockpit #dashboard.active-screen #velocityCard,
  html.desktop-cockpit #dashboard.active-screen #topRecipientsCard,
  html.desktop-cockpit #dashboard.active-screen #budgetProgressCard,
  html.desktop-cockpit #dashboard.active-screen .currency-card,
  html.desktop-cockpit #dashboard.active-screen #dashboardActionForms {
    grid-column: 1 / -1 !important;
  }

  html.desktop-cockpit .card {
    border-radius: 16px !important;
    border: 1px solid #dfe7df !important;
    background: #ffffff !important;
    box-shadow: 0 4px 12px rgba(20, 36, 25, 0.05) !important;
  }

  html.desktop-cockpit .section-header-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
    margin-bottom: 10px !important;
  }

  html.desktop-cockpit #transactions .filters-row {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 10px !important;
    align-items: end !important;
  }

  html.desktop-cockpit #transactions .filters-row > button[type="submit"] {
    grid-column: span 2 !important;
    min-height: 42px !important;
  }

  html.desktop-cockpit .cards-row {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 12px !important;
  }

  html.desktop-cockpit #cards .cards-manage-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)) !important;
    gap: 12px !important;
  }

  html.desktop-cockpit #cards .card-manage-item {
    border-radius: 14px !important;
    border: 1px solid #dbe5dc !important;
    box-shadow: none !important;
    background: #ffffff !important;
  }
}

/* Desktop Cockpit — Premium refinement pass */
@media (min-width: 1200px) {
  html.desktop-cockpit {
    --ab-cockpit-ink: #22362a;
    --ab-cockpit-soft-ink: #5a6d5d;
    --ab-cockpit-line: #dbe5dc;
    --ab-cockpit-surface: #fbfdfb;
    --ab-cockpit-surface-2: #f3f7f3;
    --ab-cockpit-accent: #2b4b37;
  }

  html.desktop-cockpit #appScreen.app-shell::before {
    content: "" !important;
    position: absolute !important;
    inset: 1px !important;
    border-radius: 23px !important;
    pointer-events: none !important;
    background:
      radial-gradient(120% 90% at 100% 0%, rgba(196, 158, 83, 0.09) 0%, rgba(196, 158, 83, 0) 54%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
    z-index: 0 !important;
  }

  html.desktop-cockpit #appScreen.app-shell > * {
    position: relative !important;
    z-index: 1 !important;
  }

  html.desktop-cockpit .app-header {
    padding: 14px !important;
    gap: 12px !important;
    grid-template-rows: auto auto auto minmax(0, 1fr) auto !important;
  }

  html.desktop-cockpit .balance-block {
    grid-row: 2 !important;
  }

  html.desktop-cockpit #sidebar.bottom-nav {
    grid-row: 3 !important;
  }

  html.desktop-cockpit .bank-cards-carousel {
    grid-row: 4 !important;
  }

  html.desktop-cockpit .quick-actions {
    grid-row: 5 !important;
  }

  html.desktop-cockpit .header-top {
    min-height: 78px !important;
    padding: 12px !important;
  }

  html.desktop-cockpit .header-name {
    font-size: 16px !important;
    font-weight: 750 !important;
  }

  html.desktop-cockpit .header-role {
    font-size: 12px !important;
    letter-spacing: 0.01em !important;
  }

  html.desktop-cockpit .balance-label {
    font-size: 9px !important;
    letter-spacing: 0.14em !important;
  }

  html.desktop-cockpit .balance-amount {
    font-size: clamp(1.52rem, 1.92vw, 2rem) !important;
    font-weight: 820 !important;
  }

  html.desktop-cockpit #heroAccountCopyBtn {
    border-radius: 9px !important;
    border: 1px solid rgba(235, 246, 236, 0.2) !important;
    background: rgba(238, 249, 239, 0.08) !important;
    padding: 4px 8px !important;
  }

  html.desktop-cockpit #sidebar.bottom-nav {
    padding: 7px !important;
    gap: 6px !important;
  }

  html.desktop-cockpit #sidebar .nav-item {
    min-height: 46px !important;
    border-radius: 11px !important;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease !important;
  }

  html.desktop-cockpit #sidebar .nav-item:hover {
    transform: translateX(1px) !important;
  }

  html.desktop-cockpit .bank-cards-carousel::before {
    content: "Рахунки" !important;
    display: block !important;
    margin: 0 2px 8px !important;
    color: #6a7f6d !important;
    font-size: 10px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    font-weight: 800 !important;
  }

  html.desktop-cockpit .bank-cards-track {
    max-height: 292px !important;
    padding-right: 2px !important;
    scrollbar-width: thin !important;
  }

  html.desktop-cockpit .bank-card {
    min-height: 124px !important;
    border-radius: 15px !important;
  }

  html.desktop-cockpit .quick-actions::before {
    content: "Швидкі дії" !important;
    grid-column: 1 / -1 !important;
    margin: 0 2px 2px !important;
    color: #68806d !important;
    font-size: 10px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    font-weight: 800 !important;
  }

  html.desktop-cockpit .quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: minmax(74px, auto) !important;
  }

  html.desktop-cockpit .qa-btn {
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
  }

  html.desktop-cockpit .qa-btn:hover {
    transform: translateY(-1px) !important;
    border-color: rgba(44, 75, 55, 0.3) !important;
    box-shadow: 0 8px 16px rgba(22, 39, 28, 0.12) !important;
  }

  html.desktop-cockpit .app-content {
    padding: 24px 28px 30px !important;
    background:
      linear-gradient(180deg, #fcfefc 0%, #f5f9f5 100%) !important;
  }

  html.desktop-cockpit .app-content > .screen.active-screen:not(#dashboard) {
    max-width: 1180px !important;
    margin: 0 auto !important;
  }

  html.desktop-cockpit .section-title {
    font-family: "Cormorant Garamond", serif !important;
    font-size: clamp(34px, 2.8vw, 44px) !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    color: var(--ab-cockpit-ink) !important;
  }

  html.desktop-cockpit .card {
    border-radius: 18px !important;
    border: 1px solid var(--ab-cockpit-line) !important;
    box-shadow:
      0 10px 24px rgba(22, 39, 27, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.82) !important;
  }

  html.desktop-cockpit .card-head h3,
  html.desktop-cockpit .card-title {
    color: var(--ab-cockpit-ink) !important;
    font-size: 1.02rem !important;
    letter-spacing: -0.01em !important;
  }

  html.desktop-cockpit .btn-ghost,
  html.desktop-cockpit .btn-accent-sm,
  html.desktop-cockpit .btn-accent,
  html.desktop-cockpit .btn-primary {
    border-radius: 12px !important;
  }

  html.desktop-cockpit .lbl input,
  html.desktop-cockpit .lbl select,
  html.desktop-cockpit input[type="search"],
  html.desktop-cockpit input[type="date"],
  html.desktop-cockpit input[type="number"],
  html.desktop-cockpit input[type="text"],
  html.desktop-cockpit input[type="tel"],
  html.desktop-cockpit input[type="email"],
  html.desktop-cockpit input[type="password"],
  html.desktop-cockpit textarea {
    border-radius: 12px !important;
    border: 1px solid var(--ab-cockpit-line) !important;
    background: var(--ab-cockpit-surface-2) !important;
    color: #24382c !important;
  }

  html.desktop-cockpit .lbl input:focus,
  html.desktop-cockpit .lbl select:focus,
  html.desktop-cockpit input:focus,
  html.desktop-cockpit textarea:focus {
    border-color: #94b59d !important;
    box-shadow: 0 0 0 3px rgba(64, 107, 78, 0.12) !important;
    outline: none !important;
  }

  html.desktop-cockpit #dashboard.active-screen {
    grid-template-columns: minmax(0, 1.14fr) minmax(340px, 0.86fr) !important;
    gap: 16px !important;
  }

  html.desktop-cockpit #dashboard.active-screen > .card {
    margin-bottom: 0 !important;
  }

  html.desktop-cockpit #dashboard.active-screen .month-strip {
    gap: 12px !important;
  }

  html.desktop-cockpit #dashboard.active-screen .ms-item {
    min-height: 96px !important;
    border-radius: 15px !important;
  }

  html.desktop-cockpit #transactions .section-header-row {
    margin-bottom: 14px !important;
  }

  html.desktop-cockpit #transactions .filters-row {
    grid-template-columns: repeat(auto-fit, minmax(142px, 1fr)) !important;
    gap: 12px !important;
  }

  html.desktop-cockpit #transactions .filters-row > button[type="submit"] {
    grid-column: auto !important;
    min-height: 44px !important;
  }

  html.desktop-cockpit .tx-qf-chip {
    border-radius: 999px !important;
  }

  html.desktop-cockpit #cards .cards-manage-list {
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)) !important;
    gap: 14px !important;
  }

  html.desktop-cockpit #cards .card-manage-item {
    border-radius: 16px !important;
    border: 1px solid #d7e2d9 !important;
    padding: 16px !important;
    box-shadow: 0 6px 14px rgba(21, 38, 27, 0.04) !important;
  }

  html.desktop-cockpit .list.is-empty .empty-state,
  html.desktop-cockpit #cardsList.is-empty + #cardsEmpty:not(.hidden) {
    min-height: 120px !important;
  }

  html.desktop-cockpit #recentTransactions.list.is-empty .empty-state,
  html.desktop-cockpit #transactionsList.list.is-empty .empty-state {
    padding: 24px 16px !important;
    font-size: 13px !important;
    color: #738779 !important;
    border-radius: 14px !important;
    border: 1px dashed #d2ddd1 !important;
    background: linear-gradient(180deg, #fdfffd 0%, #f3f8f3 100%) !important;
  }

  html.desktop-cockpit #cards .cards-manage-list {
    min-height: 180px !important;
  }

  html.desktop-cockpit #cards .cards-manage-list.is-empty:not(.is-loading):empty::before {
    content: "Немає активних карток. Натисніть «Випустити», щоб створити першу." !important;
    display: block !important;
    text-align: center !important;
    padding: 26px 18px !important;
    color: #6e8272 !important;
    border: 1.5px dashed #cfdbcf !important;
    border-radius: 14px !important;
    background: linear-gradient(180deg, #fdfffd 0%, #f4f9f4 100%) !important;
  }

  html.desktop-cockpit #recentTransactionsCard .card-head,
  html.desktop-cockpit #transactions .card .tx-search-row {
    position: sticky !important;
    top: 0 !important;
    z-index: 2 !important;
    background: #ffffff !important;
  }

  html.desktop-cockpit #recentTransactionsCard .card-head {
    padding-top: 2px !important;
  }

  html.desktop-cockpit #transactions .card .tx-search-row {
    padding-top: 2px !important;
    margin-bottom: 10px !important;
  }

  html.desktop-cockpit #recentTransactions:empty::before,
  html.desktop-cockpit #transactionsList:empty::before,
  html.desktop-cockpit #cardsList:empty::before {
    content: "Дані завантажуються або поки відсутні" !important;
    display: block !important;
    text-align: center !important;
    color: #6f8273 !important;
    font-size: 14px !important;
    padding: 24px 16px !important;
    border-radius: 12px !important;
    border: 1px dashed #cfdbd0 !important;
    background: linear-gradient(180deg, #fcfffc 0%, #f2f7f2 100%) !important;
    margin-top: 8px !important;
  }

  html.desktop-cockpit .empty-state {
    border-radius: 18px !important;
    border: 1px dashed #cddacb !important;
    background: linear-gradient(180deg, #ffffff 0%, #f5faf5 100%) !important;
    color: var(--ab-cockpit-soft-ink) !important;
    padding: 36px 26px !important;
  }

  html.desktop-cockpit .toast {
    left: auto !important;
    right: 26px !important;
    bottom: 22px !important;
    transform: none !important;
    width: min(360px, calc(100vw - 56px)) !important;
    border-radius: 14px !important;
  }
}

/* Desktop Cockpit — Behance-inspired visual direction (Bank Desktop App style) */
@media (min-width: 1200px) {
  html.desktop-cockpit body {
    background: #6f88be !important;
  }

  html.desktop-cockpit #appScreen.app-shell {
    width: min(1540px, calc(100vw - 54px)) !important;
    height: calc(100vh - 54px) !important;
    min-height: calc(100vh - 54px) !important;
    margin: 27px auto !important;
    padding: 0 !important;
    gap: 0 !important;
    border-radius: 0 !important;
    border: 1px solid rgba(217, 224, 239, 0.6) !important;
    background: #dfe3ee !important;
    box-shadow: 0 14px 28px rgba(31, 47, 86, 0.18) !important;
    overflow: hidden !important;
    grid-template-columns: 232px minmax(0, 1fr) !important;
  }

  html.desktop-cockpit #appScreen.app-shell::before {
    content: none !important;
  }

  html.desktop-cockpit .app-header {
    border: 0 !important;
    border-right: 1px solid #d4d9e8 !important;
    border-radius: 0 !important;
    background: #f3f5fa !important;
    box-shadow: none !important;
    padding: 12px 10px 10px !important;
    gap: 10px !important;
    grid-template-rows: auto auto auto minmax(0, 1fr) auto !important;
  }

  html.desktop-cockpit .header-top {
    min-height: 56px !important;
    border-radius: 10px !important;
    border: 1px solid #e0e5f0 !important;
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(71, 91, 143, 0.08) !important;
    padding: 8px 9px !important;
  }

  html.desktop-cockpit .header-top .header-user {
    gap: 8px !important;
  }

  html.desktop-cockpit .avatar {
    width: 30px !important;
    height: 30px !important;
    font-size: 12px !important;
    color: #6b7fae !important;
    border: 1px solid #d2d9ea !important;
    background: #edf1fa !important;
  }

  html.desktop-cockpit .header-name {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #2f405f !important;
  }

  html.desktop-cockpit .header-role {
    font-size: 11px !important;
    color: #8a99b9 !important;
  }

  html.desktop-cockpit .header-actions .icon-btn {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    border-radius: 8px !important;
    border: 1px solid #dce3f1 !important;
    background: #f8faff !important;
    color: #748ab8 !important;
  }

  html.desktop-cockpit .balance-block {
    padding: 10px 10px !important;
    border-radius: 10px !important;
    border: 1px solid #d4ddef !important;
    background: linear-gradient(140deg, #6090e9 0%, #4977d2 100%) !important;
    box-shadow: 0 8px 18px rgba(55, 93, 167, 0.24) !important;
    gap: 3px !important;
  }

  html.desktop-cockpit .balance-label,
  html.desktop-cockpit .balance-amount,
  html.desktop-cockpit #heroAccountCopyBtn {
    color: #eef4ff !important;
  }

  html.desktop-cockpit .balance-label {
    opacity: 0.86 !important;
    letter-spacing: 0.1em !important;
  }

  html.desktop-cockpit .balance-amount {
    font-size: clamp(1.24rem, 1.6vw, 1.72rem) !important;
    font-weight: 800 !important;
  }

  html.desktop-cockpit #heroAccountCopyBtn {
    background: rgba(239, 245, 255, 0.18) !important;
    border: 1px solid rgba(233, 241, 255, 0.32) !important;
    border-radius: 8px !important;
    padding: 3px 7px !important;
    font-size: 11px !important;
  }

  html.desktop-cockpit #sidebar.bottom-nav {
    border: 1px solid #dde4f2 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(71, 91, 143, 0.08) !important;
    padding: 6px 5px !important;
    gap: 2px !important;
  }

  html.desktop-cockpit #sidebar .nav-item {
    min-height: 40px !important;
    border-radius: 8px !important;
    color: #5f6f90 !important;
    border: 1px solid transparent !important;
    gap: 8px !important;
    padding: 0 9px !important;
  }

  html.desktop-cockpit #sidebar .nav-item span {
    font-size: 13px !important;
    font-weight: 700 !important;
  }

  html.desktop-cockpit #sidebar .nav-item.active {
    border-color: #d9e2f5 !important;
    background: linear-gradient(180deg, #eef3ff 0%, #e5edff 100%) !important;
    color: #3f5f9d !important;
    box-shadow: none !important;
  }

  html.desktop-cockpit .bank-cards-carousel::before,
  html.desktop-cockpit .quick-actions::before {
    color: #8494b5 !important;
  }

  html.desktop-cockpit .bank-cards-track {
    max-height: 268px !important;
    gap: 7px !important;
  }

  html.desktop-cockpit .bank-card {
    min-height: 108px !important;
    border-radius: 10px !important;
    box-shadow: 0 3px 10px rgba(43, 62, 103, 0.11) !important;
  }

  html.desktop-cockpit .bank-card-gold,
  html.desktop-cockpit .bank-card-dark,
  html.desktop-cockpit .bank-card-navy {
    background: linear-gradient(180deg, #f8fbff 0%, #e9eef8 100%) !important;
    border: 1px solid #d6deef !important;
  }

  html.desktop-cockpit .bank-card .bank-card-bg,
  html.desktop-cockpit .bank-card::before,
  html.desktop-cockpit .bank-card-noise {
    opacity: 0 !important;
  }

  html.desktop-cockpit .bank-card-content {
    color: #344b74 !important;
    padding: 9px 10px !important;
  }

  html.desktop-cockpit .bank-card-logo-text,
  html.desktop-cockpit .bank-card-number,
  html.desktop-cockpit .bank-card-label,
  html.desktop-cockpit .bank-card-name,
  html.desktop-cockpit .bank-card-date {
    color: inherit !important;
    opacity: 1 !important;
  }

  html.desktop-cockpit .bank-card-logo-letter {
    background: #e8efff !important;
    border: 1px solid #cfdaf3 !important;
    color: #4a6fad !important;
  }

  html.desktop-cockpit .quick-actions {
    gap: 6px !important;
  }

  html.desktop-cockpit .qa-btn {
    min-height: 66px !important;
    border-radius: 10px !important;
    border: 1px solid #d8e0f0 !important;
    background: linear-gradient(180deg, #ffffff 0%, #f3f7ff 100%) !important;
    box-shadow: none !important;
    color: #3a4f78 !important;
  }

  html.desktop-cockpit .qa-btn .qa-icon {
    width: 30px !important;
    height: 30px !important;
    border-radius: 9px !important;
    border: 1px solid #d9e2f3 !important;
    background: #eef4ff !important;
    color: #4e70b1 !important;
  }

  html.desktop-cockpit .qa-btn:hover {
    border-color: #c9d6f0 !important;
    box-shadow: 0 4px 10px rgba(73, 103, 161, 0.14) !important;
    transform: translateY(-1px) !important;
  }

  html.desktop-cockpit .qa-label {
    color: #53698f !important;
    font-size: 10px !important;
    font-weight: 700 !important;
  }

  html.desktop-cockpit .app-content {
    border: 0 !important;
    border-radius: 0 !important;
    background: #dfe3ee !important;
    box-shadow: none !important;
    padding: 14px 16px 20px !important;
  }

  html.desktop-cockpit .app-content > .screen.active-screen {
    padding: 0 !important;
  }

  html.desktop-cockpit .section-title {
    font-family: "Manrope", system-ui, sans-serif !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #7b8cae !important;
    margin: 0 0 10px !important;
  }

  html.desktop-cockpit #dashboard.active-screen {
    grid-template-columns: 1fr minmax(300px, 0.82fr) !important;
    gap: 12px !important;
  }

  html.desktop-cockpit .card {
    border-radius: 10px !important;
    border: 1px solid #d5dcea !important;
    background: #f7f9fe !important;
    box-shadow: 0 3px 9px rgba(80, 102, 148, 0.08) !important;
    padding: 14px !important;
  }

  html.desktop-cockpit .card-head h3,
  html.desktop-cockpit .card-title {
    font-size: 14px !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em !important;
    color: #384d74 !important;
    text-transform: none !important;
  }

  html.desktop-cockpit .btn-accent,
  html.desktop-cockpit .btn-primary {
    background: linear-gradient(180deg, #6f9cf8 0%, #5f8ff7 100%) !important;
    border: 1px solid #5788f2 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    min-height: 36px !important;
    font-size: 12px !important;
    letter-spacing: 0.05em !important;
  }

  html.desktop-cockpit .btn-ghost,
  html.desktop-cockpit .btn-accent-sm {
    border-radius: 8px !important;
    border: 1px solid #cfd8ec !important;
    background: #edf2ff !important;
    color: #5674af !important;
    min-height: 34px !important;
  }

  html.desktop-cockpit #transactions .filters-row {
    grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)) !important;
    gap: 10px !important;
  }

  html.desktop-cockpit #transactions .filters-row > button[type="submit"] {
    min-height: 36px !important;
  }

  html.desktop-cockpit .tx-qf-chip {
    border: 1px solid #d4dced !important;
    background: #eef2fb !important;
    color: #5a6f94 !important;
  }

  html.desktop-cockpit .tx-qf-chip.active {
    border-color: #7f9ee8 !important;
    background: #dfe9ff !important;
    color: #4870c0 !important;
  }

  html.desktop-cockpit .lbl input,
  html.desktop-cockpit .lbl select,
  html.desktop-cockpit input[type="search"],
  html.desktop-cockpit input[type="date"],
  html.desktop-cockpit input[type="number"],
  html.desktop-cockpit input[type="text"],
  html.desktop-cockpit input[type="tel"],
  html.desktop-cockpit input[type="email"],
  html.desktop-cockpit input[type="password"],
  html.desktop-cockpit textarea {
    border-radius: 8px !important;
    border: 1px solid #d6deee !important;
    background: #ffffff !important;
    color: #354a71 !important;
  }

  html.desktop-cockpit .lbl input:focus,
  html.desktop-cockpit .lbl select:focus,
  html.desktop-cockpit input:focus,
  html.desktop-cockpit textarea:focus {
    border-color: #8eaae7 !important;
    box-shadow: 0 0 0 3px rgba(108, 142, 220, 0.16) !important;
  }

  html.desktop-cockpit .item {
    border-bottom: 1px solid #d8dfed !important;
  }

  html.desktop-cockpit .item-title {
    color: #3e5076 !important;
  }

  html.desktop-cockpit .item-desc {
    color: #8a9ab8 !important;
  }

  html.desktop-cockpit .empty-state {
    border-radius: 9px !important;
    border: 1px dashed #ccd7eb !important;
    background: #f0f4fd !important;
    color: #7587a8 !important;
  }

  html.desktop-cockpit .toast {
    background: rgba(46, 73, 128, 0.92) !important;
    border: 1px solid rgba(162, 185, 232, 0.42) !important;
    color: #eff4ff !important;
  }
}
