#msc-boot-screen { position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center; background: radial-gradient(circle at top left, rgba(79,70,229,.16), transparent 30%), linear-gradient(135deg, #f8fafc 0%, #eef2ff 50%, #f8fafc 100%); color: #0f172a; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; transition: opacity .35s ease, visibility .35s ease; }
      #msc-boot-screen.msc-boot-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
      #msc-boot-screen[data-status="error"] .msc-boot-card { border-color: rgba(239,68,68,.35); box-shadow: 0 24px 80px rgba(127,29,29,.18); }
      .msc-boot-card { width: min(780px, calc(100vw - 32px)); border: 1px solid rgba(99,102,241,.22); border-radius: 28px; background: rgba(255,255,255,.90); box-shadow: 0 24px 80px rgba(15,23,42,.16); padding: 24px; backdrop-filter: blur(16px); }
      .msc-boot-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; color: #4f46e5; }
      .msc-boot-dot { width: 11px; height: 11px; border-radius: 999px; background: #4f46e5; box-shadow: 0 0 0 8px rgba(79,70,229,.12); animation: msc-boot-pulse 1.4s infinite ease-in-out; }
      .msc-boot-title { margin: 16px 0 6px; font-size: 28px; line-height: 1.1; font-weight: 950; }
      .msc-boot-subtitle { margin: 0; color: #64748b; font-size: 14px; font-weight: 700; }
      .msc-boot-bar { margin-top: 18px; height: 10px; overflow: hidden; border-radius: 999px; background: #e2e8f0; }
      #msc-boot-progress { height: 100%; width: 8%; border-radius: 999px; background: linear-gradient(90deg, #4f46e5, #06b6d4); transition: width .35s ease; }
      .msc-boot-grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(260px,.92fr); gap: 16px; margin-top: 16px; }
      .msc-boot-panel { border: 1px solid rgba(148,163,184,.34); border-radius: 20px; background: rgba(248,250,252,.82); padding: 12px; }
      .msc-boot-panel-title { margin: 0 0 9px; color: #334155; font-size: 11px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
      .msc-boot-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
      .msc-boot-step { display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 8px; align-items: start; padding: 8px; border-radius: 14px; background: rgba(255,255,255,.74); border: 1px solid rgba(226,232,240,.92); }
      .msc-boot-step-icon { width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: #e2e8f0; color: #64748b; font-size: 12px; font-weight: 950; }
      .msc-boot-step[data-status="running"] .msc-boot-step-icon { background: #dbeafe; color: #2563eb; animation: msc-boot-pulse 1.15s infinite ease-in-out; }
      .msc-boot-step[data-status="done"] .msc-boot-step-icon { background: #dcfce7; color: #15803d; animation: none; }
      .msc-boot-step[data-status="warning"] .msc-boot-step-icon { background: #fef3c7; color: #b45309; animation: none; }
      .msc-boot-step[data-status="error"] .msc-boot-step-icon { background: #fee2e2; color: #dc2626; animation: none; }
      .msc-boot-step-label { margin: 0; font-size: 13px; font-weight: 900; color: #0f172a; }
      .msc-boot-step-detail { margin: 2px 0 0; color: #64748b; font-size: 11px; line-height: 1.35; font-weight: 650; }
      #msc-boot-status { margin-top: 12px; min-height: 18px; color: #334155; font-size: 13px; font-weight: 900; }
      #msc-boot-detail { margin-top: 3px; min-height: 18px; color: #64748b; font-size: 12px; line-height: 1.45; font-weight: 650; }
      .msc-boot-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-bottom: 10px; }
      .msc-boot-metric { border-radius: 14px; background: white; border: 1px solid rgba(226,232,240,.92); padding: 8px; }
      .msc-boot-metric-label { margin: 0; color: #64748b; font-size: 10px; font-weight: 950; text-transform: uppercase; letter-spacing: .06em; }
      .msc-boot-metric-value { margin: 2px 0 0; color: #0f172a; font-size: 17px; font-weight: 950; }
      .msc-boot-fetch-list { display: grid; gap: 6px; max-height: 142px; overflow: auto; }
      .msc-boot-fetch-item { display: grid; gap: 2px; border-radius: 12px; background: white; border: 1px solid rgba(226,232,240,.92); padding: 7px; }
      .msc-boot-fetch-item strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #0f172a; font-size: 11px; }
      .msc-boot-fetch-item span { color: #64748b; font-size: 10px; font-weight: 800; }
      .msc-boot-tip { margin: 10px 0 0; border-radius: 14px; background: #eff6ff; border: 1px solid #bfdbfe; color: #1e3a8a; padding: 9px; font-size: 11px; line-height: 1.4; font-weight: 800; }
      @media (max-width: 760px) { .msc-boot-grid { grid-template-columns: 1fr; } .msc-boot-card { padding: 18px; } }
      @keyframes msc-boot-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.76); opacity: .62; } }

      /* STARTUP_DIAGNOSTICS_V14_84_FOLDED_TECH_DETAILS */
      .msc-boot-details-toggle {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        margin-top: 10px;
        border: 0;
        border-radius: 999px;
        background: transparent;
        color: rgba(71, 85, 105, 0.72);
        cursor: pointer;
        font-size: 11px;
        font-weight: 850;
        padding: 5px 7px;
        transition: background .15s ease, color .15s ease, opacity .15s ease;
      }
      .msc-boot-details-toggle:hover,
      .msc-boot-details-toggle:focus-visible {
        background: rgba(79, 70, 229, 0.08);
        color: #4f46e5;
        outline: none;
      }
      .msc-boot-details-toggle::before {
        content: "+";
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 14px;
        height: 14px;
        border-radius: 999px;
        border: 1px solid rgba(100, 116, 139, .28);
        color: rgba(71, 85, 105, .72);
        font-size: 10px;
        line-height: 1;
      }
      #msc-boot-screen[data-boot-details="open"] .msc-boot-details-toggle::before { content: "âˆ’"; }
      #msc-boot-screen:not([data-boot-details="open"]) .msc-boot-grid,
      #msc-boot-screen:not([data-boot-details="open"]) .msc-boot-vite-panel,
      #msc-boot-screen:not([data-boot-details="open"]) .msc-boot-bundle-panel,
      #msc-boot-screen:not([data-boot-details="open"]) #msc-boot-vite-details,
      #msc-boot-screen:not([data-boot-details="open"]) #msc-boot-bundle-details,
      #msc-boot-screen:not([data-boot-details="open"]) .msc-boot-technical-details {
        display: none !important;
      }


      /* STARTUP_DIAGNOSTICS_V14_85_TOGGLE_LISTENER_REPAIR */
      .msc-boot-details-toggle {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        margin-top: 10px;
        border: 0;
        border-radius: 999px;
        background: transparent;
        color: rgba(71, 85, 105, 0.72);
        cursor: pointer;
        font-size: 11px;
        font-weight: 850;
        padding: 5px 7px;
        transition: background .15s ease, color .15s ease, opacity .15s ease;
      }
      .msc-boot-details-toggle:hover,
      .msc-boot-details-toggle:focus-visible {
        background: rgba(79, 70, 229, 0.08);
        color: #4f46e5;
        outline: none;
      }
      .msc-boot-details-toggle::before {
        content: "+";
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 14px;
        height: 14px;
        border-radius: 999px;
        border: 1px solid rgba(100, 116, 139, .28);
        color: rgba(71, 85, 105, .72);
        font-size: 10px;
        line-height: 1;
      }
      #msc-boot-screen[data-boot-details="open"] .msc-boot-details-toggle::before {
        content: "âˆ’";
      }
      #msc-boot-screen:not([data-boot-details="open"]) .msc-boot-grid,
      #msc-boot-screen:not([data-boot-details="open"]) .msc-boot-vite-panel,
      #msc-boot-screen:not([data-boot-details="open"]) .msc-boot-bundle-panel,
      #msc-boot-screen:not([data-boot-details="open"]) #msc-boot-vite-details,
      #msc-boot-screen:not([data-boot-details="open"]) #msc-boot-bundle-details,
      #msc-boot-screen:not([data-boot-details="open"]) .msc-boot-technical-details {
        display: none !important;
      }
