.inv-cgpa-root {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 99999;
  font-family: inherit;
}

.inv-cgpa-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 228px;
  max-width: min(308px, calc(100vw - 20px));
  background: linear-gradient(135deg, rgba(17,24,39,.96) 0%, rgba(31,41,55,.96) 58%, rgba(109,23,79,.96) 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 10px 12px 10px 10px;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.24), 0 0 0 1px rgba(255,255,255,.05) inset;
  backdrop-filter: blur(10px) saturate(118%);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.inv-cgpa-toggle::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0));
  pointer-events: none;
}

.inv-cgpa-toggle:hover,
.inv-cgpa-toggle:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(17, 24, 39, 0.28), 0 0 0 1px rgba(255,255,255,.08) inset;
  filter: saturate(1.06);
}

.inv-cgpa-toggle-glow {
  position: absolute;
  left: -12px;
  top: -12px;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 68%);
  pointer-events: none;
}

.inv-cgpa-toggle-icon,
.inv-cgpa-header-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  flex: 0 0 auto;
  overflow: hidden;
}

.inv-cgpa-toggle-icon {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.inv-cgpa-header-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #d61f7d 0%, #7c3aed 100%);
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.18);
}

.inv-cgpa-toggle-icon.is-image,
.inv-cgpa-header-icon.is-image {
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
}

.inv-cgpa-toggle-icon img,
.inv-cgpa-header-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.inv-cgpa-brand-shape {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f472b6 0%, #a855f7 100%);
  box-shadow: 0 0 0 5px rgba(255,255,255,.18);
}

.inv-cgpa-header-icon .inv-cgpa-brand-shape {
  width: 16px;
  height: 16px;
  box-shadow: 0 0 0 6px rgba(255,255,255,.18);
}

.inv-cgpa-toggle-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  line-height: 1.1;
}

.inv-cgpa-toggle-title,
.inv-cgpa-toggle-subtitle,
.inv-cgpa-toggle-badge {
  color: #fff !important;
  text-shadow: 0 1px 1px rgba(0,0,0,.22);
}

.inv-cgpa-toggle-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.inv-cgpa-toggle-subtitle {
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.25;
  color: rgba(255,255,255,.88) !important;
}

.inv-cgpa-toggle-badge {
  position: relative;
  z-index: 1;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}


.inv-cgpa-toggle,
.inv-cgpa-toggle:hover,
.inv-cgpa-toggle:focus-visible,
.inv-cgpa-toggle .inv-cgpa-toggle-copy,
.inv-cgpa-toggle .inv-cgpa-toggle-title,
.inv-cgpa-toggle .inv-cgpa-toggle-subtitle,
.inv-cgpa-toggle .inv-cgpa-toggle-badge {
  color: #fff !important;
}

.inv-cgpa-panel {
  width: 428px;
  max-width: min(428px, calc(100vw - 20px));
  height: min(744px, calc(100vh - 36px));
  background: #fff;
  border: 1px solid rgba(229, 231, 235, 0.96);
  border-radius: 22px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: saturate(120%) blur(8px);
}

.inv-cgpa-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #eef2f7;
}

.inv-cgpa-header-main {
  display: flex;
  gap: 12px;
  min-width: 0;
}

.inv-cgpa-header-brand {
  position: relative;
  flex: 0 0 auto;
}

.inv-cgpa-status-dot {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #10b981;
  border: 2px solid #fff;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.14);
}

.inv-cgpa-header-copy {
  min-width: 0;
}

.inv-cgpa-header-title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}

.inv-cgpa-header-subtitle {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.35;
  color: #6b7280;
}

.inv-cgpa-header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex: 0 0 auto;
}

.inv-cgpa-btn,
.inv-cgpa-reset,
.inv-cgpa-close,
.inv-cgpa-product-link,
.inv-cgpa-ask-btn,
.inv-cgpa-chip,
.inv-cgpa-submit {
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.inv-cgpa-reset,
.inv-cgpa-close {
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 12px;
  color: #374151;
  cursor: pointer;
}

.inv-cgpa-reset {
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 600;
}

.inv-cgpa-close {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}

.inv-cgpa-reset:hover,
.inv-cgpa-reset:focus-visible,
.inv-cgpa-close:hover,
.inv-cgpa-close:focus-visible {
  background: #f9fafb;
  border-color: #d1d5db;
}

.inv-cgpa-messages {
  flex: 1;
  overflow: auto;
  padding: 14px;
  background:
    radial-gradient(circle at top right, rgba(214,31,125,.06), transparent 24%),
    linear-gradient(180deg, #fcfcfd 0%, #f8fafc 100%);
  scroll-behavior: smooth;
}

.inv-cgpa-msg {
  display: flex;
  margin-bottom: 12px;
}

.inv-cgpa-msg.is-user {
  justify-content: flex-end;
}

.inv-cgpa-bubble {
  max-width: 86%;
  padding: 12px 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #111827;
  line-height: 1.58;
  font-size: 14px;
  white-space: pre-wrap;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.inv-cgpa-msg.is-user .inv-cgpa-bubble {
  background: #111827;
  color: #fff;
  border-color: #111827;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.16);
}

.inv-cgpa-msg.is-assistant.is-typing .inv-cgpa-bubble {
  display: flex;
  align-items: center;
  gap: 10px;
}

.inv-cgpa-typing-dots {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

.inv-cgpa-typing-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #9ca3af;
  animation: inv-cgpa-bounce 1.15s infinite ease-in-out;
}

.inv-cgpa-typing-dots span:nth-child(2) { animation-delay: .15s; }
.inv-cgpa-typing-dots span:nth-child(3) { animation-delay: .3s; }

@keyframes inv-cgpa-bounce {
  0%, 80%, 100% { opacity: .35; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

.inv-cgpa-section-title {
  margin: 2px 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #6b7280;
  text-transform: uppercase;
}

.inv-cgpa-products-block {
  margin: 16px 0 18px;
}

.inv-cgpa-products {
  display: grid;
  gap: 12px;
}

.inv-cgpa-product {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.inv-cgpa-product-media {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  overflow: hidden;
  background: #f3f4f6;
}

.inv-cgpa-product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.inv-cgpa-product-info {
  min-width: 0;
}

.inv-cgpa-product-name {
  display: inline-block;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
}

.inv-cgpa-product-name:hover,
.inv-cgpa-product-name:focus-visible {
  color: #7c2d92;
}

.inv-cgpa-meta {
  margin-top: 5px;
  font-size: 12px;
  color: #6b7280;
}

.inv-cgpa-price {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.inv-cgpa-note {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.45;
  color: #4b5563;
}

.inv-cgpa-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.inv-cgpa-product-link,
.inv-cgpa-ask-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.inv-cgpa-product-link {
  background: #111827;
  color: #fff;
  border: 1px solid #111827;
}

.inv-cgpa-product-link:hover,
.inv-cgpa-product-link:focus-visible {
  background: #0f172a;
  color: #fff;
}

.inv-cgpa-ask-btn {
  background: #fff;
  color: #374151;
  border: 1px solid #d1d5db;
}

.inv-cgpa-ask-btn:hover,
.inv-cgpa-ask-btn:focus-visible {
  background: #f9fafb;
  border-color: #9ca3af;
}

.inv-cgpa-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.inv-cgpa-chip {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: rgba(255,255,255,.9);
  color: #374151;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.inv-cgpa-chip:hover,
.inv-cgpa-chip:focus-visible {
  background: #fff;
  border-color: #d61f7d;
  color: #111827;
  transform: translateY(-1px);
}

.inv-cgpa-chip.is-primary {
  background: rgba(214,31,125,.08);
  border-color: rgba(214,31,125,.18);
  color: #9d174d;
}

.inv-cgpa-composer {
  padding: 12px 12px 14px;
  background: rgba(255,255,255,.98);
  border-top: 1px solid #eef2f7;
}

.inv-cgpa-form {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.inv-cgpa-input-wrap {
  flex: 1;
  min-width: 0;
}

.inv-cgpa-input {
  width: 100%;
  min-height: 46px;
  max-height: 110px;
  resize: none;
  border: 1px solid #d1d5db;
  border-radius: 15px;
  padding: 12px 14px;
  font: inherit;
  line-height: 1.45;
  background: #fff;
  color: #111827;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
}

.inv-cgpa-input:focus {
  outline: none;
  border-color: #d61f7d;
  box-shadow: 0 0 0 4px rgba(214,31,125,.12);
}

.inv-cgpa-submit {
  border: 0;
  background: #111827;
  color: #fff;
  border-radius: 14px;
  min-width: 88px;
  min-height: 46px;
  padding: 0 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.16);
}

.inv-cgpa-submit:hover,
.inv-cgpa-submit:focus-visible {
  background: #0f172a;
}

.inv-cgpa-submit:disabled,
.inv-cgpa-reset:disabled,
.inv-cgpa-close:disabled,
.inv-cgpa-input:disabled {
  opacity: .62;
  cursor: not-allowed;
}

.inv-cgpa-composer-hint {
  margin-top: 8px;
  font-size: 11px;
  color: #6b7280;
}

.inv-cgpa-panel[hidden],
.inv-cgpa-toggle[hidden] {
  display: none !important;
}

@media (max-width: 767px) {
  .inv-cgpa-root {
    right: 10px;
    left: 10px;
    bottom: 10px;
  }

  .inv-cgpa-toggle {
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: 10px 12px 10px 10px;
  }

  
.inv-cgpa-toggle,
.inv-cgpa-toggle:hover,
.inv-cgpa-toggle:focus-visible,
.inv-cgpa-toggle .inv-cgpa-toggle-copy,
.inv-cgpa-toggle .inv-cgpa-toggle-title,
.inv-cgpa-toggle .inv-cgpa-toggle-subtitle,
.inv-cgpa-toggle .inv-cgpa-toggle-badge {
  color: #fff !important;
}

.inv-cgpa-panel {
    width: auto;
    max-width: none;
    height: min(88vh, 760px);
    border-radius: 24px;
  }

  .inv-cgpa-header {
    padding: 13px;
  }

  .inv-cgpa-header-title {
    font-size: 17px;
  }
}

@media (max-width: 560px) {
  .inv-cgpa-root {
    right: 0;
    left: 0;
    bottom: 0;
  }

  .inv-cgpa-toggle {
    width: auto;
    max-width: calc(100vw - 20px);
    margin: 0 10px 10px;
    padding: 9px 12px 9px 10px;
    border-radius: 16px;
  }

  .inv-cgpa-toggle-badge {
    display: none;
  }

  
.inv-cgpa-toggle,
.inv-cgpa-toggle:hover,
.inv-cgpa-toggle:focus-visible,
.inv-cgpa-toggle .inv-cgpa-toggle-copy,
.inv-cgpa-toggle .inv-cgpa-toggle-title,
.inv-cgpa-toggle .inv-cgpa-toggle-subtitle,
.inv-cgpa-toggle .inv-cgpa-toggle-badge {
  color: #fff !important;
}

.inv-cgpa-panel {
    width: 100%;
    height: 92vh;
    max-height: 92vh;
    border-radius: 22px 22px 0 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.14);
  }

  .inv-cgpa-product {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 10px;
  }

  .inv-cgpa-product-media {
    width: 60px;
    height: 60px;
  }

  .inv-cgpa-form {
    gap: 8px;
  }

  .inv-cgpa-submit {
    min-width: 76px;
    padding: 0 14px;
  }
}


/* Theme-resilient specificity layer */
#inv-cgpa-root.inv-cgpa-root,
#inv-cgpa-root.inv-cgpa-root * {
  box-sizing: border-box;
}

#inv-cgpa-root.inv-cgpa-root button.inv-cgpa-toggle.inv-cgpa-ui-toggle,
#inv-cgpa-root.inv-cgpa-root button.inv-cgpa-reset.inv-cgpa-ui-reset,
#inv-cgpa-root.inv-cgpa-root button.inv-cgpa-close.inv-cgpa-ui-close,
#inv-cgpa-root.inv-cgpa-root button.inv-cgpa-chip.inv-cgpa-ui-chip,
#inv-cgpa-root.inv-cgpa-root button.inv-cgpa-ask-btn.inv-cgpa-ui-ask-btn,
#inv-cgpa-root.inv-cgpa-root button.inv-cgpa-submit.inv-cgpa-ui-submit {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  text-transform: none;
  letter-spacing: normal;
  text-decoration: none;
  text-align: left;
  line-height: 1.2;
}

#inv-cgpa-root.inv-cgpa-root > button.inv-cgpa-toggle.inv-cgpa-ui-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-width: 228px;
  max-width: min(308px, calc(100vw - 20px));
  margin: 0;
  background: linear-gradient(135deg, rgba(17,24,39,.96) 0%, rgba(31,41,55,.96) 58%, rgba(109,23,79,.96) 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  padding: 10px 12px 10px 10px;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.24), 0 0 0 1px rgba(255,255,255,.05) inset;
  backdrop-filter: blur(10px) saturate(118%);
  vertical-align: middle;
}

#inv-cgpa-root.inv-cgpa-root > button.inv-cgpa-toggle.inv-cgpa-ui-toggle:hover,
#inv-cgpa-root.inv-cgpa-root > button.inv-cgpa-toggle.inv-cgpa-ui-toggle:focus-visible {
  color: #fff;
  text-decoration: none;
}

#inv-cgpa-root.inv-cgpa-root button.inv-cgpa-toggle.inv-cgpa-ui-toggle .inv-cgpa-toggle-copy.inv-cgpa-ui-toggle-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

#inv-cgpa-root.inv-cgpa-root button.inv-cgpa-toggle.inv-cgpa-ui-toggle .inv-cgpa-toggle-title.inv-cgpa-ui-toggle-title,
#inv-cgpa-root.inv-cgpa-root button.inv-cgpa-toggle.inv-cgpa-ui-toggle .inv-cgpa-toggle-subtitle.inv-cgpa-ui-toggle-subtitle,
#inv-cgpa-root.inv-cgpa-root button.inv-cgpa-toggle.inv-cgpa-ui-toggle .inv-cgpa-toggle-badge.inv-cgpa-ui-toggle-badge {
  color: #fff !important;
  text-shadow: 0 1px 1px rgba(0,0,0,.22);
}

#inv-cgpa-root.inv-cgpa-root button.inv-cgpa-toggle.inv-cgpa-ui-toggle .inv-cgpa-toggle-subtitle.inv-cgpa-ui-toggle-subtitle {
  color: rgba(255,255,255,.9) !important;
}

#inv-cgpa-root.inv-cgpa-root section.inv-cgpa-panel.inv-cgpa-ui-panel {
  width: 428px;
  max-width: min(428px, calc(100vw - 20px));
  height: min(744px, calc(100vh - 36px));
  margin: 0;
  background: #fff;
  border: 1px solid rgba(229, 231, 235, 0.96);
  border-radius: 22px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#inv-cgpa-root.inv-cgpa-root section.inv-cgpa-panel.inv-cgpa-ui-panel > .inv-cgpa-header.inv-cgpa-ui-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

#inv-cgpa-root.inv-cgpa-root button.inv-cgpa-reset.inv-cgpa-ui-reset,
#inv-cgpa-root.inv-cgpa-root button.inv-cgpa-close.inv-cgpa-ui-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
  border-radius: 12px;
}

#inv-cgpa-root.inv-cgpa-root textarea.inv-cgpa-input.inv-cgpa-ui-input {
  width: 100%;
  min-height: 46px;
  max-height: 110px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 15px;
  background: #fff;
  color: #111827;
  font: inherit;
  line-height: 1.45;
  resize: none;
}

#inv-cgpa-root.inv-cgpa-root textarea.inv-cgpa-input.inv-cgpa-ui-input::placeholder {
  color: #9ca3af;
  opacity: 1;
}

#inv-cgpa-root.inv-cgpa-root button.inv-cgpa-submit.inv-cgpa-ui-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  background: #111827;
  color: #fff;
  font-weight: 700;
  text-align: center;
}

#inv-cgpa-root.inv-cgpa-root button.inv-cgpa-chip.inv-cgpa-ui-chip,
#inv-cgpa-root.inv-cgpa-root button.inv-cgpa-ask-btn.inv-cgpa-ui-ask-btn,
#inv-cgpa-root.inv-cgpa-root a.inv-cgpa-product-link.inv-cgpa-ui-product-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
}

#inv-cgpa-root.inv-cgpa-root a.inv-cgpa-product-link.inv-cgpa-ui-product-link {
  background: #111827;
  color: #fff !important;
  border: 1px solid #111827;
}

#inv-cgpa-root.inv-cgpa-root button.inv-cgpa-ask-btn.inv-cgpa-ui-ask-btn,
#inv-cgpa-root.inv-cgpa-root button.inv-cgpa-chip.inv-cgpa-ui-chip {
  background: #fff;
  color: #374151;
  border: 1px solid #d1d5db;
}

#inv-cgpa-root.inv-cgpa-root button.inv-cgpa-chip.inv-cgpa-ui-chip.is-primary {
  background: rgba(214,31,125,.08);
  border-color: rgba(214,31,125,.18);
  color: #9d174d;
}

@media (max-width: 767px) {
  #inv-cgpa-root.inv-cgpa-root > button.inv-cgpa-toggle.inv-cgpa-ui-toggle {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  #inv-cgpa-root.inv-cgpa-root section.inv-cgpa-panel.inv-cgpa-ui-panel {
    width: auto;
    max-width: none;
    height: min(88vh, 760px);
    border-radius: 24px;
  }
}

@media (max-width: 560px) {
  #inv-cgpa-root.inv-cgpa-root > button.inv-cgpa-toggle.inv-cgpa-ui-toggle {
    width: auto;
    max-width: calc(100vw - 20px);
    margin: 0 10px 10px;
  }

  #inv-cgpa-root.inv-cgpa-root section.inv-cgpa-panel.inv-cgpa-ui-panel {
    width: 100%;
    height: 92vh;
    max-height: 92vh;
    border-radius: 22px 22px 0 0;
  }
}
