/* Team Identity Strength Index Styles */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fafafa;
  min-height: 100vh;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
}

header {
  background: linear-gradient(135deg, #1e3a8a, #373053);
  color: white;
  padding: 1.5rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

header h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.tagline {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 1rem;
}

nav a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 0.85rem;
  margin-right: 1.5rem;
}

nav a:hover { text-decoration: underline; }

section {
  padding: 2rem 0;
}

section + section { border-top: 1px solid #eee; }

.intro h2 { font-size: 1.5rem; margin-bottom: 0.75rem; color: #1e3a8a; }

.intro p { margin-bottom: 1rem; font-size: 1rem; }

.team-selector {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.team-selector label {
  font-weight: 500;
  color: #555;
}

.team-selector select,
.team-selector input {
  padding: 0.75rem;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  background: white;
}

team-selector input:focus { border-color: #3b82f6; outline: none; }

slider-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

slider-group label {
  font-size: 0.9rem;
  color: #555;
  display: flex; justify-content: space-between;
}

slider-group input[type="range"] {
  width: 100%;
  height: 6px;
  background: #e0e0e0;
  border-radius: 3px;
  outline: none;
}

slider-group input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #3b82f6;
  cursor: pointer;
}

.score-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.composite-score {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(59,130,246,0.3);
}

.score-value {
  font-size: 3rem;
  font-weight: 800;
  display: block;
  margin-bottom: 0.25rem;
}

.score-label {
  font-size: 1rem;
  opacity: 0.9;
}

.score-breakdown {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  width: 100%;
}

.breakdown-item {
  text-align: center;
  padding: 0.5rem;
  background: #f8f9fa;
  border-radius: 6px;
}

.category { font-size: 0.75rem; color: #666; display: block; margin-bottom: 0.25rem; }

.value { font-weight: 600; color: #333; }

.visualization {
  display: flex; justify-content: center; align-items: center;
}

.radar-chart {
  width: 200px;
  height: 200px;
}

.radar-svg { width: 200px; height: 200px; }

.actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.actions button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  background: #3b82f6;
  color: white;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.actions button:hover { background: #2563eb; }

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.comparison-card {
  background: white;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-align: center;
}

.comparison-card h3 { font-size: 1rem; margin-bottom: 0.5rem; color: #1e3a8a; }

.comparison-score { font-size: 2rem; font-weight: 700; color: #3b82f6; margin-bottom: 0.5rem; }

.comparison-reason { font-size: 0.85rem; color: #666; line-height: 1.4; }

guide-section ul { list-style: none; padding-left: 1rem; margin-top: 0.5rem; }

guide-section ul li::before { content: '• '; color: #3b82f6; }

guide-section h3 { font-size: 1.1rem; margin: 1.5rem 0 0.75rem; color: #1e3a8a; }

guide-section p { margin-bottom: 1rem; }

footer {
  background: #1f2937;
  color: #9ca3af;
  padding: 1rem 0;
  font-size: 0.85rem;
}

footer a { color: #9ca3af; text-decoration: none; }

footer a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  header h1 { font-size: 1.5rem; }
  
  .score-value { font-size: 2.5rem; }
  
  .score-breakdown { grid-template-columns: repeat(3, 1fr); }
  
  .comparison-card h3 { font-size: 0.95rem; }
  
  .comparison-score { font-size: 1.75rem; }
  
  guide-section ul { columns: 2; column-gap: 2rem; }
}

@media (max-width: 400px) {
  .score-breakdown { grid-template-columns: 1fr; }
  guide-section ul { columns: 1; }
}


/* Factory-injected deployment helpers. The AI owns the site design above this block. */
.ad-unit {
  width: min(100%, 720px);
  min-height: 120px;
  margin: 24px auto;
  display: block;
}

.legal-page {
  width: min(900px, calc(100% - 32px));
  margin: 40px auto;
}

.factory-fallback-nav {
  width: min(900px, calc(100% - 32px));
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  font-size: 0.95rem;
}

.factory-fallback-nav a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
