/* Edmonton Weather Network Reliability Checker - Styles */
* {box-sizing: border-box;}
body {font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif; margin: 0; padding: 0; line-height: 1.6; color: #333; background: #fff;}
a {color: #2563eb; text-decoration: none;}
a:hover {text-decoration: underline;}
header {background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%); color: white; padding: 1.5rem 0;}
header h1 {margin: 0 0 0.25rem; font-size: 1.75rem;}
header .tagline {margin: 0 0 1rem; font-size: 1rem; opacity: 0.95;}
nav {display: flex; gap: 1.5rem; flex-wrap: wrap;}
nav a {color: white; font-weight: 500;}
nav a:hover {opacity: 0.8;}
.container {max-width: 1200px; margin: 0 auto; padding: 0 1rem;}
.hero {background: #f8fafc; padding: 2rem 0; text-align: center;}
.hero h2 {margin-top: 0; font-size: 1.5rem; margin-bottom: 0.75rem;}
.hero p {color: #64748b; max-width: 600px; margin: 0 auto;}
.comparison-dashboard {padding: 2rem 0;}
.comparison-dashboard h3 {margin-top: 0; color: #1e293b;}
.controls {display: flex; gap: 1rem; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap;}
.preset-select label {margin-right: 0.5rem; font-weight: 500;}
.preset-select select {padding: 0.5rem; border-radius: 4px; border: 1px solid #d1d5db;}
.primary-btn {background: #2563eb; color: white; border: none; padding: 0.75rem 1.5rem; border-radius: 4px; cursor: pointer; font-weight: 500;}
.primary-btn:hover {background: #1d4ed8;}
.secondary-btn {background: #f3f4f6; color: #374151; border: 1px solid #d1d5db; padding: 0.75rem 1.5rem; border-radius: 4px; cursor: pointer;}
.secondary-btn:hover {background: #e5e7eb;}
table {width: 100%; border-collapse: collapse; margin-bottom: 1.5rem;}
thead {background: #f8fafc;}
thead th {padding: 1rem; text-align: left; font-weight: 600; color: #475569; border-bottom: 2px solid #e2e8f0;}
tbody tr {border-bottom: 1px solid #e2e8f0;}
tbody td {padding: 1rem; vertical-align: top;}
.service-name {font-weight: 600; color: #1e293b;}
.service-name small {color: #64748b; font-weight: normal;}
.score {width: 40px; text-align: center;}
.weight {width: 60px;}
.results {display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 1.5rem;}
.scores {flex: 1; min-width: 300px;}
.actions {flex: 1; min-width: 250px; display: flex; flex-direction: column; gap: 0.75rem;}
.result-item {background: #f8fafc; padding: 1rem; border-radius: 6px; margin-bottom: 0.75rem;}
.result-item h4 {margin: 0 0 0.25rem; font-size: 1rem;}
.result-item .score-value {font-size: 1.5rem; font-weight: 700; color: #2563eb;}
.context {background: #f8fafc; padding: 2rem 0;}
.context h2, .context h3 {color: #1e293b;}
.context h2 {font-size: 1.25rem; margin-bottom: 1rem;}
.context ul {padding-left: 1.5rem;}
.context li {margin-bottom: 0.5rem;}
.context ol {padding-left: 1.5rem;}
.context li {margin-bottom: 0.75rem;}
footer {background: #1e293b; color: #cbd5e1; padding: 1.5rem 0; font-size: 0.9rem;}
footer a {color: #93c5fd;}
footer a:hover {opacity: 0.9;}
.ad-section {padding: 2rem 0;}
.ad-slot-marker {min-height: 120px; background: #f3f4f6; border: 1px dashed #cbd5e1; border-radius: 4px; display: flex; align-items: center; justify-content: center; color: #64748b; font-size: 0.85rem;}
@media (max-width: 768px) {
header h1 {font-size: 1.5rem;}
.controls {flex-direction: column; align-items: stretch;}
.results {flex-direction: column;}
.context {padding: 1.5rem 0;}
}
@media (max-width: 480px) {
nav {gap: 1rem;}
preset-select select {width: 100%;}
}



/* 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;
}
