    /* Main Container: Full-Bleed Width & Flex-Grow to fill viewport without overflow */
    .dir-main-content {
      width: 100%;
      margin: 0 auto;
      padding: 10px 24px;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      gap: 0;
      flex: 1;
      min-height: 0;
      overflow: hidden;
    }

    /* Hide Report/Suggest button on Dashboard / Directory Hub */
    body.dashboard-mode #feedback-btn {
      display: none !important;
    }

    /* Spatial Command Center Card - Balanced Viewport Sizing */
    .dir-map-card {
      flex: 1;
      background: radial-gradient(circle at 50% 30%, #111d33 0%, #0b1424 65%, #070d18 100%);
      border: 1px solid #273852;
      border-radius: 12px;
      position: relative;
      overflow: visible;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
      display: flex;
      flex-direction: column;
    }

    /* Integrated Omnibar Toolbar in Map Header */
    .dir-map-header {
      padding: 14px 22px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      border-bottom: 1px solid #1e293b;
      background: rgba(11, 19, 34, 0.95);
      backdrop-filter: blur(10px);
      flex-wrap: wrap;
      z-index: 100;
      position: relative;
    }

    .dir-omnibar-left {
      display: flex;
      align-items: center;
      gap: 14px;
      flex-wrap: wrap;
      flex-grow: 1;
    }

    /* Standout Search Input */
    .dir-search-box-row {
      position: relative;
      width: 330px;
      flex-shrink: 0;
    }

    .dir-search-icon {
      position: absolute;
      left: 12px;
      top: 50%;
      transform: translateY(-50%);
      color: #60a5fa;
      font-size: 0.95rem;
      pointer-events: none;
      transition: color 0.2s ease, transform 0.2s ease;
    }

    .dir-search-input {
      width: 100%;
      background-color: #070d18;
      border: 1.5px solid rgba(96, 165, 250, 0.35);
      border-radius: 6px;
      padding: 9px 34px 9px 36px;
      color: #f8fafc;
      font-size: 0.88rem;
      outline: none;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      box-sizing: border-box;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), inset 0 1px 2px rgba(0, 0, 0, 0.6), 0 0 14px rgba(37, 99, 235, 0.1);
    }

    .dir-search-input:hover {
      border-color: rgba(96, 165, 250, 0.6);
      background-color: #0c1527;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 0 16px rgba(59, 130, 246, 0.2);
    }

    .dir-search-input:focus {
      border-color: #3b82f6;
      box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.35), 0 0 20px rgba(59, 130, 246, 0.3);
      background-color: #0a1324;
    }

    .dir-search-box-row:focus-within .dir-search-icon {
      color: #93c5fd;
      transform: translateY(-50%) scale(1.1);
    }

    .dir-search-input::placeholder {
      color: #94a3b8;
      font-size: 0.86rem;
      transition: color 0.2s ease;
    }

    .dir-search-input:focus::placeholder {
      color: #64748b;
    }

    .dir-search-clear {
      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      color: #94a3b8;
      cursor: pointer;
      font-size: 0.88rem;
      padding: 4px;
      display: none;
    }

    .dir-search-clear:hover {
      color: #f8fafc;
    }

    /* Filter Category Pills */
    .dir-filter-pills {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-wrap: wrap;
    }

    .dir-filter-pill {
      background-color: #131d2e;
      border: 1px solid #334155;
      color: #cbd5e1;
      font-size: 0.8rem;
      font-weight: 600;
      padding: 7px 12px;
      border-radius: 6px;
      cursor: pointer;
      transition: all 0.15s ease;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      white-space: nowrap;
    }

    .dir-filter-pill:hover {
      background-color: #1e2c42;
      border-color: #475569;
      color: #f8fafc;
    }

    .dir-filter-pill.active {
      background-color: #2563eb;
      border-color: #3b82f6;
      color: #ffffff;
      box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
    }

    .dir-filter-pill-count {
      font-size: 0.72rem;
      padding: 1px 5px;
      border-radius: 4px;
      background-color: rgba(0, 0, 0, 0.35);
      color: #cbd5e1;
      font-weight: 700;
    }

    .dir-filter-pill.active .dir-filter-pill-count {
      background-color: rgba(255, 255, 255, 0.25);
      color: #ffffff;
    }

    /* Right Side View Switcher & Legend */
    .dir-omnibar-right {
      display: flex;
      align-items: center;
      gap: 16px;
      flex-shrink: 0;
    }

    .dir-view-switch-group {
      display: inline-flex;
      background-color: #070d18;
      border: 1px solid #334155;
      border-radius: 6px;
      padding: 3px;
      gap: 2px;
    }

    .dir-view-switch-btn {
      background: none;
      border: none;
      color: #94a3b8;
      font-size: 0.78rem;
      font-weight: 600;
      padding: 5px 10px;
      border-radius: 4px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      transition: all 0.15s ease;
    }

    .dir-view-switch-btn:hover {
      color: #f8fafc;
    }

    .dir-view-switch-btn.active {
      background-color: #1e293b;
      color: #60a5fa;
      box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    }

    /* Directory Omnibar Multi-County Suggestions */
    .dir-suggestions-dropdown {
      position: absolute;
      top: calc(100% + 6px);
      left: 0;
      width: 100%;
      min-width: 380px;
      max-height: 420px;
      overflow-y: auto;
      background-color: #0b1322;
      border: 1px solid #334155;
      border-radius: 8px;
      box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.8), 0 0 20px rgba(59, 130, 246, 0.2);
      z-index: 9999;
      display: none;
    }

    .dir-suggestion-item {
      padding: 10px 14px;
      border-bottom: 1px solid rgba(51, 65, 85, 0.5);
      cursor: pointer;
      transition: background-color 0.12s ease;
    }

    .dir-suggestion-item:last-child {
      border-bottom: none;
    }

    .dir-suggestion-item:hover,
    .dir-suggestion-item.highlighted {
      background-color: #1e293b;
    }

    .dir-suggestion-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      margin-bottom: 3px;
    }

    .dir-suggestion-owner {
      font-size: 0.84rem;
      font-weight: 700;
      color: #f8fafc;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .suggestion-county-badge {
      display: inline-flex;
      align-items: center;
      font-size: 0.68rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      padding: 2px 7px;
      border-radius: 4px;
      background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
      color: #ffffff;
      border: 1px solid rgba(96, 165, 250, 0.4);
      flex-shrink: 0;
    }

    .dir-suggestion-details {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      font-size: 0.76rem;
      color: #94a3b8;
    }

    .dir-suggestion-situs {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .dir-suggestion-account {
      font-family: ui-monospace, monospace;
      font-size: 0.72rem;
      color: #60a5fa;
      flex-shrink: 0;
    }

    .dir-map-legend {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 0.76rem;
      color: #94a3b8;
    }

    .legend-item {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .legend-dot {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      display: inline-block;
    }

    .legend-dot.daily {
      background-color: #059669;
      border: 1.5px solid #a7f3d0;
      box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
    }

    .legend-dot.yearly,
    .legend-dot.active {
      background-color: #2563eb;
      border: 1.5px solid #bfdbfe;
      box-shadow: 0 0 8px rgba(37, 99, 235, 0.8);
    }

    .legend-dot.inactive {
      background-color: #16243b;
      border: 1px solid #2e4469;
    }

    /* Balanced Interactive SVG Viewport with Right Offset for Inspector */
    .dir-svg-container {
      position: relative;
      width: 100%;
      flex: 1;
      min-height: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 16px 325px 16px 24px;
      box-sizing: border-box;
      overflow: hidden;
      background: 
        radial-gradient(circle 800px at 60% 40%, rgba(37, 99, 235, 0.08), transparent 70%),
        radial-gradient(circle 500px at 20% 70%, rgba(14, 165, 233, 0.06), transparent 60%),
        #0b1322;
    }

    .ok-state-svg {
      width: 100%;
      height: 100%;
      max-width: 98%;
      max-height: 98%;
      object-fit: contain;
      filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.65));
    }

    /* SVG County Paths - High Contrast Pop */
    .ok-county-path {
      transition: fill 0.18s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.18s ease, stroke-width 0.18s ease, opacity 0.2s ease, filter 0.18s ease;
      stroke-linejoin: round;
      stroke-linecap: round;
      paint-order: fill stroke;
    }

    /* Daily Sync Active County (Beckham) - Vibrant Emerald Green */
    .ok-county-active.ok-county-daily,
    .ok-county-active[data-key="beckham"] {
      fill: #059669;
      stroke: #a7f3d0;
      stroke-width: 1.3;
      cursor: pointer;
      filter: drop-shadow(0 2px 10px rgba(16, 185, 129, 0.55));
    }

    .ok-county-active.ok-county-daily:hover,
    .ok-county-active.ok-county-daily.map-highlight,
    .ok-county-active[data-key="beckham"]:hover,
    .ok-county-active[data-key="beckham"].map-highlight {
      fill: #10b981;
      stroke: #ffffff;
      stroke-width: 2.4;
      filter: drop-shadow(0 0 16px rgba(16, 185, 129, 0.95));
    }

    .ok-county-active.ok-county-daily.county-selected,
    .ok-county-active[data-key="beckham"].county-selected {
      fill: #34d399;
      stroke: #ffffff;
      stroke-width: 2.8;
      filter: drop-shadow(0 0 22px rgba(52, 211, 153, 1));
    }

    /* Yearly Active Counties - High Contrast Blue */
    .ok-county-active,
    .ok-county-active.ok-county-yearly {
      fill: #2563eb;
      stroke: #bfdbfe;
      stroke-width: 1.3;
      cursor: pointer;
      filter: drop-shadow(0 2px 10px rgba(37, 99, 235, 0.55));
    }

    .ok-county-active:hover,
    .ok-county-active.map-highlight,
    .ok-county-active.ok-county-yearly:hover,
    .ok-county-active.ok-county-yearly.map-highlight {
      fill: #3b82f6;
      stroke: #ffffff;
      stroke-width: 2.4;
      filter: drop-shadow(0 0 16px rgba(59, 130, 246, 0.95));
    }

    .ok-county-active.county-selected,
    .ok-county-active.ok-county-yearly.county-selected {
      fill: #60a5fa;
      stroke: #ffffff;
      stroke-width: 2.8;
      filter: drop-shadow(0 0 22px rgba(96, 165, 250, 1));
    }

    .ok-county-inactive {
      fill: #16243b;
      stroke: #2e4469;
      stroke-width: 1.15;
      cursor: pointer;
    }

    .ok-county-inactive:hover,
    .ok-county-inactive.map-highlight {
      fill: #223759;
      stroke: #93c5fd;
      stroke-width: 2.0;
      filter: drop-shadow(0 0 12px rgba(147, 197, 253, 0.6));
    }

    .ok-county-inactive.county-selected {
      fill: #274068;
      stroke: #93c5fd;
      stroke-width: 2.6;
      filter: drop-shadow(0 0 18px rgba(147, 197, 253, 0.8));
    }

    .ok-county-dimmed {
      opacity: 0.22 !important;
      filter: grayscale(85%) !important;
    }

    /* SVG County Labels - Legible, Centered, Cartographic Halo */
    .ok-county-labels {
      pointer-events: none;
      user-select: none;
    }

    .ok-county-label {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      font-size: 5.6px;
      font-weight: 700;
      text-anchor: middle;
      dominant-baseline: central;
      pointer-events: none;
      user-select: none;
      fill: #ffffff;
      stroke: #0a0f1d;
      stroke-width: 1.6px;
      paint-order: stroke fill;
      stroke-linejoin: round;
      letter-spacing: 0.15px;
      transition: opacity 0.2s ease, fill 0.18s ease, stroke-width 0.18s ease;
    }

    /* Subdued style for inactive counties */
    .ok-county-label.label-inactive {
      fill: #cbd5e1;
      stroke: #070b14;
      stroke-width: 1.5px;
      font-weight: 600;
      opacity: 0.88;
    }

    /* Active counties pop with crisp high contrast */
    .ok-county-label.label-active {
      fill: #ffffff;
      stroke: #021430;
      stroke-width: 2.0px;
      font-weight: 800;
      opacity: 1;
    }

    .ok-county-label.label-daily {
      fill: #ffffff;
      stroke: #022018;
      stroke-width: 2.0px;
      font-weight: 800;
      opacity: 1;
    }

    /* Small font for narrow / long names */
    .ok-county-label.label-small {
      font-size: 4.5px;
      stroke-width: 1.3px;
    }

    /* Compact font for Pottawatomie */
    .ok-county-label.label-compact {
      font-size: 4.1px;
      stroke-width: 1.25px;
      letter-spacing: -0.07px;
    }

    .ok-county-label.label-compact.map-highlight,
    .ok-county-label.label-compact.county-selected {
      font-size: 4.1px !important;
      stroke-width: 1.8px !important;
      letter-spacing: -0.07px !important;
    }

    /* Vertical label for Washington County */
    .ok-county-label.label-vertical {
      font-size: 4.6px;
      letter-spacing: 0.4px;
    }

    /* Hover & Selected states */
    .ok-county-label.map-highlight,
    .ok-county-label.county-selected {
      fill: #ffffff !important;
      stroke: #000000 !important;
      stroke-width: 2.4px !important;
      font-weight: 800 !important;
      opacity: 1 !important;
    }

    /* Dimmed state during search filtering */
    .ok-county-label.label-dimmed {
      opacity: 0.12 !important;
    }

    /* Top Outline Overlays - Always Rendered on Top of SVG Canvas */
    .county-hover-overlay,
    .county-selected-overlay {
      pointer-events: none;
      fill: none;
      stroke-linejoin: round;
      stroke-linecap: round;
    }

    .county-hover-overlay {
      stroke: #ffffff;
      stroke-width: 2.5;
      filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.9));
    }

    .county-hover-overlay.hover-inactive {
      stroke: #93c5fd;
      stroke-width: 2.2;
      filter: drop-shadow(0 0 10px rgba(147, 197, 253, 0.7));
    }

    .county-selected-overlay.selected-daily {
      stroke: #ffffff;
      stroke-width: 3.0;
      filter: drop-shadow(0 0 20px rgba(52, 211, 153, 1));
    }

    .county-selected-overlay.selected-yearly {
      stroke: #ffffff;
      stroke-width: 3.0;
      filter: drop-shadow(0 0 20px rgba(96, 165, 250, 1));
    }

    .county-selected-overlay.selected-inactive {
      stroke: #93c5fd;
      stroke-width: 2.8;
      filter: drop-shadow(0 0 16px rgba(147, 197, 253, 0.9));
    }

    /* Floating Stats Overlay (Bottom Left Panhandle Void) */
    .dir-map-stats-overlay {
      position: absolute;
      left: 20px;
      bottom: 16px;
      display: flex;
      flex-direction: column;
      gap: 6px;
      z-index: 10;
      width: 215px;
      max-width: 215px;
      pointer-events: none;
    }

    .dir-map-stat-item {
      background-color: rgba(11, 19, 34, 0.92);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid #334155;
      border-radius: 8px;
      padding: 8px 12px;
      text-align: left;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
      pointer-events: auto;
      width: 100%;
      box-sizing: border-box;
    }

    .dir-map-stat-label {
      font-size: 0.68rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: #94a3b8;
      display: block;
      margin-bottom: 2px;
    }

    .dir-map-stat-val {
      font-size: 1.15rem;
      font-weight: 700;
      color: #f8fafc;
      line-height: 1.2;
      letter-spacing: -0.01em;
      margin-bottom: 1px;
      font-variant-numeric: tabular-nums;
      font-feature-settings: "tnum";
      white-space: nowrap;
    }

    .dir-map-stat-sub {
      font-size: 0.7rem;
      color: #64748b;
      white-space: nowrap;
    }

    /* Interactive County Inspection Slide Card (Top Right of Map) */
    .dir-county-inspector-card {
      position: absolute;
      top: 16px;
      right: 20px;
      z-index: 25;
      width: 295px;
      min-height: 242px;
      height: auto;
      background: rgba(11, 19, 34, 0.94);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border: 1px solid #334155;
      border-radius: 10px;
      padding: 14px 18px;
      box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 8px;
      box-sizing: border-box;
      animation: inspectorIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @keyframes inspectorIn {
      from { transform: translateY(-8px) scale(0.97); opacity: 0; }
      to { transform: translateY(0) scale(1); opacity: 1; }
    }

    .inspector-county-name {
      font-size: 1.25rem;
      font-weight: 700;
      color: #f8fafc;
      margin: 0 0 2px 0;
      letter-spacing: -0.01em;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 100%;
    }

    .inspector-subdomain {
      font-size: 0.74rem;
      color: #60a5fa;
      font-family: ui-monospace, monospace;
    }

    .inspector-badge {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 0.7rem;
      font-weight: 600;
      padding: 3px 7px;
      border-radius: 4px;
      white-space: nowrap;
    }

    .inspector-badge.active {
      background-color: rgba(16, 185, 129, 0.15);
      border: 1px solid rgba(16, 185, 129, 0.3);
      color: #34d399;
    }

    .inspector-badge.inactive {
      background-color: rgba(148, 163, 184, 0.1);
      border: 1px solid rgba(148, 163, 184, 0.25);
      color: #94a3b8;
    }

    .inspector-stat-row {
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #070d18;
      border: 1px solid #1e293b;
      border-radius: 6px;
      padding: 8px 12px;
      text-align: center;
    }

    .inspector-stat-val {
      font-size: 1.02rem;
      font-weight: 700;
      color: #f8fafc;
      font-family: ui-monospace, monospace;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap;
    }

    .inspector-tags {
      display: flex;
      flex-wrap: wrap;
      align-content: flex-start;
      gap: 5px;
      height: 52px;
      max-height: 52px;
      overflow: hidden;
    }

    .inspector-tag {
      font-size: 0.68rem;
      font-weight: 500;
      padding: 3px 7px;
      border-radius: 4px;
      background-color: #1e293b;
      border: 1px solid #334155;
      color: #cbd5e1;
      line-height: 1.3;
      white-space: nowrap;
      display: inline-flex;
      align-items: center;
      gap: 5px;
    }

    .inspector-tag.sync-daily {
      background-color: rgba(16, 185, 129, 0.15);
      border-color: rgba(16, 185, 129, 0.4);
      color: #34d399;
      font-weight: 600;
    }

    .inspector-tag.sync-yearly {
      background-color: rgba(37, 99, 235, 0.15);
      border-color: rgba(59, 130, 246, 0.4);
      color: #60a5fa;
      font-weight: 600;
    }

    .inspector-tag.value-data,
    .inspector-tag.cama {
      background-color: rgba(59, 130, 246, 0.15);
      border-color: rgba(96, 165, 250, 0.35);
      color: #93c5fd;
      font-weight: 600;
    }

    .inspector-tag.property-lines {
      background-color: rgba(148, 163, 184, 0.12);
      border-color: rgba(148, 163, 184, 0.28);
      color: #cbd5e1;
      font-weight: 500;
    }

    .inspector-tag.no-data {
      background-color: rgba(239, 68, 68, 0.12);
      border-color: rgba(239, 68, 68, 0.3);
      color: #fca5a5;
      font-weight: 600;
    }

    .inspector-launch-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: 100%;
      padding: 11px 16px;
      border-radius: 6px;
      font-size: 0.9rem;
      font-weight: 700;
      text-decoration: none;
      cursor: pointer;
      transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
      box-sizing: border-box;
      border: none;
      letter-spacing: 0.01em;
    }

    .inspector-launch-btn i {
      transition: transform 0.18s ease;
    }

    .inspector-launch-btn.active {
      background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
      color: #ffffff;
      border: 1.5px solid #60a5fa;
      animation: ctaPulse 2.2s infinite cubic-bezier(0.4, 0, 0.6, 1);
    }

    @keyframes ctaPulse {
      0%, 100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.55), 0 2px 10px rgba(0, 0, 0, 0.3);
        border-color: #60a5fa;
      }
      50% {
        box-shadow: 0 0 0 7px rgba(59, 130, 246, 0), 0 0 22px rgba(96, 165, 250, 0.65);
        border-color: #bfdbfe;
      }
    }

    .inspector-launch-btn.active:hover {
      background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
      border-color: #ffffff;
      transform: translateY(-1px);
      box-shadow: 0 6px 22px rgba(37, 99, 235, 0.65);
      animation: none;
    }

    .inspector-launch-btn.active:hover i {
      transform: translate(2px, -2px);
    }

    .inspector-launch-btn.inactive {
      background-color: #1e293b;
      color: #cbd5e1;
      border: 1px solid #334155;
    }

    .inspector-launch-btn.inactive:hover {
      background-color: #2b3a4f;
      color: #ffffff;
      border-color: #475569;
    }

    /* Compact Directory Table View */
    #dir-table-view {
      width: 100%;
      display: none;
      padding: 16px 22px;
      box-sizing: border-box;
      flex: 1;
      overflow-y: auto;
      min-height: 0;
    }

    .dir-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.86rem;
      text-align: left;
    }

    .dir-table th {
      padding: 10px 14px;
      background-color: #070d18;
      color: #94a3b8;
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      border-bottom: 1px solid #1e293b;
    }

    .dir-table td {
      padding: 12px 14px;
      border-bottom: 1px solid #1e293b;
      color: #cbd5e1;
      vertical-align: middle;
    }

    .dir-table tr:hover td {
      background-color: rgba(30, 41, 59, 0.4);
      color: #f8fafc;
    }

    .dir-table-name {
      font-weight: 600;
      color: #f8fafc;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .dir-table-mobile-tags {
      display: none;
      gap: 4px;
      flex-wrap: nowrap;
      margin-top: 4px;
    }

    .dir-table-link-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 0.78rem;
      font-weight: 600;
      padding: 6px 12px;
      border-radius: 5px;
      background-color: #1e293b;
      border: 1px solid #334155;
      color: #60a5fa;
      text-decoration: none;
      transition: all 0.15s ease;
    }

    .dir-table-link-btn:hover {
      background-color: #2563eb;
      border-color: #3b82f6;
      color: #ffffff;
    }

    /* ========================================================= */
    /* DIRECTORY DASHBOARD & SVG MAP - RESPONSIVE MOBILE STYLES  */
    /* ========================================================= */
    @media (max-width: 900px) {
      html.dashboard-mode,
      body.dashboard-mode {
        overflow-x: hidden !important;
        overflow-y: auto !important;
        height: auto !important;
        min-height: 100% !important;
        touch-action: pan-y !important;
        -webkit-overflow-scrolling: touch !important;
      }

      #directory-container {
        height: auto !important;
        min-height: 100vh !important;
        max-height: none !important;
        overflow-x: hidden !important;
        overflow-y: visible !important;
        touch-action: pan-y !important;
        display: flex !important;
        flex-direction: column !important;
      }

      .dir-navbar-inner {
        padding: 10px 14px !important;
        gap: 8px !important;
      }

      .dir-brand-title {
        font-size: 1.0rem !important;
        gap: 6px !important;
      }

      .dir-brand-badge {
        display: none !important;
      }

      .dir-nav-btn {
        padding: 6px 11px !important;
        font-size: 0.78rem !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
      }

      .dir-nav-btn-text-full {
        display: none !important;
      }

      .dir-nav-btn-text-short {
        display: inline !important;
      }

      .dir-main-content {
        padding: 8px 10px 32px 10px !important;
        overflow: visible !important;
        flex: none !important;
        height: auto !important;
        max-height: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
      }

      .dir-map-card {
        min-height: unset !important;
        flex: none !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        border-radius: 10px !important;
      }

      .dir-map-header {
        padding: 12px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
      }

      .dir-omnibar-left {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        flex-grow: 0 !important;
      }

      .dir-search-box-row {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
      }

      .dir-search-input {
        width: 100% !important;
        box-sizing: border-box !important;
        font-size: 0.9rem !important;
        padding: 10px 34px 10px 36px !important;
      }

      .dir-suggestions-dropdown {
        width: 100% !important;
        min-width: unset !important;
        left: 0 !important;
        right: 0 !important;
        box-sizing: border-box !important;
      }

      .dir-filter-pills {
        width: 100% !important;
        display: flex !important;
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        gap: 6px !important;
        padding-bottom: 4px !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
      }

      .dir-filter-pills::-webkit-scrollbar {
        display: none !important;
      }

      .dir-filter-pill {
        flex-shrink: 0 !important;
        font-size: 0.78rem !important;
        padding: 6px 11px !important;
        white-space: nowrap !important;
      }

      .dir-omnibar-right {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        padding-top: 8px !important;
        border-top: 1px solid rgba(51, 65, 85, 0.4) !important;
      }

      .dir-view-switch-group {
        display: flex !important;
        width: 100% !important;
        box-sizing: border-box !important;
      }

      .dir-view-switch-btn {
        flex: 1 !important;
        justify-content: center !important;
        padding: 7px 12px !important;
        font-size: 0.82rem !important;
      }

      .dir-map-legend {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 12px !important;
        font-size: 0.72rem !important;
        flex-wrap: wrap !important;
      }

      /* Stacked SVG Map Viewport with Vertical Natural Flow */
      /* Stacked SVG Map Viewport with Vertical Natural Flow */
      .dir-svg-container {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        min-height: unset !important;
        display: flex;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        padding: 14px 12px !important;
        box-sizing: border-box !important;
        gap: 14px !important;
        overflow: visible !important;
        background: radial-gradient(circle 800px at 50% 20%, rgba(37, 99, 235, 0.08), transparent 70%), #0b1322 !important;
      }

      .dir-svg-container[style*="display: none"] {
        display: none !important;
      }

      .ok-state-svg {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 240px !important;
        aspect-ratio: 750 / 364 !important;
        margin: 0 auto !important;
        order: 1 !important;
        display: block !important;
        flex-shrink: 0 !important;
      }

      /* Inspector Slide Card Sits Under the SVG Map */
      .dir-county-inspector-card {
        position: relative !important;
        top: unset !important;
        right: unset !important;
        bottom: unset !important;
        left: unset !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: none !important;
        margin: 0 !important;
        order: 2 !important;
        box-sizing: border-box !important;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5) !important;
        padding: 14px 16px !important;
        gap: 10px !important;
        animation: none !important;
      }

      .inspector-header {
        width: 100% !important;
      }

      .inspector-county-name {
        font-size: 1.2rem !important;
      }

      .inspector-subdomain {
        font-size: 0.76rem !important;
      }

      .inspector-stat-row {
        padding: 8px 12px !important;
      }

      .inspector-stat-val {
        font-size: 0.98rem !important;
      }

      .inspector-tags {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        gap: 6px !important;
      }

      .inspector-tag {
        font-size: 0.72rem !important;
        padding: 4px 8px !important;
      }

      .inspector-launch-btn {
        width: 100% !important;
        padding: 12px 16px !important;
        font-size: 0.92rem !important;
        border-radius: 6px !important;
      }

      /* Stats Overlay Sits Under Inspector Card */
      .dir-map-stats-overlay {
        position: relative !important;
        left: unset !important;
        bottom: unset !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        order: 3 !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        box-sizing: border-box !important;
        pointer-events: auto !important;
      }

      .dir-map-stat-item {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 10px 12px !important;
        min-width: 0 !important;
        overflow: hidden !important;
      }

      .dir-map-stat-label {
        font-size: 0.66rem !important;
      }

      .dir-map-stat-val {
        font-size: 0.94rem !important;
        white-space: normal !important;
        word-break: normal !important;
        line-height: 1.25 !important;
      }

      .dir-map-stat-sub {
        font-size: 0.68rem !important;
      }

      #dir-map-tooltip {
        display: none !important;
      }

      /* Table View on Mobile */
      #dir-table-view {
        overflow-x: hidden !important;
        overflow-y: visible !important;
        padding: 10px 4px 40px 4px !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-y !important;
        height: auto !important;
        max-height: none !important;
        flex: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
      }

      .dir-table {
        width: 100% !important;
        min-width: 0 !important;
        table-layout: auto !important;
      }

      .col-hide-mobile {
        display: none !important;
      }

      .dir-table-mobile-tags {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
        margin-top: 4px !important;
      }

      .dir-table th, .dir-table td {
        padding: 8px 6px !important;
      }

      .dir-table-name {
        font-size: 0.84rem !important;
        gap: 5px !important;
      }

      .dir-table-link-btn {
        padding: 5px 8px !important;
        font-size: 0.72rem !important;
        gap: 4px !important;
      }
    }

    @media (max-width: 540px) {
      .dir-main-content {
        padding: 6px 8px 24px 8px !important;
      }

      .dir-map-card {
        border-radius: 8px !important;
      }

      .dir-map-header {
        padding: 10px !important;
        gap: 10px !important;
      }

      .dir-svg-container {
        padding: 10px 8px !important;
        gap: 10px !important;
      }

      .ok-state-svg {
        max-height: 210px !important;
      }

      .dir-county-inspector-card {
        padding: 12px 14px !important;
      }

      .inspector-county-name {
        font-size: 1.1rem !important;
      }

      .dir-map-stats-overlay {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
      }

      .dir-map-stat-item {
        padding: 8px 10px !important;
      }

      .dir-map-stat-val {
        font-size: 0.88rem !important;
      }

      .dir-map-stat-sub {
        font-size: 0.64rem !important;
      }
    }

    @media (max-width: 380px) {
      .dir-map-stat-val {
        font-size: 0.82rem !important;
      }
    }


