/* Auto-generated city-procedure-page CSS — do not edit manually */
/* Source: scripts/lib/city-css.js — run: node scripts/generate-shared-css.js */
/* Cascade contract: linked AFTER /css/shared.css. */


    /* === PAGE-SPECIFIC STYLES === */
    * { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      line-height: 1.6;
    }
    
    /* City Stats */
    .city-stats-grid { display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin:1.5rem 0; }
    .city-stat-card { padding:16px;background:#f8f9fa;border-radius:var(--radius-md);text-align:center;border:1px solid #e5e7eb; }
    html.dark .city-stat-card { background:#292a2d;border-color:#3c4043; }
    .city-stat-value { font-size:1.5rem;font-weight:700;color:#3b82f6; }
    html.dark .city-stat-value { color:#60a5fa; }
    .city-stat-label { font-size:0.875rem;color:#6b7280; }
    html.dark .city-stat-label { color:#9ca3af; }
    /* .recovery-cta / .recovery-banner styles now shared via /css/shared.css */

    /* Main Content Styling */
    .main-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 32px 16px; /* aligns with site-header .container (16px) */
      box-sizing: border-box;
    }
    
    /* Hero Section — band padding/background + h1/meta-pill typography come
       from the shared PAGE HERO SYSTEM in shared.css (R4-T8, I09); the markup
       carries .hero-system.hero-band. */
    .hero-content {
      position: relative;
      text-align: center;
    }
    
    /* Breadcrumb */
    .breadcrumb {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px; /* space-x-2 */
      /* margin-bottom comes from the shared hero system (24px) */
      font-size: 14px; /* text-sm */
      color: #4b5563; /* text-gray-600 */
      flex-wrap: wrap; /* Allow wrapping on small screens */
      text-align: center;
    }
    html.dark .breadcrumb {
      color: #9aa0a6; /* dark:text-[#9aa0a6] */
    }
    
    /* Mobile breadcrumb optimization */
    @media (max-width: 640px) {
      .breadcrumb {
        font-size: 14px;
        gap: 4px;
        margin-bottom: 24px; /* mb-6 on mobile */
        padding: 0 8px;
      }
    }
    
    .breadcrumb a {
      color: #2563eb; /* text-blue-600 */
      text-decoration: none;
      transition: color 0.2s;
    }
    @media (max-width: 640px) {
      /* WCAG 2.5.8: breadcrumb links get >=44px tap height on mobile */
      .breadcrumb a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
      }
    }
    .breadcrumb a:hover {
      color: #1d4ed8; /* hover:text-blue-700 */
    }
    html.dark .breadcrumb a {
      color: #60a5fa; /* dark:text-blue-400 */
    }
    html.dark .breadcrumb a:hover {
      color: #93c5fd; /* dark:hover:text-blue-300 */
    }
    
    .breadcrumb-current {
      color: #202124;
    }
    html.dark .breadcrumb-current {
      color: #e8eaed;
    }
    
    /* Main title + meta pill: shared PAGE HERO SYSTEM (.hero-system h1 /
       .hero-system .hero-meta in shared.css). R4-T8 (I09) replaced the old
       .rankings-badge cluster with the shared .hero-meta pill. */

    /* Hero Description */
    .hero-description {
      font-size: 18px;
      color: #5f6368;
      max-width: 768px; /* max-w-3xl */
      margin: 0 auto;
      line-height: 1.625; /* leading-relaxed */
    }
    html.dark .hero-description {
      color: rgba(232, 234, 237, 0.9); /* Gemini dark text with opacity */
    }
    
    @media (min-width: 768px) {
      .hero-description {
        font-size: 20px; /* md:text-xl */
      }
    }

    /* City Page Navigation */
    .city-page-navigation {
      margin: 40px 0; /* my-10 */
      padding: 24px 0; /* py-6 */
      border-top: 1px solid rgba(229, 231, 235, 0.6);
      border-bottom: 1px solid rgba(229, 231, 235, 0.6);
    }
    html.dark .city-page-navigation {
      border-color: rgba(75, 85, 99, 0.4);
    }

    /* Procedure Navigation (reuse state page styling) */
    .procedure-navigation {
      text-align: center;
      margin-bottom: 32px;
    }
    
    .nav-title {
      font-size: 20px;
      font-weight: 600;
      color: #5f6368;
      margin-bottom: 16px;
    }
    html.dark .nav-title {
      color: rgba(230, 230, 230, 0.9);
    }
    
    .nav-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      justify-content: center;
      align-items: center;
    }
    
    .nav-btn {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 20px;
      background: rgba(255, 255, 255, 0.9);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 2px solid transparent;
      border-radius: var(--radius-md);
      color: #5f6368;
      text-decoration: none;
      font-weight: 500;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
      position: relative;
      overflow: hidden;
    }
    
    html.dark .nav-btn {
      background: rgba(31, 41, 55, 0.9);
      color: rgba(230, 230, 230, 0.9);
    }
    
    .nav-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
    
    .nav-btn.active {
      background: #2563eb; /* AA: white text 5.17:1 */
      color: white;
      border-color: #1d4ed8;
    }
    
    .nav-icon {
      width: 20px;
      height: 20px;
    }
    
    .nav-text {
      font-size: 16px;
      font-weight: 600;
    }
    
    .nav-count {
      font-size: 14px;
      opacity: 0.8;
    }

    /* State & City Navigation */
    .state-city-navigation {
      display: flex;
      flex-wrap: wrap;
      gap: 24px;
      justify-content: center;
      align-items: flex-start;
      padding-top: 24px;
      border-top: 1px solid rgba(229, 231, 235, 0.4);
    }
    html.dark .state-city-navigation {
      border-color: rgba(75, 85, 99, 0.3);
    }
    
    .state-nav-section {
      flex: 1;
      min-width: 200px;
      text-align: center;
    }
    
    .state-nav-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 20px;
      background: rgba(59, 130, 246, 0.1);
      border: 1px solid rgba(59, 130, 246, 0.3);
      border-radius: var(--radius-sm);
      color: #3b82f6;
      text-decoration: none;
      font-weight: 500;
      transition: all 0.2s ease;
    }
    html.dark .state-nav-btn {
      background: rgba(59, 130, 246, 0.2);
      color: #60a5fa;
    }
    
    .state-nav-btn:hover {
      background: rgba(59, 130, 246, 0.2);
      transform: translateY(-1px);
    }
    
    .state-nav-icon {
      width: 16px;
      height: 16px;
    }
    
    .other-cities-section {
      flex: 1;
      min-width: 250px;
      text-align: center;
    }
    
    .other-cities-title {
      font-size: 14px;
      font-weight: 600;
      color: #6b7280;
      margin-bottom: 12px;
    }
    html.dark .other-cities-title {
      color: #9ca3af;
    }
    
    .other-cities-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      justify-content: center;
    }
    
    .city-nav-btn {
      padding: 6px 12px;
      background: rgba(255, 255, 255, 0.8);
      border: 1px solid rgba(209, 213, 219, 0.6);
      border-radius: var(--radius-sm);
      color: #4b5563;
      text-decoration: none;
      font-size: 14px;
      font-weight: 500;
      transition: all 0.2s ease;
    }
    html.dark .city-nav-btn {
      background: rgba(31, 41, 55, 0.8);
      border-color: rgba(75, 85, 99, 0.4);
      color: #d1d5db;
    }
    
    .city-nav-btn:hover {
      background: rgba(59, 130, 246, 0.1);
      border-color: rgba(59, 130, 246, 0.3);
      color: #3b82f6;
      transform: translateY(-1px);
    }
    
    @media (max-width: 767px) {
      .nav-buttons {
        flex-direction: column;
        gap: 12px;
      }
      
      .nav-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
      }
      
      .state-city-navigation {
        flex-direction: column;
        gap: 20px;
      }
    }

    /* Old surgeon card styles removed - now using unified card component */

    /* Disclaimer — neutral card with blue accent border (amber retired Jun 2026, C12) */
    .disclaimer {
      margin-top: 48px; /* mt-12 */
      padding: 24px; /* p-6 */
      background: #f8f9fa;
      border: 1px solid #e5e7eb;
      border-left: 3px solid #2563eb;
      border-radius: var(--radius-md); /* rounded-xl */
    }
    html.dark .disclaimer {
      background: #292a2d;
      border-color: #3c4043;
      border-left-color: #60a5fa;
    }

    .disclaimer-content {
      display: flex;
      align-items: flex-start;
    }

    .disclaimer-icon {
      width: 24px; /* w-6 */
      height: 24px; /* h-6 */
      color: #2563eb;
      flex-shrink: 0;
      margin-top: 2px; /* mt-0.5 */
      margin-right: 12px; /* mr-3 */
    }
    html.dark .disclaimer-icon {
      color: #60a5fa;
    }

    .disclaimer-text h3 {
      font-size: 16px; /* text-base */
      font-weight: 700; /* bold */
      color: var(--text-primary, #202124);
      margin-bottom: 8px; /* mb-2 */
    }

    .disclaimer-text p {
      font-size: 14px; /* text-sm */
      color: var(--text-primary, #202124);
      line-height: 1.5; /* leading-6 */
    }

    /* Essential Utilities */
    .hidden { 
      display: none !important; 
    }

    /* Custom utility classes to replace Tailwind */
    .space-y-6 > * + * { margin-top: 24px; }
    .space-y-4 > * + * { margin-top: 16px; }
    .space-y-1 > * + * { margin-top: 4px; }
    .gap-4 { gap: 16px; }
    .gap-3 { gap: 12px; }
    .gap-2 { gap: 8px; }
    .flex { display: flex; }
    .flex-col { flex-direction: column; }
    .items-center { align-items: center; }
    .justify-between { justify-content: space-between; }
    .justify-center { justify-content: center; }
    .justify-end { justify-content: end; }
    .text-left { text-align: left; }
    .text-right { text-align: right; }
    .text-center { text-align: center; }
    .w-full { width: 100%; }
    .min-h-44 { min-height: 44px; }
    .rounded-2xl { border-radius: var(--radius-lg); }
    .rounded-xl { border-radius: var(--radius-md); }
    .rounded-lg { border-radius: var(--radius-sm); }
    .shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
    .shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
    .overflow-hidden { overflow: hidden; }
    .overflow-x-auto { overflow-x: auto; }
    .transition-all { transition: all 0.2s; }
    .duration-200 { transition-duration: 0.2s; }
    .cursor-pointer { cursor: pointer; }
    .font-bold { font-weight: 700; }
    .font-semibold { font-weight: 600; }
    .font-medium { font-weight: 500; }
    .text-sm { font-size: 14px; }
    .text-base { font-size: 16px; }
    .text-lg { font-size: 18px; }
    .text-xl { font-size: 20px; }
    .text-2xl { font-size: 24px; }
    .leading-tight { line-height: 1.25; }
    .truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .whitespace-nowrap { white-space: nowrap; }
    .pointer-events-none { pointer-events: none; }
    .flex-shrink-0 { flex-shrink: 0; }
    .flex-1 { flex: 1 1 0%; }
    .min-w-0 { min-width: 0px; }
    .relative { position: relative; }
    .absolute { position: absolute; }
    .top-full { top: 100%; }
    .left-1-2 { left: 50%; }
    .transform { transform: translateX(-50%); }
    .z-20 { z-index: 20; }
    .opacity-0 { opacity: 0; }
    .group:hover .group-hover-opacity-100 { opacity: 1; }
    .font-mono { font-family: ui-monospace, SFMono-Regular, Monaco, Consolas, monospace; }
    .text-xs { font-size: 14px; }

    /* Layout classes */
    .p-4 { padding: 16px; }
    .p-6 { padding: 24px; }
    .px-6 { padding-left: 24px; padding-right: 24px; }
    .py-4 { padding-top: 16px; padding-bottom: 16px; }
    .px-3 { padding-left: 12px; padding-right: 12px; }
    .py-2 { padding-top: 8px; padding-bottom: 8px; }
    .px-2 { padding-left: 8px; padding-right: 8px; }
    .py-1-5 { padding-top: 6px; padding-bottom: 6px; }
    .mb-3 { margin-bottom: 12px; }
    .mb-4 { margin-bottom: 16px; }
    .mb-2 { margin-bottom: 8px; }
    .mt-2 { margin-top: 8px; }
    .mt-3 { margin-top: 12px; }
    .ml-2 { margin-left: 8px; }
    .mr-2 { margin-right: 8px; }
    .pt-2 { padding-top: 8px; }
    .pt-3 { padding-top: 12px; }
    
    /* Size classes */
    .w-2 { width: 8px; }
    .h-2 { height: 8px; }
    .w-4 { width: 16px; }
    .h-4 { height: 16px; }
    .w-5 { width: 20px; }
    .h-5 { height: 20px; }
    .w-6 { width: 24px; }
    .h-6 { height: 24px; }
    .w-3-5 { width: 14px; }
    .h-3-5 { height: 14px; }
    .w-8 { width: 32px; }
    .h-8 { height: 32px; }
    .w-10 { width: 40px; }
    .h-10 { height: 40px; }
    .w-12 { width: 48px; }
    .h-12 { height: 48px; }
    .w-16 { width: 64px; }
    .h-16 { height: 64px; }
    
    /* Color classes */
    .text-white { color: white; }
    .text-gray-900 { color: #202124; }
    .text-gray-700 { color: #5f6368; }
    .text-gray-600 { color: #4b5563; }
    .text-gray-500 { color: #6b7280; }
    .text-gray-400 { color: #9ca3af; }
    .text-blue-600 { color: #2563eb; }
    .text-blue-700 { color: #1d4ed8; }
    .text-blue-400 { color: #60a5fa; }
    .text-green-600 { color: #059669; }
    .text-green-700 { color: #059669; }
    .text-green-400 { color: #34d399; }
    .text-orange-600 { color: #ea580c; }
    .text-orange-400 { color: #fb923c; }
    .text-indigo-600 { color: #4f46e5; }
    .text-indigo-400 { color: #818cf8; }
    
    html.dark .text-gray-900 { color: #e8eaed; }
    html.dark .text-gray-700 { color: #e8eaed; }
    html.dark .text-gray-600 { color: #9aa0a6; }
    html.dark .text-gray-500 { color: #9aa0a6; }
    html.dark .text-gray-400 { color: #9ca3af; }
    html.dark .text-white { color: #e8eaed; }

    /* Background classes */
    .bg-white { background-color: white; }
    .bg-gray-50 { background-color: #f8f9fa; /* Gemini secondary bg */ }
    .bg-gray-100 { background-color: #f3f4f6; }
    .bg-gray-800 { background-color: #292a2d; }
    .bg-gray-900 { background-color: #202124; }
    .bg-blue-50 { background-color: #eff6ff; }
    .bg-blue-100 { background-color: #dbeafe; }
    .bg-blue-600 { background-color: #2563eb; }
    .bg-blue-700 { background-color: #1d4ed8; }
    .bg-green-100 { background-color: #d1fae5; }
    .bg-green-500 { background-color: #10b981; }
    .bg-orange-100 { background-color: #fed7aa; }
    .bg-indigo-100 { background-color: #e0e7ff; }
    
    html.dark .bg-white { background-color: #292a2d; }
    html.dark .bg-gray-50 { background-color: #292a2d; }
    html.dark .bg-gray-100 { background-color: #292a2d; }
    html.dark .bg-gray-800 { background-color: #292a2d; }

    /* Border classes */
    .border { border: 1px solid #e5e7eb; }
    .border-gray-200 { border-color: #e5e7eb; }
    .border-gray-100 { border-color: #f3f4f6; }
    .border-t { border-top: 1px solid #e5e7eb; }
    .border-b { border-bottom: 1px solid #e5e7eb; }
    
    html.dark .border { border-color: rgba(255,255,255,0.1); }
    html.dark .border-gray-200 { border-color: rgba(255,255,255,0.1); }
    html.dark .border-gray-100 { border-color: rgba(255,255,255,0.1); }
    html.dark .border-t { border-top-color: rgba(255,255,255,0.1); }
    html.dark .border-b { border-bottom-color: rgba(255,255,255,0.1); }

    /* Rank badge styles removed - now in unified card component */

    /* Hover effects */
    .hover:hover { 
      background-color: #1d4ed8; 
    }
    .hover-text-blue-600:hover { color: #2563eb; }
    .hover-text-blue-700:hover { color: #1d4ed8; }
    
    .transition-colors { 
      transition: background-color 0.2s, color 0.2s; 
    }

    /* Mobile/Desktop results removed - now using unified grid */

    /* Results container */
    .results-container {
      margin-bottom: 24px;
      overflow: hidden;
    }
    
    /* Hide unwanted scrollbars from specific containers */
    .results-container::-webkit-scrollbar,
    .main-container::-webkit-scrollbar {
      display: none;
    }
    
    .results-container,
    .main-container {
      scrollbar-width: none; /* Firefox */
    }

    /* Capitalize utility */
    .capitalize { text-transform: capitalize; }
    
    /* Animation keyframes */
    @keyframes cardSlideIn {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* FAQ Section */
    .faq-section {
      margin: 3rem 0 2rem 0;
      padding: 2rem;
    }
    .faq-section h2 {
      font-size: 1.5rem;
      font-weight: 700;
      color: #1e40af;
      margin-bottom: 1.5rem;
    }
    html.dark .faq-section h2 {
      color: #60a5fa;
    }
    .faq-item {
      border-bottom: 1px solid rgba(229, 231, 235, 0.6);
    }
    html.dark .faq-item {
      border-color: rgba(75, 85, 99, 0.4);
    }
    .faq-item summary {
      padding: 1rem 0;
      font-weight: 600;
      font-size: 1rem;
      color: #202124;
      cursor: pointer;
      list-style: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .faq-item summary::-webkit-details-marker { display: none; }
    .faq-item summary::after {
      content: '+';
      font-size: 1.25rem;
      color: #3b82f6;
      flex-shrink: 0;
      margin-left: 1rem;
      transition: transform 0.2s;
    }
    .faq-item[open] summary::after {
      content: '−';
    }
    html.dark .faq-item summary {
      color: #e8eaed;
    }
    .faq-answer {
      padding: 0 0 1rem 0;
      color: #4b5563;
      line-height: 1.7;
      font-size: 0.95rem;
    }
    html.dark .faq-answer {
      color: #9ca3af;
    }

    /* Internal Links Section */
    .internal-links-section {
      margin: 3rem 0 2rem 0;
      padding: 2rem;
      background: rgba(249, 250, 251, 0.8);
      border-radius: var(--radius-md);
      border: 1px solid rgba(229, 231, 235, 0.5);
    }
    html.dark .internal-links-section {
      background: rgba(30, 41, 59, 0.5);
      border-color: rgba(51, 65, 85, 0.5);
    }

    .links-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
    }

    .links-column h3 {
      color: #202124;
      font-size: 1.125rem;
      font-weight: 600;
      margin-bottom: 1rem;
      padding-bottom: 0.5rem;
      border-bottom: 2px solid #3b82f6;
    }
    html.dark .links-column h3 {
      color: #e8eaed;
    }

    .links-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .links-list li {
      margin-bottom: 0.75rem;
    }

    .links-list a {
      color: #3b82f6;
      text-decoration: none;
      font-weight: 500;
      transition: all 0.2s ease;
      display: inline-block;
    }

    .links-list a:hover {
      color: #2563eb;
      transform: translateX(4px);
    }

    html.dark .links-list a {
      color: #60a5fa;
    }

    html.dark .links-list a:hover {
      color: #93c5fd;
    }

    /* Local Context section (R4-T7, I15) */
    .local-context {
      margin: 3rem 0 0 0;
      padding: 2rem;
      background: #f8f9fa;
      border: 1px solid #e5e7eb;
      border-radius: var(--radius-md);
    }
    html.dark .local-context {
      background: #292a2d;
      border-color: #3c4043;
    }

    .local-context h2 {
      font-size: 1.375rem;
      font-weight: 700;
      color: #1e40af;
      margin-bottom: 0.75rem;
    }
    html.dark .local-context h2 {
      color: #60a5fa;
    }

    .local-context-text {
      font-size: 16px;
      color: #4b5563;
      line-height: 1.7;
      max-width: 768px;
    }
    html.dark .local-context-text {
      color: #bdc1c6;
    }

    .local-context-links {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 10px;
      margin-top: 1.25rem;
    }

    .local-context-links-label {
      font-size: 14px;
      font-weight: 600;
      color: #6b7280;
      margin-right: 4px;
    }
    html.dark .local-context-links-label {
      color: #9ca3af;
    }

    .local-context-chip {
      display: inline-flex;
      align-items: center;
      min-height: 44px;
      padding: 8px 18px;
      background: #ffffff;
      border: 1px solid #d1d5db;
      border-radius: 999px;
      color: #2563eb;
      font-size: 14px;
      font-weight: 500;
      text-decoration: none;
      transition: border-color 0.2s ease, background-color 0.2s ease;
    }
    .local-context-chip:hover {
      border-color: #2563eb;
      background: #eff6ff;
    }
    html.dark .local-context-chip {
      background: #202124;
      border-color: #5f6368;
      color: #93c5fd;
    }
    html.dark .local-context-chip:hover {
      border-color: #60a5fa;
      background: #292a2d;
    }