  /* TimesPro Design System */
  @import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@300;400;500;700&display=swap');

  :root {
    /* Primary Colors */
    --primary-blue: #2A2F7D;
    --primary-red: #EC1C24;
    --primary-red-hover: #D61219;
    
    /* Secondary Colors */
    --light-grey: #E5E5E5;
    --medium-grey: #C1C1C1;
    --text-grey: #666666;
    --background: #F8F9FB;
    --white: #FFFFFF;
    
    /* Utility Colors */
    --text-dark: #1A202C;
    --border-color: #E5E5E5;
    --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    
    /* Border Radius */
    --radius-button: 6px;
    --radius-card: 32px;
    --radius-input: 6px;
    --radius-image: 8px;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 80px;
  }

  * { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
  }
  
  body { 
    background: var(--background); 
    color: var(--text-dark); 
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  /* Premium Fixed Layout Wrapper */
  .app-container {
    max-width: 1200px;
    margin: 40px auto;
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--spacing-md);
    overflow-x: hidden;
  }

  .card {
    background: var(--white);
    border-radius: 0 0 0 var(--radius-card);
    padding: var(--spacing-md);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    height: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .card > * {
    position: relative;
    z-index: 1;
  }

  .card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("./images/bg.png") center/cover no-repeat;
    opacity: 0.03;
    z-index: 0;
    filter: sepia(0%) hue-rotate(0deg) saturate(100%);
  }

  /* Structural Brand Header */
  .brand-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--light-grey);
    padding-bottom: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
  }

  .logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .logo-t {
    background: var(--primary-blue);
    color: var(--white);
    font-weight: 900;
    font-size: 24px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-button);
    position: relative;
  }
  .logo-t::after {
    content: '';
    position: absolute;
    top: 0; right: -6px;
    width: 10px; height: 10px;
    background: var(--primary-red);
    border-radius: 2px;
  }

  .logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--primary-blue);
    text-transform: uppercase;
  }
  .logo-text span { 
    font-family: 'Montserrat', sans-serif;
    color: var(--text-grey); 
    font-weight: 400; 
    font-size: 14px; 
    margin-left: 8px; 
    border-left: 1px solid var(--medium-grey); 
    padding-left: 8px; 
    text-transform: none;
  }

  .step-badge {
    background: rgba(42, 47, 125, 0.1);
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
  }

  /* Typography */
  h1 { 
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px; 
    color: var(--primary-blue); 
    font-weight: 400; 
    line-height: 1.1; 
    margin-bottom: var(--spacing-sm); 
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  h2 { 
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px; 
    color: var(--primary-blue); 
    font-weight: 400; 
    margin-bottom: var(--spacing-sm); 
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
  }
  p.subtitle { 
    font-family: 'Montserrat', sans-serif;
    color: var(--text-grey); 
    font-size: 16px; 
    line-height: 1.6; 
    margin-bottom: var(--spacing-md); 
    font-weight: 400;
  }

  /* Interactive Elements */
  .btn {
    background: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 0 0 0 var(--radius-card);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif;
  }
  .btn:hover { 
    background: var(--primary-red-hover); 
    transform: translateY(-1px); 
  }
  .btn-accent { 
    background: var(--primary-red); 
  }
  .btn-accent:hover { 
    background: var(--primary-red-hover); 
  }
  .btn-secondary { 
    background: var(--white); 
    color: var(--primary-blue); 
    border: 2px solid var(--primary-blue); 
  }
  .btn-secondary:hover { 
    background: rgba(42, 47, 125, 0.05); 
    color: var(--primary-blue); 
  }

  /* Form Elements */
  .form-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: var(--spacing-md); 
    margin-bottom: var(--spacing-md); 
  }
  .input-group { 
    display: flex; 
    flex-direction: column; 
    gap: var(--spacing-xs); 
  }
  .input-group label { 
    font-family: 'Montserrat', sans-serif;
    font-size: 13px; 
    font-weight: 700; 
    color: var(--primary-blue); 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
  }
  input, select {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--medium-grey);
    border-radius: var(--radius-input);
    font-size: 15px;
    color: var(--text-dark);
    background: var(--white);
    transition: all 0.2s ease;
    font-family: 'Montserrat', sans-serif;
  }
  input:focus, select:focus { 
    border-color: var(--primary-blue); 
    background: var(--white); 
    outline: none; 
    box-shadow: 0 0 0 3px rgba(42, 47, 125, 0.1); 
  }
  
  .consent-box { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    margin-top: 10px; 
  }
  .consent-box input { 
    width: auto; 
    cursor: pointer; 
  }
  .consent-box label { 
    font-size: 14px; 
    color: var(--text-grey); 
    cursor: pointer; 
    font-family: 'Montserrat', sans-serif;
  }

  /* Modern Content Grids */
  .grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: var(--spacing-md); 
    margin-bottom: var(--spacing-md);
    overflow: hidden;
  }
  .option-card {
    border: 2px solid var(--light-grey);
    padding: var(--spacing-md);
    border-radius: 0 0 0 var(--radius-card);
    cursor: pointer;
    background: var(--white);
    transition: all 0.2s ease;
    text-align: left;
    position: relative;
  }
  .option-card:hover { 
    border-color: var(--primary-blue); 
    transform: translateY(-2px); 
    box-shadow: var(--card-shadow); 
  }
  .option-card.selected { 
    border-color: var(--primary-red); 
    background: rgba(236, 28, 36, 0.05); 
  }
  .option-card.selected::after {
    content: '✓';
    position: absolute;
    top: 15px; right: 15px;
    background: var(--primary-red);
    color: var(--white);
    width: 20px; height: 20px;
    border-radius: 50%;
    font-size: 11px;
    display: flex; align-items: center; justify-content: center; font-weight: bold;
  }
  .option-card h3 { 
    font-family: 'Montserrat', sans-serif;
    font-size: 18px; 
    color: var(--primary-blue); 
    font-weight: 700; 
    margin-bottom: var(--spacing-xs); 
  }
  .option-card p { 
    font-family: 'Montserrat', sans-serif;
    font-size: 14px; 
    color: var(--text-grey); 
    line-height: 1.5; 
    font-weight: 400;
  }

  /* Core Engine Screens Toggle */
  .screen { 
    display: none; 
    width: 100%; 
    flex: 1;
    animation: fadeIn 0.4s ease forwards; 
    overflow-y: auto;
    overflow-x: hidden;
  }
  .screen.active { 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
  }

  /* Loading State Engine */
  .loader-wrapper { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    padding: var(--spacing-lg) 0; 
  }
  .quantum-bar { 
    width: 100%; 
    max-width: 400px; 
    height: 6px; 
    background: var(--light-grey); 
    border-radius: var(--radius-button); 
    overflow: hidden; 
    margin: var(--spacing-md) auto; 
    position: relative; 
  }
  .quantum-progress { 
    width: 0%; 
    height: 100%; 
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-red)); 
    border-radius: var(--radius-button); 
    animation: loadTrack 2.5s ease-in-out infinite; 
  }
  .processing-steps { 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
    font-size: 15px; 
    text-align: left; 
    width: 100%; 
    max-width: 400px; 
    margin-top: 10px; 
    font-family: 'Montserrat', sans-serif;
  }
  .proc-item { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    color: var(--text-grey); 
  }
  .proc-item.done { 
    color: var(--primary-blue); 
    font-weight: 600; 
  }
  .proc-item.done .dot { 
    background: var(--primary-red); 
  }
  .proc-item .dot { 
    width: 8px; 
    height: 8px; 
    background: var(--medium-grey); 
    border-radius: 50%; 
  }

  /* Dashboard Analytics Layout */
  .dashboard-grid { 
    display: grid; 
    grid-template-columns: 1fr 2fr; 
    gap: var(--spacing-md); 
    margin-bottom: var(--spacing-md); 
    align-items: stretch; 
  }
  .metric-pillar { 
    background: var(--primary-blue); 
    color: var(--white); 
    border-radius: 0 0 0 var(--radius-card);
    padding: var(--spacing-lg); 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
  }
  .metric-pillar h4 { 
    font-family: 'Montserrat', sans-serif;
    font-size: 12px; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    opacity: 0.8; 
    margin-bottom: var(--spacing-sm); 
    font-weight: 700; 
  }
  .huge-metric { 
    font-family: 'Bebas Neue', sans-serif;
    font-size: 72px; 
    font-weight: 400; 
    color: var(--white); 
    line-height: 1; 
    margin-bottom: var(--spacing-xs); 
  }
  .huge-metric span { 
    font-size: 24px; 
    font-weight: 400; 
    opacity: 0.9; 
  }
  .signal-tag { 
    background: var(--primary-red); 
    color: var(--white); 
    font-size: 13px; 
    font-weight: 700; 
    padding: 6px 14px; 
    border-radius: 20px; 
    display: inline-flex; 
    align-items: center; 
    gap: 4px; 
    margin-top: 10px; 
    font-family: 'Montserrat', sans-serif;
  }
  
  .readiness-score {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
  }
  .readiness-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    font-weight: 700;
  }
  .readiness-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    font-weight: 400;
    color: var(--white);
  }
  
  .growth-high { color: #22C55E; }
  .growth-medium { color: #F59E0B; }
  .growth-low { color: #EF4444; }
  
  .matrix-value-large {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.1;
  }
  .matrix-value-high { color: #22C55E; }
  .matrix-value-medium { color: #F59E0B; }
  .matrix-value-low { color: #EF4444; }
  
  .details-pane { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: var(--spacing-md); 
  }
  .detail-block { 
    background: var(--background); 
    border: 1px solid var(--light-grey); 
    padding: var(--spacing-md); 
    border-radius: 0 0 0 var(--radius-card);
  }
  .detail-block h5 { 
    font-family: 'Montserrat', sans-serif;
    font-size: 13px; 
    text-transform: uppercase; 
    color: var(--text-grey); 
    letter-spacing: 0.5px; 
    margin-bottom: var(--spacing-sm); 
    font-weight: 700; 
  }
  .detail-block p { 
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px; 
    color: var(--primary-blue); 
    font-weight: 400; 
  }
  .insight-callout { 
    grid-column: span 2; 
    background: rgba(42, 47, 125, 0.05); 
    border-left: 4px solid var(--primary-blue); 
    padding: var(--spacing-md); 
    border-radius: 0 var(--radius-card) var(--radius-card) 0; 
    font-size: 15px; 
    color: var(--text-dark); 
    line-height: 1.6; 
    font-family: 'Montserrat', sans-serif;
  }

  /* Next Action Block Layout */
  .success-banner { 
    background: #F0FDF4; 
    border: 1px solid #BBF7D0; 
    padding: var(--spacing-md); 
    border-radius: 0 0 0 var(--radius-card);
    display: flex; 
    align-items: center; 
    gap: var(--spacing-sm); 
    margin-bottom: var(--spacing-md); 
    color: #166534; 
    font-size: 14px; 
    font-weight: 600; 
    font-family: 'Montserrat', sans-serif;
  }
  .success-icon { 
    background: #22C55E; 
    color: var(--white); 
    width: 28px; 
    height: 28px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 14px; 
  }
  .meta-infobox { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: var(--spacing-md); 
    background: var(--background); 
    padding: var(--spacing-md); 
    border-radius: 0 0 0 var(--radius-card);
    border: 1px solid var(--light-grey); 
    margin-bottom: var(--spacing-md); 
  }
  .meta-infobox div h6 { 
    font-family: 'Montserrat', sans-serif;
    font-size: 11px; 
    text-transform: uppercase; 
    color: var(--text-grey); 
    margin-bottom: var(--spacing-xs); 
    font-weight: 700;
    letter-spacing: 0.5px;
  }
  .meta-infobox div p { 
    font-family: 'Montserrat', sans-serif;
    font-size: 18px; 
    color: var(--primary-blue); 
    font-weight: 700; 
  }

  .actions-row { 
    display: flex; 
    justify-content: space-between; 
    gap: var(--spacing-sm); 
    border-top: 2px solid var(--light-grey); 
    padding-top: var(--spacing-md); 
    margin-top: var(--spacing-md); 
  }

  /* LCD Gainer Board Styles */
  .gainer-board {
    background: var(--white);
    border-radius: 0 0 0 var(--radius-card);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border: 1px solid var(--light-grey);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
  }

  .gainer-board::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #22C55E, #F59E0B, #EF4444, #22C55E);
    animation: tickerGlow 3s linear infinite;
  }

  .ticker-container {
    overflow: hidden;
    white-space: nowrap;
    padding: var(--spacing-sm) 0;
    background: var(--background);
    border-radius: 0 0 0 var(--radius-card);
    margin-bottom: var(--spacing-md);
  }

  .ticker-content {
    display: inline-flex;
    animation: tickerScroll 20s linear infinite;
  }

  .ticker-item {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 600;
    border-right: 1px solid var(--light-grey);
    font-family: 'Montserrat', sans-serif;
  }

  .ticker-item .skill-name {
    color: var(--text-dark);
  }
  
  .ticker-item .trend {
    font-weight: 700;
  }
  
  .trend-up { color: #22C55E; }
  .trend-down { color: #EF4444; }
  
  .market-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
  }
  
  .indicator-high { background: rgba(34, 197, 94, 0.2); color: #22C55E; }
  .indicator-medium { background: rgba(245, 158, 11, 0.2); color: #F59E0B; }
  .indicator-emerging { background: rgba(239, 68, 68, 0.2); color: #EF4444; }
  
  .outcome-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .outcome-high { background: rgba(34, 197, 94, 0.15); color: #166534; border: 2px solid #22C55E; }
  .outcome-medium { background: rgba(245, 158, 11, 0.15); color: #92400E; border: 2px solid #F59E0B; }
  .outcome-emerging { background: rgba(239, 68, 68, 0.15); color: #991B1B; border: 2px solid #EF4444; }
  
  .trend-arrow {
    font-size: 18px;
    font-weight: 900;
  }
  
  .arrow-up { color: #22C55E; }
  .arrow-down { color: #EF4444; }
  
  .qr-image {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-image);
    display: block;
    margin: 0 auto var(--spacing-md);
    cursor: pointer;
    transition: all 0.2s ease;
    object-fit: contain;
  }

  .qr-image:hover {
    transform: scale(1.02);
  }
  
  /* Animations - Minimal per TimesPro Guidelines */
  @keyframes fadeIn { 
    from { opacity: 0; transform: translateY(4px); } 
    to { opacity: 1; transform: translateY(0); } 
  }
  @keyframes loadTrack { 
    0% { width: 0%; left: 0; } 
    50% { width: 100%; left: 0; } 
    100% { width: 0%; left: 100%; } 
  }
  @keyframes tickerScroll { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(-50%); } 
  }
  @keyframes tickerGlow { 
    0% { opacity: 0.5; } 
    50% { opacity: 1; } 
    100% { opacity: 0.5; } 
  }

  /* Print Styles */
  @media print {
    .actions-row, .step-badge, .brand-header, .success-banner {
      display: none !important;
    }
    .card {
      box-shadow: none;
      border: 1px solid #E2E8F0;
    }
    .screen {
      display: block !important;
    }
    .screen:not(.active) {
      display: none !important;
    }
    body {
      background: #fff;
    }
  }

  /* Tablet Styles - Full Width */
  @media (min-width: 768px) and (max-width: 1024px) {
    .app-container {
      max-width: 100%;
      margin: 20px auto;
      padding: var(--spacing-md);
      height: calc(100vh - 40px);
    }
    .card {
      height: 100%;
      max-height: 90vh;
    }
  }

  /* Laptop/Desktop Styles - Contained Cards */
  @media (min-width: 1025px) {
    .app-container {
      max-width: 1200px;
      margin: 40px auto;
      height: calc(100vh - 80px);
    }
    .card {
      height: 100%;
      max-height: 85vh;
    }
  }