/* ===== FLUID RESPONSIVE SYSTEM ACROSS ALL DEVICES (PC, TABLET, MOBILE) ===== */

/* 1. Large Desktop & Ultrawide (> 1440px) */
@media (min-width: 1441px) {
  .dashboard-inner-container {
    max-width: 1380px;
  }
  .bento-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
}

/* 2. Standard Desktop & Laptop (1024px - 1440px) */
@media (max-width: 1440px) and (min-width: 1025px) {
  .dashboard-inner-container {
    max-width: 1200px;
  }
  .bento-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  .hub-hero h1 {
    font-size: 28px;
  }
}

/* 3. Tablet & Medium Screens (769px - 1024px, e.g. iPad, Galaxy Tab) */
@media (max-width: 1024px) and (min-width: 769px) {
  .dashboard-inner-container {
    max-width: 100%;
    gap: 28px;
  }
  #dashboardView {
    padding: 24px 24px 70px 24px;
  }
  .hub-hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hero-intro-card {
    min-height: auto;
    padding: 22px 24px;
  }
  .hub-hero-slider-wrap {
    min-height: auto;
    height: auto;
    width: 100%;
    padding: 20px 22px;
  }
  .hero-slider-container {
    min-height: auto;
    height: auto;
  }
  .hero-slide {
    min-height: auto;
    height: auto;
    gap: 12px;
  }
  .slide-title {
    font-size: 18px;
    min-height: auto;
  }
  .slide-desc {
    font-size: 13px;
    min-height: auto;
    line-height: 1.55;
  }
  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .advisory-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .expert-profile-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .methodology-steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
  .sample-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .hub-hero h1 {
    font-size: 26px;
  }
  .toolbar-search-box {
    width: 240px;
  }
}

/* ==========================================================================
   4. DUAL-ENGINE: DEDICATED MOBILE & DESKTOP ISOLATION ARCHITECTURE
   ========================================================================== */

/* 1. DESKTOP VIEW CONTAINER (Screens > 768px) */
.mobile-app-header,
.m-quick-nav-bar,
.mobile-bottom-nav,
.mobile-view-container {
  display: none !important;
}

.desktop-view-container {
  display: flex !important;
  flex-direction: column;
  gap: 36px;
  width: 100%;
}

@media (max-width: 768px), (pointer: coarse) and (max-width: 1024px) {
  /* 2. SWITCH TO MOBILE NATIVE APP VIEW */
  .desktop-view-container {
    display: none !important;
  }

  .mobile-view-container {
    display: flex !important;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    box-sizing: border-box;
  }

  /* 3. HIDE ALL DESKTOP CHROME ON MOBILE */
  #titlebar,
  #toolbar,
  #sidebar,
  #statusbar,
  #floatingConsultationDock,
  #tabContextMenu,
  .titlebar-right,
  .quick-bar-domain,
  .quick-bar-security-tag,
  .quick-bar-tip {
    display: none !important;
  }

  /* 4. SHOW MOBILE NATIVE APP HEADER */
  .mobile-app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 52px;
    z-index: 1000;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    background: rgba(20, 19, 18, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--hairline-medium);
    box-sizing: border-box;
  }

  [data-theme="light"] .mobile-app-header {
    background: rgba(248, 246, 240, 0.95);
    border-bottom-color: rgba(28, 27, 24, 0.12);
  }

  .mobile-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
  }

  .mobile-header-left .anthropic-mark {
    width: 26px;
    height: 26px;
  }

  .mobile-brand-meta {
    display: flex;
    flex-direction: column;
    gap: 1px;
  }

  .mobile-brand-title {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.15;
  }

  .mobile-brand-badge {
    font-family: var(--font-mono);
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--primary-coral);
    text-transform: uppercase;
  }

  .mobile-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mobile-header-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-pill);
    background: var(--surface-card);
    border: 1px solid var(--hairline-medium);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
    padding: 0;
  }

  .mobile-header-btn:active {
    transform: scale(0.92);
  }

  .mobile-header-btn.zalo {
    background: rgba(0, 104, 255, 0.12);
    border-color: rgba(0, 104, 255, 0.3);
  }

  /* 4b. MOBILE STICKY QUICK NAVIGATION BAR */
  .m-quick-nav-bar {
    position: fixed;
    top: 52px;
    left: 0;
    right: 0;
    height: 44px;
    z-index: 999;
    display: flex !important;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    background: rgba(20, 19, 18, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--hairline-medium);
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    box-sizing: border-box;
  }

  .m-quick-nav-bar::-webkit-scrollbar {
    display: none;
  }

  [data-theme="light"] .m-quick-nav-bar {
    background: rgba(248, 246, 240, 0.96);
    border-bottom-color: rgba(28, 27, 24, 0.12);
  }

  .m-nav-chip {
    height: 28px;
    padding: 0 10px;
    border-radius: var(--radius-pill);
    background: var(--surface-card);
    border: 1px solid var(--hairline-medium);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    transition: all var(--transition-fast);
  }

  .m-nav-chip .material-icons-round {
    font-size: 14px;
  }

  .m-nav-chip:active {
    transform: scale(0.94);
  }

  .m-nav-chip.active {
    background: var(--primary-coral);
    color: #ffffff;
    border-color: var(--primary-coral);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(204, 120, 92, 0.35);
  }

  .m-nav-chip.active .material-icons-round {
    color: #ffffff !important;
  }

  [data-theme="light"] .m-nav-chip {
    background: #ffffff;
    border-color: rgba(28, 27, 24, 0.14);
    color: #4a4740;
  }

  [data-theme="light"] .m-nav-chip.active {
    background: var(--primary-coral);
    color: #ffffff;
    border-color: var(--primary-coral);
  }

  /* 5. SHOW MOBILE BOTTOM NAVIGATION BAR */
  .mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 58px;
    padding-bottom: env(safe-area-inset-bottom, 0);
    z-index: 1000;
    display: flex !important;
    align-items: center;
    justify-content: space-around;
    background: rgba(20, 19, 18, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--hairline-medium);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
  }

  [data-theme="light"] .mobile-bottom-nav {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    border-top-color: rgba(28, 27, 24, 0.12);
  }

  .m-nav-item {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    padding: 4px 0;
  }

  .m-nav-item:active {
    transform: scale(0.92);
  }

  .m-nav-icon {
    font-size: 21px;
    transition: transform 200ms ease;
  }

  .m-nav-label {
    font-size: 10px;
    font-weight: 500;
    font-family: var(--font-sans);
  }

  .m-nav-item.active {
    color: var(--primary-coral);
  }

  .m-nav-item.active .m-nav-icon {
    transform: translateY(-1px);
  }

  .m-nav-item.active .m-nav-label {
    font-weight: 700;
  }

  .m-nav-item.promo {
    color: #c4a1ff;
  }

  .m-nav-promo-badge {
    width: 26px;
    height: 26px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, #cc785c 0%, #8e5bd4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(142, 91, 212, 0.4);
  }

  /* 6. MOBILE VIEWPORT & SCROLL ENGINE (NATIVE SCROLL FIX) */
  html, body {
    height: auto !important;
    overflow: visible !important;
    overflow-x: hidden !important;
    user-select: auto !important;
    touch-action: auto !important;
  }

  #mainContent {
    height: auto !important;
    width: 100vw !important;
    display: flex !important;
    overflow: visible !important;
    flex-direction: column !important;
  }

  #viewportContainer {
    height: auto !important;
    width: 100% !important;
    display: block !important;
    overflow: visible !important;
  }

  #dashboardView {
    height: auto !important;
    width: 100% !important;
    overflow: visible !important;
    position: relative !important;
    padding: 104px 12px 78px 12px !important;
    box-sizing: border-box !important;
  }

  /* Improve slider touch targets on mobile */
  .calc-range-slider::-webkit-slider-thumb {
    width: 24px !important;
    height: 24px !important;
  }
  
  .calc-range-slider {
    height: 10px !important;
  }

  .dashboard-inner-container {
    gap: 16px;
    max-width: 100%;
  }

  /* 7. MOBILE DEDICATED SECTIONS & CARDS */
  .m-hero-card,
  .m-tools-section,
  .m-methodology-section,
  .m-advisory-section,
  .m-faq-section {
    background: var(--surface-card);
    border: 1px solid var(--hairline-medium);
    border-radius: var(--radius-xl);
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-sizing: border-box;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  }

  [data-theme="light"] .m-hero-card,
  [data-theme="light"] .m-tools-section,
  [data-theme="light"] .m-methodology-section,
  [data-theme="light"] .m-advisory-section,
  [data-theme="light"] .m-faq-section {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  }

  .m-hero-eyebrow,
  .m-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    color: var(--primary-coral);
    text-transform: uppercase;
    letter-spacing: 0.6px;
  }

  .m-hero-title,
  .m-section-title {
    font-family: var(--font-heading);
    font-size: clamp(19px, 5.2vw, 22px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin: 0;
  }

  .m-hero-desc,
  .m-section-desc {
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--text-secondary);
    margin: 0;
  }

  /* Mobile Prominent Gemini 800k Promo Card */
  .m-promo-banner-card {
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(168, 129, 230, 0.14) 0%, rgba(20, 19, 18, 0.98) 100%);
    border: 1px solid rgba(168, 129, 230, 0.4);
    overflow: hidden;
    margin-top: 4px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  }

  [data-theme="light"] .m-promo-banner-card {
    background: linear-gradient(145deg, #f7f0fe 0%, #ffffff 100%);
    border-color: rgba(168, 129, 230, 0.35);
    box-shadow: 0 6px 20px rgba(168, 129, 230, 0.12);
  }

  .m-promo-media {
    position: relative;
    width: 100%;
    height: 135px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
  }

  .m-promo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .m-promo-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 9.5px;
    font-family: var(--font-mono);
    font-weight: 700;
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    background: rgba(15, 14, 13, 0.88);
    backdrop-filter: blur(10px);
    color: #e4d7ff;
    border: 1px solid rgba(168, 129, 230, 0.6);
  }

  .m-promo-content {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .m-promo-title {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.25;
  }

  .m-promo-desc {
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0;
  }

  .m-promo-btn {
    height: 42px;
    width: 100%;
    background: linear-gradient(135deg, #cc785c 0%, #8e5bd4 100%);
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 12.5px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(142, 91, 212, 0.45);
    margin-top: 4px;
  }

  .m-hero-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 6px;
    background: var(--surface-soft);
    border-radius: var(--radius-md);
    padding: 10px 8px;
    border: 1px solid var(--hairline);
  }

  .m-stat-pill {
    font-size: 11px;
    color: var(--text-secondary);
  }

  .m-stat-pill strong {
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 13px;
  }

  .m-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 2px;
  }

  .m-action-btn {
    height: 42px;
    width: 100%;
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 12.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition-fast);
  }

  .m-action-btn.primary {
    background: var(--primary-coral);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 14px rgba(204, 120, 92, 0.35);
  }

  .m-action-btn.secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--hairline-strong);
  }

  /* Mobile Search Bar */
  .m-search-box {
    height: 42px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    background: var(--surface-soft);
    border: 1px solid var(--hairline-medium);
    border-radius: var(--radius-md);
    box-sizing: border-box;
  }

  .m-search-box input {
    flex: 1;
    background: transparent;
    border: none;
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--text-primary);
    outline: none;
  }

  /* Mobile Embedded Spatial Workspace Console */
  .m-embedded-spatial-workspace {
    display: flex;
    background: #141312;
    border: 1.5px solid rgba(204, 120, 92, 0.35);
    border-radius: var(--radius-lg);
    padding: 8px;
    gap: 8px;
    height: 580px;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    width: 100%;
  }

  [data-theme="light"] .m-embedded-spatial-workspace {
    background: #f2eee3;
    border-color: rgba(204, 120, 92, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  }

  /* Left Framed Mobile Sidebar with Vertical Icon Scroll */
  .m-workspace-sidebar {
    width: 54px;
    min-width: 54px;
    height: 100%;
    background: var(--surface-card);
    border: 1.5px solid var(--primary-coral-border);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 2px;
    gap: 6px;
    overflow-y: auto !important;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-coral) transparent;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }

  .m-workspace-sidebar::-webkit-scrollbar {
    width: 3px;
  }
  .m-workspace-sidebar::-webkit-scrollbar-track {
    background: transparent;
  }
  .m-workspace-sidebar::-webkit-scrollbar-thumb {
    background: var(--primary-coral);
    border-radius: 3px;
  }

  .m-ws-tool-btn {
    width: 44px;
    height: 44px;
    min-height: 44px;
    border-radius: var(--radius-sm);
    border: 1.5px solid transparent;
    background: transparent;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
    flex-shrink: 0;
    position: relative;
  }

  .m-ws-tool-btn:active {
    transform: scale(0.92);
  }

  .m-ws-tool-btn.active {
    background: linear-gradient(135deg, rgba(204, 120, 92, 0.22) 0%, rgba(142, 91, 212, 0.22) 100%);
    border-color: var(--primary-coral);
    color: var(--primary-coral);
    box-shadow: 0 0 10px rgba(204, 120, 92, 0.4);
  }

  .m-ws-tool-btn.active::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 10px;
    bottom: 10px;
    width: 2.5px;
    background: var(--primary-coral);
    border-radius: 0 2px 2px 0;
  }

  .m-ws-tool-btn .material-icons-round {
    font-size: 20px;
  }

  /* Right Framed Viewport */
  .m-workspace-viewport {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--canvas);
    border: 1.5px solid var(--hairline-medium);
    border-radius: var(--radius-md);
    overflow: hidden;
    min-width: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
  }

  [data-theme="light"] .m-workspace-viewport {
    background: #ffffff;
    border-color: rgba(28, 27, 24, 0.15);
  }

  .m-workspace-topbar {
    height: 46px;
    background: var(--surface-soft);
    border-bottom: 1.5px solid var(--hairline-medium);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    gap: 8px;
    flex-shrink: 0;
    box-sizing: border-box;
  }

  .m-ws-title-group {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }

  .m-ws-icon {
    font-size: 18px;
    color: var(--primary-coral);
    flex-shrink: 0;
  }

  .m-ws-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .m-ws-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
  }

  .m-ws-cat {
    font-size: 9.5px;
    color: var(--text-secondary);
    line-height: 1;
  }

  .m-ws-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--surface-card);
    border: 1px solid var(--hairline-medium);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
  }

  .m-workspace-frame-container {
    flex: 1;
    height: calc(100% - 46px);
    position: relative;
    width: 100%;
    background: #0d0c0b;
  }

  .m-workspace-embedded-frame {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    background: #ffffff;
  }

  /* Mobile Category Pills Bar */
  .m-category-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .m-category-bar::-webkit-scrollbar {
    display: none;
  }

  .m-category-bar .cat-chip {
    flex-shrink: 0;
    height: 32px;
    font-size: 11.5px;
    padding: 0 12px;
    border-radius: var(--radius-pill);
    background: var(--surface-soft);
    border: 1px solid var(--hairline-medium);
    color: var(--text-secondary);
    white-space: nowrap;
    cursor: pointer;
  }

  .m-category-bar .cat-chip.active {
    background: var(--primary-coral);
    color: #ffffff;
    border-color: var(--primary-coral);
    font-weight: 600;
  }

  /* Mobile Tools Feed & Cards */
  .m-tools-feed {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .mobile-tool-card {
    background: var(--surface-card);
    border: 1px solid var(--hairline-medium);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
    display: flex;
    flex-direction: column;
    transition: var(--transition-fast);
    cursor: pointer;
  }

  .mobile-tool-card:active {
    transform: scale(0.985);
    border-color: var(--primary-coral-border);
  }

  .m-card-media {
    position: relative;
    width: 100%;
    height: 125px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
  }

  .m-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .m-card-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    font-family: var(--font-mono);
    font-size: 9.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    background: rgba(15, 14, 13, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .m-card-tap-hint {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(24, 23, 21, 0.78);
    backdrop-filter: blur(8px);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }

  .m-card-tap-hint .material-icons-round {
    font-size: 15px;
  }

  .m-card-body {
    padding: 12px 14px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .m-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .m-card-icon-box {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--surface-soft);
    border: 1px solid var(--hairline);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .m-card-icon-box img {
    width: 20px;
    height: 20px;
  }

  .m-card-title-box {
    flex: 1;
    min-width: 0;
  }

  .m-card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
  }

  .m-card-title {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .m-card-arrow {
    font-size: 16px;
    color: var(--primary-coral);
    flex-shrink: 0;
  }

  .m-card-domain {
    font-size: 10.5px;
    font-family: var(--font-mono);
    color: var(--text-muted);
  }

  .m-card-desc {
    font-size: 12px;
    line-height: 1.45;
    color: var(--text-secondary);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Mobile 5 Steps List */
  .m-steps-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .m-step-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: var(--surface-soft);
    border-radius: var(--radius-md);
    border: 1px solid var(--hairline);
  }

  .m-step-num {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: var(--primary-coral-subtle);
    color: var(--primary-coral);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .m-step-info {
    flex: 1;
    min-width: 0;
  }

  .m-step-name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 3px 0;
    line-height: 1.25;
  }

  .m-step-desc {
    font-size: 11.5px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.45;
  }

  /* Mobile Advisory & Channels */
  .m-advisory-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .m-channels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .m-channel-btn {
    height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: var(--surface-soft);
    border: 1px solid var(--hairline-medium);
    border-radius: var(--radius-md);
    font-size: 10.5px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
  }

  .m-advisory-cta-btn {
    height: 42px;
    width: 100%;
    background: var(--primary-coral-subtle);
    border: 1px solid var(--primary-coral-border);
    color: var(--primary-coral);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 12.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
  }

  /* Mobile FAQ */
  .m-faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .m-faq-item {
    padding: 12px 14px;
    background: var(--surface-soft);
    border-radius: var(--radius-md);
    border: 1px solid var(--hairline);
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .m-faq-q {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
  }

  .m-faq-a {
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-secondary);
  }

  /* 8. NATIVE MOBILE BOTTOM-SHEET MODALS */
  .hub-modal-overlay {
    align-items: flex-end !important;
    padding: 0 !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .hub-modal-card {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 88vh !important;
    border-radius: 20px 20px 0 0 !important;
    border-bottom: none !important;
    animation: mobileSheetUp 240ms cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.7) !important;
    margin: 0 !important;
  }

  @keyframes mobileSheetUp {
    from {
      transform: translateY(100%);
    }
    to {
      transform: translateY(0);
    }
  }

  .hub-modal-header {
    padding: 14px 16px 10px 16px;
    position: relative;
  }

  .hub-modal-header::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: var(--hairline-strong);
  }

  .modal-title {
    font-size: 15px;
  }

  .consultation-modal-body,
  .tool-launch-modal-body,
  .sample-audit-modal-body {
    padding: 12px 14px 20px 14px;
    gap: 12px;
    max-height: calc(88vh - 65px);
  }

  .launch-promo-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .quick-channels-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  /* Swiss Editorial Utility Mobile Sharp Overrides */
  .m-tool-card,
  .m-advisory-card,
  .m-quick-nav-bar,
  .mobile-app-header,
  .m-consult-btn,
  .mobile-bottom-nav,
  .mobile-nav-item,
  .hero-intro-card,
  .hub-card,
  .methodology-step-card,
  .advisory-card,
  .landlord-info-card,
  .landlord-form-card,
  .faq-card,
  .hub-modal-card {
    border-radius: 0 !important;
    box-shadow: none !important;
    border-color: var(--hairline) !important;
  }
}

