/* Legacy: class-based highlight (optional); primary path is fixed overlay (see JS). */
        .wcag-helper-highlighted {
            outline: 3px dashed #E63946 !important; /* More visible color */
            outline-offset: 3px !important;
            box-shadow: 0 0 0 3px #E63946, 0 0 15px rgba(230, 57, 70, 0.7) !important;
            opacity: 1 !important;
            transition: all 0.3s ease-in-out;
            animation: wcagPulse 1.5s infinite;
        }
        /* Fixed overlay: line fragments stay separate for wrapped inline targets. */
        #wcag-highlight-element-overlay.wcag-helper-highlight-overlay {
            position: fixed !important;
            inset: 0 !important;
            z-index: 2147483644 !important;
            pointer-events: none !important;
            box-sizing: border-box !important;
            margin: 0 !important;
            width: auto !important;
            height: auto !important;
            border: 0 !important;
            background: transparent !important;
        }
        #wcag-highlight-element-overlay.wcag-helper-highlight-overlay .wcag-helper-highlight-overlay__fragment {
            position: fixed !important;
            display: block !important;
            pointer-events: none !important;
            box-sizing: border-box !important;
            margin: 0 !important;
            padding: 0 !important;
            border: 3px dashed #E63946 !important;
            border-radius: 4px !important;
            box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.45), 0 0 14px rgba(230, 57, 70, 0.5) !important;
            background: transparent !important;
            animation: wcagElementOverlayPulse 1.5s ease-in-out infinite !important;
        }
        #wcag-highlight-element-overlay.wcag-helper-highlight-overlay--context .wcag-helper-highlight-overlay__fragment {
            border-color: #d97706 !important;
            background: rgba(245, 158, 11, 0.08) !important;
            box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.45), 0 0 14px rgba(217, 119, 6, 0.45) !important;
        }
        @keyframes wcagElementOverlayPulse {
            0%, 100% { opacity: 1; box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.45), 0 0 14px rgba(230, 57, 70, 0.5); }
            50% { opacity: 1; box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.55), 0 0 18px rgba(230, 57, 70, 0.65); }
        }
        /* Optional: ?wcag_highlight_debug=1 — makes the overlay easier to spot while troubleshooting. */
        #wcag-highlight-element-overlay.wcag-helper-highlight-overlay--debug .wcag-helper-highlight-overlay__fragment {
            outline: 3px solid #22c55e !important;
            background: rgba(34, 197, 94, 0.12) !important;
        }
        /* Inset ring below the info banner (top is set via JS to banner height) */
        #wcag-highlight-viewport-ring.wcag-helper-viewport-ring {
            position: fixed !important;
            top: var(--wcag-inspector-admin-bar-offset, 0px) !important;
            left: 0 !important;
            right: 0 !important;
            bottom: 0 !important;
            z-index: 2147483645 !important;
            pointer-events: none !important;
            box-sizing: border-box !important;
            margin: 0 !important;
            box-shadow: inset 0 0 0 5px #E63946, inset 0 0 0 12px rgba(230, 57, 70, 0.22) !important;
            animation: wcagViewportRingPulse 2s ease-in-out 3 !important;
        }
        @keyframes wcagPulse {
              0% { background-color: rgba(230, 57, 70, 0.2); }
              50% { background-color: rgba(230, 57, 70, 0.05); }
              100% { background-color: rgba(230, 57, 70, 0.2); }
          }
        @keyframes wcagViewportRingPulse {
              0%, 100% { box-shadow: inset 0 0 0 5px #E63946, inset 0 0 0 12px rgba(230, 57, 70, 0.22); }
              50% { box-shadow: inset 0 0 0 6px #f87171, inset 0 0 0 14px rgba(248, 113, 113, 0.18); }
          }
        /* Non-modal inspection dock: the page remains visible and operable while findings are reviewed. */
        #wcag-highlight-inspector.wcag-highlight-inspector,
        #wcag-highlight-inspector.wcag-highlight-inspector * {
            box-sizing: border-box !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector {
            position: fixed !important;
            top: var(--wcag-inspector-admin-bar-offset, 0px) !important;
            right: 0 !important;
            bottom: 0 !important;
            left: auto !important;
            z-index: 2147483646 !important;
            display: flex !important;
            width: min(410px, 100vw) !important;
            height: calc(100vh - var(--wcag-inspector-admin-bar-offset, 0px)) !important;
            max-height: none !important;
            flex-direction: column !important;
            padding: 0 !important;
            margin: 0 !important;
            overflow: hidden !important;
            border: 1px solid #cbd5e1 !important;
            border-right: 0 !important;
            border-radius: 16px 0 0 16px !important;
            background: #ffffff !important;
            color: #1e293b !important;
            font: 14px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
            box-shadow: 0 20px 50px rgba(15, 23, 42, 0.28) !important;
            isolation: isolate !important;
            mix-blend-mode: normal !important;
        }
        /* Keep every Inspector surface below the visible WordPress admin bar. */
        body.admin-bar #wcag-highlight-inspector.wcag-highlight-inspector,
        body.admin-bar #wcag-highlight-inspector-restore.wcag-highlight-inspector-restore,
        body.admin-bar #wcag-highlight-viewport-ring.wcag-helper-viewport-ring {
            --wcag-inspector-admin-bar-offset: var(--wp-admin--admin-bar--height, 32px) !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector[hidden] {
            display: none !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__handle {
            display: none !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__header {
            position: relative !important;
            display: flex !important;
            flex: 0 0 auto !important;
            flex-wrap: wrap !important;
            align-items: center !important;
            justify-content: space-between !important;
            gap: 12px !important;
            min-height: 64px !important;
            padding: 14px 16px !important;
            border-bottom: 1px solid #e2e8f0 !important;
            background: #f8fafc !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__title-wrap,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-header,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-title-wrap {
            display: flex !important;
            align-items: center !important;
            gap: 10px !important;
            min-width: 0 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__title-wrap {
            flex: 1 1 auto !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__icon {
            display: inline-flex !important;
            width: 32px !important;
            height: 32px !important;
            flex: 0 0 32px !important;
            align-items: center !important;
            justify-content: center !important;
            border-radius: 9px !important;
            background: #e0f2fe !important;
            color: #0369a1 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__icon svg {
            width: 20px !important;
            height: 20px !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__title {
            min-width: 0 !important;
            overflow: hidden !important;
            color: #0f172a !important;
            font: 700 16px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
            text-overflow: ellipsis !important;
            white-space: nowrap !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__header-actions {
            display: flex !important;
            flex: 0 0 auto !important;
            align-items: center !important;
            gap: 8px !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__collapse,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__dock-trigger {
            display: inline-flex !important;
            width: 44px !important;
            height: 44px !important;
            flex: 0 0 44px !important;
            cursor: pointer !important;
            align-items: center !important;
            justify-content: center !important;
            padding: 0 !important;
            border: 1px solid #cbd5e1 !important;
            border-radius: 10px !important;
            background: #ffffff !important;
            color: #334155 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__collapse svg,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__dock-trigger svg {
            width: 20px !important;
            height: 20px !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__collapse:hover,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__dock-trigger:hover {
            background: #f0f9ff !important;
            color: #0369a1 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__collapse:focus-visible,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__dock-trigger:focus-visible,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__dock-option:focus-visible,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__target-rail-button:focus-visible,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__target-rail-overview:focus-visible,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-generate:focus-visible,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__nav-button:focus-visible,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__overview-button:focus-visible,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__overview-target:focus-visible,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__finding-select:focus-visible {
            outline: 3px solid #38bdf8 !important;
            outline-offset: 2px !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector[data-wcag-input-modality="pointer"] button:focus,
        #wcag-highlight-inspector.wcag-highlight-inspector[data-wcag-input-modality="pointer"] a[href]:focus,
        #wcag-highlight-inspector.wcag-highlight-inspector[data-wcag-input-modality="pointer"] summary:focus,
        #wcag-highlight-inspector.wcag-highlight-inspector[data-wcag-input-modality="pointer"] .wcag-highlight-inspector__resize:focus,
        #wcag-highlight-inspector.wcag-highlight-inspector[data-wcag-input-modality="pointer"] [role="button"]:focus,
        #wcag-highlight-inspector-restore.wcag-highlight-inspector-restore[data-wcag-input-modality="pointer"]:focus {
            outline: none !important;
            box-shadow: none !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__dock-control {
            position: static !important;
            display: none !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__dock-menu {
            position: absolute !important;
            top: calc(100% + 8px) !important;
            right: 12px !important;
            z-index: 4 !important;
            display: grid !important;
            width: min(280px, calc(100vw - 24px)) !important;
            gap: 4px !important;
            padding: 8px !important;
            border: 1px solid #cbd5e1 !important;
            border-radius: 12px !important;
            background: #ffffff !important;
            box-shadow: 0 16px 38px rgba(15, 23, 42, 0.2) !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__dock-menu[hidden] {
            display: none !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__dock-option {
            display: grid !important;
            width: 100% !important;
            min-height: 44px !important;
            cursor: pointer !important;
            grid-template-columns: 22px minmax(0, 1fr) 20px !important;
            align-items: center !important;
            gap: 10px !important;
            padding: 8px 10px !important;
            border: 1px solid transparent !important;
            border-radius: 8px !important;
            background: transparent !important;
            color: #334155 !important;
            font: 650 13px/1.35 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
            text-align: left !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__dock-option:hover,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__dock-option[aria-pressed="true"] {
            border-color: #bae6fd !important;
            background: #f0f9ff !important;
            color: #075985 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__dock-option > svg {
            width: 20px !important;
            height: 20px !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__dock-option-check {
            display: none !important;
            width: 20px !important;
            height: 20px !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__dock-option-check svg {
            width: 18px !important;
            height: 18px !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__dock-option[aria-pressed="true"] .wcag-highlight-inspector__dock-option-check {
            display: inline-flex !important;
        }
        #wcag-highlight-inspector-restore.wcag-highlight-inspector-restore {
            position: fixed !important;
            top: 50% !important;
            right: 0 !important;
            z-index: 2147483646 !important;
            display: inline-flex !important;
            width: 48px !important;
            min-height: 132px !important;
            cursor: pointer !important;
            align-items: center !important;
            justify-content: center !important;
            flex-direction: column !important;
            gap: 9px !important;
            transform: translateY(-50%) !important;
            margin: 0 !important;
            padding: 10px 8px !important;
            border: 1px solid #075985 !important;
            border-right: 0 !important;
            border-radius: 12px 0 0 12px !important;
            background: #0369a1 !important;
            color: #ffffff !important;
            box-shadow: 0 10px 28px rgba(15, 23, 42, 0.24) !important;
            font: 700 13px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
        }
        #wcag-highlight-inspector-restore.wcag-highlight-inspector-restore span {
            writing-mode: vertical-rl !important;
            transform: rotate(180deg) !important;
            white-space: nowrap !important;
        }
        #wcag-highlight-inspector-restore.wcag-highlight-inspector-restore svg {
            width: 20px !important;
            height: 20px !important;
            flex: 0 0 20px !important;
        }
        #wcag-highlight-inspector-restore.wcag-highlight-inspector-restore:hover {
            background: #075985 !important;
        }
        #wcag-highlight-inspector-restore.wcag-highlight-inspector-restore:focus-visible {
            background: #075985 !important;
            outline: 3px solid #38bdf8 !important;
            outline-offset: 3px !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__workspace,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__detail {
            min-width: 0 !important;
            min-height: 0 !important;
            flex: 1 1 auto !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__workspace {
            display: block !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__detail {
            display: flex !important;
            height: 100% !important;
            flex-direction: column !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__target-rail {
            display: none !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__target-rail-list {
            display: grid !important;
            min-height: 0 !important;
            flex: 1 1 auto !important;
            align-content: start !important;
            gap: 7px !important;
            overflow-y: auto !important;
            overscroll-behavior: contain !important;
            margin: 0 !important;
            padding: 10px !important;
            list-style: none !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__target-rail-list,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__body,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__context-column,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__remediation-column {
            scrollbar-width: none !important;
            -ms-overflow-style: none !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__target-rail-list::-webkit-scrollbar,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__body::-webkit-scrollbar,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__context-column::-webkit-scrollbar,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__remediation-column::-webkit-scrollbar {
            display: none !important;
            width: 0 !important;
            height: 0 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__scrollbar {
            position: fixed !important;
            z-index: 2147483647 !important;
            display: block !important;
            width: 4px !important;
            margin: 0 !important;
            padding: 0 !important;
            border: 0 !important;
            border-radius: 999px !important;
            background: transparent !important;
            opacity: 0 !important;
            pointer-events: auto !important;
            transition: opacity 180ms ease !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__scrollbar[hidden] {
            display: none !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__scrollbar.is-active,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__scrollbar:hover,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__scrollbar.is-dragging {
            opacity: 1 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__scrollbar-thumb {
            position: absolute !important;
            top: 0 !important;
            right: 0 !important;
            left: 0 !important;
            display: block !important;
            min-height: 24px !important;
            margin: 0 !important;
            padding: 0 !important;
            cursor: grab !important;
            border: 0 !important;
            border-radius: 999px !important;
            background: rgba(15, 23, 42, 0.32) !important;
            pointer-events: auto !important;
            transition: background-color 120ms ease !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__scrollbar-thumb:hover {
            background: rgba(15, 23, 42, 0.46) !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__scrollbar.is-dragging .wcag-highlight-inspector__scrollbar-thumb {
            cursor: grabbing !important;
            background: rgba(15, 23, 42, 0.58) !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__target-rail-item {
            margin: 0 !important;
            padding: 0 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__target-rail-button,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__target-rail-overview {
            display: flex !important;
            width: 100% !important;
            min-height: 48px !important;
            cursor: pointer !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 7px !important;
            margin: 0 !important;
            padding: 6px !important;
            border: 1px solid #cbd5e1 !important;
            border-radius: 9px !important;
            background: #ffffff !important;
            color: #334155 !important;
            font: 700 13px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__target-rail-button:hover,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__target-rail-button[aria-current="true"],
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__target-rail-overview:hover,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__target-rail-overview:focus-visible,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__target-rail-overview[aria-pressed="true"] {
            border-color: #0284c7 !important;
            background: #f0f9ff !important;
            color: #075985 !important;
            box-shadow: inset 0 0 0 1px #0284c7 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__target-rail-index {
            min-width: 14px !important;
            text-align: center !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__target-rail-impact {
            width: 8px !important;
            height: 8px !important;
            flex: 0 0 8px !important;
            border-radius: 999px !important;
            background: #64748b !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__target-rail-button[data-impact="critical"] .wcag-highlight-inspector__target-rail-impact {
            background: #dc2626 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__target-rail-button[data-impact="serious"] .wcag-highlight-inspector__target-rail-impact {
            background: #ea580c !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__target-rail-button[data-impact="moderate"] .wcag-highlight-inspector__target-rail-impact {
            background: #ca8a04 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__target-rail-button[data-impact="minor"] .wcag-highlight-inspector__target-rail-impact {
            background: #2563eb !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__target-rail-overview {
            width: calc(100% - 20px) !important;
            min-height: 48px !important;
            flex: 0 0 auto !important;
            margin: 10px 10px 0 !important;
            border: 1px solid #cbd5e1 !important;
            border-radius: 9px !important;
            color: #075985 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__target-rail-overview svg {
            width: 22px !important;
            height: 22px !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__navigation {
            display: grid !important;
            flex: 0 0 auto !important;
            grid-template-columns: 44px minmax(0, 1fr) 44px auto !important;
            align-items: center !important;
            gap: 6px !important;
            padding: 10px 12px !important;
            border-bottom: 1px solid #e2e8f0 !important;
            background: #ffffff !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__nav-button,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__overview-button {
            display: inline-flex !important;
            min-height: 40px !important;
            cursor: pointer !important;
            align-items: center !important;
            justify-content: center !important;
            border: 1px solid #cbd5e1 !important;
            border-radius: 9px !important;
            background: #ffffff !important;
            color: #334155 !important;
            font: 650 13px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__nav-button {
            box-sizing: border-box !important;
            width: 44px !important;
            align-items: center !important;
            justify-content: center !important;
            padding: 0 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__nav-button svg {
            display: block !important;
            width: 19px !important;
            height: 19px !important;
            fill: none !important;
            color: #334155 !important;
            stroke: #334155 !important;
            stroke-width: 2px !important;
            opacity: 1 !important;
            visibility: visible !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__nav-button svg path {
            fill: none !important;
            stroke: #334155 !important;
            stroke-width: 2px !important;
            stroke-linecap: round !important;
            stroke-linejoin: round !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__nav-button:disabled {
            cursor: not-allowed !important;
            background: #f8fafc !important;
            color: #64748b !important;
            opacity: 1 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__nav-button:disabled svg,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__nav-button:disabled svg path {
            color: #64748b !important;
            stroke: #64748b !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__overview-button {
            padding: 0 12px !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__overview-button[aria-pressed="true"] {
            border-color: #0284c7 !important;
            background: #f0f9ff !important;
            color: #075985 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__position {
            min-width: 0 !important;
            color: #0f172a !important;
            font: 700 13px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
            text-align: center !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__body {
            display: block !important;
            min-width: 0 !important;
            min-height: 0 !important;
            flex: 1 1 auto !important;
            padding: 16px !important;
            overflow: auto !important;
            overscroll-behavior: contain !important;
            background: #ffffff !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__context-column,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__remediation-column {
            min-width: 0 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__element-card {
            padding: 14px !important;
            border: 1px solid #e2e8f0 !important;
            border-radius: 12px !important;
            background: #f8fafc !important;
            min-width: 0 !important;
            container-type: inline-size;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__element-head {
            display: flex !important;
            align-items: center !important;
            gap: 12px !important;
            flex-wrap: wrap !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__element-icon {
            display: grid !important;
            place-items: center !important;
            width: 36px !important;
            height: 36px !important;
            flex: 0 0 36px !important;
            border-radius: 8px !important;
            color: #075985 !important;
            background: #e0f2fe !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__element-icon svg { width: 22px !important; height: 22px !important; }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__element-identity { flex: 1 1 120px !important; min-width: 0 !important; }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__element-caption { margin: 0 !important; color: #475569 !important; font: 12px/1.5 system-ui, sans-serif !important; }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__element-name { margin: 3px 0 0 !important; color: #0f172a !important; font: 650 16px/1.4 system-ui, sans-serif !important; overflow-wrap: anywhere !important; }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__element-card > .wcag-highlight-inspector__status { margin-top: 8px !important; font-size: 13px !important; }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__element-details { margin-top: 12px !important; border-top: 1px solid #e2e8f0 !important; }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__element-summary {
            display: flex !important;
            flex-wrap: wrap !important;
            align-items: center !important;
            gap: 8px 16px !important;
            min-height: 44px !important;
            padding: 8px 0 !important;
            list-style: none !important;
            cursor: pointer !important;
            font: 13px/1.5 system-ui, sans-serif !important;
            color: #334155 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__element-summary::-webkit-details-marker { display: none !important; }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__element-summary::marker { content: "" !important; }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__element-details-label { margin-inline-start: auto !important; display: inline-flex !important; gap: 8px !important; align-items: center !important; }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__element-details-label::after {
            content: "" !important;
            width: 18px !important;
            height: 18px !important;
            flex: 0 0 18px !important;
            background: currentColor !important;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__element-details[open] .wcag-highlight-inspector__element-details-label::after { transform: rotate(180deg) !important; }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__element-summary:focus-visible,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__element-details .wcag-highlight-inspector__selector:focus-visible { outline: 2px solid #075985 !important; outline-offset: 2px !important; }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__element-details .wcag-highlight-inspector__selector { white-space: pre !important; overflow-x: auto !important; overflow-wrap: normal !important; word-break: normal !important; }
        @media (forced-colors: active) {
            #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__element-details-label::after { background: ButtonText !important; forced-color-adjust: none; }
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__status-wrap {
            display: grid !important;
            grid-template-columns: auto minmax(0, 1fr) !important;
            align-items: start !important;
            gap: 10px !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector[data-state="loading"] .wcag-highlight-inspector__status-wrap {
            grid-template-columns: 1fr !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__status-badge,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__quota {
            display: inline-flex !important;
            align-items: center !important;
            min-height: 26px !important;
            padding: 3px 9px !important;
            border: 1px solid #bae6fd !important;
            border-radius: 999px !important;
            background: #f0f9ff !important;
            color: #075985 !important;
            font: 650 12px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
            white-space: nowrap !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector[data-state="hidden"] .wcag-highlight-inspector__status-badge,
        #wcag-highlight-inspector.wcag-highlight-inspector[data-state="context"] .wcag-highlight-inspector__status-badge,
        #wcag-highlight-inspector.wcag-highlight-inspector[data-state="ambiguous"] .wcag-highlight-inspector__status-badge {
            border-color: #fcd34d !important;
            background: #fffbeb !important;
            color: #92400e !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector[data-state="missing"] .wcag-highlight-inspector__status-badge {
            border-color: #fecaca !important;
            background: #fef2f2 !important;
            color: #991b1b !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__status,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__descriptor,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__node-label,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__finding-text,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-note {
            margin: 0 !important;
            color: #475569 !important;
            background: transparent !important;
            font: 14px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__descriptor {
            margin-top: 12px !important;
            color: #0f172a !important;
            font-family: ui-monospace, SFMono-Regular, Consolas, monospace !important;
            font-weight: 650 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__selector {
            display: block !important;
            max-width: 100% !important;
            margin-top: 8px !important;
            overflow: auto !important;
            padding: 8px 10px !important;
            border: 1px solid #e2e8f0 !important;
            border-radius: 8px !important;
            background: #f8fafc !important;
            color: #334155 !important;
            font: 12px/1.45 ui-monospace, SFMono-Regular, Consolas, monospace !important;
            white-space: pre-wrap !important;
            overflow-wrap: anywhere !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__meta {
            display: grid !important;
            gap: 6px !important;
            margin: 14px 0 0 !important;
            padding: 12px !important;
            border: 1px solid #e2e8f0 !important;
            border-radius: 10px !important;
            background: #f8fafc !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__meta-row {
            display: grid !important;
            grid-template-columns: minmax(105px, 0.8fr) minmax(0, 1.2fr) !important;
            gap: 10px !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__meta-label,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__meta-value {
            margin: 0 !important;
            color: #64748b !important;
            font: 12px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
            overflow-wrap: anywhere !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__meta-value {
            color: #1e293b !important;
            font-weight: 600 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__finding,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai {
            display: block !important;
            margin-top: 16px !important;
            padding: 14px !important;
            border: 1px solid #e2e8f0 !important;
            border-radius: 12px !important;
            background: #ffffff !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__finding {
            border-inline-start: 3px solid #cbd5e1 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__finding[data-impact="serious"] {
            border-inline-start-color: #f59e0b !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__finding[data-impact="critical"] {
            border-inline-start-color: #dc2626 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__finding[data-impact="moderate"] {
            border-inline-start-color: #ca8a04 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__finding[data-impact="minor"] {
            border-inline-start-color: #2563eb !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__finding-header .wcag-highlight-inspector__section-title {
            color: #475569 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__finding-header .wcag-highlight-inspector__severity-badge {
            border-radius: 8px !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__finding-header .wcag-highlight-inspector__severity-dot {
            display: none !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai {
            border-color: #ddd6fe !important;
            background: #ffffff !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai[data-locked="true"] {
            border-color: #e2e8f0 !important;
            background: #f8fafc !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__section-title {
            margin: 0 !important;
            color: #0f172a !important;
            font: 700 14px/1.35 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__finding-header {
            display: flex !important;
            align-items: center !important;
            justify-content: space-between !important;
            gap: 8px !important;
            flex-wrap: wrap !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__severity-badge {
            display: inline-flex !important;
            width: fit-content !important;
            min-height: 26px !important;
            align-items: center !important;
            gap: 6px !important;
            border: 1px solid #cbd5e1 !important;
            border-radius: 999px !important;
            padding: 4px 8px !important;
            background: #f8fafc !important;
            color: #334155 !important;
            font: 700 11px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__severity-dot {
            width: 8px !important;
            height: 8px !important;
            flex: 0 0 8px !important;
            border-radius: 999px !important;
            background: #64748b !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__severity-badge[data-impact="critical"] {
            border-color: #fecaca !important;
            background: #fef2f2 !important;
            color: #991b1b !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__severity-badge[data-impact="critical"] .wcag-highlight-inspector__severity-dot {
            background: #dc2626 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__severity-badge[data-impact="serious"] {
            border-color: #fed7aa !important;
            background: #fff7ed !important;
            color: #9a3412 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__severity-badge[data-impact="serious"] .wcag-highlight-inspector__severity-dot {
            background: #ea580c !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__severity-badge[data-impact="moderate"] {
            border-color: #fde68a !important;
            background: #fffbeb !important;
            color: #854d0e !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__severity-badge[data-impact="moderate"] .wcag-highlight-inspector__severity-dot {
            background: #ca8a04 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__severity-badge[data-impact="minor"] {
            border-color: #bfdbfe !important;
            background: #eff6ff !important;
            color: #1e40af !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__severity-badge[data-impact="minor"] .wcag-highlight-inspector__severity-dot {
            background: #2563eb !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__finding-title {
            margin: 8px 0 0 !important;
            color: #1e293b !important;
            font: 650 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__finding-count {
            margin: 7px 0 0 !important;
            color: #64748b !important;
            font: 12px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__finding-select-label {
            display: grid !important;
            gap: 5px !important;
            margin-top: 10px !important;
            color: #334155 !important;
            font: 650 12px/1.35 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__finding-select {
            display: block !important;
            width: 100% !important;
            min-height: 42px !important;
            border: 1px solid #cbd5e1 !important;
            border-radius: 8px !important;
            background: #ffffff !important;
            color: #0f172a !important;
            padding: 8px 34px 8px 10px !important;
            font: 13px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__overview-title,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__overview-intro {
            margin: 0 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__overview-title {
            color: #0f172a !important;
            font: 700 17px/1.35 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__overview-intro {
            margin-top: 5px !important;
            color: #475569 !important;
            font: 13px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__overview-list {
            display: grid !important;
            gap: 8px !important;
            margin: 14px 0 0 !important;
            padding: 0 !important;
            list-style: none !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__overview-target {
            display: grid !important;
            width: 100% !important;
            grid-template-columns: 30px minmax(0, 1fr) !important;
            align-items: start !important;
            gap: 10px !important;
            cursor: pointer !important;
            border: 1px solid #e2e8f0 !important;
            border-radius: 10px !important;
            background: #ffffff !important;
            padding: 10px !important;
            color: #0f172a !important;
            text-align: left !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__overview-target:hover,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__overview-target[aria-current="true"] {
            border-color: #38bdf8 !important;
            background: #f0f9ff !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__overview-index {
            display: inline-flex !important;
            width: 30px !important;
            height: 30px !important;
            align-items: center !important;
            justify-content: center !important;
            border-radius: 999px !important;
            background: #e0f2fe !important;
            color: #075985 !important;
            font: 700 12px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__overview-copy {
            display: grid !important;
            min-width: 0 !important;
            gap: 3px !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__overview-copy strong,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__overview-copy code,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__overview-copy small {
            min-width: 0 !important;
            overflow-wrap: anywhere !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__overview-copy strong {
            font: 650 13px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__overview-copy code {
            color: #475569 !important;
            font: 11px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__overview-copy small {
            color: #64748b !important;
            font: 11px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__node-label,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__finding-explanation {
            margin-top: 7px !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__finding-explanation {
            display: grid !important;
            gap: 9px !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__finding-explanation .wcag-highlight-inspector__finding-text,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__finding-intro {
            margin: 0 !important;
            color: #475569 !important;
            font: 14px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__finding-intro {
            color: #1e293b !important;
            font-weight: 650 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__finding-list {
            display: grid !important;
            gap: 7px !important;
            margin: 0 !important;
            padding-left: 20px !important;
            color: #475569 !important;
            font: 14px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
            list-style: disc outside !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__finding-list > li {
            margin: 0 !important;
            padding-left: 2px !important;
            font: inherit !important;
            color: inherit !important;
            overflow-wrap: anywhere !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-header {
            justify-content: space-between !important;
            margin-bottom: 10px !important;
            min-height: 44px !important;
            cursor: pointer !important;
            list-style: none !important;
            border-radius: 6px !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-header::-webkit-details-marker {
            display: none !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-header::marker {
            content: "" !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-header:hover {
            background: #f5f3ff !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-header:focus-visible {
            outline: 2px solid #6d28d9 !important;
            outline-offset: 3px !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai:not([open]) > .wcag-highlight-inspector__ai-header {
            margin-bottom: 0 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-chevron {
            display: inline-flex !important;
            flex: 0 0 18px !important;
            color: #6d28d9 !important;
            transform: rotate(-90deg) !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-chevron svg {
            width: 18px !important;
            height: 18px !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai[open] > .wcag-highlight-inspector__ai-header .wcag-highlight-inspector__ai-chevron {
            transform: none !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-title-wrap {
            gap: 7px !important;
            flex: 1 1 auto !important;
            overflow-wrap: anywhere !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-identity-icon,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-action-icon {
            display: inline-flex !important;
            flex: 0 0 auto !important;
            align-items: center !important;
            justify-content: center !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-identity-icon {
            color: #7c3aed !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-identity-icon svg,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-action-icon svg {
            width: 18px !important;
            height: 18px !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__quota {
            gap: 5px !important;
            margin-inline-start: auto !important;
            flex: 0 0 auto !important;
            border-color: #ddd6fe !important;
            background: #f5f3ff !important;
            color: #6d28d9 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__quota[data-state="error"] {
            border-color: #cbd5e1 !important;
            background: #f8fafc !important;
            color: #475569 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__quota[data-state="stale"] {
            border-color: #fcd34d !important;
            background: #fffbeb !important;
            color: #92400e !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__quota svg {
            width: 14px !important;
            height: 14px !important;
            flex: 0 0 14px !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__quota[data-state="loading"] svg,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__quota[data-state="refreshing"] svg {
            animation: wcagInspectorUsageSpin 0.9s linear infinite !important;
        }
        @keyframes wcagInspectorUsageSpin {
            to { transform: rotate(360deg); }
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-generate {
            display: inline-flex !important;
            width: 100% !important;
            min-height: 44px !important;
            cursor: pointer !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 8px !important;
            margin: 2px 0 10px !important;
            padding: 10px 14px !important;
            border: 1px solid #6d28d9 !important;
            border-radius: 9px !important;
            background: #6d28d9 !important;
            color: #ffffff !important;
            font: 700 14px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-generate:hover:not(:disabled) {
            background: #5b21b6 !important;
            border-color: #5b21b6 !important;
            color: #ffffff !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-generate:disabled {
            cursor: wait !important;
            opacity: 0.65 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-output {
            margin-top: 12px !important;
            color: #334155 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-note:empty {
            display: none !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__delete-controls {
            margin-top: 14px !important;
            padding-top: 12px !important;
            border-top: 1px solid #ddd6fe !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__delete-actions {
            display: flex !important;
            flex-wrap: wrap !important;
            gap: 8px !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__delete,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__delete-cancel {
            min-height: 44px !important;
            padding: 8px 12px !important;
            border: 1px solid #b91c1c !important;
            border-radius: 8px !important;
            background: #fff !important;
            color: #b91c1c !important;
            font: 600 13px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
            cursor: pointer !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__delete-actions .wcag-highlight-inspector__delete {
            background: #b91c1c !important;
            color: #fff !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__delete-cancel {
            border-color: #6d28d9 !important;
            color: #6d28d9 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__delete:disabled,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__delete-cancel:disabled {
            opacity: 0.65 !important;
            cursor: wait !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__delete:focus-visible,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__delete-cancel:focus-visible {
            outline: 2px solid #6d28d9 !important;
            outline-offset: 3px !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-output h4,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-output h5,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-output p,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-output ul,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-output ol {
            margin: 8px 0 !important;
            color: inherit !important;
            font: 13px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-output h4,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-output h5 {
            color: #1e1b4b !important;
            font-weight: 700 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-output ul,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-output ol {
            padding: 0 0 0 22px !important;
            list-style-position: outside !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-output ol {
            list-style-type: decimal !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-output ul {
            list-style-type: disc !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-output li {
            display: list-item !important;
            margin: 0 0 8px !important;
            padding: 0 0 0 2px !important;
            color: inherit !important;
            font: inherit !important;
            letter-spacing: normal !important;
            overflow-wrap: anywhere !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-output li::marker {
            color: #6d28d9 !important;
            font: inherit !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-output li::before,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-output li::after {
            content: none !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-output li > p {
            margin: 0 0 8px !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-output pre,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-output code {
            max-width: 100% !important;
            font: 12px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-output code {
            padding: 1px 4px !important;
            border-radius: 4px !important;
            background: #ede9fe !important;
            color: #4c1d95 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-output pre {
            margin: 8px 0 12px !important;
            padding: 10px !important;
            overflow: auto !important;
            border-radius: 8px !important;
            background: #0f172a !important;
            white-space: pre-wrap !important;
            overflow-wrap: anywhere !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__ai-output pre code {
            padding: 0 !important;
            background: transparent !important;
            color: #e2e8f0 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__preview-controls {
            display: grid !important;
            gap: 8px !important;
            margin-top: 14px !important;
            border-top: 1px solid #ddd6fe !important;
            padding-top: 12px !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__manual-only {
            display: flex !important;
            align-items: flex-start !important;
            gap: 8px !important;
            margin: 14px 0 0 !important;
            border-top: 1px solid #ddd6fe !important;
            padding: 12px 0 0 !important;
            color: #475569 !important;
            font: 13px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__manual-only svg {
            width: 18px !important;
            height: 18px !important;
            flex: 0 0 18px !important;
            margin-top: 1px !important;
            color: #6d28d9 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__preview-actions {
            display: flex !important;
            flex-wrap: wrap !important;
            gap: 8px !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__preview-apply,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__preview-undo {
            display: inline-flex !important;
            min-height: 42px !important;
            cursor: pointer !important;
            align-items: center !important;
            justify-content: center !important;
            border: 1px solid #6d28d9 !important;
            border-radius: 8px !important;
            padding: 8px 12px !important;
            font: 700 13px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__preview-apply[hidden],
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__preview-undo[hidden] {
            display: none !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__preview-apply {
            background: #6d28d9 !important;
            color: #ffffff !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__preview-undo {
            background: #ffffff !important;
            color: #5b21b6 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__preview-apply:focus-visible,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__preview-undo:focus-visible {
            outline: 3px solid #38bdf8 !important;
            outline-offset: 2px !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__contrast-summary {
            display: grid !important;
            gap: 8px !important;
            margin: 0 !important;
            padding: 10px !important;
            border: 1px solid #c4b5fd !important;
            border-radius: 9px !important;
            background: #ffffff !important;
            color: #334155 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__contrast-title {
            margin: 0 !important;
            color: #312e81 !important;
            font: 700 12px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__contrast-colors {
            display: grid !important;
            gap: 6px !important;
            margin: 0 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__contrast-color {
            display: grid !important;
            grid-template-columns: minmax(92px, 0.75fr) minmax(0, 1.25fr) !important;
            gap: 8px !important;
            align-items: center !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__contrast-color dt,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__contrast-color dd {
            margin: 0 !important;
            color: #475569 !important;
            font: 12px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__contrast-color dd {
            display: flex !important;
            min-width: 0 !important;
            flex-wrap: wrap !important;
            gap: 5px !important;
            align-items: center !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__contrast-color code {
            padding: 0 !important;
            background: transparent !important;
            color: #334155 !important;
            font: 11px/1.35 ui-monospace, SFMono-Regular, Consolas, monospace !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__contrast-swatch {
            display: inline-block !important;
            width: 18px !important;
            height: 18px !important;
            flex: 0 0 18px !important;
            border: 1px solid #64748b !important;
            border-radius: 4px !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__contrast-arrow {
            color: #64748b !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__contrast-result {
            margin: 0 !important;
            padding-top: 7px !important;
            border-top: 1px solid #e2e8f0 !important;
            color: #475569 !important;
            font: 12px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__contrast-result[data-state="pass"] strong {
            color: #166534 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__contrast-result[data-state="fail"] strong,
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__contrast-result[data-state="unknown"] {
            color: #9f1239 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__preview-status {
            margin: 0 !important;
            color: #475569 !important;
            font: 12px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__target-choice {
            display: flex !important;
            flex-direction: column !important;
            gap: 12px !important;
            margin-top: 16px !important;
            padding: 16px !important;
            border: 1px solid #c4b5fd !important;
            border-radius: 8px !important;
            background: #f5f3ff !important;
            color: #334155 !important;
            min-width: 0 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__target-options {
            min-width: 0 !important; padding: 0 !important; margin: 0 !important; border: 0 !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__target-options legend {
            width: 100% !important; padding: 0 0 12px !important; color: inherit !important; font: inherit !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__target-option {
            display: flex !important; align-items: flex-start !important; gap: 12px !important;
            padding: 12px !important; margin: 0 0 8px !important; min-height: 44px !important;
            background: #fff !important; border: 1px solid #cbd5e1 !important; border-radius: 8px !important;
            color: #334155 !important; font: 14px/1.6 system-ui, sans-serif !important; cursor: pointer !important;
            white-space: normal !important; overflow-wrap: anywhere !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__target-option.is-selected { border-color: #6d28d9 !important; background: #ede9fe !important; }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__target-option input {
            appearance: auto !important; flex: 0 0 18px !important; width: 18px !important; height: 18px !important;
            margin: 3px 0 0 !important; accent-color: #6d28d9;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector[data-wcag-input-modality="keyboard"] .wcag-highlight-inspector__target-option input:focus {
            outline: 2px solid #6d28d9 !important; outline-offset: 3px !important;
        }
        #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__resize { display: none !important; }
        @media (min-width: 901px) {
            #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__resize:not([hidden]) {
                display: block !important;
                position: absolute !important;
                z-index: 5 !important;
                top: 0 !important;
                bottom: 0 !important;
                left: 0 !important;
                width: 24px !important;
                cursor: ew-resize !important;
                touch-action: none !important;
                background: transparent !important;
            }
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="left"] .wcag-highlight-inspector__resize { left: auto !important; right: 0 !important; }
            #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__resize::after {
                content: "" !important;
                position: absolute !important;
                top: 45% !important;
                left: 2px !important;
                width: 3px !important;
                height: 56px !important;
                border-radius: 3px !important;
                background: #64748b !important;
            }
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="left"] .wcag-highlight-inspector__resize::after { left: auto !important; right: 2px !important; }
            #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__resize:is(:hover, :focus-visible)::after { background: #6d28d9 !important; }
            #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__resize:focus-visible { outline: 2px solid #6d28d9 !important; outline-offset: -2px !important; }
            #wcag-highlight-inspector.wcag-highlight-inspector.wcag-highlight-inspector--resizing { user-select: none !important; }
            #wcag-highlight-inspector.wcag-highlight-inspector {
                width: var(--wcag-inspector-width, clamp(480px, 38vw, 620px)) !important;
                /* Every desktop Inspector dock keeps square viewport-edge corners. */
                border-radius: 0 !important;
            }
            #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__dock-control {
                display: block !important;
            }
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="right"] .wcag-highlight-inspector__workspace,
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="left"] .wcag-highlight-inspector__workspace {
                display: grid !important;
                grid-template-columns: 82px minmax(0, 1fr) !important;
                overflow: hidden !important;
            }
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="right"] .wcag-highlight-inspector__target-rail,
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="left"] .wcag-highlight-inspector__target-rail {
                display: flex !important;
                min-height: 0 !important;
                flex-direction: column !important;
                overflow: hidden !important;
                border-right: 1px solid #e2e8f0 !important;
                background: #f8fafc !important;
            }
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="right"] .wcag-highlight-inspector__navigation,
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="left"] .wcag-highlight-inspector__navigation {
                grid-template-columns: 44px minmax(0, 1fr) 44px !important;
            }
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="right"] .wcag-highlight-inspector__overview-button,
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="left"] .wcag-highlight-inspector__overview-button {
                display: none !important;
            }
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="left"] {
                right: auto !important;
                left: 0 !important;
                border-right: 1px solid #cbd5e1 !important;
                border-left: 0 !important;
                border-radius: 0 !important;
            }
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="top"],
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="bottom"] {
                right: 0 !important;
                left: 0 !important;
                display: grid !important;
                width: 100vw !important;
                height: min(520px, 52vh) !important;
                max-height: 52vh !important;
                grid-template-columns: minmax(250px, 300px) minmax(0, 0.9fr) minmax(0, 1.1fr) !important;
                grid-template-rows: auto minmax(0, 1fr) !important;
                border-right: 0 !important;
                border-left: 0 !important;
            }
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="top"] {
                top: var(--wcag-inspector-admin-bar-offset, 0px) !important;
                bottom: auto !important;
                border-top: 0 !important;
                border-radius: 0 !important;
            }
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="bottom"] {
                top: auto !important;
                bottom: 0 !important;
                border-bottom: 0 !important;
                border-radius: 0 !important;
            }
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="top"] .wcag-highlight-inspector__header,
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="bottom"] .wcag-highlight-inspector__header {
                grid-column: 1 !important;
                grid-row: 1 !important;
                align-content: flex-start !important;
                border-right: 1px solid #e2e8f0 !important;
                border-bottom: 0 !important;
            }
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="top"] .wcag-highlight-inspector__workspace,
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="bottom"] .wcag-highlight-inspector__workspace,
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="top"] .wcag-highlight-inspector__detail,
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="bottom"] .wcag-highlight-inspector__detail {
                display: contents !important;
            }
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="top"] .wcag-highlight-inspector__navigation,
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="bottom"] .wcag-highlight-inspector__navigation {
                grid-column: 1 !important;
                grid-row: 2 !important;
                grid-template-columns: 44px minmax(0, 1fr) 44px !important;
                align-content: start !important;
                border-right: 1px solid #e2e8f0 !important;
                border-bottom: 0 !important;
            }
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="top"] .wcag-highlight-inspector__overview-button,
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="bottom"] .wcag-highlight-inspector__overview-button {
                grid-column: 1 / -1 !important;
            }
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="top"] .wcag-highlight-inspector__body,
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="bottom"] .wcag-highlight-inspector__body {
                display: grid !important;
                grid-column: 2 / 4 !important;
                grid-row: 1 / 3 !important;
                grid-template-columns: minmax(220px, 0.85fr) minmax(300px, 1.15fr) !important;
                align-items: stretch !important;
                gap: 16px !important;
                overflow: hidden !important;
                border-left: 0 !important;
            }
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="top"] .wcag-highlight-inspector__context-column,
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="top"] .wcag-highlight-inspector__remediation-column,
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="bottom"] .wcag-highlight-inspector__context-column,
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="bottom"] .wcag-highlight-inspector__remediation-column {
                height: 100% !important;
                min-height: 0 !important;
                overflow-y: auto !important;
                overscroll-behavior: contain !important;
                padding-right: 8px !important;
            }
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="top"] .wcag-highlight-inspector__context-column:focus-visible,
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="top"] .wcag-highlight-inspector__remediation-column:focus-visible,
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="bottom"] .wcag-highlight-inspector__context-column:focus-visible,
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="bottom"] .wcag-highlight-inspector__remediation-column:focus-visible {
                outline: 3px solid #38bdf8 !important;
                outline-offset: -3px !important;
            }
            #wcag-highlight-inspector.wcag-highlight-inspector[data-state="overview"][data-dock="top"] .wcag-highlight-inspector__body,
            #wcag-highlight-inspector.wcag-highlight-inspector[data-state="overview"][data-dock="bottom"] .wcag-highlight-inspector__body {
                overflow-y: auto !important;
            }
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="top"] .wcag-highlight-inspector__overview,
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="bottom"] .wcag-highlight-inspector__overview {
                grid-column: 1 / -1 !important;
            }
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="top"] .wcag-highlight-inspector__remediation-column > :first-child,
            #wcag-highlight-inspector.wcag-highlight-inspector[data-dock="bottom"] .wcag-highlight-inspector__remediation-column > :first-child {
                margin-top: 0 !important;
            }
            #wcag-highlight-inspector-restore.wcag-highlight-inspector-restore[data-dock="left"] {
                right: auto !important;
                left: 0 !important;
                border-right: 1px solid #075985 !important;
                border-left: 0 !important;
                border-radius: 0 12px 12px 0 !important;
            }
            #wcag-highlight-inspector-restore.wcag-highlight-inspector-restore[data-dock="top"],
            #wcag-highlight-inspector-restore.wcag-highlight-inspector-restore[data-dock="bottom"] {
                right: auto !important;
                left: 50% !important;
                width: auto !important;
                min-height: 48px !important;
                flex-direction: row !important;
                transform: translateX(-50%) !important;
                padding: 10px 14px !important;
            }
            #wcag-highlight-inspector-restore.wcag-highlight-inspector-restore[data-dock="top"] {
                top: var(--wcag-inspector-admin-bar-offset, 0px) !important;
                bottom: auto !important;
                border-top: 0 !important;
                border-right: 1px solid #075985 !important;
                border-radius: 0 0 12px 12px !important;
            }
            #wcag-highlight-inspector-restore.wcag-highlight-inspector-restore[data-dock="bottom"] {
                top: auto !important;
                bottom: 0 !important;
                border-right: 1px solid #075985 !important;
                border-bottom: 0 !important;
                border-radius: 12px 12px 0 0 !important;
            }
            #wcag-highlight-inspector-restore.wcag-highlight-inspector-restore[data-dock="top"] span,
            #wcag-highlight-inspector-restore.wcag-highlight-inspector-restore[data-dock="bottom"] span {
                writing-mode: horizontal-tb !important;
                transform: none !important;
            }
        }
        @media screen and (max-width: 782px) {
            body.admin-bar #wcag-highlight-inspector.wcag-highlight-inspector,
            body.admin-bar #wcag-highlight-inspector-restore.wcag-highlight-inspector-restore,
            body.admin-bar #wcag-highlight-viewport-ring.wcag-helper-viewport-ring {
                --wcag-inspector-admin-bar-offset: var(--wp-admin--admin-bar--height, 46px) !important;
            }
        }
        @media (max-width: 640px) {
            #wcag-highlight-inspector-restore.wcag-highlight-inspector-restore {
                top: auto !important;
                right: 12px !important;
                bottom: max(12px, env(safe-area-inset-bottom)) !important;
                width: auto !important;
                min-height: 48px !important;
                flex-direction: row !important;
                gap: 8px !important;
                transform: none !important;
                padding: 10px 14px !important;
                border-right: 1px solid #075985 !important;
                border-radius: 999px !important;
            }
            #wcag-highlight-inspector-restore.wcag-highlight-inspector-restore span {
                writing-mode: horizontal-tb !important;
                transform: none !important;
            }
            #wcag-highlight-inspector.wcag-highlight-inspector {
                top: auto !important;
                right: 0 !important;
                bottom: 0 !important;
                left: 0 !important;
                width: 100% !important;
                max-height: min(82vh, 760px, calc(100vh - var(--wcag-inspector-admin-bar-offset, 0px))) !important;
                border-right: 0 !important;
                border-bottom: 0 !important;
                border-left: 0 !important;
                border-radius: 18px 18px 0 0 !important;
                padding-bottom: env(safe-area-inset-bottom) !important;
            }
            #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__handle {
                position: relative !important;
                display: block !important;
                width: 100% !important;
                height: 20px !important;
                flex: 0 0 20px !important;
                margin: 0 !important;
                background: #f8fafc !important;
                cursor: grab !important;
                touch-action: pan-x !important;
                user-select: none !important;
            }
            #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__handle::before {
                position: absolute !important;
                top: 8px !important;
                left: 50% !important;
                width: 42px !important;
                height: 4px !important;
                transform: translateX(-50%) !important;
                border-radius: 999px !important;
                background: #94a3b8 !important;
                content: "" !important;
            }
            #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__header {
                min-height: 58px !important;
                padding: 4px 14px 10px !important;
                background: #f8fafc !important;
                touch-action: pan-x !important;
                user-select: none !important;
            }
            #wcag-highlight-inspector.wcag-highlight-inspector.wcag-highlight-inspector--dragging {
                transition: none !important;
            }
            #wcag-highlight-inspector.wcag-highlight-inspector.wcag-highlight-inspector--dragging .wcag-highlight-inspector__handle {
                cursor: grabbing !important;
            }
            #wcag-highlight-inspector.wcag-highlight-inspector.wcag-highlight-inspector--settling {
                transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1) !important;
            }
            #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__body {
                padding: 14px !important;
            }
            #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__navigation {
                grid-template-columns: 44px minmax(0, 1fr) 44px !important;
            }
            #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__overview-button {
                grid-column: 1 / -1 !important;
                width: 100% !important;
            }
            #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__status-wrap {
                grid-template-columns: 1fr !important;
                gap: 7px !important;
            }
            #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__status-badge {
                justify-self: start !important;
            }
            #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__meta-row {
                grid-template-columns: 96px minmax(0, 1fr) !important;
            }
            #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__contrast-color {
                grid-template-columns: 1fr !important;
                gap: 3px !important;
            }
        }
        @media (prefers-reduced-motion: reduce) {
            .wcag-helper-highlighted,
            #wcag-highlight-element-overlay.wcag-helper-highlight-overlay .wcag-helper-highlight-overlay__fragment,
            #wcag-highlight-viewport-ring.wcag-helper-viewport-ring,
            #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__quota svg,
            #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__scrollbar,
            #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__scrollbar-thumb,
            #wcag-highlight-inspector.wcag-highlight-inspector.wcag-highlight-inspector--settling {
                animation: none !important;
                transition: none !important;
            }
        }
        @media (forced-colors: active) {
            #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__collapse,
            #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__dock-trigger,
            #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__dock-option,
            #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__target-rail-button,
            #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__target-rail-overview,
            #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__contrast-swatch,
            #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__quota,
            #wcag-highlight-inspector.wcag-highlight-inspector .wcag-highlight-inspector__scrollbar-thumb,
            #wcag-highlight-inspector-restore.wcag-highlight-inspector-restore {
                border: 1px solid ButtonText !important;
                background: Canvas !important;
                color: ButtonText !important;
                forced-color-adjust: auto !important;
            }
        }
