@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

/* tc-scoped:tc-wp-tool-root */

.tc-wp-tool-root {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: flow-root;
  isolation: isolate;
  position: relative;
}
.tc-wp-tool-root img,
.tc-wp-tool-root video,
.tc-wp-tool-root svg,
.tc-wp-tool-root iframe {
  max-width: 100%;
  height: auto;
}

.tc-wp-tool-root, .tc-wp-tool-root{
  overflow-x: hidden;
}.tc-wp-tool-root .semester-gpa-tool{
  --sgpa-ink: #122033;
  --sgpa-muted: #5c6b7c;
  --sgpa-soft: #eef5f8;
  --sgpa-card: #ffffff;
  --sgpa-line: #d8e3ea;
  --sgpa-blue: #244f8f;
  --sgpa-teal: #0f766e;
  --sgpa-gold: #b7791f;
  --sgpa-red: #b42318;
  --sgpa-green: #13795b;
  --sgpa-shadow: 0 22px 55px rgba(18, 32, 51, 0.14);
  --sgpa-radius: 18px;
  --sgpa-gap: 18px;
  --sgpa-pad: 22px;
  --sgpa-h1: 42px;
  --sgpa-subtitle: 17px;
  --sgpa-input-size: 15px;
  --sgpa-button-size: 15px;
  --sgpa-preview-text: 14px;
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border-radius: 0;
  padding: 48px 18px;
  color: var(--sgpa-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(rgba(255, 255, 255, 0.78) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.78) 1px, transparent 1px),
    radial-gradient(circle at 15% 10%, rgba(36, 79, 143, 0.18), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(15, 118, 110, 0.18), transparent 26%),
    linear-gradient(135deg, #e7f0f8 0%, #f7fbfa 46%, #f5efe2 100%);
  background-size: 28px 28px, 28px 28px, auto, auto, auto;
  overflow-x: hidden;
}.tc-wp-tool-root .semester-gpa-tool *, .tc-wp-tool-root .semester-gpa-tool *::before, .tc-wp-tool-root .semester-gpa-tool *::after{
  box-sizing: border-box;
  min-width: 0;
}.tc-wp-tool-root .sgpa-header{
  width: min(100%, 980px);
  max-width: 100%;
  margin: 0 auto 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
}.tc-wp-tool-root .sgpa-header h1{
  margin: 0;
  color: #0c1a2b;
  font-size: var(--sgpa-h1);
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}.tc-wp-tool-root .sgpa-header p{
  margin: 0;
  max-width: 720px;
  color: #314357;
  font-size: var(--sgpa-subtitle);
  line-height: 1.55;
  overflow-wrap: anywhere;
}.tc-wp-tool-root .sgpa-card{
  width: min(100%, 1180px);
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: var(--sgpa-gap);
  align-items: start;
  padding: var(--sgpa-pad);
  border: 1px solid rgba(216, 227, 234, 0.9);
  border-radius: var(--sgpa-radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--sgpa-shadow);
  backdrop-filter: blur(10px);
}.tc-wp-tool-root .sgpa-panel{
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--sgpa-line);
  border-radius: 16px;
  background: var(--sgpa-card);
  padding: var(--sgpa-pad);
}.tc-wp-tool-root .sgpa-input-panel{
  display: grid;
  gap: var(--sgpa-gap);
}.tc-wp-tool-root .sgpa-result-panel{
  display: grid;
  gap: var(--sgpa-gap);
  overflow-y: auto;
  scrollbar-color: rgba(36, 79, 143, 0.45) rgba(231, 240, 248, 0.8);
  scrollbar-width: thin;
}.tc-wp-tool-root .sgpa-result-panel::-webkit-scrollbar{
  width: 10px;
}.tc-wp-tool-root .sgpa-result-panel::-webkit-scrollbar-track{
  background: rgba(231, 240, 248, 0.8);
  border-radius: 999px;
}.tc-wp-tool-root .sgpa-result-panel::-webkit-scrollbar-thumb{
  background: rgba(36, 79, 143, 0.45);
  border-radius: 999px;
}.tc-wp-tool-root .sgpa-settings-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sgpa-gap);
  width: 100%;
}.tc-wp-tool-root .sgpa-field{
  display: grid;
  gap: 7px;
  width: 100%;
}.tc-wp-tool-root .sgpa-field label{
  color: #26384c;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}.tc-wp-tool-root .sgpa-input, .tc-wp-tool-root .sgpa-grade, .tc-wp-tool-root .sgpa-credit, .tc-wp-tool-root .sgpa-course-name{
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 46px;
  border: 1px solid #cbd9e3;
  border-radius: 12px;
  background: #fbfdff;
  color: var(--sgpa-ink);
  font-size: var(--sgpa-input-size);
  line-height: 1.35;
  padding: 11px 12px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}.tc-wp-tool-root .sgpa-input:focus, .tc-wp-tool-root .sgpa-grade:focus, .tc-wp-tool-root .sgpa-credit:focus, .tc-wp-tool-root .sgpa-course-name:focus, .tc-wp-tool-root .sgpa-btn:focus, .tc-wp-tool-root .sgpa-shortcut:focus, .tc-wp-tool-root .sgpa-remove:focus{
  border-color: var(--sgpa-blue);
  box-shadow: 0 0 0 4px rgba(36, 79, 143, 0.16);
}.tc-wp-tool-root .sgpa-input:disabled{
  color: #75869a;
  background: #eef3f7;
  cursor: not-allowed;
}.tc-wp-tool-root .sgpa-course-list{
  display: grid;
  gap: 12px;
  width: 100%;
}.tc-wp-tool-root .sgpa-course-row{
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.55fr) minmax(0, 0.72fr) minmax(44px, auto);
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid #dbe6ed;
  border-left: 5px solid var(--sgpa-teal);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(248, 251, 253, 0.96), rgba(255, 255, 255, 0.98)),
    repeating-linear-gradient(0deg, transparent 0, transparent 29px, rgba(36, 79, 143, 0.05) 30px);
}.tc-wp-tool-root .sgpa-course-row .sgpa-field{
  gap: 6px;
}.tc-wp-tool-root .sgpa-remove{
  width: 100%;
  max-width: 100%;
  min-height: 46px;
  border: 1px solid #f0c7c2;
  border-radius: 12px;
  background: #fff5f4;
  color: var(--sgpa-red);
  font-size: var(--sgpa-button-size);
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}.tc-wp-tool-root .sgpa-remove:hover{
  background: #ffe7e4;
  border-color: #e69a92;
  transform: translateY(-1px);
}.tc-wp-tool-root .sgpa-actions, .tc-wp-tool-root .sgpa-shortcuts{
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}.tc-wp-tool-root .sgpa-shortcuts{
  width: min(100%, 1180px);
  margin: 18px auto 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}.tc-wp-tool-root .sgpa-btn, .tc-wp-tool-root .sgpa-shortcut{
  width: 100%;
  max-width: 100%;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 11px 14px;
  font-size: var(--sgpa-button-size);
  font-weight: 800;
  line-height: 1.25;
  cursor: pointer;
  overflow-wrap: anywhere;
  word-break: break-word;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}.tc-wp-tool-root .sgpa-btn:hover, .tc-wp-tool-root .sgpa-shortcut:hover{
  transform: translateY(-1px);
}.tc-wp-tool-root .sgpa-btn-primary{
  color: #ffffff;
  background: linear-gradient(135deg, var(--sgpa-blue), #1f6f8d);
  box-shadow: 0 12px 24px rgba(36, 79, 143, 0.22);
}.tc-wp-tool-root .sgpa-btn-muted{
  color: #244059;
  background: #eef5f8;
  border-color: #cfe0ea;
}.tc-wp-tool-root .sgpa-btn-copy, .tc-wp-tool-root .sgpa-shortcut{
  color: #0e514c;
  background: #e7f6f3;
  border-color: #bfe4dd;
}.tc-wp-tool-root .sgpa-btn-copy.is-copied{
  color: #ffffff;
  background: var(--sgpa-green);
}.tc-wp-tool-root .sgpa-result-hero{
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 18px;
  border-radius: 16px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(18, 32, 51, 0.94), rgba(36, 79, 143, 0.9)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 48px);
}.tc-wp-tool-root .sgpa-kicker{
  width: fit-content;
  max-width: 100%;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #d8f3ef;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}.tc-wp-tool-root .sgpa-result-hero strong{
	color: #fff;
  font-size: clamp(38px, 7vw, 64px);
  line-height: 1;
  overflow-wrap: anywhere;
}.tc-wp-tool-root .sgpa-result-hero span:last-child{
  color: #edf6fb;
  font-size: var(--sgpa-preview-text);
  line-height: 1.45;
  overflow-wrap: anywhere;
}.tc-wp-tool-root .sgpa-preview-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sgpa-gap);
  width: 100%;
}.tc-wp-tool-root .sgpa-stat-card{
  width: 100%;
  max-width: 100%;
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid #d7e5ec;
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfdff, #f5faf9);
}.tc-wp-tool-root .sgpa-stat-card span{
  color: var(--sgpa-muted);
  font-size: var(--sgpa-preview-text);
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}.tc-wp-tool-root .sgpa-stat-card strong{
  color: var(--sgpa-ink);
  font-size: calc(var(--sgpa-preview-text) + 8px);
  line-height: 1.15;
  overflow-wrap: anywhere;
  word-break: break-word;
}.tc-wp-tool-root .sgpa-message-box{
  width: 100%;
  max-width: 100%;
  padding: 14px;
  border: 1px solid #d8e3ea;
  border-radius: 14px;
  background: #f8fbfd;
  color: #30465d;
  font-size: var(--sgpa-preview-text);
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: break-word;
}.tc-wp-tool-root .sgpa-message-box.is-warning{
  border-color: #efd08d;
  background: #fff9eb;
  color: #6f4a08;
}.tc-wp-tool-root .sgpa-message-box.is-success{
  border-color: #bfe4dd;
  background: #edf9f6;
  color: #0f514b;
}@media (min-width: 320px) and (max-width: 374px) {.tc-wp-tool-root .semester-gpa-tool{
    --sgpa-gap: 12px;
    --sgpa-pad: 13px;
    --sgpa-h1: 28px;
    --sgpa-subtitle: 14px;
    --sgpa-input-size: 14px;
    --sgpa-button-size: 14px;
    --sgpa-preview-text: 13px;
    padding: 28px 10px;
  }.tc-wp-tool-root .sgpa-header, .tc-wp-tool-root .sgpa-card, .tc-wp-tool-root .sgpa-shortcuts{
    width: 100%;
  }.tc-wp-tool-root .sgpa-card, .tc-wp-tool-root .sgpa-settings-grid, .tc-wp-tool-root .sgpa-course-row, .tc-wp-tool-root .sgpa-actions, .tc-wp-tool-root .sgpa-shortcuts, .tc-wp-tool-root .sgpa-preview-grid{
    grid-template-columns: 1fr !important;
  }.tc-wp-tool-root .sgpa-input-panel, .tc-wp-tool-root .sgpa-result-panel{
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }.tc-wp-tool-root .sgpa-stat-card, .tc-wp-tool-root .sgpa-result-hero{
    padding: 13px;
  }.tc-wp-tool-root .sgpa-input, .tc-wp-tool-root .sgpa-grade, .tc-wp-tool-root .sgpa-credit, .tc-wp-tool-root .sgpa-course-name, .tc-wp-tool-root .sgpa-btn, .tc-wp-tool-root .sgpa-shortcut, .tc-wp-tool-root .sgpa-remove{
    min-height: 44px;
  }}@media (min-width: 375px) and (max-width: 429px) {.tc-wp-tool-root .semester-gpa-tool{
    --sgpa-gap: 13px;
    --sgpa-pad: 15px;
    --sgpa-h1: 30px;
    --sgpa-subtitle: 15px;
    --sgpa-input-size: 15px;
    --sgpa-button-size: 14px;
    --sgpa-preview-text: 13px;
    padding: 32px 12px;
  }.tc-wp-tool-root .sgpa-header, .tc-wp-tool-root .sgpa-card, .tc-wp-tool-root .sgpa-shortcuts{
    width: 100%;
  }.tc-wp-tool-root .sgpa-card, .tc-wp-tool-root .sgpa-settings-grid, .tc-wp-tool-root .sgpa-course-row, .tc-wp-tool-root .sgpa-actions, .tc-wp-tool-root .sgpa-shortcuts, .tc-wp-tool-root .sgpa-preview-grid{
    grid-template-columns: 1fr !important;
  }.tc-wp-tool-root .sgpa-input-panel, .tc-wp-tool-root .sgpa-result-panel{
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }.tc-wp-tool-root .sgpa-stat-card, .tc-wp-tool-root .sgpa-result-hero{
    padding: 14px;
  }.tc-wp-tool-root .sgpa-btn, .tc-wp-tool-root .sgpa-shortcut, .tc-wp-tool-root .sgpa-remove{
    min-height: 45px;
  }}@media (min-width: 430px) and (max-width: 767px) {.tc-wp-tool-root .semester-gpa-tool{
    --sgpa-gap: 14px;
    --sgpa-pad: 16px;
    --sgpa-h1: 34px;
    --sgpa-subtitle: 15px;
    --sgpa-input-size: 15px;
    --sgpa-button-size: 15px;
    --sgpa-preview-text: 14px;
    padding: 36px 14px;
  }.tc-wp-tool-root .sgpa-header, .tc-wp-tool-root .sgpa-card, .tc-wp-tool-root .sgpa-shortcuts{
    width: 100%;
  }.tc-wp-tool-root .sgpa-card, .tc-wp-tool-root .sgpa-settings-grid, .tc-wp-tool-root .sgpa-course-row, .tc-wp-tool-root .sgpa-actions, .tc-wp-tool-root .sgpa-shortcuts, .tc-wp-tool-root .sgpa-preview-grid{
    grid-template-columns: 1fr !important;
  }.tc-wp-tool-root .sgpa-input-panel, .tc-wp-tool-root .sgpa-result-panel{
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }.tc-wp-tool-root .sgpa-stat-card, .tc-wp-tool-root .sgpa-result-hero{
    padding: 15px;
  }.tc-wp-tool-root .sgpa-btn, .tc-wp-tool-root .sgpa-shortcut, .tc-wp-tool-root .sgpa-remove{
    min-height: 46px;
  }}@media (min-width: 768px) and (max-width: 1023px) {.tc-wp-tool-root .semester-gpa-tool{
    --sgpa-gap: 16px;
    --sgpa-pad: 18px;
    --sgpa-h1: 38px;
    --sgpa-subtitle: 16px;
    --sgpa-input-size: 15px;
    --sgpa-button-size: 15px;
    --sgpa-preview-text: 14px;
    padding: 42px 18px;
  }.tc-wp-tool-root .sgpa-card, .tc-wp-tool-root .sgpa-shortcuts{
    width: min(100%, 900px);
  }.tc-wp-tool-root .sgpa-card{
    grid-template-columns: 1fr;
  }.tc-wp-tool-root .sgpa-course-row{
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.55fr) minmax(0, 0.65fr) minmax(86px, 0.34fr);
  }.tc-wp-tool-root .sgpa-preview-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }.tc-wp-tool-root .sgpa-stat-card, .tc-wp-tool-root .sgpa-result-hero{
    padding: 16px;
  }.tc-wp-tool-root .sgpa-shortcuts{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}@media (min-width: 1024px) and (max-width: 1199px) {.tc-wp-tool-root .semester-gpa-tool{
    --sgpa-gap: 17px;
    --sgpa-pad: 20px;
    --sgpa-h1: 40px;
    --sgpa-subtitle: 17px;
    --sgpa-input-size: 15px;
    --sgpa-button-size: 15px;
    --sgpa-preview-text: 14px;
    padding: 46px 20px;
  }.tc-wp-tool-root .sgpa-card, .tc-wp-tool-root .sgpa-shortcuts{
    width: min(100%, 1080px);
  }.tc-wp-tool-root .sgpa-course-row{
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.5fr) minmax(0, 0.65fr) minmax(82px, 0.32fr);
  }.tc-wp-tool-root .sgpa-preview-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }.tc-wp-tool-root .sgpa-stat-card, .tc-wp-tool-root .sgpa-result-hero{
    padding: 16px;
  }.tc-wp-tool-root .sgpa-shortcuts{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }}@media (min-width: 1200px) {.tc-wp-tool-root .semester-gpa-tool{
    --sgpa-gap: 18px;
    --sgpa-pad: 22px;
    --sgpa-h1: 44px;
    --sgpa-subtitle: 17px;
    --sgpa-input-size: 15px;
    --sgpa-button-size: 15px;
    --sgpa-preview-text: 14px;
    padding: 52px 24px;
  }.tc-wp-tool-root .sgpa-card, .tc-wp-tool-root .sgpa-shortcuts{
    width: min(100%, 1180px);
  }.tc-wp-tool-root .sgpa-course-row{
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.55fr) minmax(0, 0.72fr) minmax(86px, 0.3fr);
  }.tc-wp-tool-root .sgpa-preview-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }.tc-wp-tool-root .sgpa-stat-card, .tc-wp-tool-root .sgpa-result-hero{
    padding: 18px;
  }}.tc-wp-tool-root{
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  margin-top: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  z-index: 0 !important;
}

.tc-wp-tool-root .sgpa-custom-scale-field {}