.sg-request-body { background: #f5f5f5; color: var(--black); }
.sg-request-nav {
  align-items: stretch;
  background: var(--black);
  border-bottom: var(--border-4);
  display: flex;
  justify-content: space-between;
  min-height: 62px;
}
.sg-request-brand {
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 800;
  line-height: 0.95;
  padding: 12px 24px;
  text-decoration: none;
}
.sg-request-nav-links { align-items: center; display: flex; gap: 22px; padding: 0 24px; }
.sg-request-nav-links a { color: var(--white); font-size: 13px; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.sg-request-nav-links a:hover { color: var(--yellow); }
.sg-request-main { margin: 0 auto; max-width: 1180px; padding: 42px 24px 64px; }
.sg-request-hero {
  align-items: end;
  background: var(--purple);
  border: var(--border-4);
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 32px;
  justify-content: space-between;
  padding: clamp(28px, 6vw, 64px);
}
.sg-request-eyebrow {
  background: var(--yellow);
  border: 2px solid var(--black);
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  text-transform: uppercase;
}
.sg-request-hero h1 {
  color: var(--white);
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.86;
  margin: 16px 0;
}
.sg-request-hero h1 span { color: var(--yellow); }
.sg-request-hero p { color: var(--white); font-size: 18px; max-width: 560px; }
.sg-request-hero .sg-btn { flex: 0 0 auto; }
.sg-request-layout { display: grid; gap: 28px; grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr); margin: 52px 0; }
.sg-request-form, .sg-request-rules, .sg-request-card, .sg-request-report-panel {
  background: var(--white);
  border: var(--border);
  box-shadow: var(--shadow);
}
.sg-request-form { padding: 28px; }
.sg-request-form-heading { align-items: start; display: flex; gap: 20px; justify-content: space-between; }
.sg-request-form h2, .sg-request-rules h2, .sg-request-feed h2, .sg-request-report-panel h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
  text-transform: uppercase;
}
.sg-request-form-copy { color: var(--gray-500); font-size: 14px; margin: 18px 0 22px; max-width: 650px; }
.sg-request-form label, .sg-request-report-panel label { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; margin: 16px 0 6px; text-transform: uppercase; }
.sg-request-form input, .sg-request-form textarea, .sg-request-report-panel select {
  border: var(--border);
  border-radius: 0;
  font-size: 16px;
  padding: 11px 12px;
  width: 100%;
}
.sg-request-form textarea { min-height: 140px; resize: vertical; }
.sg-request-form input:focus, .sg-request-form textarea:focus, .sg-request-report-panel select:focus { outline: 3px solid var(--blue); outline-offset: 2px; }
.sg-request-form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.sg-request-status { font-size: 14px; font-weight: 700; margin-top: 16px; min-height: 1.5em; }
.sg-request-status[data-kind='error'] { color: #b91c1c; }
.sg-request-status[data-kind='success'] { color: #237804; }
.sg-request-candidates { border-left: 6px solid var(--blue); margin-top: 20px; padding: 12px 0 12px 16px; }
.sg-request-candidates[hidden], .sg-request-report-panel[hidden] { display: none; }
.sg-request-candidates h3 { font-size: 16px; margin-bottom: 8px; text-transform: uppercase; }
.sg-request-candidates ul { list-style: none; }
.sg-request-candidates li { align-items: center; display: flex; gap: 12px; justify-content: space-between; margin: 8px 0; }
.sg-request-candidates a { font-weight: 800; }
.sg-request-candidates span { color: var(--gray-500); font-family: var(--font-mono); font-size: 12px; white-space: nowrap; }
.sg-request-rules { background: var(--yellow); padding: 28px; }
.sg-request-rules h2 { margin: 16px 0; }
.sg-request-rules p { margin: 14px 0; }
.sg-request-rules a { display: inline-block; font-weight: 800; margin-top: 8px; }
.sg-request-feed { border-top: var(--border-4); padding-top: 28px; }
.sg-request-feed-heading { align-items: end; display: flex; justify-content: space-between; margin-bottom: 26px; }
.sg-request-feed-heading h2 { margin-top: 14px; }
.sg-request-feed-heading p { color: var(--gray-500); font-size: 13px; }
.sg-request-list { display: grid; gap: 18px; }
.sg-request-card { padding: 22px; position: relative; }
.sg-request-card-focused { border-width: 5px; box-shadow: 7px 7px 0 var(--purple); }
.sg-request-card-topline { align-items: center; display: flex; justify-content: space-between; }
.sg-request-vote-count { background: var(--blue); border: 2px solid var(--black); font-family: var(--font-mono); font-size: 12px; font-weight: 800; padding: 3px 7px; }
.sg-request-card time { color: var(--gray-500); font-family: var(--font-mono); font-size: 12px; }
.sg-request-card h3 { font-size: clamp(21px, 3vw, 29px); line-height: 1; margin: 16px 0 10px; }
.sg-request-card h3 a { text-decoration-thickness: 2px; }
.sg-request-card p { max-width: 800px; white-space: pre-wrap; }
.sg-request-card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.sg-request-action { background: var(--white); border: 2px solid var(--black); cursor: pointer; font-size: 12px; font-weight: 800; padding: 6px 9px; text-transform: uppercase; }
.sg-request-action:hover { background: var(--yellow); }
.sg-request-action:disabled { cursor: wait; opacity: 0.65; }
.sg-request-upvote { background: var(--yellow); }
.sg-request-report { border-color: var(--gray-500); color: var(--gray-500); }
.sg-request-empty { background: var(--white); border: var(--border); padding: 28px; }
.sg-request-report-panel { align-items: start; display: grid; gap: 30px; grid-template-columns: 1fr 1fr; margin-top: 40px; padding: 28px; }
.sg-request-report-panel h2 { margin: 16px 0 10px; }
.sg-request-report-panel form { min-width: 0; }
.sg-request-footer { background: var(--black); border-top: var(--border-4); color: var(--yellow); display: flex; font-family: var(--font-mono); font-size: 12px; font-weight: 800; justify-content: space-between; padding: 22px 24px; text-transform: uppercase; }
.sg-request-footer a { color: var(--white); text-decoration: none; }
.sg-request-not-found { align-items: center; display: flex; justify-content: center; min-height: 100vh; padding: 24px; }
.sg-request-not-found main { background: var(--white); border: var(--border-4); box-shadow: var(--shadow-lg); max-width: 600px; padding: 48px; }
.sg-request-not-found h1 { font-size: clamp(40px, 7vw, 68px); line-height: 0.9; margin: 18px 0; }
.sg-request-not-found p { margin-bottom: 24px; }

@media (max-width: 760px) {
  .sg-request-nav { min-height: 56px; }
  .sg-request-brand { padding: 11px 14px; }
  .sg-request-nav-links { gap: 12px; padding: 0 14px; }
  .sg-request-nav-links a { font-size: 11px; }
  .sg-request-main { padding: 26px 16px 44px; }
  .sg-request-hero, .sg-request-layout, .sg-request-report-panel { grid-template-columns: 1fr; }
  .sg-request-hero { align-items: start; flex-direction: column; padding: 30px 22px; }
  .sg-request-layout { margin: 36px 0; }
  .sg-request-form, .sg-request-rules, .sg-request-report-panel { padding: 20px; }
  .sg-request-form-heading, .sg-request-feed-heading { align-items: start; flex-direction: column; gap: 12px; }
  .sg-request-candidates li { align-items: start; flex-direction: column; gap: 3px; }
  .sg-request-footer { align-items: start; flex-direction: column; gap: 8px; }
}
