/* "What do you need on your final?" tool (public/final-grade.js). Self-contained: the GPA
   pages use two different page stylesheets. Colors are the V2 tokens (src/theme/tokens.js). */
section.fg { max-width: 760px; margin: 32px auto; padding: 22px; background: #FFFFFF; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 16px; font-family: 'Inter', system-ui, sans-serif; color: #1C1B18; text-align: left; }
.fg .fg-h { margin: 0 0 14px; font-family: inherit; font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; color: #1C1B18; }
.fg-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.fg-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: #5C5952; }
.fg-form input { width: 100%; box-sizing: border-box; min-height: 44px; padding: 8px 12px; font: inherit; font-size: 16px; color: #1C1B18; background: #FFFFFF; border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 10px; }
.fg-form input:focus { outline: 2px solid #3452D9; outline-offset: 1px; border-color: #3452D9; }
.fg-out { grid-column: 1 / -1; display: block; padding: 12px 14px; font-size: 15px; line-height: 1.5; color: #1C1B18; background: rgba(52, 82, 217, 0.08); border-radius: 10px; }
.fg .fg-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; font-size: 15px; font-weight: 600; color: #FFFFFF; background: #3452D9; border-radius: 10px; text-decoration: none; }
.fg .fg-btn:hover { background: #2A43B8; color: #FFFFFF; }
.fg .fg-btn--alt, .fg .fg-btn--alt:hover { color: #1C1B18; background: #FFFFFF; border: 1px solid rgba(0, 0, 0, 0.2); }
.fg .pcta { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 10px; margin-top: 14px; }
.fg .pcta-help { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: #5C5952; }
@media (max-width: 560px) {
  section.fg { padding: 18px 16px; }
  .fg-form { grid-template-columns: 1fr; }
  .fg .fg-btn { display: flex; width: 100%; box-sizing: border-box; }
}
