/* GPA Calculator — tool-specific styles */
.gp-tablewrap { overflow-x: auto; }
.gp-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.gp-table th, .gp-table td { padding: 8px 8px 8px 0; text-align: left; border-bottom: 1px solid var(--line); }
.gp-table thead th { color: var(--muted-2); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; }
.gp-table input, .gp-table select { background: var(--bg-soft); border: 1px solid var(--line); color: var(--text);
  border-radius: 8px; padding: 9px 10px; font-family: inherit; font-size: .92rem; width: 100%; }
.gp-table input:focus, .gp-table select:focus { outline: none; border-color: var(--accent); }
.gp-table td:nth-child(2) { width: 110px; }
.gp-table td:nth-child(3) { width: 90px; }
.gp-table td:nth-child(4) { width: 40px; text-align: center; }
.gp-del { background: none; border: none; color: var(--muted-2); font-size: 1.1rem; cursor: pointer;
  padding: 6px; border-radius: 7px; transition: color .15s, background .15s; }
.gp-del:hover { color: var(--danger); background: rgba(255,107,138,.1); }
#gpAdd { margin-top: 14px; }

.gp-result { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 2fr; gap: 18px; align-items: start; }
.gp-big { background: var(--bg-soft); border: 1px solid rgba(108,139,255,.4); border-radius: var(--radius-sm);
  padding: 16px 20px; text-align: center; }
.gp-big small { display: block; color: var(--muted-2); font-size: .78rem; text-transform: uppercase;
  letter-spacing: .05em; font-weight: 700; margin-bottom: 4px; }
.gp-big b { font-size: 2.4rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums;
  background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gp-cum { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gp-cum .gp-big-2 { grid-column: 1 / -1; }

.gp-finalrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gp-finalout { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); text-align: center;
  animation: ats-rise .35s cubic-bezier(.23,1,.32,1) both; }
.gp-finalout .gp-big { display: inline-block; min-width: 260px; }
.gp-finalout .gp-big b { font-size: clamp(2.4rem, 7vw, 3.4rem); }
.gp-verdict { color: var(--muted); margin: 14px 0 0; font-size: 1rem; }
.gp-verdict.good { color: var(--good); font-weight: 600; }
.gp-verdict.hard { color: #ffce5c; font-weight: 600; }
.gp-verdict.bad { color: var(--danger); font-weight: 600; }

@media (max-width: 720px) { .gp-result { grid-template-columns: 1fr; } .gp-finalrow { grid-template-columns: 1fr; } }
