  /* --- MASTER DOMINO'S TYPOGRAPHY SYSTEM --- */
  /* 1. DISPLAY / HERO (ExtraBlack Regular) */
  @font-face {
      font-family: 'Header1';
      src: url('fonts/Dominos Sans Header 1.ttf') format('truetype');
      font-weight: normal;
  }
  @font-face {
      font-family: 'PizzaPress';
      src: url('fonts/Dominos Sans Header 1.ttf') format('truetype');
      font-weight: normal;
  }
  /* 2. PRIMARY HEADERS (ExtraBold Regular) */
  @font-face {
      font-family: 'Header2';
      src: url('fonts/Dominos Sans Header 2.ttf') format('truetype');
      font-weight: normal;
  }
  /* 3. ACTION & BANNERS (Subhead 1 Regular) */
  @font-face {
      font-family: 'Subhead1';
      src: url('fonts/Dominos Sans Subhead 1.ttf') format('truetype');
      font-weight: normal;
  }
  /* 4. LABELS & BADGES (Subhead 2 Regular) */
  @font-face {
      font-family: 'Subhead2';
      src: url('fonts/Dominos Sans Subhead 2.ttf') format('truetype');
      font-weight: normal;
  }
  /* 5. BODY & READING (Body Compact Regular) */
  @font-face {
      font-family: 'Compact';
      src: url('fonts/Dominos Sans Body Compact.ttf') format('truetype');
      font-weight: normal;
  }
  /* 6. DATA TABLES / NUM (Body Condensed Regular) */
  @font-face {
      font-family: 'Condensed';
      src: url('fonts/Dominos Sans Body Condensed.ttf') format('truetype');
      font-weight: normal;
  }
  /* Legacy aliases for backwards compatibility without synthetic bolding */
  @font-face {
      font-family: 'OneDotCd-Bold';
      src: url('fonts/Dominos Sans Subhead 1.ttf') format('truetype');
      font-weight: normal;
  }
  @font-face {
      font-family: 'OneDotCd-Bold';
      src: url('fonts/Dominos Sans Subhead 1.ttf') format('truetype');
      font-weight: bold;
  }
  @font-face {
      font-family: 'OneDotCd';
      src: url('fonts/Dominos Sans Body Compact.ttf') format('truetype');
      font-weight: normal;
  }

  /* --- GLOBAL CRUST PALETTE --- */
  :root {
      --brand-red: #ff0000;
      --med-red: #e70000;
      --dark-red: #910000;
      --brand-blue: #0090e2;
      --med-blue: #0077bd;
      --dark-blue: #005c91;
      --crust-base: #fefaf6;
      --crust-light: #faf2e9;
      --crust-med: #f0decc;
      --crust-dark: #c0a588;
      --crust-deep: #603913;
      --crust-burnt: #472b10;
  }
  
  body {
      font-family: 'OneDotCd', 'Arial Narrow', sans-serif;
      margin: 0;
      padding: 0;
      background-color: var(--crust-light);
      display: block; /* CHANGED FROM FLEX */
      height: 100vh;
      color: var(--crust-deep);
  }

  .hidden { 
      display: none !important; 
  }

  /* --- MOBILE BLOCKER --- */
  #mobile-blocker {
      display: none;
      position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
      background: linear-gradient(145deg, #005c91 0%, #002e4d 100%);
      color: var(--crust-base, #fefaf6);
      text-align: center; padding: 24px; z-index: 99999999;
      box-sizing: border-box;
      align-items: center; justify-content: center;
      font-family: 'OneDotCd', 'Arial Narrow', sans-serif;
  }
  #mobile-blocker h2 {
      font-family: 'PizzaPress', 'OneDotCd-Bold', sans-serif;
      color: var(--crust-base, #fefaf6) !important;
      font-size: 2rem;
      margin: 0 0 14px 0;
      text-transform: uppercase;
      letter-spacing: 1px;
      border-bottom: 3px solid var(--brand-red, #ff0000);
      padding-bottom: 8px;
      display: inline-block;
  }
  #mobile-blocker p {
      font-size: 1.15rem;
      line-height: 1.5;
      color: var(--crust-base, #fefaf6) !important;
      max-width: 480px;
      margin: 0 auto;
  }
  @media (max-width: 850px) {
      #mobile-blocker { display: flex !important; flex-direction: column; justify-content: center; align-items: center; }
      #simulator-wrapper { display: none !important; }
  }

  /* --- SPLIT VIEW LAYOUT --- */
  #simulator-wrapper {
      display: flex;
      width: 95%; max-width: 1400px;
      height: 75vh; 
      margin: 6vh auto; /* CHANGED: Pushes it down 6% of the screen */
      background: var(--crust-base);
      border-radius: 12px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.15);
      overflow: hidden; 
      border: 2px solid var(--crust-med);
  }

  /* LEFT: Instructions Panel */
  #instruction-panel {
      position: relative; /* REQUIRED FOR BUTTON POSITIONING */
      flex-grow: 1; 
      background: white;
      padding: 24px 24px 16px 24px;
      border-right: 2px solid var(--crust-med);
      display: flex;
      flex-direction: column;
      height: 100%;
      box-sizing: border-box;
      overflow: hidden; 
  }
  
  h2 { 
      font-family: 'PizzaPress', 'Arial Narrow', sans-serif; /* Big headers */
      color: var(--dark-blue); 
      margin-top: 0; 
      text-transform: uppercase; 
      border-bottom: 2px solid var(--brand-red); 
      padding-bottom: 5px;
      flex-shrink: 0;
  }

  #instruction-text { 
      font-family: 'OneDotCd', 'Arial Narrow', sans-serif; 
      font-size: 1.1rem; 
      line-height: 1.4; 
      margin-top: 15px; 
      flex: 1 1 auto; 
      min-height: 0; 
      overflow-y: auto; 
      padding-right: 6px; 
  } 

  .error-msg { 
      display: none; /* Controlled dynamically by JavaScript */
      background-color: rgba(255, 0, 0, 0.06); /* Soft opacity of var(--brand-red) */
      border: 1px solid rgba(255, 0, 0, 0.15); /* Soft border using var(--brand-red) */
      border-left: 5px solid var(--brand-red);  /* Solid established brand red accent */
      color: var(--dark-red);                  /* Established dark red font */
      padding: 12px 16px; 
      border-radius: 8px; 
      font-family: 'OneDotCd-Bold', sans-serif;
      font-size: 1.05rem;
      margin: 10px 0; 
      box-sizing: border-box; 
      text-align: center;
      width: 100%;
      flex-shrink: 0;
      animation: fadeIn 0.2s ease-out;
  }

  .nav-strip {
      margin-top: auto;
      display: flex;
      gap: 10px;
      flex-shrink: 0; 
      padding-top: 12px;
      border-top: 1px solid rgba(0, 0, 0, 0.08);
      background: white;
      z-index: 10;
  }
  
  /* RIGHT: POS Screen */
  #pos-container {
      height: 100%; 
      max-width: 75%; 
      aspect-ratio: 1600 / 1200; 
      background: #000;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
  }

  /* The wrapper that holds the image and hitboxes */
  #hitbox-wrapper {
      position: relative;
      aspect-ratio: 1600 / 1200;
      max-width: 100%;
      max-height: 100%;
  }

  /* The actual POS Image */
  #pos-image {
      width: 100%;
      height: 100%;
      object-fit: contain; 
      display: block;
  }

  /* --- HITBOXES (Invisible with Arrows) --- */
    .hitbox {
        position: absolute;
        cursor: default; /* Stops the mouse from turning into a hand */
        display: none;
        z-index: 10;
        background: transparent;
        border: none;
        user-select: none; /* Stops text selection */
        caret-color: transparent; /* Makes the blinking typing cursor invisible */
    }
  
  .hitbox::before {
      content: '';
      position: absolute;
      top: -50px; 
      left: 50%;
      transform: translateX(-50%);
      width: 40px; 
      height: 40px; 
      background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ff0000"><path d="M12 21l-9-9h6V3h6v9h6z"/></svg>');
      background-size: contain;
      background-repeat: no-repeat;
      filter: drop-shadow(0 4px 4px rgba(0,0,0,0.5));
      animation: bounce 1s infinite;
      animation-delay: 1s; 
      opacity: 0; 
      animation-fill-mode: forwards; 
      pointer-events: none;
  }

  @keyframes bounce {
      0% { top: -50px; opacity: 1; }
      50% { top: -35px; opacity: 1; }
      100% { top: -50px; opacity: 1; }
  }

  .hitbox.arrow-bottom::before {
      top: auto; 
      bottom: -50px; 
      transform: translateX(-50%) rotate(180deg); 
      animation: bounceBottomUp 1s infinite;
      animation-delay: 1s; 
      opacity: 0; 
      animation-fill-mode: forwards; 
  }
  
  @keyframes bounceBottomUp {
      0% { bottom: -50px; opacity: 1; }
      50% { bottom: -35px; opacity: 1; } 
      100% { bottom: -50px; opacity: 1; }
  }

    /* POPUP MODAL OVERLAY */
    #phone-modal-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.75);
        z-index: 999;
        justify-content: center;
        align-items: center;
    }

    .phone-modal-card {
        background: #ffffff;
        border-radius: 12px;
        padding: 24px;
        max-width: 420px;
        width: 90%;
        box-shadow: 0 8px 24px rgba(0,0,0,0.3);
        border-top: 6px solid var(--brand-blue, #0055a5);
        animation: modalSlide 0.25s ease-out;
    }

    @keyframes modalSlide {
        from { transform: translateY(-20px); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }

    .modal-header {
        font-family: 'OneDotCd-Bold', sans-serif;
        font-size: 1.3rem;
        color: var(--brand-blue, #0055a5);
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .modal-body {
        font-size: 0.95rem;
        color: #333;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .modal-close-btn {
        background: var(--brand-blue, #0055a5);
        color: white;
        border: none;
        padding: 10px 18px;
        border-radius: 6px;
        font-family: 'OneDotCd-Bold', sans-serif;
        cursor: pointer;
        width: 100%;
    }

  /* --- POS TICKET STYLING --- */  
  .pos-ticket {
      background-color: var(--crust-light);
      border-left: 5px solid var(--brand-blue);
      padding: 12px 10px 8px 10px; 
      margin: 10px 0 24px 0; /* 👈 Changed from 2px to 24px (or 32px) for global breathing room */
      border-radius: 4px;
      font-family: 'OneDotCd', 'Arial Narrow', sans-serif;
      color: var(--crust-burnt);
      font-size: 1.0rem;
      line-height: 1.5; 
  }

  .pos-ticket-header {
      font-family: 'OneDotCd-Bold', 'Arial Narrow', sans-serif;
      color: var(--dark-blue);
      font-size: 1.15rem; /* Dropped from 1.4rem */
      margin-bottom: 6px;
      font-weight: bold;
  }

  /* The Master Button Template (Action & Banners -> Subhead 1) */
  button, input[type="button"], input[type="submit"] {
      font-family: 'Subhead1', sans-serif !important;
      font-weight: normal !important;
  }

  .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      background: var(--brand-blue);
      color: var(--crust-base);
      padding: 0.55rem 1.2rem;
      border-radius: 50px;
      font-family: 'Subhead1', sans-serif !important;
      font-weight: normal !important;
      text-decoration: none;
      transition: 0.3s ease;
      border: none;
      font-size: 0.95rem;
      line-height: 1;
      cursor: pointer;
      box-sizing: border-box;
  }
  
  .btn:hover {
      opacity: 0.85;
  }

  .btn-outline {
      background: transparent !important;
      color: var(--brand-blue) !important;
      border: 2px solid var(--brand-blue) !important;
  }

  .btn-outline:hover {
      background: rgba(0, 144, 226, 0.1) !important;
      color: var(--dark-blue) !important;
      opacity: 1 !important;
  }

  .btn-disabled {
      background: #ccc !important;
      cursor: not-allowed !important;
      transform: none !important;
      color: #888 !important;
      border: none !important;
      pointer-events: none !important;
  }

  /* Master Navbar Back Link */
  .back-link {
      color: var(--crust-base);
      text-decoration: none;
      font-family: 'Subhead1', sans-serif !important;
      font-weight: normal !important;
      font-size: 1.05rem;
      opacity: 0.85;
      transition: opacity 0.2s;
      display: inline-flex;
      align-items: center;
      gap: 6px;
  }

  .back-link:hover {
      opacity: 1;
  }

  /* The Red Override */
  .btn-finish {
      background: var(--brand-red);
  }

  .hitbox.hide-arrow::before { display: none !important; }

    .classroom-container {
        max-width: 900px;
        margin: 2rem auto;
        background: white;
        border-radius: var(--border-radius);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        overflow: hidden;
        border-top: 6px solid var(--brand-blue);
    }
    
    .classroom-header {
        background: var(--crust-light);
        padding: 1.5rem 2rem;
        border-bottom: 2px solid var(--crust-med);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .module-title {
        font-family: 'OneDotCd-Bold';
        font-size: 1.8rem;
        color: var(--dark-blue);
        margin: 0;
        text-transform: uppercase;
    }

    .step-indicator {
        font-family: 'OneDotCd-Bold';
        color: var(--brand-blue);
        background: rgba(0, 144, 226, 0.1);
        padding: 0.5rem 1rem;
        border-radius: 20px;
    }

    .classroom-content {
        padding: 2rem;
        min-height: 400px; /* Keep height stable during transitions */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    /* --- Step 1: Video --- */
    .video-wrapper {
        width: 100%;
        background: #000;
        aspect-ratio: 16/9;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
        position: relative;
    }
    
    .mock-play-btn {
        font-size: 4rem;
        cursor: pointer;
        transition: transform 0.2s;
    }
    .mock-play-btn:hover { transform: scale(1.1); }

    /* --- Step 2: Knowledge Check --- */
    .quiz-container {
        width: 100%;
        max-width: 600px;
        text-align: left;
    }

    .quiz-question {
        font-family: 'OneDotCd-Bold';
        font-size: 1.4rem;
        color: var(--crust-deep);
        margin-bottom: 1.5rem;
    }

    .quiz-option {
        display: block;
        width: 100%;
        padding: 1rem;
        margin-bottom: 1rem;
        background: var(--crust-base);
        border: 2px solid var(--crust-med);
        border-radius: 8px;
        font-family: 'OneDotCd';
        font-size: 1.1rem;
        color: var(--crust-deep);
        cursor: pointer;
        transition: all 0.2s;
        text-align: left;
    }

    .quiz-option:hover {
        border-color: var(--brand-blue);
        background: rgba(0, 144, 226, 0.05);
    }

    .quiz-option.selected {
        border-color: var(--brand-blue);
        background: var(--brand-blue);
        color: var(--crust-base);
    }

    /* --- Step 3: Prompt --- */
    .prompt-container {
        text-align: center;
        animation: fadeIn 0.5s ease-out;
    }

    .prompt-icon {
        font-size: 5rem;
        margin-bottom: 1rem;
    }

    .prompt-text {
        font-size: 1.5rem;
        color: var(--crust-deep);
        margin-bottom: 2rem;
        max-width: 600px;
    }

    /* --- Footer Controls --- */
    .classroom-footer {
        padding: 1.5rem 2rem;
        background: var(--crust-light);
        border-top: 2px solid var(--crust-med);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--brand-blue);
        color: var(--crust-base);
        padding: 0.65rem 1.6rem;
        border-radius: 50px;
        font-family: 'Subhead1', sans-serif !important;
        font-weight: normal !important;
        text-decoration: none;
        transition: var(--transition);
        border: none;
        font-size: 1.05rem;
        line-height: 1.2;
        cursor: pointer;
        width: auto;
        box-sizing: border-box;
    }

    .btn:hover {
        background: var(--dark-blue);
        transform: scale(1.05);
    }

    .btn-outline {
        background: transparent;
        color: var(--brand-blue);
        border: 2px solid var(--brand-blue);
        font-family: 'Subhead1', sans-serif !important;
        font-weight: normal !important;
    }
    
    .btn-outline:hover {
        background: rgba(0, 144, 226, 0.1);
        color: var(--dark-blue);
        transform: scale(1.02);
    }
    /* ==========================================
    /* ==========================================
       CALL AUDIO CONTROLLER CARD & MULTI-TRACK ENGINE
       ========================================== */
    #audio-control-panel {
        background: #fdfbf7;
        border: 1px solid var(--crust-dark);
        border-left: 4px solid var(--brand-blue);
        border-radius: 12px;
        padding: 8px 12px;
        margin-bottom: 10px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    }

    .audio-header {
        font-family: 'Subhead2', sans-serif;
        color: var(--dark-blue);
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        display: flex;
        align-items: center;
        gap: 7px;
        margin-bottom: 6px;
    }

    .audio-pulse-indicator {
        width: 8px;
        height: 8px;
        background-color: var(--brand-blue);
        border-radius: 50%;
        display: inline-block;
        flex-shrink: 0;
        animation: pulse 1.5s infinite;
    }

    @keyframes pulse {
        0% { transform: scale(0.9); opacity: 0.5; }
        50% { transform: scale(1.2); opacity: 1; }
        100% { transform: scale(0.9); opacity: 0.5; }
    }

    .audio-track-stack {
        display: flex;
        flex-direction: column;
        gap: 4px;
        margin-top: 4px;
    }

    .audio-track-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: rgba(0, 92, 145, 0.06);
        border: 1px solid var(--crust-dark);
        border-radius: 6px;
        padding: 4px 8px;
        transition: opacity 0.25s ease;
    }

    .audio-track-row.locked {
        opacity: 0.5;
        pointer-events: none;
    }

    .audio-track-row .track-label {
        font-family: 'Subhead2', sans-serif;
        font-size: 0.85rem;
        color: var(--crust-burnt) !important;
        flex: 1;
        min-width: 0;
        padding-right: 6px;
    }

    .track-badge {
        font-family: 'Subhead2', sans-serif;
        font-size: 0.72rem;
        padding: 2px 8px;
        border-radius: 12px;
        line-height: 1.2;
        display: inline-flex;
        align-items: center;
        font-weight: normal;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    .track-badge.pending {
        background: rgba(0, 0, 0, 0.08);
        color: var(--crust-deep);
    }

    .track-badge.playing {
        background: rgba(0, 144, 226, 0.15);
        color: var(--brand-blue);
    }

    .track-badge.complete {
        background: rgba(40, 167, 69, 0.15);
        color: #28a745;
    }

    .audio-btn {
        font-family: 'Subhead1', sans-serif !important;
        font-weight: normal !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px;
        height: 26px !important;
        padding: 0 10px !important;
        border-radius: 20px !important;
        flex-shrink: 0 !important;
        font-size: 0.8rem !important;
        line-height: 1 !important;
        background: var(--brand-blue);
        color: var(--crust-base) !important;
        border: none;
        cursor: pointer;
        transition: 0.2s ease;
    }

    .audio-btn:hover {
        background: var(--dark-blue);
    }

    .audio-btn.btn-outline {
        background: transparent !important;
        color: var(--brand-blue) !important;
        border: 1.5px solid var(--brand-blue) !important;
    }

    .audio-btn.btn-outline:hover {
        background: rgba(0, 144, 226, 0.08) !important;
    }

/* POS Input Box Solid White Override */
    .hitbox-text-input {
        width: 100% !important;
        height: 100% !important;
        border: none !important;                    /* Strips the HTML border */
        background: #ffffff !important;
        font-size: clamp(0.72rem, 1.1vw, 1rem) !important;
        line-height: 1 !important;
        font-family: Arial, Helvetica, sans-serif !important;
        font-weight: bold !important;
        text-transform: uppercase !important;
        color: #1a1a1a !important;
        padding: 0 6px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        outline: none !important;
        box-shadow: none !important;
        border-radius: 2px !important;

        /* --- ADDED FOR DELAYED APPEARANCE --- */
        opacity: 0;                                 /* Start invisible */
        animation: delayInputAppear 0.1s forwards;  /* Transition to visible */
        animation-delay: 0.15s;                     /* Wait 150ms for the image to change */
    }

    /* Keyframe animation to handle the delay and clean pop-in */
    @keyframes delayInputAppear {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    /* Strips the browser's focus glow / outline / border when active */
    .hitbox-text-input:focus {
        outline: none !important;
        outline: 0 !important;
        box-shadow: none !important;
        border-radius: 2px !important;
    }

    /* Strips browser default clear 'X' button on search inputs */
    .hitbox-text-input::-webkit-search-cancel-button,
    .hitbox-text-input::-webkit-search-decoration,
    .hitbox-text-input::-webkit-search-results-button,
    .hitbox-text-input::-webkit-search-results-decoration {
        -webkit-appearance: none !important;
        appearance: none !important;
        display: none !important;
    }

    #hb-delivery-instructions .hitbox-text-input {
        width: 100% !important;
        height: 100% !important;
        padding: 4px 6px !important;
        font-family: Arial, Helvetica, sans-serif !important;
        font-weight: bold !important;
        font-size: clamp(0.72rem, 1.1vw, 0.95rem) !important;
        line-height: 1.25 !important;
        color: #1a1a1a !important;
        text-align: left !important;
        vertical-align: top !important;
        resize: none !important;
        overflow: hidden !important;
        white-space: pre-wrap !important;
        box-sizing: border-box !important;
    }

    /* Style the placeholder text differently than the typed text with high contrast for store screens */
    .hitbox-text-input::placeholder {
        font-weight: bold !important;
        font-size: 0.9em !important;
        color: #555555 !important;
        opacity: 0.85 !important;
    }

    /* ==========================================
    STAGE 4: HOLD STATUS BAR & SCORECARD
    (STRICT BRAND PALETTE ONLY)
    ========================================== */
    .hold-status-bar {
        display: none;
        background: var(--brand-red);
        color: var(--crust-base);
        padding: 6px 12px;
        border-radius: 6px;
        font-family: 'OneDotCd-Bold', sans-serif;
        font-size: 0.9rem;
        text-align: center;
        margin-top: 8px;
        animation: pulse-hold 1.5s infinite;
    }

    @keyframes pulse-hold {
        0% { opacity: 1; }
        50% { opacity: 0.65; }
        100% { opacity: 1; }
    }

    .hold-btn {
        background-color: var(--dark-blue) !important;
        color: var(--crust-base) !important;
    }

    .hold-btn:hover {
        background-color: var(--med-blue) !important;
    }

    .scorecard-card {
        background: var(--crust-light);
        border: 2px solid var(--brand-blue);
        border-radius: 8px;
        padding: 16px;
        margin-top: 15px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        color: var(--crust-burnt);
    }

    .scorecard-header {
        font-family: 'OneDotCd-Bold', sans-serif;
        font-size: 1.2rem;
        color: var(--dark-blue);
        text-transform: uppercase;
        border-bottom: 2px solid var(--crust-med);
        padding-bottom: 8px;
        margin-bottom: 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .scorecard-metric {
        display: flex;
        justify-content: space-between;
        margin-bottom: 8px;
        font-size: 0.95rem;
        color: var(--crust-deep);
    }

    .scorecard-metric strong {
        color: var(--crust-burnt);
        font-family: 'OneDotCd-Bold', sans-serif;
    }

    .scorecard-stars {
        font-size: 1.4rem;
        color: var(--brand-red); /* Uses brand red for star accent */
        text-align: center;
        margin: 12px 0 6px 0;
    }

    .scorecard-grade {
        text-align: center;
        font-family: 'OneDotCd-Bold', sans-serif;
        font-size: 1.1rem;
        color: var(--dark-blue);
        margin-bottom: 8px;
    }

    /* Removes default browser top margin on instruction paragraphs */
    #instruction-text p {
        margin-top: 0;
    }



    .classroom-container-wide {
        max-width: 1100px;
        margin: 2rem auto;
        background: white;
        border-radius: var(--border-radius);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        overflow: hidden;
        border-top: 6px solid var(--brand-blue);
    }

    .video-card-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* Clean 3-wide layout */
        gap: 1.25rem;
        margin: 1.5rem 0;
        text-align: left;
    }

    .v-card {
        background: white;
        border-radius: var(--border-radius);
        overflow: hidden;
        box-shadow: 0 4px 6px rgba(0,0,0,0.08);
        border-top: 5px solid var(--brand-blue);
        display: flex;
        flex-direction: column;
        transition: var(--transition);
        position: relative;
    }

    /* Locked Card State */
    .v-card.locked {
        opacity: 0.6;
        filter: grayscale(80%);
        pointer-events: none;
        border-top-color: var(--crust-dark);
    }

    /* Completed Card State */
    .v-card.completed {
        border-top-color: #28a745;
    }

    .v-card-thumb {
        height: 160px;
        background-color: #111;
        background-size: cover;
        background-position: center;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .v-card-badge {
        position: absolute;
        top: 10px;
        right: 10px;
        background: rgba(0, 0, 0, 0.75);
        color: white;
        font-family: 'OneDotCd-Bold', sans-serif;
        padding: 4px 10px;
        border-radius: 20px;
        font-size: 0.85rem;
    }

    .v-card.completed .v-card-badge {
        background: #28a745;
    }

    .v-card-body {
        padding: 1.2rem;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .v-card-title {
        font-family: 'OneDotCd-Bold', sans-serif;
        font-size: 1.2rem;
        color: var(--dark-blue);
        margin-bottom: 0.4rem;
    }

    .v-card-desc {
        font-size: 0.95rem;
        color: #666;
        margin-bottom: 1rem;
        flex-grow: 1;
    }

    /* --- VIDEO MODAL OVERLAY --- */
    .video-modal-overlay {
        position: fixed;
        top: 0; left: 0;
        width: 100vw; height: 100vh;
        background: rgba(0, 0, 0, 0.85);
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(4px);
    }

    .video-modal-content {
        background: #000;
        width: 90%;
        max-width: 900px;
        border-radius: var(--border-radius);
        overflow: hidden;
        position: relative;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        border: 2px solid var(--crust-med);
    }

    .video-modal-close {
        position: absolute;
        top: 10px; right: 15px;
        color: white;
        font-size: 2rem;
        cursor: pointer;
        z-index: 1010;
        font-weight: bold;
        line-height: 1;
    }

    .video-wrapper-inner {
        position: relative;
        padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
        height: 0;
    }

    .video-wrapper-inner iframe {
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
    }

    /* Invisible blocker overlay to prevent clicks/scrubbing on player */
    .video-scrub-blocker {
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: calc(100% - 50px); /* Leaves bottom play/pause accessible if needed */
        z-index: 1005;
        background: transparent;
    }

    /* VIMEO INVISIBLE WALL SHIELDS (Blocks title links, action buttons, & Vimeo logo link) */
    .vimeo-shield-top-left {
        position: absolute;
        top: 0;
        left: 0;
        width: calc(100% - 90px);
        height: 75px;
        z-index: 1005;
        cursor: default;
        pointer-events: auto;
        background: transparent;
    }

    .vimeo-shield-right {
        position: absolute;
        top: 0;
        right: 0;
        width: 80px;
        height: calc(100% - 50px);
        z-index: 1005;
        cursor: default;
        pointer-events: auto;
        background: transparent;
    }

    .vimeo-shield-bottom-right {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 85px;
        height: 50px;
        z-index: 1005;
        cursor: default;
        pointer-events: auto;
        background: transparent;
    }

    /* ==========================================
   LIVE CAPTURED INTERACTIVE TRASH HOTSPOTS
   ========================================== */
    .trash-hotspot {
        position: absolute;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 20005;
    }

    .trash-hotspot:hover {
        transform: scale(1.08);
    }

    /* Unclicked state: Completely invisible */
    .trash-hotspot .hotspot-pulse {
        width: 100%; height: 100%;
        border: none !important;
        background: transparent !important;
        animation: none !important;
        pointer-events: none !important;
    }

    /* Clicked/Cleared State: Sleek Floating Green Checkmark Badge */
    .trash-hotspot.resolved {
        pointer-events: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .trash-hotspot.resolved .hotspot-pulse {
        width: 34px !important;
        height: 34px !important;
        background: #10b981 !important;
        border: 2px solid #ffffff !important;
        border-radius: 50% !important;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
        margin: auto;
    }

    .trash-hotspot.resolved .hotspot-pulse::after {
        content: '✓';
        color: white;
        font-size: 1rem;
        font-weight: 900;
    }

    /* ==========================================
       MODULE 2 INTERACTIVE UNIFORM JOB AID STYLES
       ========================================== */
    .interactive-modal-overlay {
        position: fixed;
        top: 0; left: 0;
        width: 100vw; height: 100vh;
        background: rgba(0, 0, 0, 0.88);
        z-index: 2000;
        display: flex;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(6px);
    }

    .video-modal-content.interactive-mode {
        width: 94vw !important;
        max-width: 1200px !important;
        height: 88vh !important;
        max-height: 820px !important;
        display: flex;
        flex-direction: column;
        background: #090d16 !important;
        overflow: hidden;
        position: relative;
    }

    .uniform-modal-container {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        background: #090d16;
        color: #fff;
        position: relative;
        overflow: hidden;
        border-radius: 8px;
    }

    .uniform-hud-bar {
        background: linear-gradient(135deg, var(--dark-blue), #1e293b);
        padding: 8px 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 3px solid var(--brand-blue);
        box-shadow: 0 4px 12px rgba(0,0,0,0.4);
        z-index: 100;
    }

    .uniform-canvas-area {
        position: relative;
        flex-grow: 1;
        width: 100%;
        height: calc(100% - 55px);
        display: flex;
        align-items: center;
        justify-content: center;
        background: #020617;
        overflow: hidden;
    }

    .uniform-stage-view {
        position: relative;
        width: 100%;
        height: 100%;
        max-width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .poster-aspect-lock {
        position: relative;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        aspect-ratio: 5760 / 4032;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        container-type: size;
    }

    .grid-box-overlay {
        position: absolute;
        cursor: pointer;
        z-index: 50;
        border: 3px transparent solid;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .explore-callout-text {
        position: absolute;
        color: #ffffff;
        font-family: 'OneDotCd', sans-serif;
        font-size: clamp(0.65rem, 1.05cqw, 0.95rem);
        line-height: 1.25;
        opacity: 0;
        transition: opacity 0.4s ease;
        pointer-events: none;
        z-index: 150 !important;
        text-align: left;
        text-shadow: 0 2px 4px rgba(0,0,0,0.9), 0 0 8px rgba(0,0,0,0.9);
    }

    /* Callout text coordinates centralized in LMS_Master_hitboxes.css */

    .inbox-guideline-text {
        width: 100%;
        height: 100%;
        padding: clamp(6px, 1.2cqw, 16px) clamp(8px, 1.4cqw, 18px);
        box-sizing: border-box;
        color: var(--crust-burnt);
        font-family: 'OneDotCd', 'Arial Narrow', sans-serif;
        font-size: clamp(0.7rem, 1.35cqw, 1.15rem);
        line-height: 1.3;
        font-weight: 600;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
        overflow: hidden;
        pointer-events: none;
    }

    .box-text-card {
        position: absolute;
        background: rgba(15, 23, 42, 0.95);
        border: 2px solid var(--brand-blue);
        border-radius: 10px;
        padding: 12px 16px;
        color: white;
        font-family: 'OneDotCd-Bold', sans-serif;
        font-size: 0.95rem;
        line-height: 1.35;
        box-shadow: 0 8px 24px rgba(0,0,0,0.6);
        z-index: 100;
        animation: fadeIn 0.3s ease-out;
        max-width: 280px;
        pointer-events: none;
    }

    .lookbook-modal-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.88);
        z-index: 30000;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 15px;
        box-sizing: border-box;
    }

    .lookbook-modal-content {
        position: relative;
        max-width: 95%;
        max-height: 90%;
        background: white;
        border-radius: 12px;
        overflow: auto;
        border: 4px solid var(--brand-blue);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

    /* --- TEAM WOW VIDEO STREAM LOADER & WATCHDOG --- */
    .video-stream-loader {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle, #001a33 0%, #000c1a 100%);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 50;
        transition: opacity 0.5s ease;
        padding: 20px;
        box-sizing: border-box;
        text-align: center;
    }

    .video-stream-loader.loaded {
        opacity: 0;
        pointer-events: none;
    }

    .tw-loader-logo {
        width: 120px;
        max-width: 35%;
        height: auto;
        animation: twPulse 2s ease-in-out infinite;
        filter: drop-shadow(0 0 16px rgba(0, 144, 226, 0.7));
        user-select: none;
    }

    @keyframes twPulse {
        0% { transform: scale(0.95); filter: drop-shadow(0 0 8px rgba(0, 144, 226, 0.4)); opacity: 0.88; }
        50% { transform: scale(1.05); filter: drop-shadow(0 0 24px rgba(0, 144, 226, 0.95)) drop-shadow(0 0 35px rgba(227, 24, 55, 0.5)); opacity: 1; }
        100% { transform: scale(0.95); filter: drop-shadow(0 0 8px rgba(0, 144, 226, 0.4)); opacity: 0.88; }
    }

    .tw-loader-text {
        margin-top: 15px;
        color: #dbeafe;
        font-family: 'Subhead2', sans-serif;
        font-size: 1rem;
        letter-spacing: 0.5px;
        text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    }

    .tw-retry-btn {
        display: none;
        margin-top: 14px;
        background: var(--med-red, #e70000);
        color: #ffffff;
        border: 2px solid rgba(255,255,255,0.4);
        border-radius: 25px;
        padding: 10px 22px;
        font-family: 'Subhead2', sans-serif;
        font-size: 0.95rem;
        cursor: pointer;
        box-shadow: 0 4px 15px rgba(231, 0, 0, 0.5);
        transition: all 0.2s ease;
        animation: fadeIn 0.3s ease-out;
    }

    .tw-retry-btn:hover {
        transform: scale(1.04);
        background: #b7122b;
        border-color: #ffffff;
    }

    /* --- DAY 2 PLAYBOOK DECK & AUDIO STYLES --- */
    .classroom-container-wide {
        max-width: 920px;
        margin: 1rem auto;
        background: white;
        border-radius: var(--border-radius, 12px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
        overflow: hidden;
        border-top: 5px solid var(--brand-blue);
    }

    .playbook-deck {
        width: 100%;
        max-width: 820px;
        background: var(--crust-base);
        border: 2px solid var(--brand-blue);
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 6px 18px rgba(0,0,0,0.06);
        position: relative;
        animation: fadeIn 0.3s ease;
        text-align: left;
    }

    .playbook-header {
        background: linear-gradient(135deg, var(--dark-blue), var(--brand-blue));
        padding: 0.65rem 1.25rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: white;
    }

    .playbook-card {
        display: none;
        padding: 1.5rem;
        animation: fadeIn 0.3s ease;
    }

    .playbook-card.active {
        display: block;
    }

    .card-split {
        display: grid;
        grid-template-columns: 260px 1fr;
        gap: 1.5rem;
        align-items: start;
    }

    @media (max-width: 768px) {
        .card-split {
            grid-template-columns: 1fr;
        }
    }

    .card-media-col {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .card-image-box {
        width: 100%;
        height: 155px;
        background: #e2e8f0;
        border: 2px dashed #cbd5e1;
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        position: relative;
    }

    .card-image-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .card-details {
        text-align: left !important;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .card-details h4 {
        font-family: 'PizzaPress';
        font-size: 1.45rem;
        color: var(--brand-blue);
        margin: 0 0 0.5rem 0;
        line-height: 1.15;
        text-align: left !important;
    }

    .card-details p {
        font-family: 'OneDotCd';
        font-size: 1.05rem;
        color: var(--crust-deep);
        line-height: 1.35;
        margin: 0 0 0.5rem 0;
        text-align: left !important;
    }

    .card-details ul {
        margin: 0.25rem 0 0.5rem 0;
        padding-left: 1.25rem;
        text-align: left !important;
    }

    .card-details li {
        font-family: 'OneDotCd';
        font-size: 1.05rem;
        color: var(--crust-deep);
        line-height: 1.35;
        margin-bottom: 0.45rem;
        text-align: left !important;
    }

    /* --- Audio Player Pill Bar (Compact Column Width) --- */
    .audio-player-pill {
        display: flex;
        align-items: center;
        gap: 8px;
        background: #fff;
        border: 1.5px solid var(--brand-blue);
        padding: 0.35rem 0.75rem;
        border-radius: 20px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.04);
        width: 100%;
        box-sizing: border-box;
    }

    .audio-play-btn {
        background: var(--brand-blue);
        color: #fff;
        border: none;
        border-radius: 50%;
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.85rem;
        cursor: pointer;
        transition: all 0.2s ease;
        flex-shrink: 0;
    }

    .audio-play-btn:hover {
        transform: scale(1.08);
        background: var(--brand-red);
    }

    .audio-info {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        gap: 1px;
        text-align: left;
        overflow: hidden;
    }

    .audio-title {
        font-family: 'OneDotCd-Bold';
        font-size: 0.85rem;
        color: var(--brand-blue);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .audio-time {
        font-family: 'OneDotCd';
        font-size: 0.75rem;
        color: #64748b;
    }

    .playbook-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #f8fafc;
        padding: 0.75rem 1.5rem;
        border-top: 1px solid var(--crust-med);
    }

    .btn:disabled, button:disabled, .btn-disabled {
        background: #cbd5e1 !important;
        cursor: not-allowed !important;
        transform: none !important;
        color: #94a3b8 !important;
        border-color: #cbd5e1 !important;
        opacity: 0.65;
        pointer-events: none !important;
    }

    /* --- GLOBAL QUIZ OPTION BRAND STYLING --- */
    .quiz-option {
        display: block;
        width: 100%;
        padding: 0.85rem 1rem;
        margin-bottom: 0.65rem;
        background: var(--crust-base, #fefaf6);
        border: 2px solid var(--crust-med, #f0decc);
        border-radius: 8px;
        font-family: 'OneDotCd', sans-serif;
        font-size: 1rem;
        text-align: left;
        cursor: pointer;
        transition: all 0.2s ease;
        box-sizing: border-box;
        color: var(--crust-deep, #603913);
    }

    .quiz-option:hover {
        border-color: var(--brand-blue);
        background: #fff;
        transform: translateX(4px);
    }

    .quiz-option.selected {
        border-color: var(--brand-blue);
        background: rgba(0, 144, 226, 0.08);
        font-family: 'OneDotCd-Bold', sans-serif;
    }

    .quiz-option.correct {
        border-color: var(--brand-blue) !important;
        background: rgba(0, 144, 226, 0.12) !important;
        color: var(--dark-blue) !important;
        font-family: 'OneDotCd-Bold', sans-serif;
    }

    .quiz-option.wrong {
        border-color: var(--brand-red) !important;
        background: rgba(227, 24, 55, 0.08) !important;
        color: var(--brand-red) !important;
    }

    /* --- POS SIMULATOR CALL & ASSISTANCE CONTROLS --- */
    .phone-guide-arrow {
        position: absolute;
        display: none;
        align-items: center;
        gap: 6px;
        background: rgba(0, 100, 145, 0.95);
        color: #fff;
        font-family: 'OneDotCd-Bold', sans-serif;
        font-size: 0.95rem;
        padding: 6px 14px;
        border-radius: 20px;
        border: 2px solid #ffffff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 10px rgba(0, 100, 145, 0.6);
        cursor: pointer;
        z-index: 50;
        user-select: none;
        transition: transform 0.2s ease, opacity 0.3s ease;
        animation: bounceIndicator 1.2s infinite ease-in-out;
    }

    .phone-guide-arrow:hover {
        transform: scale(1.08);
        background: #004d70;
    }

    @keyframes bounceIndicator {
        0%, 100% {
            transform: translateX(0);
        }
        50% {
            transform: translateX(-6px);
        }
    }

    /* Tactical Assistance Animations & Highlighting */
    @keyframes regionRadarPulse {
        0% {
            transform: scale(0.4);
            opacity: 0.95;
            box-shadow: 0 0 0 0 rgba(0, 144, 226, 0.8), 0 0 25px rgba(0, 144, 226, 0.6);
        }
        50% {
            transform: scale(1.1);
            opacity: 0.7;
            box-shadow: 0 0 0 35px rgba(0, 144, 226, 0.4), 0 0 50px rgba(0, 144, 226, 0.4);
        }
        100% {
            transform: scale(1.4);
            opacity: 0;
            box-shadow: 0 0 0 70px rgba(0, 144, 226, 0), 0 0 75px rgba(0, 144, 226, 0);
        }
    }

    .region-radar-pulse {
        position: absolute;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(0, 144, 226, 0.45) 0%, rgba(30, 96, 145, 0.25) 50%, rgba(0, 144, 226, 0) 100%);
        border: 2px solid rgba(0, 144, 226, 0.8);
        pointer-events: none;
        z-index: 99;
        animation: regionRadarPulse 1.8s infinite cubic-bezier(0.25, 1, 0.5, 1);
    }

    /* Direct Answer Directional Pointer Arrow */
    .direct-answer-arrow {
        position: absolute;
        width: 40px;
        height: 40px;
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ff0000"><path d="M12 21l-9-9h6V3h6v9h6z"/></svg>');
        background-size: contain;
        background-repeat: no-repeat;
        filter: drop-shadow(0 3px 6px rgba(0,0,0,0.6));
        animation: bounceDirectArrow 1s infinite ease-in-out;
        z-index: 999;
        pointer-events: none;
    }

    .direct-answer-arrow.arrow-bottom {
        transform: rotate(180deg);
        animation: bounceDirectArrowUp 1s infinite ease-in-out;
    }

    @keyframes bounceDirectArrow {
        0% { transform: translateY(0); }
        50% { transform: translateY(-8px); }
        100% { transform: translateY(0); }
    }

    @keyframes bounceDirectArrowUp {
        0% { transform: rotate(180deg) translateY(0); }
        50% { transform: rotate(180deg) translateY(-8px); }
        100% { transform: rotate(180deg) translateY(0); }
    }

    /* Unified Simulator Control Card (Stage 4) */
    #sim-control-card {
        margin-bottom: 10px;
        background: #fdfbf7;
        border: 1px solid var(--crust-dark);
        border-left: 4px solid var(--brand-blue);
        border-radius: 12px;
        padding: 8px 12px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
        flex-shrink: 0;
    }

    #sim-control-card #audio-control-panel {
        background: transparent !important;
        border: none !important;
        padding: 0 0 6px 0 !important;
        margin: 0 0 6px 0 !important;
        border-bottom: 1px solid var(--crust-dark) !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    #sim-control-card .audio-header {
        margin-bottom: 6px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    #audio-header-left {
        display: flex;
        align-items: center;
        gap: 7px;
        font-size: 0.85rem;
        font-family: 'OneDotCd-Bold', sans-serif;
        color: var(--dark-blue);
        letter-spacing: 0.3px;
    }

    .audio-pulse-indicator {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: var(--brand-blue);
        display: inline-block;
    }

    #audio-time-display {
        font-size: 0.78rem;
        font-family: monospace;
        color: var(--crust-burnt);
        opacity: 0.75;
    }

    /* PRIMARY CALL BUTTONS (HOLD & REWIND) */
    .audio-btn-row-extra {
        display: flex;
        gap: 8px;
        width: 100%;
        box-sizing: border-box;
    }

    .call-ctrl-btn {
        font-family: 'Subhead1', sans-serif !important;
        font-weight: normal !important;
        border-radius: 50px;
        padding: 0.55rem 1rem;
        font-size: 0.95rem;
        line-height: 1;
        cursor: pointer;
        transition: all 0.2s ease;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        flex: 1 1 0 !important;
        min-width: 0 !important;
        text-align: center !important;
        border: none;
        color: var(--crust-base) !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
        box-sizing: border-box;
    }

    .call-ctrl-btn svg, .btn svg {
        display: inline-block !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
    }

    .call-ctrl-btn span, .btn span {
        display: inline-block !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
    }

    .call-hold-btn {
        background: var(--brand-blue);
    }

    .call-hold-btn:hover {
        background: var(--dark-blue);
        opacity: 0.95;
    }

    .call-rewind-btn {
        background: var(--dark-blue);
    }

    .call-rewind-btn:hover {
        background: var(--med-blue);
        opacity: 0.95;
    }

    /* FOOTER ASSISTANCE BUTTON VARIANTS (EXTENDING .btn) */
    .btn-hint {
        background: var(--med-blue) !important;
        color: var(--crust-base) !important;
        padding: 0.55rem 1.2rem !important;
        font-size: 0.95rem !important;
        font-family: 'Subhead1', sans-serif !important;
        font-weight: normal !important;
        line-height: 1 !important;
        gap: 8px !important;
    }

    .btn-hint:hover {
        background: var(--dark-blue) !important;
        opacity: 0.92;
    }

    .btn-answer {
        background: var(--brand-red) !important;
        color: var(--crust-base) !important;
        padding: 0.55rem 1.2rem !important;
        font-size: 0.95rem !important;
        font-family: 'Subhead1', sans-serif !important;
        font-weight: normal !important;
        line-height: 1 !important;
        gap: 8px !important;
    }

    .btn-answer:hover {
        background: var(--dark-red) !important;
        opacity: 0.92;
    }

    .btn-locked {
        background: var(--crust-dark) !important;
        color: var(--crust-base) !important;
        padding: 0.55rem 1.2rem !important;
        font-size: 0.95rem !important;
        font-family: 'Subhead1', sans-serif !important;
        font-weight: normal !important;
        line-height: 1 !important;
        gap: 8px !important;
        opacity: 0.7 !important;
        cursor: not-allowed !important;
        transform: none !important;
    }

    #assist-display-box {
        margin: 6px 0 10px 0;
        padding: 8px 12px;
        border-radius: 8px;
        font-family: 'OneDotCd', sans-serif;
        font-size: 0.92rem;
        line-height: 1.4;
    }
