.gjgc {
  --gjgc-ink: #17211d;
  --gjgc-muted: #5d6b64;
  --gjgc-border: #dce5df;
  --gjgc-soft: #f5f8f6;
  --gjgc-green: #087443;
  --gjgc-green-dark: #075b36;
  --gjgc-warn-bg: #fff9e9;
  --gjgc-warn-border: #ead8a5;
  width: 100%;
  max-width: 980px;
  margin: 24px auto;
  color: var(--gjgc-ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
  box-sizing: border-box;
}
.gjgc *, .gjgc *::before, .gjgc *::after { box-sizing: border-box; }
.gjgc [hidden] { display: none !important; }
.gjgc__intro { margin-bottom: 22px; }
.gjgc__eyebrow { margin: 0 0 7px; color: var(--gjgc-green); font-size: 12px; font-weight: 800; letter-spacing: .09em; }
.gjgc__title { margin: 0 0 8px; font-size: clamp(26px, 4vw, 36px); line-height: 1.2; font-weight: 800; letter-spacing: -.025em; }
.gjgc__lead { max-width: 720px; margin: 0; color: var(--gjgc-muted); }
.gjgc__form, .gjgc__result { padding: clamp(16px, 3vw, 28px); border: 1px solid var(--gjgc-border); border-radius: 16px; background: #fff; box-shadow: 0 8px 26px rgba(15, 35, 25, .045); }
.gjgc__notice { margin: 0 0 20px; padding: 12px 14px; border-radius: 10px; font-size: 14px; }
.gjgc__notice--info { color: #234f3a; background: #f0f8f3; border: 1px solid #d5e9dc; }
.gjgc__notice--warning { margin-top: 18px; color: #5d4a1d; background: var(--gjgc-warn-bg); border: 1px solid var(--gjgc-warn-border); }
.gjgc__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.gjgc__field { min-width: 0; }
.gjgc__field--full { grid-column: 1 / -1; }
.gjgc__field label { display: block; margin: 0 0 7px; font-size: 14px; font-weight: 750; color: var(--gjgc-ink); }
.gjgc__required { color: #b42318; }
.gjgc__field input, .gjgc__field select { display: block; width: 100%; min-height: 48px; margin: 0; padding: 11px 12px; border: 1px solid #cbd7cf; border-radius: 9px; background: #fff; color: var(--gjgc-ink); font: inherit; font-size: 16px; box-shadow: none; }
.gjgc__field input:focus, .gjgc__field select:focus { border-color: var(--gjgc-green); outline: 3px solid rgba(8, 116, 67, .14); outline-offset: 1px; }
.gjgc__field small { display: block; margin-top: 6px; color: var(--gjgc-muted); font-size: 12px; line-height: 1.5; }
.gjgc__input-wrap { display: flex; align-items: stretch; }
.gjgc__input-prefix { display: flex; align-items: center; padding: 0 12px; border: 1px solid #cbd7cf; border-right: 0; border-radius: 9px 0 0 9px; background: var(--gjgc-soft); color: #3b5145; font-size: 13px; font-weight: 800; }
.gjgc__input-wrap input { border-radius: 0 9px 9px 0; }
.gjgc__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.gjgc__button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 18px; border: 1px solid transparent; border-radius: 9px; font: inherit; font-size: 14px; font-weight: 800; line-height: 1.2; text-align: center; cursor: pointer; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.gjgc__button:focus-visible { outline: 3px solid rgba(8, 116, 67, .3); outline-offset: 2px; }
.gjgc__button:active { transform: translateY(1px); }
.gjgc__button--primary { color: #fff; background: var(--gjgc-green); }
.gjgc__button--primary:hover { color: #fff; background: var(--gjgc-green-dark); }
.gjgc__button--secondary { color: var(--gjgc-ink); background: #fff; border-color: #cbd7cf; }
.gjgc__button--secondary:hover { background: var(--gjgc-soft); border-color: #9caf9f; }
.gjgc__error { margin-top: 16px; padding: 11px 13px; color: #8b1e16; background: #fff2f0; border: 1px solid #f1c7c2; border-radius: 9px; font-size: 14px; }
.gjgc__result { margin-top: 22px; }
.gjgc__result-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px; border-radius: 12px; background: linear-gradient(120deg, #eff8f2, #f8fbf9); border: 1px solid #d9ebdf; }
.gjgc__result-label { margin: 0 0 3px; color: #355746; font-size: 13px; font-weight: 750; }
.gjgc__amount { margin: 0; color: var(--gjgc-green-dark); font-size: clamp(28px, 5vw, 42px); font-weight: 850; line-height: 1.2; overflow-wrap: anywhere; }
.gjgc__result-subtitle { margin: 8px 0 0; color: var(--gjgc-muted); font-size: 13px; }
.gjgc__result-icon { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; color: var(--gjgc-green-dark); background: #dcefe2; font-size: 13px; font-weight: 900; }
.gjgc__summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0 24px; }
.gjgc__summary-card { min-width: 0; padding: 14px; border: 1px solid var(--gjgc-border); border-radius: 10px; }
.gjgc__summary-card span { display: block; color: var(--gjgc-muted); font-size: 12px; }
.gjgc__summary-card strong { display: block; margin-top: 5px; font-size: 15px; overflow-wrap: anywhere; }
.gjgc__section-title { margin: 24px 0 12px; font-size: 20px; line-height: 1.3; font-weight: 800; }
.gjgc__table-wrap { width: 100%; overflow-x: auto; }
.gjgc__table { width: 100%; border-collapse: collapse; border: 1px solid var(--gjgc-border); font-size: 14px; }
.gjgc__table th, .gjgc__table td { padding: 12px 14px; border-bottom: 1px solid var(--gjgc-border); text-align: left; vertical-align: top; }
.gjgc__table th { width: 68%; font-weight: 650; }
.gjgc__table td { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gjgc__table-total th, .gjgc__table-total td { background: #f0f8f3; color: var(--gjgc-green-dark); font-weight: 850; }
.gjgc__cap-note { margin: 12px 0 0; color: var(--gjgc-muted); font-size: 13px; }
.gjgc__actions--result { margin-top: 18px; }
.gjgc__share-status { margin: 8px 0 0; color: var(--gjgc-muted); font-size: 13px; }
.gjgc__sources { margin-top: 18px; padding: 14px 0; color: var(--gjgc-muted); font-size: 13px; border-top: 1px solid var(--gjgc-border); }
.gjgc__sources a { color: var(--gjgc-green-dark); text-decoration: underline; text-underline-offset: 2px; }
.gjgc__sources span { margin: 0 6px; }
.gjgc__review-date { margin: 7px 0 0; font-size: 12px; }
.gjgc__faq { margin-top: 22px; }
.gjgc__faq details { margin: 0 0 9px; border: 1px solid var(--gjgc-border); border-radius: 9px; background: #fff; }
.gjgc__faq summary { padding: 13px 15px; cursor: pointer; font-weight: 750; }
.gjgc__faq details p { margin: 0; padding: 0 15px 15px; color: var(--gjgc-muted); font-size: 14px; }
@media (max-width: 640px) {
  .gjgc { margin: 16px auto; font-size: 15px; }
  .gjgc__grid { grid-template-columns: 1fr; gap: 15px; }
  .gjgc__field--full { grid-column: auto; }
  .gjgc__form, .gjgc__result { padding: 15px; border-radius: 12px; }
  .gjgc__actions { flex-direction: column; }
  .gjgc__button { width: 100%; }
  .gjgc__result-top { padding: 15px; }
  .gjgc__result-icon { width: 46px; height: 46px; }
  .gjgc__summary-grid { grid-template-columns: 1fr; gap: 8px; }
  .gjgc__summary-card { padding: 11px 12px; }
  .gjgc__table th, .gjgc__table td { padding: 10px 9px; font-size: 12px; }
  .gjgc__table th { width: auto; }
}
@media print {
  body * { visibility: hidden !important; }
  .gjgc, .gjgc * { visibility: visible !important; }
  .gjgc { position: absolute; left: 0; top: 0; max-width: none; margin: 0; color: #000; }
  .gjgc__form, .gjgc__intro, .gjgc__notice, .gjgc__sources, .gjgc__faq, .gjgc__actions, .gjgc__share-status { display: none !important; }
  .gjgc__result { display: block !important; margin: 0; padding: 0; box-shadow: none; border: 0; }
  .gjgc__result-top, .gjgc__summary-card, .gjgc__table-total th, .gjgc__table-total td { background: #fff !important; }
  .gjgc__table { page-break-inside: avoid; }
}

/* GCC calculator result components */
.gjgc__result-head { padding: 18px; border-radius: 12px; background: linear-gradient(120deg, #eff8f2, #f8fbf9); border: 1px solid #d9ebdf; }
.gjgc__result-head h3 { margin: 0; color: var(--gjgc-green-dark); font-size: clamp(28px, 5vw, 42px); font-weight: 850; line-height: 1.2; overflow-wrap: anywhere; }
.gjgc__result-head p:last-child { margin: 8px 0 0; color: var(--gjgc-muted); font-size: 13px; }
.gjgc__result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.gjgc__result-item { min-width: 0; padding: 14px; border: 1px solid var(--gjgc-border); border-radius: 10px; }
.gjgc__result-item span { display: block; color: var(--gjgc-muted); font-size: 12px; }
.gjgc__result-item strong { display: block; margin-top: 5px; font-size: 15px; overflow-wrap: anywhere; }
.gjgc__result-note, .gjgc__disclaimer { color: var(--gjgc-muted); font-size: 13px; }
.gjgc__disclaimer { margin: 14px 0 0; }
.gjgc__disclaimer a { color: var(--gjgc-green-dark); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 640px) { .gjgc__result-grid { grid-template-columns: 1fr; gap: 8px; } }
