Toggle menu
17
24
14
1.7K
Landrace.Wiki - The Landrace Cannabis Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Accession/styles.css: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
/* MEDIAWIKI-COMPATIBLE SCIENTIFIC RESEARCH DATABASE STYLING */
/* FIXED SCIENTIFIC DATABASE - UX & ACCESSIBILITY FOCUSED */


/* Research Database Header - Dark, Technical */
/* Research Database Header */
.hero-header {
.hero-header {
   background: #0f172a;
   background: #0f172a;
   border: 1px solid #334155;
   border: 1px solid #334155;
   border-radius: 2px;
   border-radius: 3px;
   overflow: hidden;
   overflow: hidden;
   box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
   box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
Line 12: Line 12:
}
}


/* Scientific header section */
/* Header with proper information hierarchy */
.hero-top {
.hero-top {
   background: #1e293b;
   background: #1e293b;
   color: white;
   color: white;
   padding: 1.5rem 2rem;
   padding: 1.75rem 2rem 1.5rem 2rem;
   position: relative;
   position: relative;
   border-bottom: 1px solid rgba(148, 163, 184, 0.1);
   border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}
}


/* Scientific title typography */
/* Scientific title */
.hero-title {
.hero-title {
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
Line 27: Line 27:
   font-weight: 600;
   font-weight: 600;
   margin: 0;
   margin: 0;
   line-height: 1.1;
   line-height: 1.2;
   color: #f8fafc;
   color: #f8fafc;
   letter-spacing: -0.02em;
   letter-spacing: -0.02em;
   max-width: 65%;
   max-width: 60%;
}
 
/* FIXED: Separated geographic breadcrumb - Line 1 */
.geographic-breadcrumb {
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}
 
.geographic-breadcrumb-label {
  font-family: "SF Mono", Monaco, monospace;
  font-size: 0.7rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  display: block;
}
}


/* Technical data badges */
.geographic-breadcrumb .level {
.hero-subtitle {
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   font-family: "SF Mono", Monaco, Inconsolata, "Roboto Mono", "Courier New", monospace;
   font-size: 0.9rem;
   font-size: 0.65rem;
   color: #f1f5f9;
   color: #cbd5e1;
   background: rgba(5, 150, 105, 0.15);
   background: rgba(15, 23, 42, 0.8);
   border: 1px solid rgba(5, 150, 105, 0.4);
   border: 1px solid rgba(148, 163, 184, 0.2);
   padding: 0.4rem 0.75rem;
   padding: 0.3rem 0.6rem;
   border-radius: 3px;
   border-radius: 2px;
   display: inline-block;
   display: inline-block;
   margin-top: 0.75rem;
   margin-right: 0.5rem;
   font-weight: 500;
   font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.geographic-breadcrumb .level:hover {
  background: rgba(5, 150, 105, 0.25);
  border-color: rgba(5, 150, 105, 0.6);
}
.geographic-breadcrumb .separator {
  color: #64748b;
  margin: 0 0.25rem;
  font-size: 0.8rem;
}
/* FIXED: Status indicators - Top right with clear grouping */
.status-group {
  position: absolute;
  top: 1.75rem;
  right: 2rem;
  text-align: right;
}
.status-label {
  font-family: "SF Mono", Monaco, monospace;
  font-size: 0.7rem;
  color: #94a3b8;
   text-transform: uppercase;
   text-transform: uppercase;
   letter-spacing: 0.5px;
   letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  display: block;
}
}


/* Status indicators - more technical */
.status-badges {
.hero-badges {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
   display: flex;
   display: flex;
   flex-direction: column;
   flex-direction: column;
   gap: 0.25rem;
   gap: 0.4rem;
  align-items: flex-end;
}
}


.hero-badge {
/* FIXED: Better contrast and legibility for status badges */
   padding: 0.2rem 0.5rem;
.status-badge {
   border-radius: 2px;
   padding: 0.35rem 0.75rem;
   font-family: "SF Mono", Monaco, Inconsolata, "Roboto Mono", "Courier New", monospace;
   border-radius: 3px;
   font-size: 0.55rem;
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   font-size: 0.8rem;
   font-weight: 600;
   font-weight: 600;
  text-transform: uppercase;
   min-width: 80px;
  letter-spacing: 0.5px;
   min-width: 60px;
   text-align: center;
   text-align: center;
   border: 1px solid transparent;
   border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}
/* FIXED: Accessibility - icons + better contrast */
.status-active {
  background: #10b981;
  color: white;
  border-color: #059669;
}
}


.badge-active {
.status-active::before {
   background: rgba(5, 150, 105, 0.2);
   content: "✓";
   color: #10b981;
  font-size: 0.7rem;
   border-color: rgba(5, 150, 105, 0.3);
}
 
.status-tier1 {
  background: #3b82f6;
   color: white;
   border-color: #2563eb;
}
 
.status-tier1::before {
  content: "●";
  font-size: 0.6rem;
}
}


.badge-tier1 {
.status-priority {
   background: rgba(59, 130, 246, 0.2);
   background: #ef4444;
   color: #60a5fa;
   color: white;
   border-color: rgba(59, 130, 246, 0.3);
   border-color: #dc2626;
}
}


.badge-priority {
.status-priority::before {
   background: rgba(239, 68, 68, 0.2);
   content: "!";
   color: #f87171;
   font-size: 0.8rem;
   border-color: rgba(239, 68, 68, 0.3);
   font-weight: bold;
}
}


/* Scientific data visualization split */
/* Data visualization split */
.hero-split {
.hero-split {
   display: table;
   display: table;
Line 118: Line 180:
}
}


/* Scientific placeholder - more technical */
/* FIXED: Better typography and removed editor instructions */
.photo-placeholder {
.photo-placeholder {
   height: 420px;
   height: 420px;
Line 131: Line 193:
   vertical-align: middle;
   vertical-align: middle;
   text-align: center;
   text-align: center;
   padding: 2.5rem;
   padding: 3rem;
   position: relative;
   position: relative;
}
}


.placeholder-title {
.placeholder-title {
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   font-size: 1.1rem;
   font-size: 1.25rem;
   color: #1e293b;
   color: #1e293b;
   font-weight: 600;
   font-weight: 600;
   margin-bottom: 0.75rem;
   margin-bottom: 1rem;
   letter-spacing: -0.01em;
   letter-spacing: -0.01em;
}
}


/* FIXED: Better body text sizing and line length */
.placeholder-subtitle {
.placeholder-subtitle {
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   font-size: 0.85rem;
   font-size: 1rem;
   color: #475569;
   color: #475569;
   line-height: 1.5;
   line-height: 1.6;
   max-width: 300px;
   max-width: 65ch;
   margin: 0 auto 1.25rem;
   margin: 0 auto 1.5rem;
}
}


.placeholder-instruction {
/* REMOVED: Editor-only upload instruction hidden from public view */
  font-family: "SF Mono", Monaco, Inconsolata, "Roboto Mono", "Courier New", monospace;
  font-size: 0.7rem;
  color: #64748b;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #e2e8f0;
  padding: 0.75rem 1rem;
  border-radius: 2px;
  max-width: 280px;
  margin: 0 auto;
  line-height: 1.3;
}


/* Technical image overlay */
/* Technical image overlay */
Line 174: Line 226:
   background: rgba(15, 23, 42, 0.9);
   background: rgba(15, 23, 42, 0.9);
   color: white;
   color: white;
   padding: 1.5rem 1.25rem 1rem;
   padding: 1.25rem;
}
}


.image-caption {
.image-caption {
   font-family: "SF Mono", Monaco, Inconsolata, "Roboto Mono", "Courier New", monospace;
   font-family: "SF Mono", Monaco, monospace;
   font-size: 0.7rem;
   font-size: 0.8rem;
   font-weight: 500;
   font-weight: 500;
   margin: 0;
   margin: 0;
   line-height: 1.3;
   line-height: 1.4;
   color: #e2e8f0;
   color: #e2e8f0;
}
}


/* Research-grade map section */
/* FIXED: Map with light container to avoid theming mismatch */
.hero-map {
.hero-map {
   background: #f8fafc;
   background: white;
  border: 1px solid #e2e8f0;
   position: relative;
   position: relative;
}
}


.map-container {
.map-container {
   height: 420px;
   height: 418px;
   width: 100%;
   width: calc(100% - 2px);
   background: #e2e8f0;
   background: #f8fafc;
   display: flex;
   display: flex;
   align-items: center;
   align-items: center;
   justify-content: center;
   justify-content: center;
   color: #64748b;
   color: #64748b;
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   font-size: 0.9rem;
   font-size: 1rem;
   font-weight: 500;
   font-weight: 500;
   position: relative;
   position: relative;
Line 208: Line 261:
.lw-map {
.lw-map {
   width: 100% !important;
   width: 100% !important;
   height: 420px !important;
   height: 418px !important;
}
}


/* Scientific data overlay */
/* FIXED: Single accession status instead of full legend */
.map-legend {
.accession-status {
   position: absolute;
   position: absolute;
   top: 1rem;
   top: 1rem;
   left: 1rem;
   left: 1rem;
   background: rgba(15, 23, 42, 0.95);
   background: rgba(255, 255, 255, 0.95);
   border: 1px solid rgba(148, 163, 184, 0.3);
   border: 1px solid #d1d5db;
   border-radius: 2px;
   border-radius: 3px;
   padding: 1rem;
   padding: 0.75rem 1rem;
   box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
   max-width: 200px;
   max-width: 220px;
   z-index: 1000;
   z-index: 1000;
  color: white;
}
}


.legend-section {
.accession-status-title {
  margin-bottom: 0.75rem;
   font-family: "SF Mono", Monaco, monospace;
}
   font-size: 0.7rem;
 
.legend-section:last-child {
  margin-bottom: 0;
}
 
.legend-title {
   font-family: "SF Mono", Monaco, Inconsolata, "Roboto Mono", "Courier New", monospace;
   font-size: 0.6rem;
   text-transform: uppercase;
   text-transform: uppercase;
   color: #94a3b8;
   color: #6b7280;
   font-weight: 600;
   font-weight: 600;
   margin-bottom: 0.4rem;
   margin-bottom: 0.4rem;
   letter-spacing: 1px;
   letter-spacing: 0.5px;
}
}


.legend-primary {
.accession-status-value {
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   font-weight: 600;
   font-weight: 600;
   color: #f8fafc;
   color: #1f2937;
   font-size: 0.75rem;
   font-size: 0.85rem;
   margin-bottom: 0.25rem;
   margin-bottom: 0.25rem;
   line-height: 1.2;
   line-height: 1.3;
}
}


.legend-secondary {
.accession-status-note {
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   color: #cbd5e1;
   color: #6b7280;
   font-size: 0.7rem;
   font-size: 0.75rem;
  margin-bottom: 0.4rem;
   line-height: 1.3;
   line-height: 1.2;
}
}


.legend-coords {
/* FIXED: Coordinates with copy functionality */
   font-family: "SF Mono", Monaco, Inconsolata, "Roboto Mono", "Courier New", monospace;
.coordinates {
   font-size: 0.65rem;
   position: absolute;
   color: #10b981;
   bottom: 1rem;
   background: rgba(5, 150, 105, 0.1);
   right: 1rem;
   border: 1px solid rgba(5, 150, 105, 0.2);
   background: rgba(255, 255, 255, 0.95);
   padding: 0.3rem 0.5rem;
   color: #1f2937;
   border-radius: 2px;
   padding: 0.5rem 0.75rem;
   border-radius: 3px;
  font-family: "SF Mono", Monaco, monospace;
  font-size: 0.75rem;
  font-weight: 500;
   line-height: 1;
   line-height: 1;
  border: 1px solid #d1d5db;
  cursor: pointer;
  transition: all 0.2s;
}
.coordinates:hover {
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.coordinates::after {
  content: "📋";
  margin-left: 0.5rem;
  opacity: 0.6;
}
}


/* Research data strip - technical presentation */
/* FIXED: Research data strip with proper spacing and readable labels */
.hero-details {
.hero-details {
   background: #1e293b;
   background: #1e293b;
   border-top: 1px solid rgba(148, 163, 184, 0.2);
   border-top: 1px solid rgba(148, 163, 184, 0.2);
   padding: 1.25rem 2rem;
   padding: 1.5rem 2rem;
   display: flex;
   display: flex;
   flex-wrap: wrap;
   flex-wrap: wrap;
   justify-content: center;
   justify-content: center;
   gap: 2rem;
   gap: 2.5rem;
   position: relative;
   position: relative;
}
}
Line 287: Line 348:
   display: flex;
   display: flex;
   flex-direction: column;
   flex-direction: column;
   min-width: 120px;
   min-width: 140px;
   text-align: center;
   text-align: center;
   position: relative;
   position: relative;
}
}


/* FIXED: Readable labels instead of all-caps shouting */
.detail-label {
.detail-label {
   font-family: "SF Mono", Monaco, Inconsolata, "Roboto Mono", "Courier New", monospace;
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   font-size: 0.6rem;
   font-size: 0.8rem;
  text-transform: uppercase;
   color: #94a3b8;
   color: #94a3b8;
   font-weight: 600;
   font-weight: 500;
   margin-bottom: 0.5rem;
   margin-bottom: 0.4rem;
   letter-spacing: 1px;
   letter-spacing: 0.02em;
}
}


/* FIXED: Emphasized values with proper units */
.detail-value {
.detail-value {
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   font-size: 0.85rem;
   font-size: 1rem;
   font-weight: 600;
   font-weight: 600;
   color: #f8fafc;
   color: #f8fafc;
   line-height: 1.2;
   line-height: 1.3;
}
}


Line 314: Line 376:
}
}


/* Scientific leaflet controls */
/* FIXED: Proper unit spacing */
.detail-value .unit {
  margin-left: 0.125rem;
}
 
/* Map controls styling */
.leaflet-control {
.leaflet-control {
   font-family: "SF Mono", Monaco, Inconsolata, "Roboto Mono", "Courier New", monospace !important;
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 0.6rem !important;
}
}


.leaflet-control-layers {
.leaflet-control-layers {
   background: rgba(15, 23, 42, 0.95) !important;
   background: rgba(255, 255, 255, 0.95) !important;
   border: 1px solid rgba(148, 163, 184, 0.3) !important;
   border: 1px solid #d1d5db !important;
   border-radius: 2px !important;
   border-radius: 3px !important;
   box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  color: white !important;
   padding: 0.75rem !important;
   padding: 0.75rem !important;
}
.leaflet-control-layers label {
  font-size: 0.65rem !important;
  color: #cbd5e1 !important;
  margin-bottom: 0.25rem !important;
  line-height: 1.2 !important;
  padding-left: 0.5rem !important;
}
}


.leaflet-control-zoom {
.leaflet-control-zoom {
   border: 1px solid rgba(148, 163, 184, 0.3) !important;
   border: 1px solid #d1d5db !important;
   border-radius: 2px !important;
   border-radius: 3px !important;
   box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
   box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}
}


.leaflet-control-zoom a {
.leaflet-control-zoom a {
   width: 28px !important;
   width: 30px !important;
   height: 28px !important;
   height: 30px !important;
   line-height: 28px !important;
   line-height: 30px !important;
   font-size: 16px !important;
   font-size: 16px !important;
   background: rgba(15, 23, 42, 0.95) !important;
   background: white !important;
   color: #cbd5e1 !important;
   color: #374151 !important;
   border: none !important;
   border: none !important;
}
}


.leaflet-control-zoom a:hover {
.leaflet-control-zoom a:hover {
   background: rgba(15, 23, 42, 1) !important;
   background: #f9fafb !important;
   color: white !important;
   color: #111827 !important;
}
}


/* Coordinates badge - technical styling */
/* FIXED: Mobile responsiveness with proper rhythm */
.coordinates {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(15, 23, 42, 0.95);
  color: #10b981;
  padding: 0.5rem 0.75rem;
  border-radius: 2px;
  font-family: "SF Mono", Monaco, Inconsolata, "Roboto Mono", "Courier New", monospace;
  font-size: 0.65rem;
  font-weight: 500;
  line-height: 1;
  border: 1px solid rgba(5, 150, 105, 0.2);
}
 
/* Legacy map overlay - compatibility */
.map-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 2px;
  padding: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  max-width: 200px;
  color: white;
}
 
.map-overlay h4 {
  margin: 0 0 0.4rem 0;
  font-family: "SF Mono", Monaco, Inconsolata, "Roboto Mono", "Courier New", monospace;
  font-size: 0.6rem;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 600;
  letter-spacing: 1px;
}
 
.location-primary {
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  line-height: 1.2;
}
 
.location-secondary {
  color: #cbd5e1;
  font-size: 0.7rem;
  line-height: 1.2;
}
 
/* Mobile responsiveness for research interface */
@media (max-width: 768px) {
@media (max-width: 768px) {
   .hero-split {
   .hero-split {
Line 434: Line 437:
    
    
   .map-container {
   .map-container {
     height: 320px;
     height: 318px;
   }
   }
    
    
   .lw-map {
   .lw-map {
     height: 320px !important;
     height: 318px !important;
   }
   }
    
    
   .hero-badges {
   .status-group {
     position: static;
     position: static;
     margin-top: 1rem;
     margin-top: 1rem;
    text-align: left;
  }
 
  .status-badges {
     flex-direction: row;
     flex-direction: row;
     flex-wrap: wrap;
     flex-wrap: wrap;
    align-items: flex-start;
     gap: 0.5rem;
     gap: 0.5rem;
  }
 
  .hero-title {
    max-width: 100%;
   }
   }
    
    
Line 454: Line 466:
    
    
   .hero-details {
   .hero-details {
     padding: 1rem 1.5rem;
     padding: 1.25rem 1.5rem;
     gap: 1rem;
     gap: 1.5rem;
  }
 
  .detail-group {
    min-width: 120px;
   }
   }
    
    
   .map-legend {
   .accession-status {
     max-width: 160px;
     max-width: 180px;
     padding: 0.75rem;
     padding: 0.5rem 0.75rem;
   }
   }
}
}

Revision as of 14:40, 17 September 2025

/* FIXED SCIENTIFIC DATABASE - UX & ACCESSIBILITY FOCUSED */

/* Research Database Header */
.hero-header {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
  position: relative;
}

/* Header with proper information hierarchy */
.hero-top {
  background: #1e293b;
  color: white;
  padding: 1.75rem 2rem 1.5rem 2rem;
  position: relative;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

/* Scientific title */
.hero-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
  color: #f8fafc;
  letter-spacing: -0.02em;
  max-width: 60%;
}

/* FIXED: Separated geographic breadcrumb - Line 1 */
.geographic-breadcrumb {
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}

.geographic-breadcrumb-label {
  font-family: "SF Mono", Monaco, monospace;
  font-size: 0.7rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  display: block;
}

.geographic-breadcrumb .level {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.9rem;
  color: #f1f5f9;
  background: rgba(5, 150, 105, 0.15);
  border: 1px solid rgba(5, 150, 105, 0.4);
  padding: 0.4rem 0.75rem;
  border-radius: 3px;
  display: inline-block;
  margin-right: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.geographic-breadcrumb .level:hover {
  background: rgba(5, 150, 105, 0.25);
  border-color: rgba(5, 150, 105, 0.6);
}

.geographic-breadcrumb .separator {
  color: #64748b;
  margin: 0 0.25rem;
  font-size: 0.8rem;
}

/* FIXED: Status indicators - Top right with clear grouping */
.status-group {
  position: absolute;
  top: 1.75rem;
  right: 2rem;
  text-align: right;
}

.status-label {
  font-family: "SF Mono", Monaco, monospace;
  font-size: 0.7rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  display: block;
}

.status-badges {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-end;
}

/* FIXED: Better contrast and legibility for status badges */
.status-badge {
  padding: 0.35rem 0.75rem;
  border-radius: 3px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  min-width: 80px;
  text-align: center;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

/* FIXED: Accessibility - icons + better contrast */
.status-active {
  background: #10b981;
  color: white;
  border-color: #059669;
}

.status-active::before {
  content: "✓";
  font-size: 0.7rem;
}

.status-tier1 {
  background: #3b82f6;
  color: white;
  border-color: #2563eb;
}

.status-tier1::before {
  content: "●";
  font-size: 0.6rem;
}

.status-priority {
  background: #ef4444;
  color: white;
  border-color: #dc2626;
}

.status-priority::before {
  content: "!";
  font-size: 0.8rem;
  font-weight: bold;
}

/* Data visualization split */
.hero-split {
  display: table;
  width: 100%;
  table-layout: fixed;
  background: #f8fafc;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.hero-image, .hero-map {
  display: table-cell;
  width: 50%;
  vertical-align: top;
  height: 420px;
  position: relative;
}

.hero-image {
  background: #f1f5f9;
  border-right: 1px solid #e2e8f0;
}

.hero-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* FIXED: Better typography and removed editor instructions */
.photo-placeholder {
  height: 420px;
  background: #f8fafc;
  display: table;
  width: 100%;
  position: relative;
}

.placeholder-content {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  padding: 3rem;
  position: relative;
}

.placeholder-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.25rem;
  color: #1e293b;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

/* FIXED: Better body text sizing and line length */
.placeholder-subtitle {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  color: #475569;
  line-height: 1.6;
  max-width: 65ch;
  margin: 0 auto 1.5rem;
}

/* REMOVED: Editor-only upload instruction hidden from public view */

/* Technical image overlay */
.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.9);
  color: white;
  padding: 1.25rem;
}

.image-caption {
  font-family: "SF Mono", Monaco, monospace;
  font-size: 0.8rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
  color: #e2e8f0;
}

/* FIXED: Map with light container to avoid theming mismatch */
.hero-map {
  background: white;
  border: 1px solid #e2e8f0;
  position: relative;
}

.map-container {
  height: 418px;
  width: calc(100% - 2px);
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  position: relative;
}

.lw-map {
  width: 100% !important;
  height: 418px !important;
}

/* FIXED: Single accession status instead of full legend */
.accession-status {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #d1d5db;
  border-radius: 3px;
  padding: 0.75rem 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 220px;
  z-index: 1000;
}

.accession-status-title {
  font-family: "SF Mono", Monaco, monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #6b7280;
  font-weight: 600;
  margin-bottom: 0.4rem;
  letter-spacing: 0.5px;
}

.accession-status-value {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 600;
  color: #1f2937;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.accession-status-note {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #6b7280;
  font-size: 0.75rem;
  line-height: 1.3;
}

/* FIXED: Coordinates with copy functionality */
.coordinates {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: #1f2937;
  padding: 0.5rem 0.75rem;
  border-radius: 3px;
  font-family: "SF Mono", Monaco, monospace;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
  border: 1px solid #d1d5db;
  cursor: pointer;
  transition: all 0.2s;
}

.coordinates:hover {
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.coordinates::after {
  content: "📋";
  margin-left: 0.5rem;
  opacity: 0.6;
}

/* FIXED: Research data strip with proper spacing and readable labels */
.hero-details {
  background: #1e293b;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding: 1.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  position: relative;
}

.detail-group {
  display: flex;
  flex-direction: column;
  min-width: 140px;
  text-align: center;
  position: relative;
}

/* FIXED: Readable labels instead of all-caps shouting */
.detail-label {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 500;
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

/* FIXED: Emphasized values with proper units */
.detail-value {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #f8fafc;
  line-height: 1.3;
}

.detail-value.highlight {
  color: #10b981;
}

/* FIXED: Proper unit spacing */
.detail-value .unit {
  margin-left: 0.125rem;
}

/* Map controls styling */
.leaflet-control {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.leaflet-control-layers {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid #d1d5db !important;
  border-radius: 3px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  padding: 0.75rem !important;
}

.leaflet-control-zoom {
  border: 1px solid #d1d5db !important;
  border-radius: 3px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.leaflet-control-zoom a {
  width: 30px !important;
  height: 30px !important;
  line-height: 30px !important;
  font-size: 16px !important;
  background: white !important;
  color: #374151 !important;
  border: none !important;
}

.leaflet-control-zoom a:hover {
  background: #f9fafb !important;
  color: #111827 !important;
}

/* FIXED: Mobile responsiveness with proper rhythm */
@media (max-width: 768px) {
  .hero-split {
    display: block;
  }
  
  .hero-image, .hero-map {
    display: block;
    width: 100%;
    height: 320px;
  }
  
  .hero-map {
    border-right: none;
    border-top: 1px solid #e2e8f0;
  }
  
  .photo-placeholder {
    height: 320px;
  }
  
  .map-container {
    height: 318px;
  }
  
  .lw-map {
    height: 318px !important;
  }
  
  .status-group {
    position: static;
    margin-top: 1rem;
    text-align: left;
  }
  
  .status-badges {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .hero-title {
    max-width: 100%;
  }
  
  .hero-top {
    padding: 1.25rem 1.5rem;
  }
  
  .hero-details {
    padding: 1.25rem 1.5rem;
    gap: 1.5rem;
  }
  
  .detail-group {
    min-width: 120px;
  }
  
  .accession-status {
    max-width: 180px;
    padding: 0.5rem 0.75rem;
  }
}