
    .stat-row-flex:last-child {
      border-bottom: none;
    }

    .stat-row-lbl {
      color: var(--text-muted);
    }

    .stat-row-val {
      font-weight: 700;
      color: #FFF;
    }

    /* Sync & Settings Screen */
    .input-group {
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
      margin-bottom: 0.85rem;
    }

    .input-label {
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      color: var(--text-muted);
    }

    .text-input {
      background: rgba(0, 0, 0, 0.35);
      border: 1px solid var(--border-subtle);
      border-radius: 12px;
      padding: 0.75rem 0.9rem;
      color: #FFF;
      font-size: 0.85rem;
      outline: none;
      transition: border 0.15s;
    }

    .text-input:focus {
      border-color: var(--cyan);
    }

    .primary-btn {
      background: linear-gradient(135deg, var(--cyan), #2563EB);
      color: #FFF;
      border: none;
      border-radius: 14px;
      padding: 0.85rem 1.25rem;
      font-size: 0.92rem;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      box-shadow: 0 4px 16px var(--cyan-glow);
      transition: all 0.15s ease;
      width: 100%;
    }

    .primary-btn:active {
      transform: scale(0.98);
      filter: brightness(1.1);
    }

    .secondary-btn {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--border-subtle);
      color: var(--text-main);
      border-radius: 12px;
      padding: 0.65rem 1rem;
      font-size: 0.82rem;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.4rem;
      transition: all 0.15s;
    }

    .secondary-btn:active {
      background: rgba(255, 255, 255, 0.1);
    }

    /* Bottom Navigation Bar (Responsive 5-Item Native Feel) */
    .bottom-nav {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 250;
      background: rgba(11, 15, 25, 0.94);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border-top: 1px solid var(--border-subtle);
      padding: 0.35rem 0.3rem calc(env(safe-area-inset-bottom) + 0.35rem) 0.3rem;
      display: flex;
      justify-content: space-around;
      align-items: center;
      transition: max-width 0.25s ease;
    }

    .nav-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0.15rem;
      background: transparent;
      border: none;
      color: var(--text-dim);
      font-size: 0.65rem;
      font-weight: 600;
      cursor: pointer;
      padding: 0.35rem 0.2rem;
      border-radius: 10px;
      transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
      flex: 1;
      min-width: 0;
    }

    .nav-item .nav-icon {
      font-size: 1.22rem;
      transition: transform 0.15s ease;
    }

    .nav-item.active {
      color: var(--cyan);
    }

    .nav-item.active .nav-icon {
      transform: scale(1.1);
    }

    /* ==========================================================================
       DUAL-COCKPIT & PIXEL FOLD RESPONSIVE ARCHITECTURE
       ========================================================================== */
    .cockpit-layout-wrapper {
      width: 100%;
      display: block;
      position: relative;
    }

    .cockpit-left {
      width: 100%;
      max-width: 640px;
      margin: 0 auto;
      padding-bottom: calc(env(safe-area-inset-bottom) + 6.5rem);
      transition: max-width 0.25s ease;
    }

    /* Backdrop for slide-up bottom sheet on mobile cover screen */
    .concierge-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.65);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      z-index: 220;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .concierge-backdrop.visible {
      opacity: 1;
      pointer-events: auto;
    }

    /* The AI Concierge Panel (Slide-up Drawer on Cover Screen / Docked Flight Deck on Inner Tablet) */
    .cockpit-right {
      position: fixed;
      inset: 0;
      top: auto;
      bottom: calc(56px + env(safe-area-inset-bottom));
      width: 100%;
      height: calc(84vh - 56px);
      max-height: calc(84vh - 56px);
      background: rgba(11, 15, 25, 0.97);
      backdrop-filter: blur(28px);
      -webkit-backdrop-filter: blur(28px);
      border-top: 1px solid rgba(56, 189, 248, 0.35);
      border-radius: 24px 24px 0 0;
      box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.75);
      z-index: 230;
      display: flex;
      flex-direction: column;
      transform: translateY(105%);
      transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
      overflow: hidden;
    }
    .cockpit-right.drawer-open {
      transform: translateY(0);
    }

    /* Mobile Sheet Drag Handle Bar */
    .drawer-handle-wrap {
      width: 100%;
      padding: 0.55rem 0 0.25rem 0;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
    }
    .drawer-handle-bar {
      width: 44px;
      height: 4px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.25);
    }

    /* Concierge Header */
    .concierge-header {
      padding: 0.6rem 1rem;
      border-bottom: 1px solid var(--border-subtle);
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: rgba(15, 23, 42, 0.55);
      flex-shrink: 0;
    }
    .concierge-brand {
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }
    .concierge-avatar {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      background: linear-gradient(135deg, var(--cyan), #3B82F6);
      color: #FFF;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
      font-weight: 800;
      box-shadow: 0 0 12px var(--cyan-glow);
    }
    .concierge-title {
      font-size: 0.82rem;
      font-weight: 800;
      color: #FFF;
      letter-spacing: 0.04em;
      display: flex;
      align-items: center;
      gap: 0.4rem;
    }
    .concierge-pill {
      font-size: 0.6rem;
      font-weight: 700;
      padding: 2px 6px;
      border-radius: 4px;
      background: rgba(56, 189, 248, 0.15);
      color: var(--cyan);
      border: 1px solid rgba(56, 189, 248, 0.35);
    }
    .concierge-subtitle {
      font-size: 0.68rem;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      gap: 0.35rem;
      margin-top: 1px;
    }
    .concierge-actions {
      display: flex;
      align-items: center;
      gap: 0.4rem;
    }
    .concierge-icon-btn {
      width: 30px;
      height: 30px;
      border-radius: 8px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid var(--border-subtle);
      color: var(--text-muted);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 0.85rem;
      transition: all 0.15s ease;
    }
    .concierge-icon-btn:hover {
      background: rgba(255, 255, 255, 0.12);
      color: #FFF;
    }
    .tablet-only-btn { display: none; }
    .mobile-only-btn { display: inline-flex; }

    /* Live Portfolio Pulse Ribbon */
    .concierge-pulse-bar {
      display: flex;
      gap: 0.4rem;
      padding: 0.45rem 0.85rem;
      background: rgba(7, 11, 20, 0.6);
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      overflow-x: auto;
      white-space: nowrap;
      flex-shrink: 0;
      scrollbar-width: none;
    }
    .concierge-pulse-bar::-webkit-scrollbar { display: none; }
    .pulse-chip {
      padding: 3px 8px;
      border-radius: 6px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      font-size: 0.67rem;
      color: var(--text-dim);
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
      cursor: pointer;
      transition: all 0.15s ease;
    }
    .pulse-chip:hover {
      background: rgba(56, 189, 248, 0.1);
      border-color: rgba(56, 189, 248, 0.3);
      color: #FFF;
    }
    .pulse-chip-label { font-weight: 700; color: var(--text-muted); }
    .pulse-chip-val { font-weight: 700; color: #FFF; font-family: monospace; }

    /* Quick Action Chips */
    .concierge-chips-scroll {
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem;
      padding: 0.5rem 0.85rem;
      background: rgba(11, 15, 25, 0.4);
    }
    .concierge-chips-scroll::-webkit-scrollbar { display: none; }
