/* ============================================================================
   BLUEPRINT CAD THEME (Floor 10 — 100' / 43.3 PSI)
   Mechanical & Plumbing Engineering Sheet M-101 / AutoCAD Viewport Skin
   ============================================================================ */

/* Default hidden state for Blueprint-only SVG layers */
.prv-blueprint-art,
.blueprint-protractor-layer {
    display: none;
}

body.theme-blueprint,
body[data-theme="theme-blueprint"] {
    --bg-page: #041d3b;
    --card-bg: #052242;
    --card-bg-glass: rgba(5, 34, 66, 0.94);
    --primary: #f0f9ff;
    --primary-light: #bae6fd;
    --primary-accent: #38bdf8;
    --border-color: #4fc3f7;
    --text-primary: #f0f9ff;
    --text-secondary: #bae6fd;
    --text-muted: #7dd3fc;
    --shadow-sm: none;
    --shadow-card: inset 0 0 0 1px rgba(104, 201, 241, 0.35), 0 10px 30px rgba(1, 12, 26, 0.75);
    --correct-bg: #053b44;
    --wrong-bg: #3b1728;

    /* Shared theme tokens for themes.css compatibility */
    --t-page: #041d3b;
    --t-deep: #03152b;
    --t-surface: #052242;
    --t-raised: #083059;
    --t-text: #f0f9ff;
    --t-muted: #bae6fd;
    --t-dim: #7dd3fc;
    --t-line: #4fc3f7;
    --t-accent: #38bdf8;
    --t-secondary: #fbbf24;
    --t-success: #2dd4bf;
    --t-danger: #ff6b81;
    --t-success-bg: #053b44;
    --t-danger-bg: #3b1728;
    --t-shadow: #010c1a;
    --t-button: #0284c7;
    --t-button-ink: #f0f9ff;
    --t-metal-high: #b5eaff;
    --t-metal-mid: #449fcf;
    --t-metal-low: #073660;
    --theme-panel: linear-gradient(165deg, rgba(6, 36, 70, 0.95) 0%, rgba(4, 24, 48, 0.98) 100%);

    background-color: #041d3b !important;
    background-image:
        linear-gradient(rgba(56, 189, 248, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(56, 189, 248, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.18) 1px, transparent 1px),
        radial-gradient(ellipse at 50% 15%, #073566 0%, #03162e 100%) !important;
    background-size: 14px 14px, 14px 14px, 70px 70px, 70px 70px, 100% 100% !important;
    color: #f0f9ff !important;
}

/* ============================================================================
   1. SHEET GEOMETRY, LINEWEIGHTS & REGISTRATION CROP MARKS (⌜ ⌝ ⌞ ⌟)
   ============================================================================ */

/* Prevent horizontal mobile viewport scroll when large stamps overlap button borders */
body.theme-blueprint,
body[data-theme="theme-blueprint"] {
    overflow-x: hidden !important;
}
body.theme-blueprint .app-container,
body[data-theme="theme-blueprint"] .app-container {
    overflow-x: clip !important;
}

body.theme-blueprint .rpg-header,
body[data-theme="theme-blueprint"] .rpg-header,
body.theme-blueprint #quiz-card,
body[data-theme="theme-blueprint"] #quiz-card {
    background-color: #052242 !important;
    background-image:
        linear-gradient(rgba(56, 189, 248, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.045) 1px, transparent 1px),
        linear-gradient(165deg, rgba(7, 40, 77, 0.96) 0%, rgba(4, 24, 48, 0.98) 100%) !important;
    background-size: 14px 14px, 14px 14px, 100% 100% !important;
    border: 1.5px solid #5bc8f5 !important;
    border-radius: 0px !important;
    box-shadow:
        inset 0 0 0 2px #03152b,
        inset 0 0 0 3px rgba(104, 201, 241, 0.28),
        0 10px 28px rgba(1, 10, 22, 0.8) !important;
    backdrop-filter: none !important;
    position: relative;
}

/* L-Shaped CAD Registration Marks on Header & Quiz Card */
body.theme-blueprint .rpg-header::before,
body[data-theme="theme-blueprint"] .rpg-header::before,
body.theme-blueprint #quiz-card::before,
body[data-theme="theme-blueprint"] #quiz-card::before {
    content: "";
    position: absolute;
    inset: 4px;
    pointer-events: none;
    z-index: 2;
    background:
        /* Top-Left ⌜ */
        linear-gradient(#38bdf8, #38bdf8) left 0 top 0 / 10px 1.5px no-repeat,
        linear-gradient(#38bdf8, #38bdf8) left 0 top 0 / 1.5px 10px no-repeat,
        /* Top-Right ⌝ */
        linear-gradient(#38bdf8, #38bdf8) right 0 top 0 / 10px 1.5px no-repeat,
        linear-gradient(#38bdf8, #38bdf8) right 0 top 0 / 1.5px 10px no-repeat,
        /* Bottom-Left ⌞ */
        linear-gradient(#38bdf8, #38bdf8) left 0 bottom 0 / 10px 1.5px no-repeat,
        linear-gradient(#38bdf8, #38bdf8) left 0 bottom 0 / 1.5px 10px no-repeat,
        /* Bottom-Right ⌟ */
        linear-gradient(#38bdf8, #38bdf8) right 0 bottom 0 / 10px 1.5px no-repeat,
        linear-gradient(#38bdf8, #38bdf8) right 0 bottom 0 / 1.5px 10px no-repeat !important;
    opacity: 0.7;
}

/* Left Margin Micro-Ruler Ticks on #quiz-card */
body.theme-blueprint #quiz-card::after,
body[data-theme="theme-blueprint"] #quiz-card::after {
    content: "";
    position: absolute;
    left: 0;
    top: 24px;
    bottom: 24px;
    width: 5px;
    pointer-events: none;
    background: repeating-linear-gradient(
        180deg,
        rgba(104, 201, 241, 0.45) 0px,
        rgba(104, 201, 241, 0.45) 1px,
        transparent 1px,
        transparent 14px
    ) !important;
    transform: none !important;
    opacity: 0.75;
}

/* ============================================================================
   2. RPG HEADER (#rpg-header) — DRAWING HEADER SCHEDULE & PRV COMPANION
   ============================================================================ */

/* Slot 1: Vector X-Ray PRV & Stationary Dimension Guides */
body.theme-blueprint .prv-original-art,
body[data-theme="theme-blueprint"] .prv-original-art {
    display: none !important;
}
body.theme-blueprint .prv-blueprint-art,
body[data-theme="theme-blueprint"] .prv-blueprint-art {
    display: inline !important;
}
body.theme-blueprint .prv-blueprint-art [fill]:not([fill="none"]),
body[data-theme="theme-blueprint"] .prv-blueprint-art [fill]:not([fill="none"]) {
    fill: #073660 !important;
}
body.theme-blueprint #prv-bg-top,
body.theme-blueprint #prv-bg-lower,
body[data-theme="theme-blueprint"] #prv-bg-top,
body[data-theme="theme-blueprint"] #prv-bg-lower {
    fill: #062b51 !important;
}
body.theme-blueprint #prv-water-flow,
body[data-theme="theme-blueprint"] #prv-water-flow {
    fill: #38bdf8 !important;
}
body.theme-blueprint #prv-cap-screw .prv-blueprint-art > g,
body[data-theme="theme-blueprint"] #prv-cap-screw .prv-blueprint-art > g {
    fill: none !important;
}
body.theme-blueprint .rpg-prv-slot,
body[data-theme="theme-blueprint"] .rpg-prv-slot,
body.theme-blueprint #prv-companion-layer.prv-header-mode,
body[data-theme="theme-blueprint"] #prv-companion-layer.prv-header-mode,
body.theme-blueprint #prv-companion-layer.prv-header-mode #prv-svg-container,
body[data-theme="theme-blueprint"] #prv-companion-layer.prv-header-mode #prv-svg-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
body.theme-blueprint .rpg-prv-slot::before,
body[data-theme="theme-blueprint"] .rpg-prv-slot::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: url("assets/prv-blueprint-dimensions.svg") center / contain no-repeat !important;
    opacity: 0.72 !important;
    pointer-events: none;
    display: block !important;
}
body.theme-blueprint #prv-companion-layer:not(.prv-fullscreen-mode) #prv-svg-container,
body[data-theme="theme-blueprint"] #prv-companion-layer:not(.prv-fullscreen-mode) #prv-svg-container {
    animation: blueprint-companion-idle 4s ease-in-out infinite;
    transform-origin: 50% 55%;
    filter: drop-shadow(0 0 2px rgba(56, 189, 248, 0.55)) !important;
}
@keyframes blueprint-companion-idle {
    0%, 100% { transform: translateY(2px) rotate(-2deg); }
    25% { transform: translateY(-4px) rotate(0deg); }
    50% { transform: translateY(2px) rotate(2deg); }
    75% { transform: translateY(-3px) rotate(0deg); }
}

/* PRV Speech Bubble (.prv-header-bubble & .prv-modal-bubble) — CAD Leader Callout */
body.theme-blueprint .prv-header-bubble,
body[data-theme="theme-blueprint"] .prv-header-bubble,
body.theme-blueprint .prv-modal-bubble,
body[data-theme="theme-blueprint"] .prv-modal-bubble {
    background-color: #041d38 !important;
    background-image:
        linear-gradient(rgba(56, 189, 248, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.08) 1px, transparent 1px),
        linear-gradient(135deg, #062b52 0%, #03172e 100%) !important;
    background-size: 12px 12px, 12px 12px, 100% 100% !important;
    border: 1.5px solid #38bdf8 !important;
    border-left: 4px solid #fbbf24 !important;
    border-radius: 0px !important;
    box-shadow:
        inset 0 0 0 1px rgba(251, 191, 36, 0.25),
        0 12px 32px rgba(1, 10, 22, 0.9) !important;
    color: #f0f9ff !important;
}

/* 45-degree technical leader pointer on .prv-header-bubble */
body.theme-blueprint .prv-header-bubble::before,
body[data-theme="theme-blueprint"] .prv-header-bubble::before {
    border-bottom-color: #38bdf8 !important;
}
body.theme-blueprint .prv-header-bubble-header,
body[data-theme="theme-blueprint"] .prv-header-bubble-header {
    border-bottom: 1px dashed rgba(104, 201, 241, 0.4) !important;
    padding-bottom: 4px !important;
    margin-bottom: 6px !important;
}
body.theme-blueprint .prv-header-bubble-title,
body[data-theme="theme-blueprint"] .prv-header-bubble-title {
    font-family: 'JetBrains Mono', 'Courier New', monospace !important;
    font-size: 11px !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: #fbbf24 !important;
}
body.theme-blueprint .prv-header-bubble-title::after,
body[data-theme="theme-blueprint"] .prv-header-bubble-title::after {
    content: " // CAD-SPEC";
    color: #67e8f9;
    font-weight: 700;
}
body.theme-blueprint .prv-header-bubble-text,
body[data-theme="theme-blueprint"] .prv-header-bubble-text,
body.theme-blueprint #prv-modal-speech-text,
body[data-theme="theme-blueprint"] #prv-modal-speech-text {
    color: #f0f9ff !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
}
body.theme-blueprint .prv-header-bubble-text strong,
body[data-theme="theme-blueprint"] .prv-header-bubble-text strong {
    color: #fde047 !important;
}
body.theme-blueprint .prv-header-bubble-close,
body[data-theme="theme-blueprint"] .prv-header-bubble-close,
body.theme-blueprint .prv-bubble-close-btn,
body[data-theme="theme-blueprint"] .prv-bubble-close-btn {
    border-radius: 0px !important;
    border: 1px solid rgba(104, 201, 241, 0.5) !important;
    background: #062b52 !important;
    color: #bae6fd !important;
}
body.theme-blueprint #prv-dialog-overlay button:not(.prv-bubble-close-btn),
body[data-theme="theme-blueprint"] #prv-dialog-overlay button:not(.prv-bubble-close-btn),
body.theme-blueprint .prv-modal-bubble button:not(.prv-bubble-close-btn),
body[data-theme="theme-blueprint"] .prv-modal-bubble button:not(.prv-bubble-close-btn) {
    border-radius: 0px !important;
    background: rgba(6, 42, 82, 0.92) !important;
    border: 1px solid #38bdf8 !important;
    color: #f0f9ff !important;
    font-family: 'JetBrains Mono', monospace !important;
}

/* Slot 2: PSI Gauge (.header-taper-psi-badge) — Technical Pressure Readout Block */
body.theme-blueprint .header-taper-psi-badge,
body[data-theme="theme-blueprint"] .header-taper-psi-badge {
    background: linear-gradient(180deg, #07315c 0%, #041e3a 100%) !important;
    border: 1.5px solid #38bdf8 !important;
    border-radius: 0px !important;
    clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
    box-shadow: inset 0 0 8px rgba(56, 189, 248, 0.25) !important;
}
body.theme-blueprint .taper-psi-val,
body[data-theme="theme-blueprint"] .taper-psi-val {
    font-family: 'Outfit', monospace !important;
    color: #f0f9ff !important;
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.5) !important;
}
body.theme-blueprint .taper-psi-unit,
body[data-theme="theme-blueprint"] .taper-psi-unit {
    font-family: monospace !important;
    color: #fbbf24 !important;
    letter-spacing: 0.08em !important;
}
body.theme-blueprint .taper-psi-unit::after,
body[data-theme="theme-blueprint"] .taper-psi-unit::after {
    content: " [G]";
    font-size: 8px;
    color: #67e8f9;
}

/* Slot 3: Frameless & Enlarged (+20%) 4 Pipe-Diameter Scale Bars in #rpg-header */
body.theme-blueprint .header-slot-center,
body[data-theme="theme-blueprint"] .header-slot-center,
body.theme-blueprint #header-slot-3,
body[data-theme="theme-blueprint"] #header-slot-3 {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

body.theme-blueprint .header-slot3-skills-stack,
body[data-theme="theme-blueprint"] .header-slot3-skills-stack {
    background: transparent !important;
    border: none !important;
    border-radius: 0px !important;
    box-shadow: none !important;
    padding: 0 !important;
    width: 58px !important;
    height: 38px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 4px !important;
}

body.theme-blueprint .header-slot3-skills-stack .skill-mini-pill,
body[data-theme="theme-blueprint"] .header-slot3-skills-stack .skill-mini-pill {
    height: 6px !important;
    width: 100% !important;
    background: #03172e !important;
    border: 1px solid rgba(104, 201, 241, 0.4) !important;
    border-radius: 0px !important;
    position: relative;
    overflow: hidden;
}
body.theme-blueprint .skill-mini-pill,
body[data-theme="theme-blueprint"] .skill-mini-pill {
    background: #03172e !important;
    border: 1px solid rgba(104, 201, 241, 0.35) !important;
    border-radius: 0px !important;
    position: relative;
    overflow: hidden;
}
/* 25% Pipe Calibration Tick Marks over the 4 mini bars */
body.theme-blueprint .skill-mini-pill::after,
body[data-theme="theme-blueprint"] .skill-mini-pill::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent 0%,
        transparent calc(25% - 1px),
        rgba(4, 29, 59, 0.85) calc(25% - 1px),
        rgba(4, 29, 59, 0.85) 25%
    );
    pointer-events: none;
}
body.theme-blueprint .skill-mini-fill.fill-drainage,
body[data-theme="theme-blueprint"] .skill-mini-fill.fill-drainage {
    background: #2dd4bf !important; /* CAD Layer 01: Viridian Cyan-Emerald */
}
body.theme-blueprint .skill-mini-fill.fill-water,
body[data-theme="theme-blueprint"] .skill-mini-fill.fill-water {
    background: #38bdf8 !important; /* CAD Layer 02: Electric Cyan */
}
body.theme-blueprint .skill-mini-fill.fill-fixtures,
body[data-theme="theme-blueprint"] .skill-mini-fill.fill-fixtures {
    background: #fbbf24 !important; /* CAD Layer 03: Drafting Amber */
}
body.theme-blueprint .skill-mini-fill.fill-safety,
body[data-theme="theme-blueprint"] .skill-mini-fill.fill-safety {
    background: #e879f9 !important; /* CAD Layer 04: AutoCAD Magenta */
}

/* Slot 3 Bounty Button */
body.theme-blueprint .header-slot3-bounty-btn,
body[data-theme="theme-blueprint"] .header-slot3-bounty-btn {
    background: linear-gradient(135deg, #073563 0%, #041f3d 100%) !important;
    border: 1.5px solid #fbbf24 !important;
    border-radius: 0px !important;
    box-shadow: inset 0 0 8px rgba(251, 191, 36, 0.25) !important;
}
body.theme-blueprint .bounty-line-bounty,
body[data-theme="theme-blueprint"] .bounty-line-bounty {
    color: #fde047 !important;
    font-family: monospace !important;
}

/* Slot 4: Inspection Seals Stamp (.header-taper-badges-badge) */
body.theme-blueprint .header-taper-badges-badge,
body[data-theme="theme-blueprint"] .header-taper-badges-badge {
    background: linear-gradient(180deg, #07315c 0%, #041e3a 100%) !important;
    border: 1.5px solid #fbbf24 !important;
    border-radius: 0px !important;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
    box-shadow: inset 0 0 8px rgba(251, 191, 36, 0.18) !important;
}
body.theme-blueprint .taper-badges-val,
body[data-theme="theme-blueprint"] .taper-badges-val {
    font-family: monospace !important;
    color: #fde047 !important;
    font-weight: 800 !important;
}

/* Slot 5: Player Avatar with North Arrow Compass Ring (N ▲) */
body.theme-blueprint .rpg-avatar,
body[data-theme="theme-blueprint"] .rpg-avatar {
    background: #062b52 !important;
    border: 1.5px solid #67e8f9 !important;
    box-shadow:
        0 0 0 3px #041d3b,
        0 0 0 4px rgba(104, 201, 241, 0.45) !important;
    position: relative;
    overflow: visible !important;
}
body.theme-blueprint #header-user-avatar::before,
body[data-theme="theme-blueprint"] #header-user-avatar::before {
    content: "N▲";
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    background: #041d3b;
    color: #fbbf24;
    font-family: monospace;
    font-size: 7.5px;
    font-weight: 900;
    line-height: 1;
    padding: 1px 3px;
    border: 1px solid #38bdf8;
    letter-spacing: 0.5px;
    z-index: 3;
    pointer-events: none;
}

/* ============================================================================
   3. QUIZ CARD (#quiz-card) — TITLE BLOCK STRIP, QUESTION & GRID BUBBLES
   ============================================================================ */

/* Hide legacy split progress labels in Blueprint CAD (replaced by unified centered CAD header) */
body.theme-blueprint .progress-labels,
body[data-theme="theme-blueprint"] .progress-labels {
    display: none !important;
}

/* Progress Tracks as Full-Bleed Millimeter Scale Bars + Centered CAD Title Block Header */
body.theme-blueprint .dual-progress-container,
body[data-theme="theme-blueprint"] .dual-progress-container {
    background: rgba(3, 21, 42, 0.9) !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(56, 189, 248, 0.5) !important;
    border-radius: 0px !important;
    padding: 4px 0 0 0 !important;
    margin: -32px -28px 14px -28px !important;
    gap: 2px !important;
    position: relative;
}

@media (max-width: 640px) {
    body.theme-blueprint .dual-progress-container,
    body[data-theme="theme-blueprint"] .dual-progress-container {
        margin: -22px -16px 12px -16px !important;
    }
}

body.theme-blueprint .dual-progress-container::before,
body[data-theme="theme-blueprint"] .dual-progress-container::before {
    content: "DWG // M-1 • PLUMBING CODE • SCALE 1:1 // CAD // LEVEL 0";
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    padding: 0 14px;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 7.4px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #7dd3fc;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.theme-blueprint .dual-progress-container[data-cad-header]::before,
body[data-theme="theme-blueprint"] .dual-progress-container[data-cad-header]::before {
    content: attr(data-cad-header);
}

body.theme-blueprint .progress-track,
body[data-theme="theme-blueprint"] .progress-track {
    background: #03152b !important;
    border-top: 1px solid rgba(79, 195, 247, 0.75) !important;
    border-bottom: 1px solid rgba(79, 195, 247, 0.75) !important;
    border-left: none !important;
    border-right: none !important;
    border-radius: 0px !important;
    box-shadow: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 4px !important;
    position: relative;
    overflow: hidden;
}

body.theme-blueprint .progress-track.xp-track,
body[data-theme="theme-blueprint"] .progress-track.xp-track {
    border-bottom: none !important;
}

body.theme-blueprint .progress-track::after,
body[data-theme="theme-blueprint"] .progress-track::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        transparent 7px,
        rgba(3, 21, 43, 0.7) 7px,
        rgba(3, 21, 43, 0.7) 8px
    );
    pointer-events: none;
    z-index: 2;
}
body.theme-blueprint .questions-fill,
body[data-theme="theme-blueprint"] .questions-fill {
    background: linear-gradient(90deg, #0284c7 0%, #38bdf8 100%) !important;
    border-radius: 0px !important;
}
body.theme-blueprint .xp-fill,
body[data-theme="theme-blueprint"] .xp-fill {
    background: linear-gradient(90deg, #0d9488 0%, #2dd4bf 100%) !important;
    border-radius: 0px !important;
}

/* Question Text — High-Contrast Matte Prussian Backplate (Clean Top Area, Compact) */
body.theme-blueprint #question-text,
body[data-theme="theme-blueprint"] #question-text {
    color: #f0f9ff !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    background: rgba(3, 21, 43, 0.65) !important;
    border-left: 3px solid #38bdf8 !important;
    padding: 10px 12px !important;
    margin-bottom: 12px !important;
    position: relative;
}
body.theme-blueprint #question-text::before,
body[data-theme="theme-blueprint"] #question-text::before {
    content: none !important;
    display: none !important;
}

/* Relocated Specification Clause at the Bottom of the Question/Options Area (Compact Spacing -50%) */
body.theme-blueprint #options-container,
body[data-theme="theme-blueprint"] #options-container {
    margin-bottom: 4px !important;
}
body.theme-blueprint #options-container::after,
body[data-theme="theme-blueprint"] #options-container::after {
    content: "SPECIFICATION CLAUSE // NPC-IPSE";
    display: block;
    width: 100%;
    text-align: center;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #67e8f9;
    margin-top: -3px !important;
    margin-bottom: 0px !important;
    opacity: 0.85;
    pointer-events: none;
}
body.theme-blueprint #options-container[data-spec-clause]::after,
body[data-theme="theme-blueprint"] #options-container[data-spec-clause]::after {
    content: attr(data-spec-clause);
}

body.theme-blueprint #options-container,
body[data-theme="theme-blueprint"] #options-container {
    overflow: visible !important;
}

/* Option Buttons (.option-btn) — Architectural Axis Grid Bubbles (A, B, C, D) */
body.theme-blueprint #quiz-card .option-btn,
body.theme-blueprint .option-btn,
body[data-theme="theme-blueprint"] #quiz-card .option-btn,
body[data-theme="theme-blueprint"] .option-btn {
    border-radius: 0px !important;
    position: relative;
    overflow: visible !important;
    transition: all 0.15s ease !important;
    padding: 10px 32px 10px 12px !important;
    gap: 16px !important;
}

body.theme-blueprint #quiz-card .option-btn:not(.correct):not(.wrong),
body.theme-blueprint .option-btn:not(.correct):not(.wrong),
body[data-theme="theme-blueprint"] #quiz-card .option-btn:not(.correct):not(.wrong),
body[data-theme="theme-blueprint"] .option-btn:not(.correct):not(.wrong) {
    background: linear-gradient(90deg, rgba(6, 40, 77, 0.92) 0%, rgba(4, 27, 54, 0.95) 100%) !important;
    border: 1px solid #4fc3f7 !important;
    box-shadow: inset 0 0 0 1px rgba(104, 201, 241, 0.15) !important;
    color: #f0f9ff !important;
}

/* Right-side subtle CAD OSNAP Crosshair (+) on unrated option buttons */
body.theme-blueprint .option-btn:not(.correct):not(.wrong)::after,
body[data-theme="theme-blueprint"] .option-btn:not(.correct):not(.wrong)::after {
    content: "+";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-family: monospace;
    font-size: 14px;
    font-weight: 400;
    color: rgba(104, 201, 241, 0.45);
    pointer-events: none;
}

body.theme-blueprint #quiz-card .option-btn:hover:not(:disabled):not(.correct):not(.wrong),
body[data-theme="theme-blueprint"] #quiz-card .option-btn:hover:not(:disabled):not(.correct):not(.wrong) {
    background: linear-gradient(90deg, rgba(10, 58, 107, 0.96) 0%, rgba(6, 38, 74, 0.98) 100%) !important;
    border-color: #fde047 !important;
    box-shadow: inset 0 0 12px rgba(56, 189, 248, 0.25), 0 0 8px rgba(251, 191, 36, 0.25) !important;
}
body.theme-blueprint .option-btn:hover:not(:disabled):not(.correct):not(.wrong)::after,
body[data-theme="theme-blueprint"] .option-btn:hover:not(:disabled):not(.correct):not(.wrong)::after {
    content: "⌖";
    color: #fde047;
    font-size: 15px;
}

/* Circular Structural Axis Grid Bubble (.opt-letter) with 4 Crosshair Ticks & Dashed Leader */
body.theme-blueprint .option-btn .opt-letter,
body[data-theme="theme-blueprint"] .option-btn .opt-letter {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    border-radius: 50% !important;
    background-color: #031830 !important;
    border: 1.5px solid #67e8f9 !important;
    color: #f0f9ff !important;
    font-family: 'JetBrains Mono', 'Outfit', monospace !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    box-shadow:
        0 0 0 2px #052445,
        0 0 0 3px rgba(104, 201, 241, 0.35) !important;
    position: relative;
    margin-right: 2px !important;
}

/* Dashed Horizontal CAD Leader Line connecting the Axis Bubble to the Option Text */
body.theme-blueprint .option-btn .opt-letter::after,
body[data-theme="theme-blueprint"] .option-btn .opt-letter::after {
    content: "" !important;
    position: absolute !important;
    right: -14px !important;
    top: 50% !important;
    width: 11px !important;
    height: 0px !important;
    background: transparent !important;
    border-top: 1.5px dashed #67e8f9 !important;
    transform: translateY(-50%) !important;
}

body.theme-blueprint .option-btn:not(.correct):not(.wrong) .opt-text,
body[data-theme="theme-blueprint"] .option-btn:not(.correct):not(.wrong) .opt-text {
    color: #f0f9ff !important;
    font-weight: 500 !important;
}

/* ============================================================================
   4. BLUEPRINT MARKUP: OVERLAIN ANGLED PHYSICAL INSPECTOR STAMPS
      (✓ APPROVED & ✗ DEFICIENCY with Hand-Stamped Angle Variation 10°–25°)
   ============================================================================ */

/* Deterministic Fallback Variations by Slot (Slots A–D: 10°–25° in 5° steps) */
body.theme-blueprint .option-btn[data-option="A"],
body[data-theme="theme-blueprint"] .option-btn[data-option="A"] {
    --stamp-angle-default: -15deg;
    --stamp-shift-x-default: 0px;
    --stamp-shift-y-default: -1px;
}
body.theme-blueprint .option-btn[data-option="B"],
body[data-theme="theme-blueprint"] .option-btn[data-option="B"] {
    --stamp-angle-default: -20deg;
    --stamp-shift-x-default: 4px;
    --stamp-shift-y-default: 2px;
}
body.theme-blueprint .option-btn[data-option="C"],
body[data-theme="theme-blueprint"] .option-btn[data-option="C"] {
    --stamp-angle-default: -10deg;
    --stamp-shift-x-default: -3px;
    --stamp-shift-y-default: -2px;
}
body.theme-blueprint .option-btn[data-option="D"],
body[data-theme="theme-blueprint"] .option-btn[data-option="D"] {
    --stamp-angle-default: -25deg;
    --stamp-shift-x-default: 2px;
    --stamp-shift-y-default: 1px;
}

/* Rubber-Stamp Settle Press Animation */
@keyframes blueprintStampSettle {
    0% {
        transform: translateY(-50%) rotate(var(--stamp-angle, var(--stamp-angle-default, -15deg))) scale(1.35);
        opacity: 0;
    }
    60% {
        transform: translateY(-50%) rotate(var(--stamp-angle, var(--stamp-angle-default, -15deg))) scale(0.96);
        opacity: 0.50;
    }
    100% {
        transform: translateY(-50%) rotate(var(--stamp-angle, var(--stamp-angle-default, -15deg))) scale(1);
        opacity: 0.52;
    }
}

@keyframes blueprintStampSettleApproved {
    0% {
        transform: translateY(-50%) rotate(var(--stamp-angle, var(--stamp-angle-default, -15deg))) scale(1.35);
        opacity: 0;
    }
    60% {
        transform: translateY(-50%) rotate(var(--stamp-angle, var(--stamp-angle-default, -15deg))) scale(0.96);
        opacity: 0.52;
    }
    100% {
        transform: translateY(-50%) rotate(var(--stamp-angle, var(--stamp-angle-default, -15deg))) scale(1);
        opacity: 0.55;
    }
}

/* WRONG ANSWER (.option-btn.wrong) — Neutral Steel-Slate Base with 3 Restrained Red Accents */
body.theme-blueprint #quiz-card .option-btn.wrong,
body.theme-blueprint .option-btn.wrong,
body[data-theme="theme-blueprint"] #quiz-card .option-btn.wrong,
body[data-theme="theme-blueprint"] .option-btn.wrong,
body[data-designed-theme="theme-blueprint"] #quiz-card .option-btn.wrong,
body[data-designed-theme="theme-blueprint"] .option-btn.wrong {
    background-color: #0b1c2d !important;
    background-image: repeating-linear-gradient(
        -45deg,
        rgba(148, 163, 184, 0.08) 0px,
        rgba(148, 163, 184, 0.08) 1.5px,
        rgba(8, 22, 38, 0.96) 1.5px,
        rgba(8, 22, 38, 0.96) 9px
    ) !important;
    border: 1.5px dashed #ff6b81 !important;
    box-shadow: inset 0 0 0 1px rgba(255, 107, 129, 0.15), 0 0 8px rgba(255, 107, 129, 0.12) !important;
    padding-right: 14px !important;
}

body.theme-blueprint .option-btn.wrong .opt-letter,
body[data-theme="theme-blueprint"] .option-btn.wrong .opt-letter,
body[data-designed-theme="theme-blueprint"] .option-btn.wrong .opt-letter {
    background: #04182b !important;
    border: 1.5px solid #ff6b81 !important;
    color: #ffe4e8 !important;
    box-shadow: 0 0 0 2px #0b1c2d, 0 0 0 3px rgba(255, 107, 129, 0.35) !important;
}
body.theme-blueprint .option-btn.wrong .opt-letter::after,
body[data-theme="theme-blueprint"] .option-btn.wrong .opt-letter::after,
body[data-designed-theme="theme-blueprint"] .option-btn.wrong .opt-letter::after {
    border-top-color: #ff6b81 !important;
}
body.theme-blueprint #quiz-card .option-btn.wrong .opt-text,
body[data-theme="theme-blueprint"] #quiz-card .option-btn.wrong .opt-text,
body[data-designed-theme="theme-blueprint"] #quiz-card .option-btn.wrong .opt-text,
body[data-designed-theme="theme-blueprint"] .option-btn.wrong .opt-text,
body.theme-blueprint .option-btn.wrong .opt-text,
body[data-theme="theme-blueprint"] .option-btn.wrong .opt-text {
    position: relative;
    z-index: 1;
    color: #7d93ac !important;
    text-decoration: none !important;
}

/* Overlain Angled Physical Inspector Stamp: [ ✗ DEFICIENCY ] (+50% Larger, Semi-Transparent Weathered Rubber Die) */
body.theme-blueprint .option-btn.wrong::after,
body[data-theme="theme-blueprint"] .option-btn.wrong::after,
body[data-designed-theme="theme-blueprint"] .option-btn.wrong::after {
    content: "✗ DEFICIENCY" !important;
    position: absolute !important;
    right: calc(6% + var(--stamp-shift-x, var(--stamp-shift-x-default, 0px))) !important;
    top: calc(50% + var(--stamp-shift-y, var(--stamp-shift-y-default, 0px))) !important;
    transform: translateY(-50%) rotate(var(--stamp-angle, var(--stamp-angle-default, -15deg))) !important;
    font-family: 'JetBrains Mono', 'Courier New', monospace !important;
    font-size: 16.5px !important;
    font-weight: 900 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: #ff6b81 !important;
    background: transparent !important;
    border: 2.5px solid #ff6b81 !important;
    border-radius: 2px !important;
    padding: 4px 14px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    opacity: 0.52 !important;
    box-shadow:
        0 0 0 1px rgba(255, 107, 129, 0.45),
        inset 0 0 0 1px rgba(255, 107, 129, 0.25) !important;
    text-shadow: 0 0 3px rgba(255, 107, 129, 0.6) !important;
    filter: url(#blueprint-stamp-weathered) !important;
    -webkit-filter: url(#blueprint-stamp-weathered) !important;
    pointer-events: none !important;
    z-index: 10 !important;
    animation: blueprintStampSettle 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important;
}

/* CORRECT ANSWER (.option-btn.correct) — Approved Spec & Dimension Lock */
body.theme-blueprint #quiz-card .option-btn.correct,
body.theme-blueprint .option-btn.correct,
body[data-theme="theme-blueprint"] #quiz-card .option-btn.correct,
body[data-theme="theme-blueprint"] .option-btn.correct,
body[data-designed-theme="theme-blueprint"] #quiz-card .option-btn.correct,
body[data-designed-theme="theme-blueprint"] .option-btn.correct {
    background-color: #04353d !important;
    background-image:
        linear-gradient(rgba(45, 212, 191, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 212, 191, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(4, 53, 61, 0.96) 0%, rgba(6, 70, 74, 0.96) 100%) !important;
    background-size: 12px 12px, 12px 12px, 100% 100% !important;
    border: 1.5px solid #2dd4bf !important;
    box-shadow:
        inset 0 0 0 2px #022329,
        inset 0 0 0 3px rgba(45, 212, 191, 0.4),
        0 0 16px rgba(45, 212, 191, 0.28) !important;
    padding-right: 14px !important;
}

body.theme-blueprint .option-btn.correct .opt-letter,
body[data-theme="theme-blueprint"] .option-btn.correct .opt-letter,
body[data-designed-theme="theme-blueprint"] .option-btn.correct .opt-letter {
    background: #2dd4bf !important;
    border: 1.5px solid #99f6e4 !important;
    color: #022c22 !important;
    box-shadow: 0 0 0 2px #04353d, 0 0 8px rgba(45, 212, 191, 0.6) !important;
}
body.theme-blueprint .option-btn.correct .opt-letter::after,
body[data-theme="theme-blueprint"] .option-btn.correct .opt-letter::after,
body[data-designed-theme="theme-blueprint"] .option-btn.correct .opt-letter::after {
    border-top: 1.5px solid #2dd4bf !important;
}
body.theme-blueprint #quiz-card .option-btn.correct .opt-text,
body[data-theme="theme-blueprint"] #quiz-card .option-btn.correct .opt-text,
body[data-designed-theme="theme-blueprint"] #quiz-card .option-btn.correct .opt-text,
body[data-designed-theme="theme-blueprint"] .option-btn.correct .opt-text,
body.theme-blueprint .option-btn.correct .opt-text,
body[data-theme="theme-blueprint"] .option-btn.correct .opt-text {
    position: relative;
    z-index: 1;
    color: #ecfdf5 !important;
    font-weight: 700 !important;
}

/* Overlain Angled Physical Inspector Stamp: [ ✓ APPROVED ] (+50% Larger, Semi-Transparent Weathered Rubber Die) */
body.theme-blueprint .option-btn.correct::after,
body[data-theme="theme-blueprint"] .option-btn.correct::after,
body[data-designed-theme="theme-blueprint"] .option-btn.correct::after {
    content: "✓ APPROVED" !important;
    position: absolute !important;
    right: calc(6% + var(--stamp-shift-x, var(--stamp-shift-x-default, 0px))) !important;
    top: calc(50% + var(--stamp-shift-y, var(--stamp-shift-y-default, 0px))) !important;
    transform: translateY(-50%) rotate(var(--stamp-angle, var(--stamp-angle-default, -15deg))) !important;
    font-family: 'JetBrains Mono', 'Courier New', monospace !important;
    font-size: 16.5px !important;
    font-weight: 900 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: #2dd4bf !important;
    background: transparent !important;
    border: 2.5px solid #2dd4bf !important;
    border-radius: 2px !important;
    padding: 4px 14px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    opacity: 0.55 !important;
    box-shadow:
        0 0 0 1px rgba(45, 212, 191, 0.45),
        inset 0 0 0 1px rgba(45, 212, 191, 0.25) !important;
    text-shadow: 0 0 3px rgba(45, 212, 191, 0.6) !important;
    filter: url(#blueprint-stamp-weathered) !important;
    -webkit-filter: url(#blueprint-stamp-weathered) !important;
    pointer-events: none !important;
    z-index: 10 !important;
    animation: blueprintStampSettleApproved 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important;
}

@media (prefers-reduced-motion: reduce) {
    body.theme-blueprint .option-btn.wrong::after,
    body[data-theme="theme-blueprint"] .option-btn.wrong::after,
    body[data-designed-theme="theme-blueprint"] .option-btn.wrong::after,
    body.theme-blueprint .option-btn.correct::after,
    body[data-theme="theme-blueprint"] .option-btn.correct::after,
    body[data-designed-theme="theme-blueprint"] .option-btn.correct::after {
        animation: none !important;
    }
}

/* ============================================================================
   5. EXPLANATION BOX (#explanation-box) & 5-STAR DIMENSIONAL RATING SCALE
   ============================================================================ */

body.theme-blueprint #explanation-box,
body.theme-blueprint .explanation,
body[data-theme="theme-blueprint"] #explanation-box,
body[data-theme="theme-blueprint"] .explanation {
    margin-top: 6px !important;
    margin-bottom: 12px !important;
    padding: 12px 14px 10px 14px !important;
    background-color: #041d38 !important;
    background-image:
        linear-gradient(rgba(56, 189, 248, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.05) 1px, transparent 1px),
        linear-gradient(165deg, rgba(5, 33, 64, 0.97) 0%, rgba(3, 21, 43, 0.99) 100%) !important;
    background-size: 14px 14px, 14px 14px, 100% 100% !important;
    border: 1px solid #4fc3f7 !important;
    border-left: 4px solid #fbbf24 !important;
    border-radius: 0px !important;
    box-shadow: inset 0 0 0 1px rgba(104, 201, 241, 0.2) !important;
    color: #f0f9ff !important;
    position: relative;
}

body.theme-blueprint .explanation-header,
body[data-theme="theme-blueprint"] .explanation-header {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 6px !important;
}

body.theme-blueprint #explanation-box h3,
body[data-theme="theme-blueprint"] #explanation-box h3 {
    font-family: 'JetBrains Mono', 'Courier New', monospace !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #f0f9ff !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
    font-weight: 800 !important;
}
body.theme-blueprint #explanation-box h3::before,
body[data-theme="theme-blueprint"] #explanation-box h3::before {
    content: none !important;
    display: none !important;
}
body.theme-blueprint #explanation-box h3::after,
body[data-theme="theme-blueprint"] #explanation-box h3::after {
    content: "SECTION A-A" !important;
    color: #fbbf24 !important;
    font-weight: 900 !important;
    font-size: 9.5px !important;
    display: block !important;
    letter-spacing: 0.08em !important;
    margin-top: 2px !important;
}

body.theme-blueprint #explanation-text,
body[data-theme="theme-blueprint"] #explanation-text {
    color: #e0f2fe !important;
    line-height: 1.45 !important;
    margin: 0 0 8px 0 !important;
}
body.theme-blueprint #explanation-text strong,
body[data-theme="theme-blueprint"] #explanation-text strong {
    color: #fde047 !important;
}

/* Trade Insight Button as CAD Isometric Layer Toggle (High-Contrast Symmetrical 2-Line Button) */
body.theme-blueprint .trade-insight-btn:not(.hidden),
body[data-theme="theme-blueprint"] .trade-insight-btn:not(.hidden),
body.theme-blueprint .trade-insight-locked-pill:not(.hidden),
body[data-theme="theme-blueprint"] .trade-insight-locked-pill:not(.hidden) {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    border: 1.5px solid #7dd3fc !important;
    border-radius: 0px !important;
    color: #ffffff !important;
    font-family: 'JetBrains Mono', 'Courier New', monospace !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.07em !important;
    text-transform: uppercase !important;
    padding: 5px 9px !important;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    text-shadow: 0 1px 2px rgba(2, 44, 80, 0.8) !important;
    cursor: pointer !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
    transition: all 0.15s ease !important;
    flex-shrink: 0 !important;
}

body.theme-blueprint .trade-insight-btn.hidden,
body[data-theme="theme-blueprint"] .trade-insight-btn.hidden,
body.theme-blueprint .trade-insight-locked-pill.hidden,
body[data-theme="theme-blueprint"] .trade-insight-locked-pill.hidden,
body.theme-blueprint .trade-insight-trigger-wrap.hidden,
body[data-theme="theme-blueprint"] .trade-insight-trigger-wrap.hidden {
    display: none !important;
}

body.theme-blueprint .trade-insight-btn:hover,
body[data-theme="theme-blueprint"] .trade-insight-btn:hover,
body.theme-blueprint .trade-insight-locked-pill:hover,
body[data-theme="theme-blueprint"] .trade-insight-locked-pill:hover {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
    border-color: #e0f2fe !important;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
    color: #ffffff !important;
    transform: translateY(-1px) scale(1.02);
}
body.theme-blueprint .trade-insight-btn::before,
body[data-theme="theme-blueprint"] .trade-insight-btn::before,
body.theme-blueprint .trade-insight-locked-pill::before,
body[data-theme="theme-blueprint"] .trade-insight-locked-pill::before {
    content: none !important;
    display: none !important;
}
body.theme-blueprint .trade-insight-btn::after,
body[data-theme="theme-blueprint"] .trade-insight-btn::after,
body.theme-blueprint .trade-insight-locked-pill::after,
body[data-theme="theme-blueprint"] .trade-insight-locked-pill::after {
    content: "📐 ISO DETAIL" !important;
    color: #fef08a !important;
    font-weight: 900 !important;
    font-size: 8.5px !important;
    display: block !important;
    letter-spacing: 0.06em !important;
    margin-top: 2px !important;
    text-shadow: 0 1px 2px rgba(2, 44, 80, 0.7) !important;
}

/* Bottom Rating Bar (#first-try-stat-badge) — Tolerance Gauge & 5-Star Dimension Line (Compact) */
body.theme-blueprint #first-try-stat-badge:not(.hidden),
body.theme-blueprint .first-try-stat-badge:not(.hidden),
body[data-theme="theme-blueprint"] #first-try-stat-badge:not(.hidden),
body[data-theme="theme-blueprint"] .first-try-stat-badge:not(.hidden) {
    background: #03152b !important;
    border: 1px solid rgba(56, 189, 248, 0.45) !important;
    border-radius: 0px !important;
    padding: 5px 8px !important;
    margin-top: 6px !important;
    margin-bottom: 0px !important;
    box-shadow: inset 0 0 0 1px rgba(104, 201, 241, 0.12) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
}

body.theme-blueprint #first-try-stat-badge.hidden,
body.theme-blueprint .first-try-stat-badge.hidden,
body[data-theme="theme-blueprint"] #first-try-stat-badge.hidden,
body[data-theme="theme-blueprint"] .first-try-stat-badge.hidden {
    display: none !important;
}

/* Left Clean Stat Pill (.first-try-stat-pill-btn) — No Gold Border, No ⌀ Symbol */
body.theme-blueprint .first-try-stat-pill-btn,
body[data-theme="theme-blueprint"] .first-try-stat-pill-btn {
    background: rgba(6, 36, 70, 0.6) !important;
    border: none !important;
    outline: none !important;
    border-radius: 0px !important;
    clip-path: none !important;
    box-shadow: none !important;
    color: #f0f9ff !important;
    font-family: 'JetBrains Mono', monospace !important;
    padding: 5px 8px !important;
    width: auto !important;
    min-height: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    transition: background 0.15s ease !important;
}
body.theme-blueprint .first-try-stat-pill-btn:hover,
body[data-theme="theme-blueprint"] .first-try-stat-pill-btn:hover {
    background: rgba(10, 52, 98, 0.85) !important;
}
body.theme-blueprint .first-try-pct-highlight,
body[data-theme="theme-blueprint"] .first-try-pct-highlight,
body.theme-blueprint #first-try-stat-pct,
body[data-theme="theme-blueprint"] #first-try-stat-pct {
    color: #f0f9ff !important;
    -webkit-text-fill-color: #f0f9ff !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    filter: none !important;
    display: inline-block !important;
}
body.theme-blueprint .first-try-pct-highlight::before,
body[data-theme="theme-blueprint"] .first-try-pct-highlight::before {
    content: none !important;
    display: none !important;
}

/* Right 5-Star Dimensional Scale (|< —— ★ —— ★ —— ★ —— ☆ —— ☆ —— >|) */
body.theme-blueprint .question-rating-bar-wrap,
body[data-theme="theme-blueprint"] .question-rating-bar-wrap {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 2px !important;
}

body.theme-blueprint .pass-line-card.is-gate,
body[data-theme="theme-blueprint"] .pass-line-card.is-gate {
    background: rgba(4, 24, 48, 0.9) !important;
    border: 1px solid rgba(56, 189, 248, 0.48) !important;
    border-radius: 0 !important;
    color: #e0f2fe !important;
}

body.theme-blueprint .pass-line-card.is-gate.is-above .pass-line-delta,
body[data-theme="theme-blueprint"] .pass-line-card.is-gate.is-above .pass-line-delta {
    color: #2dd4bf !important;
}

body.theme-blueprint .pass-line-card.is-gate.is-below .pass-line-delta,
body[data-theme="theme-blueprint"] .pass-line-card.is-gate.is-below .pass-line-delta {
    color: #fde047 !important;
}

body.theme-blueprint .question-rating-label,
body[data-theme="theme-blueprint"] .question-rating-label {
    font-family: 'JetBrains Mono', monospace !important;
    color: #67e8f9 !important;
    letter-spacing: 0.1em !important;
    font-size: 9px !important;
    text-align: center !important;
    margin-bottom: 2px !important;
}
body.theme-blueprint .question-rating-label.is-rated,
body[data-theme="theme-blueprint"] .question-rating-label.is-rated {
    color: #fde047 !important;
}

body.theme-blueprint .question-rating-stars,
body[data-theme="theme-blueprint"] .question-rating-stars {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 10px !important;
}

/* Continuous Horizontal CAD Dimension Line behind the 5 stars */
body.theme-blueprint .question-rating-stars::before,
body[data-theme="theme-blueprint"] .question-rating-stars::before {
    content: "" !important;
    position: absolute !important;
    left: 4px !important;
    right: 4px !important;
    top: 50% !important;
    height: 1.5px !important;
    background: rgba(104, 201, 241, 0.45) !important;
    transform: translateY(-50%) !important;
    pointer-events: none !important;
    z-index: 0 !important;
}
/* Left and Right Dimension Terminators |< and >| */
body.theme-blueprint .question-rating-stars::after,
body[data-theme="theme-blueprint"] .question-rating-stars::after {
    content: "" !important;
    position: absolute !important;
    left: 2px !important;
    right: 2px !important;
    top: 50% !important;
    height: 14px !important;
    border-left: 2px solid #67e8f9 !important;
    border-right: 2px solid #67e8f9 !important;
    transform: translateY(-50%) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

/* 5-Point CAD Rating Stars (★ / ☆) sitting directly on the dimension line */
body.theme-blueprint .q-star-btn,
body[data-theme="theme-blueprint"] .q-star-btn {
    position: relative !important;
    z-index: 2 !important;
    flex: 0 0 auto !important;
    width: 29px !important;
    height: 29px !important;
    background: #03152b !important;
    border: none !important;
    border-radius: 0px !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    font-size: 20.5px !important;
    line-height: 1 !important;
    color: #67e8f9 !important;
    cursor: pointer !important;
    transition: transform 0.15s ease, color 0.15s ease, text-shadow 0.15s ease !important;
}

body.theme-blueprint .q-star-btn::before,
body[data-theme="theme-blueprint"] .q-star-btn::before,
body.theme-blueprint .q-star-btn::after,
body[data-theme="theme-blueprint"] .q-star-btn::after {
    display: none !important;
    content: none !important;
}

body.theme-blueprint .q-star-btn:hover:not(:disabled),
body[data-theme="theme-blueprint"] .q-star-btn:hover:not(:disabled) {
    transform: scale(1.2) !important;
    color: #fde047 !important;
}

body.theme-blueprint .q-star-btn.is-active,
body[data-theme="theme-blueprint"] .q-star-btn.is-active {
    background: #03152b !important;
    border: none !important;
    box-shadow: none !important;
    color: #fbbf24 !important;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.75), 0 0 2px #fde047 !important;
}

/* Primary Action Button (#next-btn) — 45° Chamfered CAD Command Button (Compact) */
body.theme-blueprint #next-btn,
body.theme-blueprint .primary-btn,
body[data-theme="theme-blueprint"] #next-btn,
body[data-theme="theme-blueprint"] .primary-btn {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    border: 1.5px solid #7dd3fc !important;
    border-radius: 0px !important;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    color: #f0f9ff !important;
    font-family: 'JetBrains Mono', 'Outfit', sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    box-shadow: inset 0 0 12px rgba(125, 211, 252, 0.3) !important;
    padding: 12px 20px !important;
}

/* ============================================================================
   6. PLAYER HUB (#player-hub-modal) — MASTER MECHANICAL SHEET (ALL 4 TABS)
   ============================================================================ */

/* Unified Single Global Millimeter Grid on Modal & Body */
body.theme-blueprint #player-hub-modal,
body.theme-blueprint .player-hub-modal,
body.theme-blueprint .player-hub-body,
body[data-theme="theme-blueprint"] #player-hub-modal,
body[data-theme="theme-blueprint"] .player-hub-modal,
body[data-theme="theme-blueprint"] .player-hub-body {
    background-color: #041d3b !important;
    background-image:
        linear-gradient(rgba(56, 189, 248, 0.075) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.075) 1px, transparent 1px),
        linear-gradient(rgba(56, 189, 248, 0.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.16) 1px, transparent 1px) !important;
    background-size: 14px 14px, 14px 14px, 70px 70px, 70px 70px !important;
    color: #f0f9ff !important;
}

/* Child Pane & Scroll Containers MUST BE TRANSPARENT so global CAD grid shines through seamlessly (Point 5) */
body.theme-blueprint .hub-tab-content,
body.theme-blueprint #hub-pane-psi,
body.theme-blueprint #hub-pane-skills,
body.theme-blueprint #hub-pane-badges,
body.theme-blueprint #hub-pane-account,
body.theme-blueprint .hub-spire-container,
body.theme-blueprint .hub-spire-scrollable,
body.theme-blueprint .hub-spire-tower,
body.theme-blueprint .hub-skills-container,
body.theme-blueprint .hub-skills-scrollable,
body.theme-blueprint .hub-badges-container,
body.theme-blueprint .hub-badges-scrollable-grid,
body.theme-blueprint .hub-badges-grid,
body.theme-blueprint .hub-account-container,
body.theme-blueprint .hub-account-scrollable-body,
body.theme-blueprint .hub-acc-tiers-grid,
body[data-theme="theme-blueprint"] .hub-tab-content,
body[data-theme="theme-blueprint"] #hub-pane-psi,
body[data-theme="theme-blueprint"] #hub-pane-skills,
body[data-theme="theme-blueprint"] #hub-pane-badges,
body[data-theme="theme-blueprint"] #hub-pane-account,
body[data-theme="theme-blueprint"] .hub-spire-container,
body[data-theme="theme-blueprint"] .hub-spire-scrollable,
body[data-theme="theme-blueprint"] .hub-spire-tower,
body[data-theme="theme-blueprint"] .hub-skills-container,
body[data-theme="theme-blueprint"] .hub-skills-scrollable,
body[data-theme="theme-blueprint"] .hub-badges-container,
body[data-theme="theme-blueprint"] .hub-badges-scrollable-grid,
body[data-theme="theme-blueprint"] .hub-badges-grid,
body[data-theme="theme-blueprint"] .hub-account-container,
body[data-theme="theme-blueprint"] .hub-account-scrollable-body,
body[data-theme="theme-blueprint"] .hub-acc-tiers-grid {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Eliminate stray scrollbar tracks, gutters, and vertical margin strips (Point 6) */
body.theme-blueprint .hub-spire-scrollable,
body.theme-blueprint .hub-skills-scrollable,
body.theme-blueprint .hub-badges-scrollable-grid,
body.theme-blueprint .hub-account-scrollable-body,
body.theme-blueprint .player-hub-body,
body[data-theme="theme-blueprint"] .hub-spire-scrollable,
body[data-theme="theme-blueprint"] .hub-skills-scrollable,
body[data-theme="theme-blueprint"] .hub-badges-scrollable-grid,
body[data-theme="theme-blueprint"] .hub-account-scrollable-body,
body[data-theme="theme-blueprint"] .player-hub-body {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

body.theme-blueprint .hub-spire-scrollable::-webkit-scrollbar,
body.theme-blueprint .hub-skills-scrollable::-webkit-scrollbar,
body.theme-blueprint .hub-badges-scrollable-grid::-webkit-scrollbar,
body.theme-blueprint .hub-account-scrollable-body::-webkit-scrollbar,
body.theme-blueprint .player-hub-body::-webkit-scrollbar,
body[data-theme="theme-blueprint"] .hub-spire-scrollable::-webkit-scrollbar,
body[data-theme="theme-blueprint"] .hub-skills-scrollable::-webkit-scrollbar,
body[data-theme="theme-blueprint"] .hub-badges-scrollable-grid::-webkit-scrollbar,
body[data-theme="theme-blueprint"] .hub-account-scrollable-body::-webkit-scrollbar,
body[data-theme="theme-blueprint"] .player-hub-body::-webkit-scrollbar {
    display: none !important;
    width: 0px !important;
    height: 0px !important;
    background: transparent !important;
}

/* Top Navigation Bar (.player-hub-nav) & Single Divider Rhythm (Point 2) */
body.theme-blueprint .player-hub-nav,
body[data-theme="theme-blueprint"] .player-hub-nav {
    background: #021124 !important;
    border-bottom: 1.5px solid #4fc3f7 !important;
    column-gap: 0px !important;
    padding: 0 6px !important;
}

/* Point 1: Circular Exit / Back Button (Symmetry with Slot 5) */
body.theme-blueprint .hub-back-btn,
body[data-theme="theme-blueprint"] .hub-back-btn {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    clip-path: none !important;
    background: #062b52 !important;
    border: 1.5px solid #2dd4bf !important;
    box-shadow: inset 0 0 8px rgba(45, 212, 191, 0.3) !important;
    color: #5eead4 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 auto !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease !important;
}

body.theme-blueprint .hub-back-btn:hover,
body[data-theme="theme-blueprint"] .hub-back-btn:hover {
    background: #08386b !important;
    border-color: #5eead4 !important;
    box-shadow: inset 0 0 12px rgba(45, 212, 191, 0.5) !important;
    transform: scale(1.05) !important;
}

/* Point 1: Slot 5 Circular Avatar Matching Rhythm */
body.theme-blueprint .hub-avatar,
body[data-theme="theme-blueprint"] .hub-avatar {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    clip-path: none !important;
    background: #062b52 !important;
    border: 1.5px solid #38bdf8 !important;
    box-shadow: inset 0 0 8px rgba(56, 189, 248, 0.3) !important;
    color: #f0f9ff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
}

/* Point 2: Uniform Middle Tab Envelope Geometry & Single Border Dividers */
body.theme-blueprint .hub-nav-tab,
body[data-theme="theme-blueprint"] .hub-nav-tab {
    background: #031730 !important;
    border: 1px solid rgba(104, 201, 241, 0.35) !important;
    border-bottom: none !important;
    border-radius: 0px !important;
    clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%, 0 8px);
    height: 50px !important;
    box-sizing: border-box !important;
    margin-right: -1px !important;
}

/* Adjacent Inactive Tabs Share a Single 1px Divider Stroke (Point 2) */
body.theme-blueprint .hub-nav-tab:not(:last-child):not(.is-active),
body[data-theme="theme-blueprint"] .hub-nav-tab:not(:last-child):not(.is-active) {
    border-right: none !important;
}

/* Harmonious Category Tints (Eliminate Clashing Gold/Amber Tab Borders) (Point 2) */
body.theme-blueprint #hub-tab-psi:not(.is-active),
body[data-theme="theme-blueprint"] #hub-tab-psi:not(.is-active) {
    background: rgba(56, 189, 248, 0.08) !important;
    border-color: rgba(104, 201, 241, 0.35) !important;
}

body.theme-blueprint #hub-tab-skills:not(.is-active),
body[data-theme="theme-blueprint"] #hub-tab-skills:not(.is-active) {
    background: #031730 !important;
    border-color: rgba(104, 201, 241, 0.35) !important;
}

body.theme-blueprint #hub-tab-badges:not(.is-active),
body[data-theme="theme-blueprint"] #hub-tab-badges:not(.is-active) {
    background: rgba(234, 179, 8, 0.05) !important;
    border: 1px solid rgba(104, 201, 241, 0.35) !important;
    border-bottom: none !important;
}

body.theme-blueprint #hub-tab-account:not(.is-active),
body[data-theme="theme-blueprint"] #hub-tab-account:not(.is-active) {
    background: #031730 !important;
    border: 1px solid rgba(104, 201, 241, 0.35) !important;
    border-bottom: none !important;
}

/* Point 4: Seamless Active Tab Merge (Folder Tab Principle — Zero Horizontal Dividing Line) */
body.theme-blueprint .hub-nav-tab.is-active,
body[data-theme="theme-blueprint"] .hub-nav-tab.is-active,
body.theme-blueprint #hub-tab-psi.is-active,
body[data-theme="theme-blueprint"] #hub-tab-psi.is-active,
body.theme-blueprint #hub-tab-skills.is-active,
body[data-theme="theme-blueprint"] #hub-tab-skills.is-active,
body.theme-blueprint #hub-tab-badges.is-active,
body[data-theme="theme-blueprint"] #hub-tab-badges.is-active,
body.theme-blueprint #hub-tab-account.is-active,
body[data-theme="theme-blueprint"] #hub-tab-account.is-active {
    background: #041d3b !important;
    border: 1.5px solid #67e8f9 !important;
    border-bottom: 3px solid #041d3b !important;
    box-shadow: none !important;
    margin-bottom: -2px !important;
    z-index: 20 !important;
}

body.theme-blueprint .hub-nav-tab.is-active::after,
body[data-theme="theme-blueprint"] .hub-nav-tab.is-active::after {
    content: '' !important;
    position: absolute !important;
    left: -1px !important;
    right: -1px !important;
    bottom: -4px !important;
    height: 6px !important;
    background: #041d3b !important;
    z-index: 25 !important;
    pointer-events: none !important;
}

/* Point 3: Remove Redundant Inner Nested Boxes Inside Tabs — Frameless CAD Typography */
body.theme-blueprint .hub-taper-psi-badge,
body[data-theme="theme-blueprint"] .hub-taper-psi-badge,
body.theme-blueprint .hub-taper-badges-badge,
body[data-theme="theme-blueprint"] .hub-taper-badges-badge {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    width: auto !important;
    margin: 0 auto !important;
}

body.theme-blueprint .hub-psi-val,
body[data-theme="theme-blueprint"] .hub-psi-val {
    color: #f0f9ff !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
}

body.theme-blueprint .hub-psi-unit,
body[data-theme="theme-blueprint"] .hub-psi-unit {
    color: #38bdf8 !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
}

body.theme-blueprint .hub-trophy-icon,
body[data-theme="theme-blueprint"] .hub-trophy-icon {
    font-size: 15px !important;
    line-height: 1 !important;
    margin-bottom: 2px !important;
}

body.theme-blueprint .hub-badges-val,
body[data-theme="theme-blueprint"] .hub-badges-val {
    color: #fbbf24 !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
}

body.theme-blueprint .hub-skill-track,
body[data-theme="theme-blueprint"] .hub-skill-track {
    background: #021124 !important;
    border: 1px solid rgba(104, 201, 241, 0.35) !important;
    border-radius: 0px !important;
}
body.theme-blueprint .hub-skill-fill.fill-drainage,
body[data-theme="theme-blueprint"] .hub-skill-fill.fill-drainage { background: #2dd4bf !important; }
body.theme-blueprint .hub-skill-fill.fill-water,
body[data-theme="theme-blueprint"] .hub-skill-fill.fill-water { background: #38bdf8 !important; }
body.theme-blueprint .hub-skill-fill.fill-fixtures,
body[data-theme="theme-blueprint"] .hub-skill-fill.fill-fixtures { background: #fbbf24 !important; }
body.theme-blueprint .hub-skill-fill.fill-safety,
body[data-theme="theme-blueprint"] .hub-skill-fill.fill-safety { background: #e879f9 !important; }

/* ============================================================================
   TAB 1: PSI PRESSURE SPIRE — VERTICAL PLUMBING RISER DIAGRAM (M-201)
   ============================================================================ */

/* Riser Standpipe Track with Dash-Dot Engineering Centerline (— · — · —) */
body.theme-blueprint .hub-spire-pipe-track,
body[data-theme="theme-blueprint"] .hub-spire-pipe-track {
    background: #021329 !important;
    border: 1.5px solid #4fc3f7 !important;
    border-radius: 0px !important;
    box-shadow: inset 0 0 6px rgba(56, 189, 248, 0.25) !important;
}
body.theme-blueprint .hub-spire-pipe-track::after,
body[data-theme="theme-blueprint"] .hub-spire-pipe-track::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    transform: translateX(-50%);
    background: repeating-linear-gradient(
        180deg,
        rgba(253, 224, 71, 0.75) 0px,
        rgba(253, 224, 71, 0.75) 10px,
        transparent 10px,
        transparent 14px,
        rgba(253, 224, 71, 0.75) 14px,
        rgba(253, 224, 71, 0.75) 16px,
        transparent 16px,
        transparent 20px
    ) !important;
    z-index: 3;
    pointer-events: none;
}
body.theme-blueprint .hub-spire-water-fill,
body[data-theme="theme-blueprint"] .hub-spire-water-fill {
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.65) 0%, rgba(2, 132, 199, 0.85) 100%) !important;
    border-radius: 0px !important;
}

/* Architectural Elevation Benchmarks (⊕ +100') */
body.theme-blueprint .hub-spire-elevation-text,
body[data-theme="theme-blueprint"] .hub-spire-elevation-text {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 10.5px !important;
    color: #bae6fd !important;
    font-weight: 700 !important;
}
body.theme-blueprint .hub-spire-elevation-text::before,
body[data-theme="theme-blueprint"] .hub-spire-elevation-text::before {
    content: "⊕";
    color: #fbbf24;
    margin-right: 2px;
    font-weight: 900;
}

/* Valve Node Crosshair & Dashed Leader Line */
body.theme-blueprint .hub-floor-node-dot,
body[data-theme="theme-blueprint"] .hub-floor-node-dot {
    border-radius: 0px !important;
    transform: rotate(45deg);
    background: #031830 !important;
    border: 1.5px solid #4fc3f7 !important;
}
body.theme-blueprint .hub-floor-node-dot.is-active,
body[data-theme="theme-blueprint"] .hub-floor-node-dot.is-active {
    background: #2dd4bf !important;
    border-color: #99f6e4 !important;
    box-shadow: 0 0 8px rgba(45, 212, 191, 0.7) !important;
}
body.theme-blueprint .hub-floor-node-dot.is-unlocked,
body[data-theme="theme-blueprint"] .hub-floor-node-dot.is-unlocked {
    background: #fbbf24 !important;
    border-color: #fde047 !important;
}
body.theme-blueprint .hub-floor-connector-line,
body[data-theme="theme-blueprint"] .hub-floor-connector-line {
    background: transparent !important;
    border-top: 1.5px dashed #4fc3f7 !important;
    height: 0px !important;
}

/* Spire Floor Schedule Cards (.hub-spire-card) */
body.theme-blueprint .hub-spire-card,
body[data-theme="theme-blueprint"] .hub-spire-card,
body.theme-blueprint .hub-spire-card.foundation-card,
body[data-theme="theme-blueprint"] .hub-spire-card.foundation-card {
    background: linear-gradient(165deg, rgba(6, 36, 70, 0.95) 0%, rgba(4, 24, 48, 0.98) 100%) !important;
    border: 1px solid #4fc3f7 !important;
    border-radius: 0px !important;
    box-shadow: inset 0 0 0 1px rgba(104, 201, 241, 0.15) !important;
    color: #f0f9ff !important;
}
body.theme-blueprint .hub-spire-card.is-active,
body[data-theme="theme-blueprint"] .hub-spire-card.is-active,
body.theme-blueprint .hub-spire-card.foundation-card.is-active,
body[data-theme="theme-blueprint"] .hub-spire-card.foundation-card.is-active {
    border: 1.5px solid #2dd4bf !important;
    border-left: 4px solid #2dd4bf !important;
    box-shadow: inset 0 0 14px rgba(45, 212, 191, 0.18), 0 0 12px rgba(45, 212, 191, 0.25) !important;
}
body.theme-blueprint .hub-spire-card.is-unlocked,
body[data-theme="theme-blueprint"] .hub-spire-card.is-unlocked,
body.theme-blueprint .hub-spire-card.foundation-card.is-unlocked,
body[data-theme="theme-blueprint"] .hub-spire-card.foundation-card.is-unlocked {
    border: 1px solid #67e8f9 !important;
    border-left: 3px solid #38bdf8 !important;
}
body.theme-blueprint .hub-spire-card.is-locked,
body[data-theme="theme-blueprint"] .hub-spire-card.is-locked {
    background: rgba(3, 21, 43, 0.78) !important;
    border: 1px dashed rgba(104, 201, 241, 0.38) !important;
    opacity: 0.85 !important;
}
body.theme-blueprint .hub-spire-card.card-penthouse,
body[data-theme="theme-blueprint"] .hub-spire-card.card-penthouse {
    border-color: #fbbf24 !important;
}

body.theme-blueprint .hub-spire-theme-title,
body[data-theme="theme-blueprint"] .hub-spire-theme-title {
    color: #f0f9ff !important;
    font-weight: 800 !important;
}
body.theme-blueprint .hub-spire-card-desc,
body[data-theme="theme-blueprint"] .hub-spire-card-desc {
    color: #bae6fd !important;
}
body.theme-blueprint .hub-spire-card-bottom,
body[data-theme="theme-blueprint"] .hub-spire-card-bottom {
    border-top: 1px dashed rgba(104, 201, 241, 0.3) !important;
}
body.theme-blueprint .hub-spire-psi-value,
body[data-theme="theme-blueprint"] .hub-spire-psi-value {
    font-family: 'JetBrains Mono', monospace !important;
    color: #fde047 !important;
}
body.theme-blueprint .hub-spire-req-text,
body[data-theme="theme-blueprint"] .hub-spire-req-text {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 9.5px !important;
    color: #7dd3fc !important;
}

/* Spire Action Stamps (.hub-theme-action-btn) */
body.theme-blueprint .hub-theme-action-btn,
body[data-theme="theme-blueprint"] .hub-theme-action-btn {
    border-radius: 0px !important;
    font-family: 'JetBrains Mono', monospace !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}
body.theme-blueprint .hub-theme-action-btn.btn-active,
body[data-theme="theme-blueprint"] .hub-theme-action-btn.btn-active {
    background: rgba(4, 62, 66, 0.95) !important;
    border: 1.5px solid #2dd4bf !important;
    color: #5eead4 !important;
}
body.theme-blueprint .hub-theme-action-btn.btn-select,
body[data-theme="theme-blueprint"] .hub-theme-action-btn.btn-select {
    background: #0284c7 !important;
    border: 1px solid #7dd3fc !important;
    color: #f0f9ff !important;
}
body.theme-blueprint .hub-theme-action-btn.btn-locked,
body[data-theme="theme-blueprint"] .hub-theme-action-btn.btn-locked {
    background: rgba(3, 21, 43, 0.9) !important;
    border: 1px dashed rgba(104, 201, 241, 0.4) !important;
    color: #7dd3fc !important;
}

/* ============================================================================
   TAB 2: SKILLS & CALIBRATION — POLAR PROTRACTOR RADAR & AUTOCAD LAYER MANAGER
   ============================================================================ */

/* Show 360-degree Polar Protractor SVG Layer in Blueprint Mode */
body.theme-blueprint .blueprint-protractor-layer,
body[data-theme="theme-blueprint"] .blueprint-protractor-layer {
    display: inline !important;
}

body.theme-blueprint .hub-skills-subtitle,
body[data-theme="theme-blueprint"] .hub-skills-subtitle {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 10.5px !important;
    color: #bae6fd !important;
}

body.theme-blueprint .hub-skills-diagnostic-card,
body[data-theme="theme-blueprint"] .hub-skills-diagnostic-card {
    background: linear-gradient(165deg, rgba(6, 36, 70, 0.95) 0%, rgba(4, 24, 48, 0.98) 100%) !important;
    border: 1.5px solid #4fc3f7 !important;
    border-radius: 0px !important;
    box-shadow: inset 0 0 0 1px rgba(104, 201, 241, 0.2) !important;
}

body.theme-blueprint .hub-radar-title,
body[data-theme="theme-blueprint"] .hub-radar-title {
    font-family: 'JetBrains Mono', monospace !important;
    color: #f0f9ff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
}
body.theme-blueprint .hub-radar-title::before,
body[data-theme="theme-blueprint"] .hub-radar-title::before {
    content: "POLAR CAD // ";
    color: #fbbf24;
}
body.theme-blueprint .hub-radar-focus-pill,
body[data-theme="theme-blueprint"] .hub-radar-focus-pill {
    background: #03152b !important;
    border: 1px solid #fbbf24 !important;
    border-radius: 0px !important;
    color: #fde047 !important;
    font-family: 'JetBrains Mono', monospace !important;
}

/* Radar SVG Grid & Labels in Blueprint Mode */
body.theme-blueprint #hub-skills-radar-svg polygon:not(#hub-radar-polygon),
body[data-theme="theme-blueprint"] #hub-skills-radar-svg polygon:not(#hub-radar-polygon) {
    stroke: rgba(104, 201, 241, 0.35) !important;
}
body.theme-blueprint #hub-skills-radar-svg line,
body[data-theme="theme-blueprint"] #hub-skills-radar-svg line {
    stroke: rgba(104, 201, 241, 0.4) !important;
}
body.theme-blueprint #hub-radar-polygon,
body[data-theme="theme-blueprint"] #hub-radar-polygon {
    stroke: #38bdf8 !important;
    stroke-width: 2px !important;
    fill: rgba(56, 189, 248, 0.28) !important;
}
body.theme-blueprint #hub-skills-radar-svg text,
body[data-theme="theme-blueprint"] #hub-skills-radar-svg text {
    font-family: 'JetBrains Mono', monospace !important;
}

/* 4 Discipline Cards as AutoCAD Layer Manager Rows (.hub-discipline-cell) */
body.theme-blueprint .hub-discipline-cell,
body[data-theme="theme-blueprint"] .hub-discipline-cell {
    background: #031830 !important;
    border: 1px solid #4fc3f7 !important;
    border-radius: 0px !important;
    box-shadow: inset 0 0 0 1px rgba(104, 201, 241, 0.12) !important;
    position: relative;
}
body.theme-blueprint .hub-discipline-dot,
body[data-theme="theme-blueprint"] .hub-discipline-dot {
    border-radius: 0px !important;
    width: 10px !important;
    height: 10px !important;
    border: 1px solid #f0f9ff !important;
}
body.theme-blueprint .dot-drainage,
body[data-theme="theme-blueprint"] .dot-drainage { background: #2dd4bf !important; }
body.theme-blueprint .dot-water,
body[data-theme="theme-blueprint"] .dot-water { background: #38bdf8 !important; }
body.theme-blueprint .dot-fixtures,
body[data-theme="theme-blueprint"] .dot-fixtures { background: #fbbf24 !important; }
body.theme-blueprint .dot-safety,
body[data-theme="theme-blueprint"] .dot-safety { background: #e879f9 !important; }

body.theme-blueprint .hub-discipline-name,
body[data-theme="theme-blueprint"] .hub-discipline-name {
    color: #f0f9ff !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 11.5px !important;
    text-transform: uppercase !important;
}
body.theme-blueprint .cell-drainage .hub-discipline-name::before,
body[data-theme="theme-blueprint"] .cell-drainage .hub-discipline-name::before {
    content: "LYR-01 // ";
    color: #2dd4bf;
    font-size: 9px;
}
body.theme-blueprint .cell-water .hub-discipline-name::before,
body[data-theme="theme-blueprint"] .cell-water .hub-discipline-name::before {
    content: "LYR-02 // ";
    color: #38bdf8;
    font-size: 9px;
}
body.theme-blueprint .cell-fixtures .hub-discipline-name::before,
body[data-theme="theme-blueprint"] .cell-fixtures .hub-discipline-name::before {
    content: "LYR-03 // ";
    color: #fbbf24;
    font-size: 9px;
}
body.theme-blueprint .cell-safety .hub-discipline-name::before,
body[data-theme="theme-blueprint"] .cell-safety .hub-discipline-name::before {
    content: "LYR-04 // ";
    color: #e879f9;
    font-size: 9px;
}

body.theme-blueprint .hub-disc-pct,
body[data-theme="theme-blueprint"] .hub-disc-pct {
    color: #fde047 !important;
    font-family: 'JetBrains Mono', monospace !important;
}
body.theme-blueprint .hub-disc-track,
body[data-theme="theme-blueprint"] .hub-disc-track {
    background: #021022 !important;
    border: 1px solid rgba(104, 201, 241, 0.4) !important;
    border-radius: 0px !important;
}
body.theme-blueprint .hub-disc-rank-badge,
body[data-theme="theme-blueprint"] .hub-disc-rank-badge {
    border-radius: 0px !important;
    font-family: 'JetBrains Mono', monospace !important;
    background: #062b52 !important;
    border: 1px solid #38bdf8 !important;
    color: #f0f9ff !important;
}
body.theme-blueprint .hub-disc-rank-target,
body[data-theme="theme-blueprint"] .hub-disc-rank-target {
    color: #7dd3fc !important;
    font-family: 'JetBrains Mono', monospace !important;
}

/* Bottom Calibration Run Launchers (.hub-run-launcher-card) */
body.theme-blueprint .hub-run-launcher-card,
body[data-theme="theme-blueprint"] .hub-run-launcher-card {
    background: linear-gradient(165deg, rgba(6, 36, 70, 0.95) 0%, rgba(4, 24, 48, 0.98) 100%) !important;
    border: 1px solid #4fc3f7 !important;
    border-radius: 0px !important;
}
body.theme-blueprint .hub-launcher-title,
body[data-theme="theme-blueprint"] .hub-launcher-title {
    color: #f0f9ff !important;
    font-family: 'JetBrains Mono', monospace !important;
    text-transform: uppercase !important;
}
body.theme-blueprint .hub-launcher-desc,
body[data-theme="theme-blueprint"] .hub-launcher-desc {
    color: #bae6fd !important;
}
body.theme-blueprint .hub-launcher-badge,
body[data-theme="theme-blueprint"] .hub-launcher-badge {
    background: #03152b !important;
    border: 1px solid #fbbf24 !important;
    border-radius: 0px !important;
    color: #fde047 !important;
    font-family: 'JetBrains Mono', monospace !important;
}
body.theme-blueprint .hub-launcher-btn,
body[data-theme="theme-blueprint"] .hub-launcher-btn {
    border-radius: 0px !important;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    font-family: 'JetBrains Mono', monospace !important;
    text-transform: uppercase !important;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    border: 1px solid #7dd3fc !important;
    color: #f0f9ff !important;
}

/* ============================================================================
   TAB 3: ACHIEVEMENTS — ENGINEERING SEALS & INSPECTION STAMPS MATRIX (M-203)
   ============================================================================ */

body.theme-blueprint .hub-badges-pinned-top,
body[data-theme="theme-blueprint"] .hub-badges-pinned-top {
    background: #031830 !important;
    border-bottom: 1.5px solid #4fc3f7 !important;
}
body.theme-blueprint .hub-badges-summary-card,
body[data-theme="theme-blueprint"] .hub-badges-summary-card {
    background: #042040 !important;
    border: 1px solid #4fc3f7 !important;
    border-radius: 0px !important;
}
body.theme-blueprint .hub-badges-unlocked-stat,
body[data-theme="theme-blueprint"] .hub-badges-unlocked-stat {
    color: #f0f9ff !important;
    font-family: 'JetBrains Mono', monospace !important;
}
body.theme-blueprint .hub-badges-percentile-pill,
body[data-theme="theme-blueprint"] .hub-badges-percentile-pill {
    background: #03152b !important;
    border: 1px solid #fbbf24 !important;
    border-radius: 0px !important;
    color: #fde047 !important;
    font-family: 'JetBrains Mono', monospace !important;
}
body.theme-blueprint .hub-badges-progress-track,
body[data-theme="theme-blueprint"] .hub-badges-progress-track,
body.theme-blueprint .hub-spotlight-progress-track,
body[data-theme="theme-blueprint"] .hub-spotlight-progress-track {
    background: #021022 !important;
    border: 1px solid rgba(56, 189, 248, 0.45) !important;
    border-radius: 0px !important;
}
body.theme-blueprint .hub-badges-progress-fill,
body[data-theme="theme-blueprint"] .hub-badges-progress-fill,
body.theme-blueprint .hub-spotlight-progress-fill,
body[data-theme="theme-blueprint"] .hub-spotlight-progress-fill {
    background: linear-gradient(90deg, #0284c7, #2dd4bf) !important;
    border-radius: 0px !important;
}
body.theme-blueprint .hub-badge-spotlight-card,
body[data-theme="theme-blueprint"] .hub-badge-spotlight-card {
    background: linear-gradient(165deg, rgba(6, 38, 74, 0.96) 0%, rgba(3, 21, 43, 0.99) 100%) !important;
    border: 1.5px solid #38bdf8 !important;
    border-left: 4px solid #fbbf24 !important;
    border-radius: 0px !important;
    color: #f0f9ff !important;
    box-shadow: inset 0 0 0 1px rgba(104, 201, 241, 0.2) !important;
}
body.theme-blueprint .hub-spotlight-svg-wrap,
body[data-theme="theme-blueprint"] .hub-spotlight-svg-wrap {
    background: #03152a !important;
    border: 1.5px solid #38bdf8 !important;
    border-radius: 0px !important;
    box-shadow: inset 0 0 12px rgba(56, 189, 248, 0.2) !important;
}
body.theme-blueprint .hub-spotlight-svg-wrap.spotlight-unlocked,
body[data-theme="theme-blueprint"] .hub-spotlight-svg-wrap.spotlight-unlocked {
    border-color: #2dd4bf !important;
    box-shadow: inset 0 0 14px rgba(45, 212, 191, 0.25), 0 0 8px rgba(45, 212, 191, 0.25) !important;
}
body.theme-blueprint .hub-spotlight-tier,
body[data-theme="theme-blueprint"] .hub-spotlight-tier {
    background: rgba(56, 189, 248, 0.14) !important;
    border: 1px solid #38bdf8 !important;
    border-radius: 0px !important;
    color: #7dd3fc !important;
    font-family: 'JetBrains Mono', monospace !important;
}
body.theme-blueprint .hub-spotlight-status,
body[data-theme="theme-blueprint"] .hub-spotlight-status {
    border-radius: 0px !important;
    font-family: 'JetBrains Mono', monospace !important;
}
body.theme-blueprint .hub-spotlight-status.hub-status-unlocked,
body[data-theme="theme-blueprint"] .hub-spotlight-status.hub-status-unlocked {
    background: rgba(45, 212, 191, 0.18) !important;
    border: 1px solid #2dd4bf !important;
    color: #5eead4 !important;
}
body.theme-blueprint .hub-spotlight-status.hub-status-locked,
body[data-theme="theme-blueprint"] .hub-spotlight-status.hub-status-locked {
    background: rgba(3, 21, 42, 0.85) !important;
    border: 1px dashed rgba(104, 201, 241, 0.45) !important;
    color: #93c5fd !important;
}
body.theme-blueprint .hub-spotlight-category,
body[data-theme="theme-blueprint"] .hub-spotlight-category {
    color: #fbbf24 !important;
    font-family: 'JetBrains Mono', monospace !important;
}
body.theme-blueprint .hub-spotlight-title,
body.theme-blueprint .hub-spotlight-badge-title,
body[data-theme="theme-blueprint"] .hub-spotlight-title,
body[data-theme="theme-blueprint"] .hub-spotlight-badge-title {
    color: #f0f9ff !important;
    font-family: 'JetBrains Mono', monospace !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
}
body.theme-blueprint .hub-spotlight-desc,
body.theme-blueprint .hub-spotlight-description,
body[data-theme="theme-blueprint"] .hub-spotlight-desc,
body[data-theme="theme-blueprint"] .hub-spotlight-description {
    color: #bae6fd !important;
}
body.theme-blueprint .hub-spotlight-rarity,
body[data-theme="theme-blueprint"] .hub-spotlight-rarity {
    color: #93c5fd !important;
    font-family: 'JetBrains Mono', monospace !important;
}
body.theme-blueprint .hub-spotlight-rarity strong,
body[data-theme="theme-blueprint"] .hub-spotlight-rarity strong {
    color: #fde047 !important;
}
body.theme-blueprint .hub-spotlight-progress-text-row,
body[data-theme="theme-blueprint"] .hub-spotlight-progress-text-row {
    color: #bae6fd !important;
    font-family: 'JetBrains Mono', monospace !important;
}
body.theme-blueprint .hub-spotlight-progress-text-row strong,
body[data-theme="theme-blueprint"] .hub-spotlight-progress-text-row strong {
    color: #2dd4bf !important;
}

/* 3-Column Badges Matrix: Unlocked Stamps vs. Locked Ghost Wireframes */
body.theme-blueprint .hub-badge-grid-card,
body[data-theme="theme-blueprint"] .hub-badge-grid-card {
    background: rgba(5, 34, 66, 0.92) !important;
    border: 1px solid #4fc3f7 !important;
    border-radius: 0px !important;
    box-shadow: inset 0 0 0 1px rgba(104, 201, 241, 0.15) !important;
    color: #f0f9ff !important;
}
body.theme-blueprint .hub-badge-grid-card.cell-unlocked,
body[data-theme="theme-blueprint"] .hub-badge-grid-card.cell-unlocked {
    background: linear-gradient(180deg, rgba(6, 44, 84, 0.95) 0%, rgba(4, 28, 56, 0.98) 100%) !important;
    border: 1.5px solid #2dd4bf !important;
    box-shadow: inset 0 0 12px rgba(45, 212, 191, 0.16) !important;
}
/* Locked Badges as Dashed Ghost Wireframes */
body.theme-blueprint .hub-badge-grid-card.is-locked,
body.theme-blueprint .hub-badge-grid-card.cell-locked,
body[data-theme="theme-blueprint"] .hub-badge-grid-card.is-locked,
body[data-theme="theme-blueprint"] .hub-badge-grid-card.cell-locked {
    background: rgba(3, 21, 43, 0.65) !important;
    border: 1px dashed rgba(104, 201, 241, 0.35) !important;
    box-shadow: none !important;
}
body.theme-blueprint .hub-badge-grid-card.is-selected,
body[data-theme="theme-blueprint"] .hub-badge-grid-card.is-selected {
    border: 1.5px solid #fbbf24 !important;
    box-shadow: inset 0 0 12px rgba(251, 191, 36, 0.25), 0 0 10px rgba(251, 191, 36, 0.3) !important;
}
body.theme-blueprint .hub-cell-title,
body.theme-blueprint .hub-cell-badge-title,
body[data-theme="theme-blueprint"] .hub-cell-title,
body[data-theme="theme-blueprint"] .hub-cell-badge-title {
    color: #f0f9ff !important;
    font-family: 'JetBrains Mono', sans-serif !important;
    font-weight: 700 !important;
}
body.theme-blueprint .hub-badge-grid-card.cell-locked .hub-cell-badge-title,
body[data-theme="theme-blueprint"] .hub-badge-grid-card.cell-locked .hub-cell-badge-title {
    color: #7dd3fc !important;
}
body.theme-blueprint .hub-cell-lock-icon,
body[data-theme="theme-blueprint"] .hub-cell-lock-icon {
    background: #03152b !important;
    border: 1px dashed #4fc3f7 !important;
    border-radius: 0px !important;
    color: #67e8f9 !important;
}
body.theme-blueprint .hub-cell-prog-pill,
body[data-theme="theme-blueprint"] .hub-cell-prog-pill {
    background: #03152a !important;
    border: 1px solid rgba(56, 189, 248, 0.45) !important;
    border-radius: 0px !important;
    color: #bae6fd !important;
    font-family: 'JetBrains Mono', monospace !important;
}
body.theme-blueprint .hub-cell-prog-pill.prog-done,
body[data-theme="theme-blueprint"] .hub-cell-prog-pill.prog-done {
    background: rgba(45, 212, 191, 0.18) !important;
    border-color: #2dd4bf !important;
    color: #5eead4 !important;
    font-weight: 800 !important;
}
body.theme-blueprint .hub-cell-rarity-pill,
body[data-theme="theme-blueprint"] .hub-cell-rarity-pill {
    background: rgba(251, 191, 36, 0.14) !important;
    border: 1px solid rgba(251, 191, 36, 0.55) !important;
    border-radius: 0px !important;
    color: #fde047 !important;
    font-family: 'JetBrains Mono', monospace !important;
}

/* ============================================================================
   TAB 4: ACCOUNT & PASS — BILL OF MATERIALS & GENERAL SPECIFICATIONS (M-204)
   ============================================================================ */

body.theme-blueprint .hub-account-pinned-header,
body[data-theme="theme-blueprint"] .hub-account-pinned-header,
body.theme-blueprint .hub-account-pinned-footer,
body[data-theme="theme-blueprint"] .hub-account-pinned-footer {
    background: #031830 !important;
    border-color: #4fc3f7 !important;
}
body.theme-blueprint .hub-account-status-bar,
body[data-theme="theme-blueprint"] .hub-account-status-bar {
    background: #042040 !important;
    border: 1px solid #4fc3f7 !important;
    border-radius: 0px !important;
}
body.theme-blueprint .hub-acc-tier-badge,
body[data-theme="theme-blueprint"] .hub-acc-tier-badge {
    background: rgba(56, 189, 248, 0.15) !important;
    border: 1px solid #38bdf8 !important;
    border-radius: 0px !important;
    color: #f0f9ff !important;
    font-family: 'JetBrains Mono', monospace !important;
}
body.theme-blueprint .hub-acc-validity-pill,
body[data-theme="theme-blueprint"] .hub-acc-validity-pill {
    color: #7dd3fc !important;
    font-family: 'JetBrains Mono', monospace !important;
}
body.theme-blueprint .hub-acc-logout-btn,
body[data-theme="theme-blueprint"] .hub-acc-logout-btn {
    background: #062a52 !important;
    border: 1px solid #fbbf24 !important;
    border-radius: 0px !important;
    color: #fde047 !important;
    font-family: 'JetBrains Mono', monospace !important;
    text-transform: uppercase !important;
}
body.theme-blueprint .hub-pay-pill,
body[data-theme="theme-blueprint"] .hub-pay-pill {
    background: #03152a !important;
    border: 1px solid rgba(56, 189, 248, 0.45) !important;
    border-radius: 0px !important;
    color: #bae6fd !important;
    font-family: 'JetBrains Mono', monospace !important;
}
body.theme-blueprint .hub-acc-trust-badges,
body[data-theme="theme-blueprint"] .hub-acc-trust-badges,
body.theme-blueprint .hub-acc-legal-terms-row,
body[data-theme="theme-blueprint"] .hub-acc-legal-terms-row,
body.theme-blueprint .hub-footer-trust-micro,
body[data-theme="theme-blueprint"] .hub-footer-trust-micro {
    color: #7dd3fc !important;
    font-family: 'JetBrains Mono', sans-serif !important;
}
body.theme-blueprint .hub-acc-legal-terms-row a,
body[data-theme="theme-blueprint"] .hub-acc-legal-terms-row a {
    color: #fde047 !important;
}

/* Spire Floor Stamp Badges (.hub-floor-badge) */
body.theme-blueprint .hub-floor-badge,
body[data-theme="theme-blueprint"] .hub-floor-badge {
    background: #03152a !important;
    border: 1px solid #38bdf8 !important;
    border-radius: 0px !important;
    color: #7dd3fc !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-weight: 800 !important;
}
body.theme-blueprint .hub-floor-badge.badge-blueprint,
body[data-theme="theme-blueprint"] .hub-floor-badge.badge-blueprint {
    background: rgba(45, 212, 191, 0.16) !important;
    border-color: #2dd4bf !important;
    color: #5eead4 !important;
}
body.theme-blueprint .hub-floor-badge.badge-penthouse,
body[data-theme="theme-blueprint"] .hub-floor-badge.badge-penthouse {
    background: rgba(251, 191, 36, 0.16) !important;
    border-color: #fbbf24 !important;
    color: #fde047 !important;
}

/* Challenge Header (for <2 solved questions) & Guest Header CTA in Blueprint CAD */
body.theme-blueprint #challenge-header,
body[data-theme="theme-blueprint"] #challenge-header {
    background: linear-gradient(180deg, #062a52 0%, #031830 100%) !important;
    border: 1.5px solid #4fc3f7 !important;
    border-radius: 0px !important;
    box-shadow: inset 0 0 0 2px rgba(56, 189, 248, 0.15) !important;
}
body.theme-blueprint .guest-header-cta-btn,
body[data-theme="theme-blueprint"] .guest-header-cta-btn {
    background: linear-gradient(135deg, #073868 0%, #031830 100%) !important;
    border: 1.5px solid #fbbf24 !important;
    border-radius: 0px !important;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    box-shadow: inset 0 0 12px rgba(251, 191, 36, 0.2) !important;
}
body.theme-blueprint .guest-header-cta-btn .guest-cta-phrase,
body[data-theme="theme-blueprint"] .guest-header-cta-btn .guest-cta-phrase {
    color: #fde047 !important;
    font-family: 'JetBrains Mono', monospace !important;
    letter-spacing: 0.05em !important;
}
body.theme-blueprint .hub-dynamic-value-badge,
body[data-theme="theme-blueprint"] .hub-dynamic-value-badge {
    background: #03152b !important;
    border: 1px solid #fbbf24 !important;
    border-radius: 0px !important;
    color: #fde047 !important;
    font-family: 'JetBrains Mono', monospace !important;
}

/* Pricing Tier Cards as Bill of Materials Schedule Rows (.hub-tier-card) */
body.theme-blueprint .hub-tier-card,
body[data-theme="theme-blueprint"] .hub-tier-card {
    background: linear-gradient(165deg, rgba(6, 36, 70, 0.95) 0%, rgba(4, 24, 48, 0.98) 100%) !important;
    border: 1px solid #4fc3f7 !important;
    border-radius: 0px !important;
    box-shadow: inset 0 0 0 1px rgba(104, 201, 241, 0.15) !important;
}
body.theme-blueprint .hub-tier-card.is-selected,
body[data-theme="theme-blueprint"] .hub-tier-card.is-selected {
    background: linear-gradient(165deg, rgba(8, 48, 92, 0.98) 0%, rgba(5, 32, 64, 0.99) 100%) !important;
    border: 1.5px solid #fbbf24 !important;
    border-left: 4px solid #fbbf24 !important;
    box-shadow: inset 0 0 14px rgba(251, 191, 36, 0.18), 0 0 12px rgba(251, 191, 36, 0.25) !important;
}
body.theme-blueprint .hub-tier-badge,
body[data-theme="theme-blueprint"] .hub-tier-badge {
    border-radius: 0px !important;
    font-family: 'JetBrains Mono', monospace !important;
    background: #03152b !important;
    border: 1px solid #38bdf8 !important;
    color: #67e8f9 !important;
}
body.theme-blueprint .hub-tier-badge.badge-popular,
body[data-theme="theme-blueprint"] .hub-tier-badge.badge-popular {
    border-color: #fbbf24 !important;
    color: #fde047 !important;
}
body.theme-blueprint .hub-tier-name,
body[data-theme="theme-blueprint"] .hub-tier-name,
body.theme-blueprint .hub-tier-price,
body[data-theme="theme-blueprint"] .hub-tier-price,
body.theme-blueprint .hub-tier-duration,
body[data-theme="theme-blueprint"] .hub-tier-duration {
    color: #f0f9ff !important;
    font-weight: 800 !important;
}
body.theme-blueprint .hub-tier-currency,
body[data-theme="theme-blueprint"] .hub-tier-currency,
body.theme-blueprint .hub-tier-per-day,
body[data-theme="theme-blueprint"] .hub-tier-per-day {
    color: #bae6fd !important;
    font-family: 'JetBrains Mono', monospace !important;
}
body.theme-blueprint .hub-tier-select-btn,
body[data-theme="theme-blueprint"] .hub-tier-select-btn {
    border-radius: 0px !important;
    font-family: 'JetBrains Mono', monospace !important;
    text-transform: uppercase !important;
    background: #042242 !important;
    border: 1px solid #4fc3f7 !important;
    color: #bae6fd !important;
}
body.theme-blueprint .hub-tier-select-btn.is-selected,
body[data-theme="theme-blueprint"] .hub-tier-select-btn.is-selected {
    background: #fbbf24 !important;
    border-color: #fde047 !important;
    color: #021124 !important;
    font-weight: 900 !important;
}

/* Benefits Card as GENERAL NOTES & CODE SPECIFICATIONS (.hub-acc-benefits-card) */
body.theme-blueprint .hub-acc-benefits-card,
body[data-theme="theme-blueprint"] .hub-acc-benefits-card {
    background: #031830 !important;
    border: 1px solid #4fc3f7 !important;
    border-left: 3px solid #38bdf8 !important;
    border-radius: 0px !important;
    counter-reset: cad-spec-note;
}
body.theme-blueprint .hub-benefits-title,
body[data-theme="theme-blueprint"] .hub-benefits-title {
    font-family: 'JetBrains Mono', monospace !important;
    color: #fbbf24 !important;
    border-bottom: 1px dashed rgba(104, 201, 241, 0.35) !important;
    padding-bottom: 6px !important;
    margin-bottom: 8px !important;
}
body.theme-blueprint .hub-benefits-title::before,
body[data-theme="theme-blueprint"] .hub-benefits-title::before {
    content: "GENERAL NOTES // ";
    color: #67e8f9;
}
body.theme-blueprint .hub-benefit-item,
body[data-theme="theme-blueprint"] .hub-benefit-item {
    counter-increment: cad-spec-note;
    color: #e0f2fe !important;
}
body.theme-blueprint .hub-benefit-item strong,
body[data-theme="theme-blueprint"] .hub-benefit-item strong {
    color: #f0f9ff !important;
}
body.theme-blueprint .hub-benefit-check,
body[data-theme="theme-blueprint"] .hub-benefit-check {
    font-size: 0 !important;
    width: auto !important;
    min-width: 32px !important;
    height: auto !important;
    background: #062b52 !important;
    border: 1px solid #38bdf8 !important;
    border-radius: 0px !important;
    padding: 1px 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
body.theme-blueprint .hub-benefit-check::before,
body[data-theme="theme-blueprint"] .hub-benefit-check::before {
    content: "1.0" counter(cad-spec-note);
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px;
    font-weight: 800;
    color: #fde047;
}

/* Bottom CTA Button in Account Tab */
body.theme-blueprint .hub-acc-cta-btn,
body[data-theme="theme-blueprint"] .hub-acc-cta-btn {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    border: 1.5px solid #fbbf24 !important;
    border-radius: 0px !important;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    color: #f0f9ff !important;
    font-family: 'JetBrains Mono', 'Outfit', sans-serif !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
}

/* ============================================================================
 * P2.1: BLUEPRINT CAD STYLES FOR RSOS CATEGORY FOCUS & INLINE REDEMPTION PUSH
 * ============================================================================ */

body.theme-blueprint.video-capture-mode #category-focus-bar,
body[data-theme="theme-blueprint"].video-capture-mode #category-focus-bar,
body.theme-blueprint.video-capture-mode #inline-redemption-nudge,
body[data-theme="theme-blueprint"].video-capture-mode #inline-redemption-nudge {
    display: none !important;
}

body.theme-blueprint .category-focus-pill,
body[data-theme="theme-blueprint"] .category-focus-pill {
    background: rgba(4, 24, 48, 0.92) !important;
    border: 1px solid #38bdf8 !important;
    border-radius: 0px !important;
    color: #e0f2fe !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 11px !important;
    letter-spacing: 0.03em !important;
}

body.theme-blueprint .category-focus-pill.is-filtered,
body[data-theme="theme-blueprint"] .category-focus-pill.is-filtered {
    border-color: #fde047 !important;
    color: #fde047 !important;
    background: rgba(14, 116, 144, 0.28) !important;
}

body.theme-blueprint .category-focus-pill.is-locked,
body[data-theme="theme-blueprint"] .category-focus-pill.is-locked {
    border-style: dashed !important;
    border-color: rgba(125, 211, 252, 0.65) !important;
    color: #bae6fd !important;
}

body.theme-blueprint .cat-focus-count,
body[data-theme="theme-blueprint"] .cat-focus-count {
    background: rgba(56, 189, 248, 0.18) !important;
    border-radius: 0px !important;
    color: #67e8f9 !important;
}

body.theme-blueprint .cat-focus-lock-tag,
body[data-theme="theme-blueprint"] .cat-focus-lock-tag {
    background: rgba(251, 191, 36, 0.16) !important;
    border-radius: 0px !important;
    color: #fde047 !important;
}

body.theme-blueprint .category-focus-clear-btn,
body[data-theme="theme-blueprint"] .category-focus-clear-btn {
    background: #041830 !important;
    border: 1px solid #38bdf8 !important;
    border-radius: 0px !important;
    color: #7dd3fc !important;
}

body.theme-blueprint .category-focus-menu,
body[data-theme="theme-blueprint"] .category-focus-menu {
    background: #03152b !important;
    border: 1.5px solid #38bdf8 !important;
    border-radius: 0px !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.72) !important;
}

body.theme-blueprint .category-focus-menu-header,
body[data-theme="theme-blueprint"] .category-focus-menu-header {
    font-family: 'JetBrains Mono', monospace !important;
    color: #67e8f9 !important;
    border-bottom: 1px dashed rgba(104, 201, 241, 0.4) !important;
}

body.theme-blueprint .category-focus-option,
body[data-theme="theme-blueprint"] .category-focus-option {
    border-radius: 0px !important;
    color: #e0f2fe !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 11.5px !important;
}

body.theme-blueprint .category-focus-option:hover,
body[data-theme="theme-blueprint"] .category-focus-option:hover {
    background: rgba(14, 165, 233, 0.18) !important;
}

body.theme-blueprint .category-focus-option.is-selected,
body[data-theme="theme-blueprint"] .category-focus-option.is-selected {
    background: rgba(251, 191, 36, 0.14) !important;
    border: 1px solid #fde047 !important;
    color: #fde047 !important;
}

body.theme-blueprint .cat-opt-count,
body[data-theme="theme-blueprint"] .cat-opt-count {
    color: #7dd3fc !important;
}

body.theme-blueprint .cat-opt-pct,
body[data-theme="theme-blueprint"] .cat-opt-pct {
    background: rgba(56, 189, 248, 0.2) !important;
    border-radius: 0px !important;
    color: #e0f2fe !important;
}

body.theme-blueprint .drill-mode-reset-cat-btn,
body[data-theme="theme-blueprint"] .drill-mode-reset-cat-btn {
    border-radius: 0px !important;
    border-color: #fde047 !important;
    color: #fde047 !important;
    font-family: 'JetBrains Mono', monospace !important;
}

body.theme-blueprint .inline-redemption-nudge,
body[data-theme="theme-blueprint"] .inline-redemption-nudge {
    background: rgba(4, 24, 48, 0.94) !important;
    border: 1.5px solid #fbbf24 !important;
    border-radius: 0px !important;
    color: #e0f2fe !important;
}

body.theme-blueprint .inline-redemption-title,
body[data-theme="theme-blueprint"] .inline-redemption-title {
    font-family: 'JetBrains Mono', monospace !important;
    color: #fde047 !important;
}

body.theme-blueprint .inline-redemption-desc,
body[data-theme="theme-blueprint"] .inline-redemption-desc {
    color: #bae6fd !important;
}

body.theme-blueprint .inline-redemption-primary-btn,
body[data-theme="theme-blueprint"] .inline-redemption-primary-btn {
    border-radius: 0px !important;
    border: 1px solid #fde047 !important;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    color: #f0f9ff !important;
    font-family: 'JetBrains Mono', monospace !important;
}

body.theme-blueprint .inline-redemption-later-btn,
body[data-theme="theme-blueprint"] .inline-redemption-later-btn {
    border-radius: 0px !important;
    border-color: rgba(125, 211, 252, 0.5) !important;
    color: #bae6fd !important;
    font-family: 'JetBrains Mono', monospace !important;
}
