/* kgs-strategist-pass06.css — responsive zero-overflow stylesheet */
:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --line: #cbd5e1;
  --accent: #1d4ed8;
  --accent-dark: #1e3a8a;
  --ok-bg: #ecfdf5;
  --ok-ink: #065f46;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }
header, main, footer {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 16px 20px;
}
.nav-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  font-size: 0.95rem;
}
.nav-bar a { color: var(--accent); text-decoration: none; font-weight: 500; }
.nav-bar a:hover { text-decoration: underline; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
  margin: 20px 0;
}
h1 { font-size: clamp(1.55rem, 3.2vw, 2.25rem); line-height: 1.25; margin: 12px 0 16px; }
h2 { font-size: clamp(1.2rem, 2.4vw, 1.55rem); line-height: 1.3; margin: 28px 0 12px; }
p { margin: 0 0 14px; }
.meta-badge {
  display: inline-block;
  background: #e2e8f0;
  color: var(--ink);
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}
.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 16px 0 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 0.94rem;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 11px 13px;
  border-bottom: 1px solid var(--line);
}
th { background: #f1f5f9; font-weight: 600; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.form-field { display: flex; flex-direction: column; gap: 5px; }
.form-field label { font-size: 0.9rem; font-weight: 600; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
}
.hp-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary:hover { background: var(--accent-dark); }
.status-box {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 6px;
  background: var(--ok-bg);
  color: var(--ok-ink);
  display: none;
}
footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 32px;
  padding-top: 18px;
}
