/**
 * Document Accessibility Checker — Namespaced Styles
 * Version: 2.1.0 - Shared color tokens + analyze-btn refactor (Phase 1.5/1.6)
 *
 * v2.1.0 Changes (2026-04-11) — Phase 1.5 + 1.6:
 * - ADDED:  --acc-red-dark, --acc-green, --acc-green-dark, --acc-green-light to :root.
 * - REFACTOR: --acc-success / --acc-success-light now alias --acc-green tokens.
 * - REFACTOR: .docac-analyze-btn background switched from hard-coded hsl() to
 *             var(--acc-green) / var(--acc-green-dark). Visual delta < 2% (well
 *             below human perception threshold) — same green, just sourced from
 *             a shared token instead of inlined HSL.
 * - INTENT:   Brand green gradient KEPT (Variant B brand differentiation).
 *             No visual diff expected on the live Doc Checker.
 * - SCOPE:    :root + 1 button block. All other selectors untouched.
 *             B21 NaN bug and v2.1.0 doc-checker version namespace are unrelated;
 *             this CSS-only file change does NOT bump the PHP plugin version.
 *
 * v2.0.0 Changes (2025-02-26):
 * - REDESIGN: Light tech background (#f0f4f8) with 80px grid lines
 * - REDESIGN: All components dark inside (dark cards, dark stat boxes, dark tabs)
 * - UPDATED: Dark issue items, dark progress bars, dark dropzone
 * - UPDATED: Font system to DM Sans + Space Mono (matching web checker)
 * - UPDATED: Success color to rgb(34, 197, 94) for consistency
 * - KEPT: All existing selectors, class names, functional behavior
 * - KEPT: Complete PDF preview section styling
 *
 * CRITICAL: All selectors scoped under .doc-checker-tool or .doc-report
 * to avoid conflicts with Web Checker (.accessibility-checker-tool / .accessibility-report)
 *
 * COLOR PALETTE (only these 4 + derived):
 * --acc-red: rgb(220, 38, 38)      - Errors, critical
 * --acc-blue: rgb(30, 95, 153)     - Primary, info
 * --acc-gray: rgb(51, 65, 85)      - Text, secondary
 * --acc-dark: rgb(26, 34, 52)      - Dark backgrounds
 */

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */

.doc-checker-tool,
.doc-report {
  /* Primary 4 Colors */
  --acc-red: rgb(220, 38, 38);
  --acc-red-dark: rgb(185, 28, 28);
  --acc-blue: rgb(30, 95, 153);
  --acc-gray: rgb(51, 65, 85);
  --acc-dark: rgb(26, 34, 52);

  /* v2.1.0: Brand green = Doc Checker primary identity. Promoted to first-class
     token (was previously inlined as hsl(142,71%,45%) inside .docac-analyze-btn).
     Now usable across all 3 tools as var(--acc-green). */
  --acc-green: rgb(34, 197, 94);
  --acc-green-dark: rgb(21, 128, 61);
  --acc-green-light: rgba(34, 197, 94, 0.08);

  /* Derived Light Versions */
  --acc-red-light: rgba(220, 38, 38, 0.08);
  --acc-blue-light: rgba(30, 95, 153, 0.08);
  --acc-gray-light: rgba(51, 65, 85, 0.05);
  --acc-dark-light: rgba(26, 34, 52, 0.03);

  /* Success & Warning — v2.1.0: --acc-success now aliases --acc-green for parity */
  --acc-success: var(--acc-green);
  --acc-success-light: var(--acc-green-light);
  --acc-warning: rgb(180, 83, 9);
  --acc-warning-light: rgba(180, 83, 9, 0.08);

  /* Neutrals */
  --acc-white: #ffffff;
  --acc-bg: #f0f4f8;
  --acc-border: rgba(0, 0, 0, 0.08);
  --acc-border-dark: var(--acc-dark);
  --acc-text: var(--acc-gray);
  --acc-text-light: rgba(51, 65, 85, 0.7);

  /* v2.0.0: Dark inside card system */
  --acc-glass-border: rgba(255, 255, 255, 0.06);
  --acc-glass-border-light: rgba(255, 255, 255, 0.04);

  /* v2.0.0: Dark card backgrounds */
  --acc-card-bg: linear-gradient(135deg, rgba(26,34,52,0.97), rgba(15,23,42,0.97));
  --acc-card-flat: rgba(26, 34, 52, 0.95);
  --acc-card-border: 1px solid rgba(255, 255, 255, 0.06);
  --acc-card-radius: 8px;
  --acc-inner-radius: 6px;

  /* Typography — v2.0.0: DM Sans + Space Mono */
  --acc-font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --acc-font-code: 'Space Mono', 'SF Mono', Monaco, 'Courier New', monospace;
  --acc-text-body: clamp(1.4rem, 1.2vw + 0.75rem, 1.8rem);
  --acc-text-small: clamp(1.2rem, 1vw + 0.5rem, 1.4rem);
  --acc-text-xsmall: clamp(1rem, 0.8vw + 0.4rem, 1.2rem);
  --acc-text-h1: clamp(2.5rem, 6vw + 1rem, 5rem);
  --acc-text-h2: clamp(2rem, 4.5vw + 0.5rem, 3.5rem);
  --acc-text-h3: clamp(1.75rem, 4vw + 0.25rem, 3rem);
  --acc-text-h4: clamp(1.5rem, 3.5vw + 0.1rem, 2.5rem);
  --acc-text-h5: clamp(1.4rem, 3vw, 2rem);
  --acc-text-h6: clamp(1.4rem, 2.5vw, 1.8rem);

  /* Spacing — fluid */
  --acc-space-xs: clamp(0.25rem, 0.5vw, 0.5rem);
  --acc-space-sm: clamp(0.5rem, 1vw, 1rem);
  --acc-space-md: clamp(1rem, 2vw, 2rem);
  --acc-space-lg: clamp(2rem, 3vw, 4rem);

  /* Border — v2.0.0: Updated radii */
  --acc-border-thin: 1px;
  --acc-radius: 6px;
  --acc-radius-md: 10px;
  --acc-radius-lg: 14px;
  --acc-radius-pill: 100px;
  --acc-border-radius: 6px;
  --acc-border-radius-lg: 10px;

  /* Transitions — v2.0.0: 0.2s default */
  --acc-transition-fast: 0.2s ease;
  --acc-transition-normal: 0.3s ease;

  /* Shadows — v2.0.0: Refined */
  --acc-shadow-sm: 0 1px 3px rgba(26, 34, 52, 0.04), 0 1px 2px rgba(26, 34, 52, 0.03);
  --acc-shadow-md: 0 4px 12px rgba(26, 34, 52, 0.06), 0 2px 4px rgba(26, 34, 52, 0.04);
  --acc-shadow-lg: 0 12px 32px rgba(26, 34, 52, 0.08), 0 4px 8px rgba(26, 34, 52, 0.04);
}

/* ============================================
   GLOBAL RESETS
   ============================================ */

.doc-checker-tool,
.doc-checker-tool *,
.doc-report,
.doc-report * {
  box-sizing: border-box;
}

/* Screen reader only */
.doc-checker-tool .sr-only,
.doc-report .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Focus visible */
.doc-checker-tool button:focus-visible,
.doc-checker-tool a:focus-visible,
.doc-checker-tool input:focus-visible,
.doc-checker-tool select:focus-visible {
  outline: 3px solid var(--acc-warning);
  outline-offset: 2px;
}

/* Disabled state */
.doc-checker-tool button[disabled],
.doc-checker-tool button[aria-busy="true"] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Skip link — visible on focus */
.doc-checker-tool .docac-skip-link:focus {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: auto !important;
  height: auto !important;
  padding: 12px 24px;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: nowrap !important;
  background: var(--acc-dark);
  color: var(--acc-white);
  border-radius: var(--acc-border-radius);
  font-weight: 600;
  font-size: var(--acc-text-small);
  text-decoration: none;
  z-index: 10000;
  outline: 3px solid var(--acc-warning);
  outline-offset: 2px;
}

/* ============================================
   MAIN CONTAINER
   ============================================ */

.doc-checker-tool {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 28px;
  font-family: var(--acc-font-body);
  font-size: var(--acc-text-small);
  line-height: 1.6;
  color: var(--acc-gray);
  background: var(--acc-bg);
  position: relative;
  border: none;
  border-radius: 0;
}

/* v2.0.0: Tech grid pattern overlay */
.doc-checker-tool::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30,95,153,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,95,153,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, black 20%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Ensure all direct children are above grid */
.doc-checker-tool > * {
  position: relative;
  z-index: 1;
}

/* ============================================
   UPLOAD SECTION — Dark card wrapper
   ============================================ */

.doc-checker-tool .docac-upload-section {
  background: var(--acc-card-bg);
  border: var(--acc-card-border);
  border-radius: var(--acc-card-radius);
  padding: 24px;
  margin-bottom: var(--acc-space-lg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

/* Blue orb decoration */
.doc-checker-tool .docac-upload-section::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(30, 95, 153, 0.15), transparent 70%);
  pointer-events: none;
}

/* ============================================
   DROPZONE — v2.0.0: Dark inside
   ============================================ */

/* ── DEFAULT STATE — zelená dashed border, výraznější ── */
.doc-checker-tool .docac-dropzone {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  height: 90px;
  padding: 0 32px;
  border: 1.5px dashed rgba(34, 197, 94, 0.35);
  border-radius: var(--acc-inner-radius);
  background: rgba(34, 197, 94, 0.03);
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--acc-font-body);
  font-size: var(--acc-text-small);
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.doc-checker-tool .docac-dropzone:hover,
.doc-checker-tool .docac-dropzone.dragover {
  border-color: var(--acc-success);
  border-style: solid;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
  background: rgba(34, 197, 94, 0.06);
  color: rgba(255, 255, 255, 0.7);
}

.doc-checker-tool .docac-dropzone svg {
  flex-shrink: 0;
  color: rgba(34, 197, 94, 0.55);
  width: 26px;
  height: 26px;
  transition: color 0.2s;
}

.doc-checker-tool .docac-dropzone:hover svg,
.doc-checker-tool .docac-dropzone.dragover svg {
  color: var(--acc-success);
}

.doc-checker-tool .docac-dropzone strong {
  color: #4ade80;
  font-weight: 600;
}

.doc-checker-tool .docac-dropzone-hint {
  margin-left: auto;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── HAS-FILE STATE — zelený ── */
.doc-checker-tool .docac-dropzone.has-file {
  border: 1.5px solid rgba(34, 197, 94, 0.5);
  border-style: solid;
  background: rgba(34, 197, 94, 0.06);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
  color: #fff;
  height: auto;
  min-height: 70px;
  padding: 14px 20px;
  flex-direction: row;
  text-align: left;
  gap: 12px;
  cursor: default;
}

.doc-checker-tool .docac-dropzone.has-file svg {
  color: #4ade80;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-bottom: 0;
}

.doc-checker-tool .docac-dropzone.has-file .docac-dropzone-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
  text-align: left;
}

.doc-checker-tool .docac-dropzone.has-file strong {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.doc-checker-tool .docac-dropzone.has-file small {
  display: block;
  font-size: 12px;
  color: rgba(74, 222, 128, 0.85);
  font-weight: 500;
}

.doc-checker-tool .docac-dropzone.has-file::after {
  content: '\2713  Ready to scan';
  font-size: 11px;
  font-weight: 600;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 20px;
  padding: 3px 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.doc-checker-tool .docac-file-remove {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  transition: all var(--acc-transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 0;
}

.doc-checker-tool .docac-file-remove:hover {
  background: rgba(248, 113, 113, 0.15);
  border-color: rgba(248, 113, 113, 0.3);
  color: #f87171;
}

/* ============================================
   BUTTON ROW — matches web checker layout
   ============================================ */

.doc-checker-tool .docac-button-group {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 0;
}

/* Primary button — Doc brand green gradient (Variant B brand differentiation).
   v2.1.0: Refactored from hard-coded hsl() to var(--acc-green) / var(--acc-green-dark).
   Visual output is essentially identical to v2.0.0:
     hsl(142,71%,45%) ≈ rgb(34,197,94)  (delta < 1%)
     hsl(142,71%,34%) ≈ rgb(21,128,61)  (delta < 2%)
   The micro-shift comes from converting HSL→RGB at the same nominal lightness;
   it's well below human perception threshold. Future palette tweaks now happen
   in :root only. */
.doc-checker-tool .docac-analyze-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  height: 50px;
  padding: 0 24px;
  border: none;
  border-radius: var(--acc-inner-radius);
  font-family: var(--acc-font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  background: linear-gradient(135deg, var(--acc-green), var(--acc-green-dark));
  color: var(--acc-white);
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.35);
}

.doc-checker-tool .docac-analyze-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--acc-green-dark), var(--acc-green));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.45);
}

.doc-checker-tool .docac-analyze-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Country dropdown — ghost style like Force Fresh Check */
.doc-checker-tool .docac-country-select-wrap {
  position: relative;
  flex: 1;
}

.doc-checker-tool .docac-country-select {
  width: 100%;
  height: 50px;
  padding: 0 32px 0 18px;
  border-radius: var(--acc-inner-radius);
  font-family: var(--acc-font-body);
  font-size: 13px;
  font-weight: 500;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: all 0.2s ease;
}

.doc-checker-tool .docac-country-select:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.doc-checker-tool .docac-country-select:focus {
  outline: none;
  border-color: var(--acc-blue);
  box-shadow: 0 0 0 3px rgba(30, 95, 153, 0.2);
}

.doc-checker-tool .docac-country-select option {
  background: #1a2234;
  color: #fff;
}

.doc-checker-tool .docac-select-arrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.3);
  pointer-events: none;
  font-size: 11px;
}

/* Single country — static label, no interaction */
.doc-checker-tool .docac-single-country {
  height: 50px;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: var(--acc-inner-radius);
  font-family: var(--acc-font-body);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  user-select: none;
}

/* ============================================
   PROGRESS BAR — v2.0.0: Dark card
   ============================================ */

.doc-checker-tool .docac-progress {
  margin-top: var(--acc-space-md);
  padding: var(--acc-space-md);
  background: var(--acc-card-bg);
  border: var(--acc-card-border);
  border-radius: var(--acc-card-radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.doc-checker-tool .docac-progress-header {
  font-size: var(--acc-text-h5);
  font-weight: 600;
  color: #fff;
  text-align: center;
  margin-bottom: var(--acc-space-sm);
}

.doc-checker-tool .docac-progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: var(--acc-space-sm);
}

.doc-checker-tool .docac-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  border-radius: 4px;
  transition: width 0.4s ease;
  position: relative;
}

.doc-checker-tool .docac-progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: docac-shimmer 1.5s infinite;
}

@keyframes docac-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.doc-checker-tool .docac-progress-text {
  text-align: center;
  font-size: var(--acc-text-small);
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   ERROR MESSAGE — v2.0.0: Dark context
   ============================================ */

.doc-checker-tool .docac-error {
  margin-top: var(--acc-space-md);
  padding: var(--acc-space-md);
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-left: 2px solid var(--acc-red);
  border-radius: 0 var(--acc-inner-radius) var(--acc-inner-radius) 0;
  color: #f87171;
  font-size: var(--acc-text-small);
}

/* ============================================
   REPORT — STAT BOXES — v2.0.0: Dark cards
   ============================================ */

.doc-report .stat-box-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--acc-space-md);
  margin-bottom: var(--acc-space-lg);
}

.doc-report .stat-box {
  padding: var(--acc-space-md);
  background: var(--acc-card-flat);
  border: var(--acc-card-border);
  border-radius: var(--acc-card-radius);
  text-align: center;
  transition: all var(--acc-transition-fast);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.doc-report .stat-box:hover {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.doc-report .stat-box .count {
  display: block;
  font-family: var(--acc-font-body);
  font-size: var(--acc-text-h3);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--acc-space-xs);
  letter-spacing: -0.02em;
}

.doc-report .stat-box .label {
  font-size: var(--acc-text-xsmall);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Stat box states — v2.0.0: top border + colored count */
.doc-report .stat-box.success { border-top: 2px solid #4ade80; border-left: none; }
.doc-report .stat-box.success .count { color: #4ade80; }

.doc-report .stat-box.critical { border-top: 2px solid #f87171; border-left: none; }
.doc-report .stat-box.critical .count { color: #f87171; }

.doc-report .stat-box.warning { border-top: 2px solid #fbbf24; border-left: none; }
.doc-report .stat-box.warning .count { color: #fbbf24; }

.doc-report .stat-box.info { border-top: 2px solid #3b82f6; border-left: none; }
.doc-report .stat-box.info .count { color: #60a5fa; }

/* ============================================
   REPORT — TABS — v2.0.0: Dark system
   ============================================ */

.doc-report .tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--acc-space-md);
  padding: 6px;
  background: rgba(15, 23, 42, 0.6);
  border-radius: var(--acc-card-radius);
  border: var(--acc-card-border);
}

.doc-report .tab-button {
  flex: 1;
  min-width: fit-content;
  padding: 10px var(--acc-space-md);
  background: transparent;
  border: none;
  border-radius: var(--acc-inner-radius);
  font-family: var(--acc-font-body);
  font-size: var(--acc-text-small);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all var(--acc-transition-fast);
}

.doc-report .tab-button:hover {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
}

.doc-report .tab-button.active {
  background: #2563eb;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.doc-report .tab-content {
  display: none !important;
  padding: var(--acc-space-md);
  background: linear-gradient(135deg, rgba(26,34,52,0.97), rgba(15,23,42,0.97)) !important;
  background-color: rgba(26, 34, 52, 0.97) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: var(--acc-card-radius);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  color: rgba(255, 255, 255, 0.7);
}

.doc-report .tab-content.active {
  display: block !important;
  animation: docac-fadeIn 0.3s ease;
}

@keyframes docac-fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* v2.0.0: White text inside dark tab content */
.doc-report .tab-content h3,
.doc-report .tab-content h4 {
  color: #fff;
}

.doc-report .tab-content p,
.doc-report .tab-content span,
.doc-report .tab-content strong {
  color: rgba(255, 255, 255, 0.7);
}

.doc-report .tab-content strong {
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   REPORT — ISSUE ITEMS — v2.0.0: Dark cards
   ============================================ */

.doc-report .issue-item {
  margin-bottom: var(--acc-space-md);
  padding: var(--acc-space-md);
  background: rgba(26, 34, 52, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--acc-inner-radius);
  border-left: 2px solid var(--acc-red);
  transition: all var(--acc-transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.doc-report .issue-item:last-child {
  margin-bottom: 0;
}

.doc-report .issue-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  background: rgba(26, 34, 52, 0.7);
  transform: translateY(-1px);
}

.doc-report .issue-item.critical-issue {
  border-left-color: var(--acc-red) !important;
}

.doc-report .issue-item.warning-issue {
  border-left-color: var(--acc-warning) !important;
}

.doc-report .issue-item.info-issue {
  border-left-color: var(--acc-blue) !important;
}

/* Issue header — v2.0.0: Dark theme */
.doc-report .issue-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--acc-space-sm);
  margin-bottom: var(--acc-space-sm);
  padding-bottom: var(--acc-space-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.doc-report .issue-title {
  font-size: var(--acc-text-small);
  font-weight: 600;
  color: #fff;
  margin: 0;
  flex: 1;
  min-width: 200px;
}

/* Issue description — v2.0.0: Light text on dark */
.doc-report .issue-description {
  font-size: var(--acc-text-small);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: var(--acc-space-sm);
}

/* ============================================
   BADGES — v2.0.0: Dark-compatible
   ============================================ */

.doc-report .severity-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--acc-radius-pill);
  font-family: var(--acc-font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.doc-report .severity-badge.critical {
  background: var(--acc-red);
  color: var(--acc-white);
}

.doc-report .severity-badge.warning {
  background: var(--acc-warning);
  color: var(--acc-white);
}

.doc-report .severity-badge.info {
  background: var(--acc-blue);
  color: var(--acc-white);
}

.doc-report .severity-badge.passed {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.doc-report .wcag-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  background: var(--acc-dark);
  color: var(--acc-white);
  border-radius: 4px;
  font-size: var(--acc-text-xsmall);
  font-weight: 600;
}

.doc-report .source-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--acc-radius-pill);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.doc-report .source-badge.structure { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.doc-report .source-badge.content { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.doc-report .source-badge.metadata { background: rgba(139, 92, 246, 0.15); color: #a78bfa; }

/* ============================================
   FIX SUGGESTION — v2.0.0: Dark context
   ============================================ */

.doc-report .fix-suggestion {
  margin-top: 12px;
  padding: 14px 18px;
  background: rgba(30, 95, 153, 0.1);
  border-left: 2px solid var(--acc-blue);
  border-radius: 0 var(--acc-inner-radius) var(--acc-inner-radius) 0;
  font-size: var(--acc-text-small);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}

.doc-report .fix-suggestion strong {
  color: #60a5fa;
  display: block;
  margin-bottom: 6px;
}

.doc-report .framework-specific-fix {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.doc-report .framework-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: var(--acc-dark);
  color: var(--acc-white);
  font-family: var(--acc-font-body);
  font-size: var(--acc-text-xsmall);
  font-weight: 600;
  border-radius: var(--acc-radius-pill);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ============================================
   SCORE CIRCLE — v2.0.0: Dark inner circle
   ============================================ */

.doc-report .score-circle-wrapper {
  text-align: center;
  margin: var(--acc-space-md) auto;
}

.doc-report .score-circle {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background: conic-gradient(
    from -90deg,
    var(--circle-color, var(--acc-success)) 0deg,
    var(--circle-color, var(--acc-success)) calc(var(--score-pct, 0) * 3.6deg),
    rgba(255, 255, 255, 0.08) calc(var(--score-pct, 0) * 3.6deg),
    rgba(255, 255, 255, 0.08) 360deg
  );
}

.doc-report .score-circle::before {
  content: '';
  position: absolute;
  width: 85px;
  height: 85px;
  background: #1a2234;
  border-radius: 50%;
}

.doc-report .score-circle.success { --circle-color: var(--acc-success); }
.doc-report .score-circle.warning { --circle-color: var(--acc-warning); }
.doc-report .score-circle.critical { --circle-color: var(--acc-red); }

.doc-report .score-number {
  position: relative;
  z-index: 1;
  font-family: var(--acc-font-body);
  font-size: var(--acc-text-h4);
  font-weight: 700;
  color: #fff;
}

.doc-report .score-label {
  margin-top: var(--acc-space-sm);
  font-size: var(--acc-text-small);
  font-weight: 600;
  color: var(--acc-gray);
}

.doc-report .score-info {
  font-size: var(--acc-text-xsmall);
  color: rgba(51, 65, 85, 0.6);
  margin-top: 4px;
}

/* ============================================
   REPORT INFO — v2.0.0: Dark card
   ============================================ */

.doc-report .report-info {
  background: var(--acc-card-flat);
  border: var(--acc-card-border);
  border-radius: var(--acc-card-radius);
  padding: var(--acc-space-md);
  margin-bottom: var(--acc-space-md);
  font-size: var(--acc-text-small);
  color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.doc-report .report-info strong {
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   COUNTRY COMPLIANCE NOTE — v2.0.0: Dark
   ============================================ */

.doc-report .country-intro {
  padding: var(--acc-space-md);
  background: var(--acc-card-flat);
  border: var(--acc-card-border);
  border-left: 3px solid var(--acc-blue);
  border-radius: 0 var(--acc-inner-radius) var(--acc-inner-radius) 0;
  margin-bottom: var(--acc-space-md);
  font-size: var(--acc-text-small);
  color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.doc-report .country-intro strong {
  color: #60a5fa;
}

/* ============================================
   SCORE SECTION
   ============================================ */

.doc-report .score-section {
  padding: var(--acc-space-md) 0;
}

/* ============================================
   ISSUE TOGGLE — Expand/Collapse
   ============================================ */

.doc-report .issue-toggle {
  cursor: pointer;
  user-select: none;
}

.doc-report .issue-toggle:hover {
  background: rgba(255, 255, 255, 0.04);
  margin: calc(var(--acc-space-sm) * -1);
  padding: var(--acc-space-sm);
  border-radius: var(--acc-inner-radius);
}

.doc-report .issue-header-left {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.doc-report .issue-chevron {
  margin-left: auto;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
  transition: transform var(--acc-transition-fast);
}

.doc-report .issue-body {
  padding-top: var(--acc-space-sm);
}

/* ============================================
   ISSUE DETAILS — Found / Expected / Impact
   v2.0.0: Dark bg
   ============================================ */

.doc-report .issue-details {
  margin: var(--acc-space-sm) 0;
  padding: var(--acc-space-sm) var(--acc-space-md);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--acc-inner-radius);
  border: 1px solid rgba(255, 255, 255, 0.04);
  font-size: var(--acc-text-small);
}

.doc-report .issue-detail-row {
  padding: 4px 0;
  line-height: 1.5;
}

.doc-report .issue-detail-row + .issue-detail-row {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.doc-report .detail-label {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-right: 4px;
}

.doc-report .detail-value {
  color: rgba(255, 255, 255, 0.7);
}

.doc-report .detail-value.found {
  color: #f87171;
}

.doc-report .detail-value.expected {
  color: #4ade80;
}

.doc-report .issue-detail-row.impact {
  margin-top: 4px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.5);
}

.doc-report .issue-detail-row.impact .detail-value {
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   FIX GUIDE — Steps & Tools
   ============================================ */

.doc-report .fix-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}

.doc-report .fix-steps {
  margin: 8px 0 0 0;
  padding-left: 20px;
  font-size: var(--acc-text-small);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

.doc-report .fix-steps li {
  padding: 3px 0;
}

.doc-report .fix-steps li::marker {
  color: #60a5fa;
  font-weight: 600;
}

/* ============================================
   FRAMEWORK BADGE — detected/highlighted variant
   Matches the detected authoring tool
   ============================================ */

.doc-report .framework-badge.detected {
  background: var(--acc-blue);
  color: #ffffff;
  box-shadow: 0 0 0 2px rgba(30, 95, 153, 0.4);
  position: relative;
}

.doc-report .framework-badge.detected::before {
  content: '\2713  ';
  font-size: 10px;
  opacity: 0.9;
}

/* ============================================
   AUTHORING TOOL BANNER
   Shown below report-info when tool detected
   ============================================ */

.doc-report .authoring-tool-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  margin: 8px 0 4px;
  background: var(--acc-card-flat);
  border: var(--acc-card-border);
  border-left: 3px solid var(--acc-blue);
  border-radius: var(--acc-inner-radius);
  font-size: var(--acc-text-small);
  color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.doc-report .authoring-tool-icon {
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1;
}

.doc-report .authoring-tool-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.doc-report .authoring-tool-text strong {
  color: #60a5fa;
  font-size: var(--acc-text-small);
  font-weight: 600;
}

.doc-report .authoring-tool-note {
  font-size: var(--acc-text-xsmall);
  color: rgba(255, 255, 255, 0.45);
}

/* ============================================
   ISSUE PAGE BADGE — shown in issue header
   Small pill next to WCAG badge
   ============================================ */

.doc-report .issue-page-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--acc-font-mono);
  font-size: 10px;
  font-weight: 500;
  border-radius: var(--acc-radius-pill);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

/* ============================================
   PASSED ITEMS — v2.0.0: Green accents on dark
   ============================================ */

.doc-report .passed-item {
  border-left-color: var(--acc-success) !important;
}

.doc-report .passed-item .issue-header {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.doc-report .passed-icon {
  margin-left: auto;
  font-size: 18px;
  font-weight: 700;
  color: #4ade80;
  flex-shrink: 0;
}

/* ============================================
   MANUAL REVIEW TAB
   ============================================ */

.doc-report .docac-manual-intro-box {
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: var(--acc-inner-radius);
  padding: 14px 18px;
  margin-bottom: var(--acc-space-md);
}

.doc-report .docac-manual-intro-text {
  margin: 0;
  font-size: var(--acc-text-small);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

.doc-report .docac-manual-item {
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-left: 3px solid #2563eb;
  border-radius: var(--acc-inner-radius);
  padding: 16px 18px;
  margin-bottom: 10px;
}

.doc-report .docac-manual-item:last-child {
  margin-bottom: 0;
}

.doc-report .docac-manual-item-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.doc-report .docac-manual-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.doc-report .docac-manual-item-title {
  margin: 0;
  font-size: var(--acc-text-base);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  flex: 1;
}

.doc-report .docac-manual-detection-badge {
  font-size: 11px;
  font-weight: 500;
  color: #93c5fd;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 4px;
  padding: 2px 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.doc-report .docac-manual-item-reason {
  margin: 0 0 12px 0;
  font-size: var(--acc-text-small);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

.doc-report .docac-manual-checklist {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.doc-report .docac-manual-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--acc-text-small);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.doc-report .docac-manual-checklist-item::before {
  content: '\25A1';
  color: #3b82f6;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================
   NO ISSUES
   ============================================ */

.doc-report .no-issues-message {
  padding: var(--acc-space-lg);
  background: rgba(34, 197, 94, 0.1);
  border-radius: var(--acc-inner-radius);
  text-align: center;
  color: #4ade80;
  font-size: var(--acc-text-small);
  font-weight: 600;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

/* ============================================
   PDF PREVIEW SECTION — v2.0.0: Dark theme
   ============================================ */

.docac-preview-section {
  background: var(--acc-card-flat);
  border: var(--acc-card-border);
  border-radius: var(--acc-card-radius);
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.docac-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.docac-preview-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.docac-preview-title::before {
  content: ''; display: inline-block; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2393c5fd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3C/svg%3E") no-repeat center/contain; vertical-align: middle;
  font-size: 16px;
}

/* Page Navigation — v2.0.0: Dark */
.docac-page-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.docac-nav-btn {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.docac-nav-btn:hover:not(:disabled) {
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.3);
  color: #60a5fa;
}

.docac-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.docac-page-indicator {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  min-width: 100px;
  text-align: center;
}

.docac-page-indicator span {
  color: #fff;
  font-weight: 700;
}

/* Thumbnail Strip — v2.0.0: Dark */
.docac-thumbnail-strip {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  overflow-x: auto;
  background: rgba(15, 23, 42, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.docac-thumbnail-strip::-webkit-scrollbar {
  height: 6px;
}

.docac-thumbnail-strip::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

.docac-thumb {
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.2s ease;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.docac-thumb:hover {
  border-color: rgba(96, 165, 250, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.docac-thumb.active {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.3);
}

.docac-thumb-canvas {
  display: block;
  width: auto;
  height: 80px;
  min-width: 56px;
}

.docac-thumb-number {
  display: block;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  padding: 2px 0 3px;
  background: rgba(15, 23, 42, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.docac-thumb.active .docac-thumb-number {
  color: #60a5fa;
  background: rgba(37, 99, 235, 0.15);
}

/* Thumbnail Issue Badge */
.docac-thumb-badge {
  position: absolute;
  top: 3px;
  right: 3px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
  z-index: 2;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.docac-thumb-badge.critical { background: #dc2626; }
.docac-thumb-badge.warning { background: #f59e0b; }

/* Doc-level badge on thumbnail — positioned bottom-left to not overlap page badge */
.docac-thumb-badge.doc-level {
  top: auto;
  bottom: 3px;
  right: auto;
  left: 3px;
  background: rgba(180, 83, 9, 0.92);
  font-size: 9px;
  min-width: 22px;
}
.docac-thumb-badge.doc-level.critical {
  background: rgba(220, 38, 38, 0.92);
}

/* Doc-level issues banner — above the thumbnail strip */
.docac-doc-level-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  margin-bottom: 8px;
  border-radius: var(--acc-inner-radius);
  font-size: var(--acc-text-small);
  font-weight: 500;
  color: #fff;
}
.docac-doc-level-banner.warning {
  background: rgba(180, 83, 9, 0.25);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fcd34d;
}
.docac-doc-level-banner.critical {
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid rgba(220, 38, 38, 0.35);
  color: #fca5a5;
}
.docac-doc-level-icon {
  font-size: 14px;
  flex-shrink: 0;
}

/* Multiple badges stacked vertically on main canvas */
.docac-main-badge + .docac-main-badge {
  margin-top: 6px;
}

/* Doc-level badge on main canvas — slightly different style */
.docac-main-badge.doc-level.warning {
  background: rgba(180, 83, 9, 0.88);
}
.docac-main-badge.doc-level.critical {
  background: rgba(185, 28, 28, 0.88);
}

/* Main Canvas — v2.0.0: Dark wrap */
.docac-main-canvas-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.4);
  min-height: 200px;
  max-height: 700px;
  overflow: auto;
}

#docac-main-canvas {
  display: block;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  max-width: 100%;
  height: auto;
}

/* Page Issue Badges (overlay on main canvas) */
.docac-page-badges {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 5;
}

.docac-main-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.docac-main-badge.critical { background: rgba(220, 38, 38, 0.9); }
.docac-main-badge.warning { background: rgba(245, 158, 11, 0.9); }

.docac-main-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: docac-pulse-badge 1.5s ease infinite;
}

@keyframes docac-pulse-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Show in Preview button (inside issues) */
.issue-show-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.show-in-preview-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--acc-blue), #2563eb);
  color: #fff;
  font-family: var(--acc-font-body);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.show-in-preview-btn:hover {
  background: linear-gradient(135deg, #184c7a, var(--acc-blue));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 95, 153, 0.25);
}

.show-in-preview-btn svg {
  flex-shrink: 0;
}

.issue-page-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

/* ============================================
   ANALYSIS TIME — Task 1.5
   ============================================ */

.doc-report .report-analysis-time {
  color: var(--acc-success);
  font-weight: 500;
}

/* ============================================
   FOCUS OUTLINE — Task 1.10
   ============================================ */

.doc-report:focus {
  outline: 2px solid var(--acc-blue);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ============================================
   BUTTON GROUP MOBILE — Task 1.7
   ============================================ */

.doc-checker-tool .docac-button-group {
  flex-wrap: wrap;
}

/* ============================================
   COUNTRY COMPLIANCE BADGE — inline under score
   ============================================ */

.doc-report .docac-compliance-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
}

.doc-report .docac-ci-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}

.doc-report .compliance-pass .docac-ci-icon {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}
.doc-report .compliance-pass .docac-ci-label {
  color: #34d399;
}
.doc-report .compliance-pass {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.doc-report .compliance-warning .docac-ci-icon {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}
.doc-report .compliance-warning .docac-ci-label {
  color: #fbbf24;
}
.doc-report .compliance-warning {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.15);
}

.doc-report .compliance-fail .docac-ci-icon {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}
.doc-report .compliance-fail .docac-ci-label {
  color: #f87171;
}
.doc-report .compliance-fail {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.doc-report .docac-ci-standard {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(100, 116, 139, 0.85);
}

/* ============================================
   QUICK SUMMARY BOX — top issues to fix
   ============================================ */

.doc-report .docac-quick-summary {
  padding: 16px 20px;
  background: var(--acc-card-flat);
  border: var(--acc-card-border);
  border-left: 3px solid var(--acc-warning);
  border-radius: var(--acc-inner-radius);
  margin-bottom: var(--acc-space-md);
}

.doc-report .docac-quick-summary.success {
  border-left-color: var(--acc-success);
}

.doc-report .docac-qs-header {
  font-size: 14px;
  color: #fff;
  margin-bottom: 10px;
}

.doc-report .docac-qs-icon {
  margin-right: 6px;
}

.doc-report .docac-qs-content {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.doc-report .docac-qs-list {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.doc-report .docac-qs-list li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
}

.doc-report .docac-qs-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: 3px;
  vertical-align: middle;
}

.doc-report .docac-qs-badge.critical {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.doc-report .docac-qs-badge.warning {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

.doc-report .docac-qs-badge.info {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

/* ============================================
   FIX COST ESTIMATOR — time and cost
   ============================================ */

.doc-report .docac-cost-estimator {
  padding: 16px 20px;
  background: var(--acc-card-flat);
  border: var(--acc-card-border);
  border-left: 3px solid var(--acc-blue);
  border-radius: var(--acc-inner-radius);
  margin-bottom: var(--acc-space-lg);
}

.doc-report .docac-cost-row {
  display: flex;
  gap: 20px;
}

.doc-report .docac-cost-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.doc-report .docac-cost-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.doc-report .docac-cost-item strong {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
  margin-bottom: 2px;
}

.doc-report .docac-cost-value {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  font-family: var(--acc-font-mono);
}

.doc-report .docac-cost-note {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.4;
}

/* ============================================
   CHECK ANOTHER PDF — button at bottom
   ============================================ */

.doc-report .docac-check-another {
  text-align: center;
  margin-top: 32px;
  padding: 28px 0 16px;
  border-top: 1px solid rgba(26, 34, 52, 0.1);
}

.doc-report .docac-check-another-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  border: 1.5px solid rgba(26, 34, 52, 0.2);
  border-radius: var(--acc-inner-radius, 6px);
  background: white;
  color: rgba(26, 34, 52, 0.65);
  font-family: var(--acc-font-body, 'DM Sans', sans-serif);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(26, 34, 52, 0.06);
}

.doc-report .docac-check-another-btn:hover {
  background: rgba(26, 34, 52, 0.04);
  color: rgba(26, 34, 52, 0.9);
  border-color: rgba(26, 34, 52, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(26, 34, 52, 0.1);
}

.doc-report .docac-check-another-btn:focus-visible {
  outline: 2px solid rgb(30, 95, 153);
  outline-offset: 2px;
}

/* ============================================
   RESPONSIVE — 768px
   ============================================ */

@media (max-width: 768px) {
  .doc-checker-tool,
  .doc-report {
    max-width: 100vw !important;
    width: 100% !important;
    overflow-x: hidden !important;
    padding: 8px !important;
    box-sizing: border-box !important;
  }

  /* Manual Review header — stack title + badge vertically on mobile */
  .doc-report .docac-manual-item-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }
  .doc-report .docac-manual-detection-badge {
    align-self: flex-start !important;
  }

  .doc-checker-tool *,
  .doc-report * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .doc-checker-tool .docac-upload-section {
    padding: 16px !important;
  }

  .doc-checker-tool .docac-button-group {
    flex-direction: column !important;
    gap: 8px !important;
  }

  .doc-checker-tool .docac-analyze-btn {
    width: 100% !important;
  }

  .doc-checker-tool .docac-country-select-wrap,
  .doc-checker-tool .docac-single-country {
    width: 100% !important;
    text-align: center !important;
  }

  .doc-checker-tool .docac-country-select-wrap select {
    width: 100% !important;
  }

  /* New components mobile */
  .doc-report .docac-cost-row {
    flex-direction: column !important;
    gap: 12px !important;
  }

  .doc-report .docac-cost-value {
    font-size: 16px !important;
  }

  .doc-report .stat-box-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .doc-report .tabs-nav {
    flex-direction: column !important;
    gap: 5px !important;
  }

  .doc-report .tab-button {
    width: 100% !important;
    padding: 10px !important;
  }

  .doc-report .issue-item {
    padding: 10px !important;
  }

  .doc-report .issue-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .doc-report .fix-suggestion {
    padding: 10px !important;
  }

  .doc-report .framework-specific-fix {
    flex-direction: column !important;
    gap: 6px !important;
  }

  /* Default dropzone — column layout na mobilu */
  .doc-checker-tool .docac-dropzone {
    padding: 16px !important;
    min-height: 100px !important;
    height: auto !important;
    flex-direction: column !important;
    text-align: center !important;
    gap: 6px !important;
  }

  .doc-checker-tool .docac-dropzone svg {
    margin-bottom: 2px !important;
    width: 28px !important;
    height: 28px !important;
  }

  .doc-checker-tool .docac-dropzone-hint {
    display: block !important;
    margin-top: 4px !important;
    margin-left: 0 !important;
  }

  /* HAS-FILE — row layout, kompaktní */
  .doc-checker-tool .docac-dropzone.has-file {
    flex-direction: row !important;
    text-align: left !important;
    min-height: 64px !important;
    height: auto !important;
    padding: 12px 14px !important;
    gap: 10px !important;
  }

  .doc-checker-tool .docac-dropzone.has-file svg {
    width: 24px !important;
    height: 24px !important;
    margin-bottom: 0 !important;
  }

  .doc-checker-tool .docac-dropzone.has-file strong {
    font-size: 13px !important;
  }

  .doc-checker-tool .docac-dropzone.has-file small {
    font-size: 11px !important;
  }

  .doc-checker-tool .docac-dropzone.has-file::after {
    display: none !important;
  }

  .doc-report .score-circle {
    width: 100px !important;
    height: 100px !important;
  }

  .doc-report .score-circle::before {
    width: 70px !important;
    height: 70px !important;
  }

  .doc-report .issue-details {
    padding: 8px 10px !important;
  }

  .doc-report .issue-detail-row {
    display: block !important;
  }

  .doc-report .fix-steps {
    padding-left: 16px !important;
  }

  .doc-checker-tool .docac-country-pills {
    gap: 6px !important;
  }

  .doc-checker-tool .docac-country-pill {
    padding: 6px 10px !important;
    font-size: 12px !important;
  }

  .doc-checker-tool .docac-pill-standard {
    display: none !important;
  }

  /* Preview responsive */
  .docac-preview-header {
    flex-direction: column;
    gap: 10px;
    padding: 10px 14px;
  }

  .docac-main-canvas-wrap {
    padding: 10px;
    max-height: 500px;
  }

  .docac-thumb-canvas {
    height: 60px;
  }

  .docac-page-badges {
    top: 16px;
    right: 16px;
  }

  .docac-main-badge {
    font-size: 11px;
    padding: 6px 10px;
  }
}

/* ============================================
   RESPONSIVE — 480px
   ============================================ */

@media (max-width: 480px) {
  .doc-checker-tool {
    padding: 6px 8px !important;
  }

  .doc-checker-tool .docac-upload-section {
    padding: 12px !important;
  }

  .doc-report .stat-box-container {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .doc-report .issue-item {
    padding: 8px !important;
  }

  .doc-report .fix-suggestion {
    padding: 8px !important;
  }

  .doc-checker-tool .docac-country-pills {
    flex-direction: column !important;
  }

  .doc-checker-tool .docac-country-pill {
    justify-content: center !important;
  }

  /* Preview 480px */
  .docac-thumbnail-strip {
    padding: 8px 10px;
    gap: 6px;
  }

  .docac-thumb-canvas {
    height: 50px;
  }

  .docac-main-canvas-wrap {
    padding: 6px;
    max-height: 400px;
  }

  .issue-show-preview {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  .doc-checker-tool *, .doc-checker-tool *::before, .doc-checker-tool *::after,
  .doc-report *, .doc-report *::before, .doc-report *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  /* Exception: Progress bar must still animate */
  .doc-checker-tool .docac-progress-fill {
    transition: width 0.3s linear !important;
  }
}

/* ============================================
   PRINT
   ============================================ */

@media print {
  .doc-checker-tool .docac-upload-section,
  .doc-report .tabs-nav,
  .docac-preview-section,
  .show-in-preview-btn {
    display: none !important;
  }

  .doc-report .tab-content {
    display: block !important;
  }

  .doc-report .issue-item {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}

/* ============================================
   END — v2.2.0 (Phase 1 complete: animation, mobile, compliance, summary, cost, check another)
   ============================================ */
/* ============================================================
   SPECIFIC ISSUE EXAMPLES — actual problematic content
   ============================================================ */

.issue-examples-row {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.issue-examples-list {
  margin: 6px 0 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.issue-example-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.issue-example-item::before {
  content: '→';
  color: var(--acc-text-light, #64748b);
  font-size: 11px;
  flex-shrink: 0;
}

.issue-example-item code {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 2px 7px;
  font-family: var(--acc-font-mono, 'Space Mono', monospace);
  font-size: 11.5px;
  color: #e2e8f0;
  word-break: break-word;
  line-height: 1.5;
}

.issue-example-item--rich {
  align-items: center;
  flex-wrap: wrap;
}

.issue-example-more {
  padding: 2px 0;
  color: var(--acc-text-light, #64748b);
  font-size: 11.5px;
  font-style: italic;
}

/* Heading text / level jump inline value */
.issue-code-value {
  font-family: var(--acc-font-mono, 'Space Mono', monospace);
  font-size: 12px;
  color: #c4b5fd;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 4px;
  padding: 2px 6px;
}

/* Empty metadata value */
.issue-examples-list code.meta-empty {
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
}

/* "Show" button inside examples list */
.btn-show-element {
  flex-shrink: 0;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.4);
  color: #fb923c;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 11px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}

.btn-show-element:hover {
  background: rgba(249, 115, 22, 0.3);
}

/* ============================================================
   ELEMENT HIGHLIGHT OVERLAY (links, form fields)
   ============================================================ */

.docac-element-highlight {
  position: absolute;
  border: 2px solid #f97316;
  background: rgba(249, 115, 22, 0.12);
  border-radius: 3px;
  pointer-events: none;
  z-index: 20;
  animation: docac-highlight-pulse-el 1.5s ease-in-out infinite;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

@keyframes docac-highlight-pulse-el {
  0%, 100% { box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2); }
  50%       { box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.05); }
}
/* ============================================
   DOC-SPECIFIC: AI EXPLAIN BUTTON + BOX
   (not in PDF checker — document checker only)
   ============================================ */

.doc-checker-tool,
.doc-report {
  --acc-red:        rgb(220, 38, 38);
  --acc-blue:       rgb(30, 95, 153);
  --acc-gray:       rgb(51, 65, 85);
  --acc-dark:       rgb(26, 34, 52);
  --acc-success:    rgb(34, 197, 94);
  --acc-warning:    rgb(180, 83, 9);
  --acc-white:      #ffffff;
  --acc-bg:         #f0f4f8;
  --acc-text-light: rgba(255,255,255,0.5);
  --acc-space-md:   clamp(1rem, 2vw, 2rem);
  --acc-font-body:  'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --acc-font-code:  'Space Mono', 'SF Mono', Monaco, 'Courier New', monospace;
}

/* ── Upload Section ── */
.doc-checker-tool {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 28px;
  font-family: var(--acc-font-body);
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--acc-gray);
  background: var(--acc-bg);
  position: relative;
}

.doc-checker-tool .docac-upload-section {
  background: linear-gradient(135deg, rgba(26,34,52,0.97), rgba(15,23,42,0.97));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

/* ── Dropzone state aliases (drag/selected variants) ── */
.doc-checker-tool .docac-dropzone.docac-dropzone--drag {
  border-color: var(--acc-success);
  border-style: solid;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
  background: rgba(34, 197, 94, 0.06);
}

.doc-checker-tool .docac-dropzone.docac-dropzone--selected {
  border: 1.5px solid rgba(34, 197, 94, 0.5);
  background: rgba(34, 197, 94, 0.06);
}

.doc-checker-tool #docac-dropzone-label {
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.doc-checker-tool #docac-dropzone-label strong { color: #4ade80; }
.doc-checker-tool #docac-dropzone-label small { color: rgba(74, 222, 128, 0.75); font-size: 1.2rem; }

.doc-checker-tool #docac-file-remove {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doc-checker-tool #docac-file-remove:hover {
  background: rgba(248, 113, 113, 0.15);
  border-color: rgba(248, 113, 113, 0.3);
  color: #f87171;
}

.doc-checker-tool .docac-controls-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.doc-checker-tool #docac-check-btn,
.doc-checker-tool .docac-check-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 24px;
  border: none;
  border-radius: 6px;
  font-family: var(--acc-font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  background: linear-gradient(135deg, hsl(142, 71%, 45%), hsl(142, 71%, 34%));
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 8px hsla(142, 71%, 45%, 0.35);
}

.doc-checker-tool #docac-check-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, hsl(142, 71%, 36%), hsl(142, 71%, 45%));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px hsla(142, 71%, 45%, 0.45);
}

.doc-checker-tool #docac-check-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.doc-checker-tool .docac-country-select-wrap { position: relative; flex: 1; }

.doc-checker-tool #docac-country-select,
.doc-checker-tool .docac-country-select {
  width: 100%;
  height: 50px;
  padding: 0 32px 0 18px;
  border-radius: 6px;
  font-family: var(--acc-font-body);
  font-size: 13px;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: all 0.2s;
}

.doc-checker-tool #docac-country-select option { background: #1a2234; color: #fff; }

.doc-checker-tool .docac-select-arrow {
  position: absolute; right: 10px; top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.3);
  pointer-events: none;
  font-size: 11px;
}

.doc-checker-tool .docac-single-country {
  height: 50px; flex: 1;
  display: flex; align-items: center; gap: 8px;
  padding: 0 18px;
  border-radius: 6px;
  font-family: var(--acc-font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
}

/* Progress */
.doc-checker-tool #docac-progress {
  margin-top: 16px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(26,34,52,0.97), rgba(15,23,42,0.97));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.doc-checker-tool #docac-progress-header {
  font-size: 1.5rem; font-weight: 600; color: #fff;
  text-align: center; margin-bottom: 12px;
}

.doc-checker-tool .docac-progress-bar {
  width: 100%; height: 8px;
  background: rgba(255,255,255,0.10);
  border-radius: 4px; overflow: hidden; margin-bottom: 8px;
}

.doc-checker-tool #docac-progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  border-radius: 4px; transition: width 0.4s ease;
}

.doc-checker-tool #docac-progress-text {
  text-align: center; font-size: 1.3rem;
  color: rgba(255,255,255,0.5);
}

/* Error */
.doc-checker-tool #docac-error {
  margin-top: 14px; padding: 14px;
  background: rgba(220,38,38,0.08);
  border: 1px solid rgba(220,38,38,0.2);
  border-left: 2px solid rgb(220,38,38);
  border-radius: 0 6px 6px 0;
  color: #f87171; font-size: 1.4rem;
}

/* ── Results wrapper ── */
#docac-results {
  margin-top: 0;
}

/* ── AI Explain ── */
.doc-report .docac-ai-explain-wrap {
  margin-top: 10px;
}

.doc-report .docac-ai-explain-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: var(--acc-font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.4;
}

.doc-report .docac-ai-explain-btn:hover {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(99,102,241,0.3);
}

.doc-report .docac-ai-explain-btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

.doc-report .docac-ai-explanation {
  margin-top: 8px;
  background: rgba(99,102,241,0.08);
  border-left: 3px solid #6366f1;
  border-radius: 0 6px 6px 0;
}

.doc-report .docac-ai-loading {
  padding: 12px 16px;
  color: rgba(255,255,255,0.45);
  font-size: 1.3rem;
  font-style: italic;
}

.doc-report .docac-ai-text {
  padding: 12px 16px;
  font-size: 1.35rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
}

.doc-report .docac-ai-error {
  padding: 12px 16px;
  font-size: 1.3rem;
  color: #f87171;
}

/* ── Responsive additions ── */
@media (max-width: 768px) {
  .doc-checker-tool {
    padding: 8px !important;
  }
  .doc-checker-tool .docac-controls-row {
    flex-direction: column !important;
    gap: 8px !important;
  }
  .doc-checker-tool #docac-check-btn {
    width: 100% !important;
  }
  .doc-checker-tool .docac-country-select-wrap,
  .doc-checker-tool .docac-single-country {
    width: 100% !important;
  }
}
/* ============================================================
   DOCUMENT STRUCTURE PANEL
   ============================================================ */

.docac-struct-panel {
  background: linear-gradient(135deg, rgba(26,34,52,0.97), rgba(15,23,42,0.97));
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.docac-struct-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.docac-struct-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e2e8f0;
  font-size: 1.35rem;
  font-weight: 600;
}
.docac-struct-title svg { color: rgba(96,165,250,0.8); flex-shrink: 0; }
.docac-struct-collapse-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 5px;
  color: #94a3b8;
  font-size: 1.2rem;
  padding: 4px 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.docac-struct-collapse-btn:hover { background: rgba(255,255,255,0.12); color: #e2e8f0; }
.docac-struct-chevron { transition: transform 0.2s ease; }
.docac-struct-body { padding: 12px 0 4px; }
.docac-struct-section { margin-bottom: 8px; }
.docac-struct-section-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 18px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}
.docac-struct-section-header svg { color: #475569; flex-shrink: 0; }
.docac-struct-count {
  background: rgba(255,255,255,0.07);
  color: #94a3b8;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: 2px;
}
.docac-struct-section-issues {
  margin-left: auto;
  font-size: 1.05rem;
  font-weight: 500;
  color: #f59e0b;
  letter-spacing: 0;
  text-transform: none;
}
.docac-struct-items { padding: 2px 0 6px; }
.docac-struct-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  font-size: 1.3rem;
  color: #94a3b8;
  cursor: default;
  transition: background 0.15s ease;
  border-left: 3px solid transparent;
}
.docac-struct-item:hover { background: rgba(255,255,255,0.04); }
.docac-struct-item[data-issue-target] { cursor: pointer; }
.docac-struct-item[data-issue-target]:hover { background: rgba(255,255,255,0.07); color: #e2e8f0; }
.docac-struct-item--issue { border-left-color: rgba(220,38,38,0.5); color: #cbd5e1; }
.docac-struct-item--issue:hover { border-left-color: rgba(220,38,38,0.8); }
.docac-struct-h-level {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 18px;
  background: rgba(30,95,153,0.3);
  border: 1px solid rgba(30,95,153,0.4);
  border-radius: 3px;
  font-size: 1rem;
  font-weight: 700;
  color: rgb(96,165,250);
  flex-shrink: 0;
}
.docac-struct-item-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 400px;
}
.docac-struct-empty { color: #475569; font-style: italic; }
.docac-struct-dim { color: #475569; font-size: 1.1rem; }
.docac-struct-tag {
  background: rgba(180,83,9,0.15);
  border: 1px solid rgba(180,83,9,0.3);
  color: #f59e0b;
  font-size: 1rem;
  padding: 1px 6px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.docac-struct-ok { color: rgb(34,197,94); font-size: 1.2rem; margin-left: auto; }
.docac-struct-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 10px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
}
.docac-struct-badge--critical { background: rgba(220,38,38,0.15); border: 1px solid rgba(220,38,38,0.3); color: rgb(252,165,165); }
.docac-struct-badge--warning  { background: rgba(180,83,9,0.12);  border: 1px solid rgba(180,83,9,0.25);  color: #fbbf24; }
@keyframes docac-struct-pulse {
  0%   { background: rgba(30,95,153,0.0); }
  25%  { background: rgba(30,95,153,0.25); border-left-color: rgb(96,165,250); }
  75%  { background: rgba(30,95,153,0.15); }
  100% { background: rgba(30,95,153,0.0); }
}
.docac-struct-item--pulse, .docac-struct-slide-item--pulse { animation: docac-struct-pulse 2.5s ease forwards; }
@keyframes docac-issue-highlight {
  0%   { box-shadow: none; }
  20%  { box-shadow: 0 0 0 3px rgba(96,165,250,0.5); }
  80%  { box-shadow: 0 0 0 3px rgba(96,165,250,0.2); }
  100% { box-shadow: none; }
}
.docac-issue--highlight { animation: docac-issue-highlight 2s ease forwards; }
.docac-struct-items--slides {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
  padding: 8px 18px 12px;
}
.docac-struct-slide-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-left: 3px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  padding: 10px 12px;
  cursor: default;
  transition: background 0.15s ease;
}
.docac-struct-slide-item[data-issue-target] { cursor: pointer; }
.docac-struct-slide-item:hover { background: rgba(255,255,255,0.07); }
.docac-struct-slide-item.docac-struct-item--issue { border-left-color: rgba(220,38,38,0.5); }
.docac-struct-slide-num {
  width: 28px; height: 28px;
  border-radius: 5px;
  background: rgba(30,95,153,0.25);
  border: 1px solid rgba(30,95,153,0.3);
  color: rgb(96,165,250);
  font-size: 1.15rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.docac-struct-slide-info { flex: 1; min-width: 0; }
.docac-struct-slide-title { font-size: 1.25rem; font-weight: 500; color: #cbd5e1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.docac-struct-slide-meta { font-size: 1.05rem; color: #475569; margin-top: 2px; }
.docac-show-in-doc-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(30,95,153,0.12);
  border: 1px solid rgba(30,95,153,0.3);
  border-radius: 5px;
  color: rgb(96,165,250);
  font-size: 1.2rem;
  font-weight: 500;
  padding: 5px 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.docac-show-in-doc-btn:hover { background: rgba(30,95,153,0.22); border-color: rgba(30,95,153,0.5); color: rgb(147,197,253); }
.docac-struct-empty-msg { padding: 12px 18px; color: #475569; font-size: 1.25rem; }
@media (max-width: 640px) {
  .docac-struct-items--slides { grid-template-columns: 1fr; }
  .docac-struct-item-text { max-width: 200px; }
}
/* ============================================
   BIDIRECTIONAL SCROLL ANIMATIONS
   Structure ↔ Issue cross-linking highlights
   ============================================ */

/* Issue item highlight — triggered when clicking from Structure panel */
@keyframes docac-issue-highlight {
  0%   { box-shadow: 0 0 0 0 rgba(30, 95, 153, 0.0); background: transparent; }
  15%  { box-shadow: 0 0 0 4px rgba(30, 95, 153, 0.6); background: rgba(30, 95, 153, 0.12); }
  60%  { box-shadow: 0 0 0 4px rgba(30, 95, 153, 0.3); background: rgba(30, 95, 153, 0.07); }
  100% { box-shadow: 0 0 0 0 rgba(30, 95, 153, 0.0); background: transparent; }
}

.doc-checker-tool .issue-item.docac-issue--highlight,
.doc-report .issue-item.docac-issue--highlight {
  animation: docac-issue-highlight 2.2s ease-out forwards;
  border-radius: var(--acc-radius);
  position: relative;
  z-index: 2;
}

/* Structure item pulse — triggered when clicking "Show in Document" from issue */
@keyframes docac-struct-pulse {
  0%   { background: transparent; box-shadow: none; }
  15%  { background: rgba(34, 197, 94, 0.18); box-shadow: inset 3px 0 0 rgb(34, 197, 94); }
  55%  { background: rgba(34, 197, 94, 0.10); box-shadow: inset 3px 0 0 rgba(34, 197, 94, 0.6); }
  100% { background: transparent; box-shadow: none; }
}

.doc-checker-tool .docac-struct-item--pulse,
.doc-checker-tool .docac-struct-slide-item.docac-struct-item--pulse {
  animation: docac-struct-pulse 2.4s ease-out forwards;
  border-radius: var(--acc-radius);
}

/* Make structure items with data-issue-target look clickable */
.doc-checker-tool [data-issue-target] {
  cursor: pointer;
}
.doc-checker-tool [data-issue-target]:hover {
  background: rgba(30, 95, 153, 0.08) !important;
}
.doc-checker-tool [data-issue-target]:hover .docac-struct-item-text {
  color: rgba(255,255,255,0.95);
}

/* ============================================
   WHAT WE CHECK PANEL
   v1.0.0 - Detection transparency dropdown
   ============================================ */

.doc-checker-tool .docac-checks-wrap {
  margin-top: var(--acc-space-sm);
}

.doc-checker-tool .docac-checks-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: var(--acc-radius-pill);
  color: rgba(255,255,255,0.6);
  font-family: var(--acc-font-body);
  font-size: var(--acc-text-small);
  padding: 6px 12px 6px 10px;
  cursor: pointer;
  transition: all var(--acc-transition-fast);
  line-height: 1.4;
}
.doc-checker-tool .docac-checks-toggle:hover {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.88);
  border-color: rgba(255,255,255,0.2);
}
.doc-checker-tool .docac-checks-toggle:focus-visible {
  outline: 2px solid var(--acc-blue);
  outline-offset: 2px;
}
.doc-checker-tool .docac-checks-count {
  background: rgba(255,255,255,0.08);
  border-radius: var(--acc-radius-pill);
  padding: 1px 8px;
  font-size: var(--acc-text-xsmall);
  color: rgba(255,255,255,0.45);
  font-family: var(--acc-font-code);
}
.doc-checker-tool .docac-checks-chevron {
  transition: transform var(--acc-transition-fast);
  opacity: 0.45;
  flex-shrink: 0;
}

/* Panel */
.doc-checker-tool .docac-checks-panel {
  margin-top: 10px;
  background: rgba(8, 14, 32, 0.94);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--acc-radius-md);
  padding: 18px 20px;
}

/* Grid of categories */
.doc-checker-tool .docac-checks-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px 24px;
}

/* Category group */
.doc-checker-tool .docac-checks-cat-label {
  font-size: var(--acc-text-xsmall);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255,255,255,0.3);
  font-family: var(--acc-font-body);
  margin-bottom: 7px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.doc-checker-tool .docac-checks-cat-items {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Individual check row */
.doc-checker-tool .docac-check-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 7px;
  border-radius: var(--acc-radius);
  font-size: var(--acc-text-small);
  transition: background var(--acc-transition-fast);
}
.doc-checker-tool .docac-check-item:hover {
  background: rgba(255,255,255,0.04);
}
.doc-checker-tool .docac-check-item--disabled {
  opacity: 0.25;
}

/* Icons */
.doc-checker-tool .docac-check-icon {
  width: 15px;
  flex-shrink: 0;
  font-size: 1.05em;
  line-height: 1;
  text-align: center;
  font-weight: bold;
}
.doc-checker-tool .docac-check-icon--critical { color: #f87171; }
.doc-checker-tool .docac-check-icon--warning  { color: #fb923c; }
.doc-checker-tool .docac-check-icon--info     { color: #60a5fa; }
.doc-checker-tool .docac-check-icon--off      { color: rgba(255,255,255,0.2); font-weight: normal; }

/* Name */
.doc-checker-tool .docac-check-name {
  flex: 1;
  color: rgba(255,255,255,0.78);
  font-family: var(--acc-font-body);
  line-height: 1.3;
}
.doc-checker-tool .docac-check-item--disabled .docac-check-name {
  color: rgba(255,255,255,0.35);
}

/* WCAG badge */
.doc-checker-tool .docac-check-wcag {
  font-size: var(--acc-text-xsmall);
  font-family: var(--acc-font-code);
  color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.04);
  padding: 1px 5px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 520px) {
  .doc-checker-tool .docac-checks-list {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   STRUCTURE → ISSUE ANCHOR LINKS
   "Go to issue" arrow badge on hover
   ============================================ */

/* Badge wrapper */
.doc-checker-tool .docac-struct-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex-shrink: 0;
}

/* Arrow indicator — hidden by default, shows on row hover */
.doc-checker-tool .docac-struct-goto {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: rgba(30, 95, 153, 0.0);
  color: rgba(255,255,255,0.0);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

/* Show arrow on hover of the whole row */
.doc-checker-tool [data-issue-target]:hover .docac-struct-goto {
  background: rgba(30, 95, 153, 0.35);
  color: rgba(255,255,255,0.9);
  transform: translateY(1px);
}

/* Whole row: cursor + subtle hover background */
.doc-checker-tool [data-issue-target] {
  cursor: pointer;
  transition: background 0.15s ease;
}
.doc-checker-tool [data-issue-target]:hover {
  background: rgba(30, 95, 153, 0.07) !important;
}

/* Issue badge count text */
.doc-checker-tool .docac-struct-badge {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 100px;
  font-weight: 600;
  white-space: nowrap;
}
.doc-checker-tool .docac-struct-badge--critical {
  background: rgba(220, 38, 38, 0.2);
  color: #fca5a5;
}
.doc-checker-tool .docac-struct-badge--warning {
  background: rgba(180, 83, 9, 0.2);
  color: #fcd34d;
}

/* Tooltip on hover — "Click to jump to issue" */
.doc-checker-tool [data-issue-target]::after {
  content: 'Click to jump to issue';
  position: absolute;
  right: 0;
  top: -28px;
  background: rgba(26, 34, 52, 0.97);
  color: rgba(255,255,255,0.8);
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 10;
  border: 1px solid rgba(255,255,255,0.08);
}
.doc-checker-tool [data-issue-target] {
  position: relative;
}
.doc-checker-tool [data-issue-target]:hover::after {
  opacity: 1;
}
/* ============================================
   DOCUMENT PROPERTIES SECTION
   Top section in Structure panel
   ============================================ */

.doc-checker-tool .docac-struct-section--props {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 4px;
  padding-bottom: 4px;
}

.doc-checker-tool .docac-struct-item--prop {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: var(--acc-text-small, 1.3rem);
}

.doc-checker-tool .docac-prop-icon {
  font-size: 13px;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

.doc-checker-tool .docac-prop-label {
  color: rgba(255,255,255,0.45);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  min-width: 62px;
  flex-shrink: 0;
}

.doc-checker-tool .docac-prop-value {
  flex: 1;
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
  font-family: var(--acc-font-code, monospace);
  font-size: 12px;
}

.doc-checker-tool .docac-prop-missing {
  flex: 1;
  color: rgba(220, 38, 38, 0.7);
  font-style: italic;
  font-size: 12px;
}


/* ═══════════════════════════════════════════════════════════
   AI SUMMARY BOX — docac-ai-summary-*
   Matches Dark Inside v24.0.0 — same language as AI Explain
   ═══════════════════════════════════════════════════════════ */

/* ── Wrapper ── */
.doc-report .docac-ai-summary-wrap {
  margin: 0 0 16px;
}

/* ── Main button — dark card + purple left border ── */
.doc-report .docac-ai-summary-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 20px;
  background: var(--acc-card-flat);
  border: var(--acc-card-border);
  border-left: 3px solid #7c3aed;
  border-radius: var(--acc-card-radius);
  cursor: pointer;
  color: rgba(255, 255, 255, 0.85);
  text-align: left;
  transition: all 0.2s ease;
  font-family: var(--acc-font-body);
}
.doc-report .docac-ai-summary-btn:hover:not(:disabled) {
  background: rgba(26, 34, 52, 0.98);
  border-left-color: #a78bfa;
  color: #fff;
}
.doc-report .docac-ai-summary-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.doc-report .docac-ai-summary-btn[aria-expanded="true"] {
  border-radius: var(--acc-card-radius) var(--acc-card-radius) 0 0;
  border-left-color: #a78bfa;
  border-bottom-color: transparent;
}

/* ── Icon circle ── */
.doc-report .docac-ai-summary-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 50%;
  flex-shrink: 0;
  color: #a78bfa;
}

/* ── Labels ── */
.doc-report .docac-ai-summary-btn-label {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.doc-report .docac-ai-summary-btn-title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}
.doc-report .docac-ai-summary-btn-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}

/* ── CTA pill ── */
.doc-report .docac-ai-summary-btn-cta {
  font-size: 12px;
  font-weight: 600;
  color: #a78bfa;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.25);
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s ease;
}
.doc-report .docac-ai-summary-btn:hover:not(:disabled) .docac-ai-summary-btn-cta {
  background: rgba(124, 58, 237, 0.2);
  border-color: rgba(124, 58, 237, 0.4);
  color: #c4b5fd;
}

/* ── Expandable box — same dark card as AI Explain ── */
.doc-report .docac-ai-summary-box {
  background: rgba(26, 34, 52, 0.95);
  border: var(--acc-card-border);
  border-top: none;
  border-left: 3px solid #7c3aed;
  border-radius: 0 0 var(--acc-card-radius) var(--acc-card-radius);
  padding: 18px 20px;
}

/* ── Loading ── */
.doc-report .docac-ai-summary-loading {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  padding: 4px 0;
}

/* ── Header inside box ── */
.doc-report .docac-ai-summary-header {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  color: #c4b5fd;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.doc-report .docac-ai-summary-header svg {
  stroke: #a78bfa;
  flex-shrink: 0;
}

/* ── Summary text ── */
.doc-report .docac-ai-summary-text {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}
.doc-report .docac-ai-summary-label {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 12px;
  margin-bottom: 3px;
}
.doc-report .docac-ai-summary-label:first-child {
  margin-top: 0;
}
.doc-report .docac-ai-summary-cached {
  margin-left: 8px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

/* ── Error ── */
.doc-report .docac-ai-summary-error {
  font-size: 13px;
  color: rgba(248, 113, 113, 0.85);
/* ═══════════════════════════════════════════════════════════════════
   LUCIDE SVG ICONS — base styles for inline SVG icons
   Replaces all emoji with consistent Lucide icons
   ═══════════════════════════════════════════════════════════════════ */

.docac-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Inside text spans — slight offset for optical alignment */
.docac-qs-icon .docac-icon,
.docac-cost-icon .docac-icon,
.docac-manual-icon .docac-icon,
.authoring-tool-icon .docac-icon {
  vertical-align: -2px;
}

/* Structure panel icons */
.docac-struct-prop-icon .docac-icon {
  vertical-align: -2px;
  opacity: 0.7;
}

/* Compliance icon */
.compliance-icon .docac-icon {
  vertical-align: -1px;
}

/* OK checkmark in structure panel */
.docac-struct-ok .docac-icon {
  stroke: #22c55e;
}
