/* Base styles for Code Review Workflow Designer */
* { box-sizing: border-box; }
html { font-size: 16px; }
body {
 margin: 0;
 font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
 line-height: 1.6;
 color: #1a1a1a;
 background: #fafafa;
}
.logo {
 position: fixed;
 top: 1rem;
 left: 1rem;
 color: #666;
 text-decoration: none;
 font-size: 0.875rem;
}
main {
 max-width: 90rem;
 margin: 0 auto;
 padding: 4rem 1rem 2rem;
}
header {
 text-align: center;
 margin-bottom: 2rem;
}
header h1 {
 font-size: 2.25rem;
 font-weight: 700;
 margin: 0 0 0.5rem;
}
header p {
 color: #555;
 font-size: 1.125rem;
}
section {
 background: #fff;
 border-radius: 8px;
 padding: 1.5rem;
 margin-bottom: 1.5rem;
 box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
section h2 {
 font-size: 1.25rem;
 font-weight: 600;
 margin-top: 0;
 margin-bottom: 1rem;
 color: #1a1a1a;
}
.field-group {
 margin-bottom: 1.25rem;
}
.field-group label {
 display: block;
 font-weight: 500;
 margin-bottom: 0.5rem;
}
.field-group input[type="radio"] {
 margin-right: 0.75rem;
}
fieldset {
 border: 1px solid #e5e5e5;
 border-radius: 6px;
 padding: 1rem;
}
legend {
 font-weight: 600;
 padding: 0 0.5rem;
}
select {
 width: 100%;
 padding: 0.75rem;
 border: 1px solid #d1d5db;
 border-radius: 6px;
 font-size: 1rem;
}
button {
 background: #2563eb;
 color: #fff;
 border: none;
 padding: 0.75rem 1.5rem;
 border-radius: 6px;
 font-size: 1rem;
 font-weight: 500;
 cursor: pointer;
}
button:hover { background: #1d4ed8; }
button:disabled { background: #9ca3af; cursor: not-allowed; }
#results-container {
 min-height: 10rem;
}
.checklist {
 list-style: none;
 padding: 0;
 margin: 0;
}
.checklist li {
 padding: 0.75rem 0;
 border-bottom: 1px solid #f3f4f6;
 display: flex;
 align-items: flex-start;
}
.checklist li:last-child { border-bottom: none; }
.checklist input {
 margin-right: 1rem;
 margin-top: 0.125rem;
}
.checklist label {
 margin: 0;
 font-weight: normal;
}
.checklist .category {
 font-weight: 600;
 color: #374151;
 margin-top: 1rem;
 margin-bottom: 0.5rem;
}
.checklist .category + .category { margin-top: 1.5rem; }
.checklist .commentary {
 font-size: 0.875rem;
 color: #6b7280;
 margin-top: 0.25rem;
}
.scenario-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
 gap: 1rem;
}
.scenario-card {
 background: #f9fafb;
 padding: 1rem;
 border-radius: 6px;
}
.scenario-card h3 {
 font-size: 1rem;
 margin: 0 0 0.5rem;
}
.scenario-card p {
 font-size: 0.875rem;
 color: #6b7280;
 margin: 0;
}
.print-btn, .save-btn {
 background: #10b981;
 margin-left: 0.5rem;
}
.print-btn:hover, .save-btn:hover { background: #059669; }
@media (max-width: 600px) {
 main { padding: 5rem 1rem 1.5rem; }
 header h1 { font-size: 1.75rem; }
 .scenario-grid { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
 .print-btn, .save-btn { margin-left: 0; margin-bottom: 0.5rem; }
}



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