.hot-tool .gpa-calculator {
  border: 1px solid #d8e0ea;
  border-radius: 14px;
  padding: 1rem;
  background: #f8fafc;
  color: #172033;
}
.hot-tool .gpa-scale-note { margin-top: 0; }
.hot-tool .gpa-rows { display: grid; gap: .75rem; }
.hot-tool .gpa-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: .65rem;
  padding: .75rem;
  background: #fff;
  border: 1px solid #d8e0ea;
  border-radius: 10px;
}
.hot-tool .gpa-row label { display: grid; gap: .35rem; font-size: .9rem; font-weight: 600; }
.hot-tool .gpa-row input {
  box-sizing: border-box;
  width: 100%;
  min-height: 2.7rem;
  border: 1px solid #aebacc;
  border-radius: 7px;
  padding: .55rem;
  color: #172033;
  background: #fff;
  font: inherit;
}
.hot-tool .gpa-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .85rem; }
.hot-tool .gpa-actions button, .hot-tool #gpa-copy, .hot-tool .gpa-remove {
  min-height: 2.65rem;
  border: 1px solid #2455a6;
  border-radius: 7px;
  padding: .55rem .8rem;
  color: #174283;
  background: #fff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.hot-tool #gpa-calculate { color: #fff; background: #2455a6; }
.hot-tool .gpa-remove { border-color: #c5ceda; color: #334155; font-size: .85rem; }
.hot-tool .gpa-actions button:focus-visible, .hot-tool #gpa-copy:focus-visible, .hot-tool .gpa-remove:focus-visible, .hot-tool input:focus-visible { outline: 3px solid #83b7ff; outline-offset: 2px; }
.hot-tool .gpa-output { white-space: pre-line; margin-top: 1rem; padding: .85rem; border-radius: 8px; background: #eaf2ff; line-height: 1.55; overflow-wrap: anywhere; }
.hot-tool .gpa-output:empty { display: none; }
.hot-tool .gpa-output.is-error { color: #8a1c1c; background: #fff0ef; }
.hot-tool #gpa-copy { margin-top: .65rem; }
.hot-tool .gpa-guide { margin-top: 1.5rem; }
@media (max-width: 520px) {
  .hot-tool .gpa-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hot-tool .gpa-row .gpa-remove { grid-column: 1 / -1; justify-self: start; }
  .hot-tool .gpa-actions { display: grid; }
}
