@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

.gc-wrap,
.gc-overlay,
.gc-result-overlay,
.gc-loading-overlay {
  --pink: #E040A0;
  --mint: #2EC4A0;
  --mint-dark: #0A7C62;
  --blue: #2563EB;
  --purple: #7C3AED;
  --grad: linear-gradient(135deg, rgba(37,99,235,.80) 0%, rgba(124,58,237,.80) 45%, rgba(224,64,160,.80) 100%);
  --grad-btn: linear-gradient(135deg, rgba(37,99,235,.80) 0%, rgba(124,58,237,.80) 45%, rgba(190,24,93,.80) 100%);
  --grad-subtle: linear-gradient(135deg, rgba(37,99,235,.06), rgba(124,58,237,.06), rgba(224,64,160,.06));
  --grad-glow: linear-gradient(135deg, rgba(37,99,235,.12), rgba(124,58,237,.12), rgba(224,64,160,.12));
  --ink-label: #5A5E74;
  --ink: #1A1D2E;
  --ink-mid: #4A4D5E;
  --ink-soft: #7A7E94;
  --line: #E4E7F0;
  --line-strong: #CDD1DC;
  --surface: #FFFFFF;
  --surface-raised: #F7F8FC;
  --surface-hover: #EEEEF6;
  --ring-pink: rgba(224, 64, 160, .08);
  --ring-blue: rgba(37, 99, 235, .08);
  --ring-mint: rgba(46, 196, 160, .08);
  --shadow-sm: 0 1px 3px rgba(26,29,46,.05), 0 1px 2px rgba(26,29,46,.04);
  --shadow-md: 0 4px 16px rgba(26,29,46,.07), 0 1px 4px rgba(26,29,46,.04);
  --shadow-lg: 0 12px 40px rgba(26,29,46,.10), 0 4px 12px rgba(26,29,46,.05);
  --shadow-xl: 0 20px 60px rgba(26,29,46,.14), 0 8px 20px rgba(26,29,46,.06);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 8px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

.gc-wrap {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  line-height: 1.55;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.gc-wrap *,
.gc-wrap *::before,
.gc-wrap *::after,
.gc-overlay *,
.gc-overlay *::before,
.gc-overlay *::after,
.gc-result-overlay *,
.gc-loading-overlay * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.gc-wrap [hidden],
.gc-overlay[hidden] {
  display: none !important;
}

.gc-wrap button,
.gc-overlay button {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.gc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 0;
  background: var(--grad-btn);
  padding: 24px 24px 22px;
  position: relative;
}

.gc-header::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -20px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  pointer-events: none;
  box-shadow: -40px 30px 0 rgba(255,255,255,0.04);
}

.gc-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.14) 0%, transparent 55%);
  pointer-events: none;
}

.gc-title {
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0;
  padding: 0;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: #FFFFFF;
  color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  position: relative;
  z-index: 1;
}

.gc-gear {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  transition: all .25s var(--ease);
  padding: 0;
  box-shadow: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  position: relative;
  z-index: 1;
}

.gc-gear:hover {
  border-color: rgba(255, 255, 255, 0.65);
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transform: rotate(45deg);
}

.gc-gear[aria-expanded="true"] {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  transform: rotate(90deg);
}

.gc-gear svg {
  width: 17px;
  height: 17px;
  transition: transform .25s var(--ease);
}

.gc-wrap input:focus-visible,
.gc-wrap button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.gc-gear:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}

.gc-card {
  border: none;
  border-radius: 0;
  padding: 22px 24px 26px;
  background: var(--surface);
  box-shadow: none;
  transition: none;
}

.gc-card:hover {
  box-shadow: none;
}

.gc-card-label {
  font-weight: 600;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-mid);
  margin: 0 0 14px;
  padding-left: 10px;
  border-left: 3px solid var(--blue);
}

.gc-col-labels,
.gc-row {
  display: grid;
  grid-template-columns: 24px 1fr 112px 36px;
  gap: 10px;
  align-items: center;
}

.gc-col-labels {
  padding: 7px 8px;
  margin-bottom: 6px;
  border-bottom: none;
  border-radius: var(--radius-xs);
  background: var(--surface-raised);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-label);
}

.gc-col-labels span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gc-row {
  padding: 7px 8px;
  border-bottom: 1px solid var(--line-strong);
  animation: gc-fadeIn .25s var(--ease) both;
}

.gc-row:last-child {
  border-bottom: none;
}

@keyframes gc-fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gc-row-idx {
  font-size: 0.7rem;
  font-weight: 700;
  color: #FFFFFF;
  text-align: center;
  width: 24px;
  height: 24px;
  line-height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

.gc-row input {
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-xs);
  color: var(--ink);
  font-size: 0.88rem;
  padding: 9px 12px;
  font-family: inherit;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}

.gc-row input::placeholder {
  color: var(--ink-soft);
  opacity: 0.5;
}

.gc-row input:hover {
  border-color: var(--line-strong);
  background: var(--surface-hover);
}

.gc-row input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--ring-blue);
  background: var(--surface);
  outline: none;
}

.gc-row input.gc-invalid {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px var(--ring-pink);
  background: var(--surface);
}

.gc-pct {
  display: flex;
  align-items: stretch;
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-xs);
  overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  gap: 0;
}

.gc-pct input {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 9px 6px 9px 10px;
  border-radius: 0 !important;
  flex: 1;
  min-width: 0;
}

.gc-pct input:hover {
  border-color: transparent !important;
  background: transparent !important;
}

.gc-pct input:focus {
  border-color: transparent !important;
  box-shadow: none !important;
}

.gc-pct:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--ring-blue);
}

.gc-pct:has(input.gc-invalid) {
  border-color: var(--pink) !important;
  box-shadow: 0 0 0 3px var(--ring-pink) !important;
}

.gc-pct input.gc-invalid {
  border-color: transparent !important;
  box-shadow: none !important;
}

.gc-pct span {
  display: flex;
  align-items: center;
  padding: 0 9px 0 5px;
  color: var(--ink-label);
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--surface-raised);
  border-left: 1px solid var(--line-strong);
  flex-shrink: 0;
  user-select: none;
}

.gc-del {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  background: var(--surface-raised);
  color: var(--ink-soft);
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all .2s var(--ease);
  padding: 0;
  opacity: 1;
  flex-shrink: 0;
}

.gc-del:hover {
  color: #BE185D;
  background: rgba(224, 64, 160, .10);
  border-color: var(--pink);
  transform: scale(1.05);
}

.gc-del svg {
  width: 15px;
  height: 15px;
}

.gc-add {
  margin: 14px 0 16px;
  border: 1.5px dashed var(--line-strong);
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  width: 100%;
  text-align: center;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  transition: all .2s var(--ease);
  letter-spacing: 0.01em;
}

.gc-add:hover {
  border-color: var(--blue);
  border-style: solid;
  color: var(--blue);
  background: rgba(37, 99, 235, 0.05);
  transform: translateY(-1px);
}

.gc-msg {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--pink);
  background: rgba(224, 64, 160, .06);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--ink);
  animation: gc-fadeIn .2s var(--ease);
}

.gc-msg ul {
  margin: 0;
  padding-left: 16px;
}

.gc-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.gc-btn {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all .2s var(--ease);
  letter-spacing: 0.015em;
}

.gc-btn:active {
  transform: scale(0.97);
}

.gc-btn--primary {
  color: #FFFFFF;
  background: var(--grad-btn);
  box-shadow: 0 2px 12px rgba(37, 99, 235, .25);
  position: relative;
  overflow: hidden;
}

.gc-btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.18), transparent 60%);
  pointer-events: none;
}

.gc-btn--primary:hover {
  box-shadow: 0 6px 24px rgba(37, 99, 235, .35);
  transform: translateY(-2px);
}

.gc-btn--secondary {
  border: 1.5px solid var(--line-strong);
  color: var(--ink-mid);
  background: var(--surface-raised);
}

.gc-btn--secondary:hover {
  border-color: #B0B5C8;
  color: var(--ink);
  background: var(--surface-hover);
}

.gc-loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 35, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  animation: gc-fadeOverlay .3s var(--ease);
}

.gc-loading-spinner {
  position: relative;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
}

.gc-loading-spinner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-top-color: transparent;
  border-right-color: transparent;
}

.gc-loading-spinner::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top: 3px solid var(--blue);
  border-left: 3px solid var(--purple);
  animation: gc-spin 0.8s linear infinite;
}

@keyframes gc-spin {
  to { transform: rotate(360deg); }
}

.gc-loading-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.90);
  letter-spacing: 0.02em;
}

.gc-loading-dots::after {
  content: "";
  animation: gc-dots 1.5s steps(4, end) infinite;
}

@keyframes gc-dots {
  0%   { content: ""; }
  25%  { content: "."; }
  50%  { content: ".."; }
  75%  { content: "..."; }
  100% { content: ""; }
}

.gc-loading-bar-track {
  width: 180px;
  height: 4px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  margin-top: 16px;
  overflow: hidden;
}

.gc-loading-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--grad);
  border-radius: 4px;
  transition: width 3s linear;
}

.gc-loading-bar-fill.gc-filling {
  width: 100%;
}

.gc-result-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 35, 0.50);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100001;
  animation: gc-fadeOverlay .3s var(--ease);
}

.gc-result-popup {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: gc-popIn .4s var(--ease) both;
}

@keyframes gc-popIn {
  from {
    opacity: 0;
    transform: scale(.9) translateY(16px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.gc-result-popup .gc-result__stripe {
  height: 4px;
  background: var(--grad);
}

.gc-result-popup.gc-bad .gc-result__stripe {
  background: var(--pink);
}

.gc-result-popup.gc-good .gc-result__stripe {
  background: linear-gradient(90deg, var(--mint-dark), var(--mint));
}

.gc-result-popup .gc-result__body {
  padding: 30px 28px 24px;
  text-align: center;
}

.gc-result__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  transition: all .2s var(--ease);
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.gc-result__close:hover {
  color: var(--pink);
  background: var(--ring-pink);
  border-color: var(--pink);
  transform: rotate(90deg);
}

.gc-result__close svg {
  width: 14px;
  height: 14px;
}

.gc-result__kicker {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--blue);
  margin-bottom: 12px;
  opacity: 0.85;
}

.gc-result__value {
  display: inline-block;
  font-family: 'Inter', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 800;
  font-size: 3.2rem;
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.gc-result-popup.gc-bad .gc-result__value {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: initial;
  color: var(--pink);
}

.gc-result__detail {
  margin: 18px auto 0;
  font-size: 0.84rem;
  color: var(--ink-mid);
  max-width: 34ch;
  line-height: 1.65;
}

.gc-result__detail strong {
  color: var(--ink);
  font-weight: 700;
}

.gc-result-popup .gc-result__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  background: var(--surface-raised);
}

.gc-stat {
  padding: 18px 16px;
  text-align: center;
  transition: background .2s var(--ease);
}

.gc-stat:hover {
  background: var(--surface-hover);
}

.gc-stat + .gc-stat {
  border-left: 1px solid var(--line);
}

.gc-stat__number {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  font-family: 'Inter', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.gc-stat__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink-label);
  margin-top: 5px;
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1.4;
}

.gc-result__recalc {
  display: block;
  width: 100%;
  padding: 14px;
  border: none;
  border-top: 1px solid var(--line-strong);
  background: var(--surface-raised);
  color: var(--blue);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s var(--ease);
  letter-spacing: 0.01em;
}

.gc-result__recalc:hover {
  background: var(--grad-btn);
  color: #FFFFFF;
  border-top-color: transparent;
}

.gc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 35, 0.50);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 20px 100px;
  z-index: 99999;
  animation: gc-fadeOverlay .2s var(--ease);
}

@keyframes gc-fadeOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

.gc-modal {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: gc-modalIn .3s var(--ease) both;
}

@keyframes gc-modalIn {
  from {
    opacity: 0;
    transform: scale(.95) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.gc-modal__stripe {
  height: 4px;
  background: var(--grad);
}

.gc-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px 0;
}

.gc-modal h2 {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.gc-modal__sub {
  font-size: 0.84rem;
  color: var(--ink-mid);
  margin: 6px 0 0;
  line-height: 1.55;
}

.gc-modal__close {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xs);
  border: 1px solid var(--line-strong);
  background: var(--surface-raised);
  color: var(--ink-soft);
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  transition: all .2s var(--ease);
}

.gc-modal__close:hover {
  color: var(--pink);
  background: rgba(224, 64, 160, .10);
  border-color: var(--pink);
  transform: rotate(90deg);
}

.gc-modal__close svg {
  width: 16px;
  height: 16px;
}

.gc-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 14px;
  padding: 18px 22px 0;
  align-items: start;
}

.gc-field label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-label);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gc-field input {
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-xs);
  padding: 9px 12px;
  color: var(--ink);
  font-family: 'Inter', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.gc-field input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--ring-blue);
  outline: none;
}

.gc-modal .gc-msg {
  margin: 14px 22px 0;
}

.gc-modal__actions {
  display: flex;
  gap: 8px;
  padding: 18px 22px 20px;
}

.gc-mbtn {
  flex: 1;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 10px 12px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-xs);
  color: var(--ink-mid);
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  transition: all .2s var(--ease);
  letter-spacing: 0.01em;
}

.gc-mbtn:hover {
  border-color: var(--line-strong);
  color: var(--ink);
  background: var(--surface-hover);
}

.gc-mbtn--save {
  border: none;
  font-weight: 600;
  color: #FFFFFF;
  background: var(--grad-btn);
  box-shadow: 0 2px 8px rgba(37, 99, 235, .2);
}

.gc-mbtn--save:hover {
  box-shadow: 0 4px 16px rgba(37, 99, 235, .3);
  transform: translateY(-1px);
}

@media (max-width: 480px) {
  .gc-wrap {
    padding: 0;
    border-radius: 12px;
  }

  .gc-header {
    padding: 18px 16px 16px;
  }

  .gc-title {
    font-size: 1.1rem;
  }

  .gc-card {
    padding: 16px 16px 20px;
  }

  .gc-col-labels,
  .gc-row {
    grid-template-columns: 20px 1fr 92px 32px;
    gap: 6px;
  }

  .gc-col-labels {
    padding: 6px 6px;
  }

  .gc-row {
    padding: 7px 6px;
  }

  .gc-del {
    width: 32px;
    height: 32px;
  }

  .gc-result__value {
    font-size: 2.6rem;
  }

  .gc-result-popup .gc-result__body {
    padding: 24px 20px 18px;
  }

  .gc-result-popup {
    max-width: 92vw;
  }

  .gc-fields {
    grid-template-columns: 1fr;
  }

  .gc-loading-overlay {
    padding: 20px;
  }
}

.gc-wrap,
.gc-wrap * {
  float: none !important;
}

.gc-wrap input[type="number"] {
  min-width: 0;
  max-width: 100%;
  -moz-appearance: textfield;
}

.gc-wrap input[type="number"]::-webkit-outer-spin-button,
.gc-wrap input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.gc-wrap button {
  line-height: inherit;
  text-decoration: none;
  box-shadow: none;
  text-shadow: none;
}

.gc-wrap button:focus {
  box-shadow: none;
}
