/*
 * GED Insulating Glass Spacer Comparator
 * Brand: Brand Quick Guide v20180308 – Blue #184579, Gray #808284, Gold #D1A21E, Teal #009999,
 * Orange #EE7A36, Dark Gray #575A5B (text). Flat surfaces, hairline borders, the angled "carrot" motif.
 * Everything is scoped to .ged-igc and sized with container queries, so the layout follows the width of
 * the column the shortcode sits in rather than the browser window.
 */
.ged-igc {
  --igc-blue: #184579;
  --igc-blue-dk: #113358;
  --igc-blue-wash: #f1f5fa;
  --igc-gray: #808284;
  --igc-ink: #575a5b;
  --igc-ink-dk: #35383a;
  --igc-gold: #d1a21e;
  --igc-gold-wash: #fbf6e4;
  --igc-teal: #009999;
  --igc-teal-dk: #007a7a;
  --igc-orange: #ee7a36;
  --igc-line: #d7dde2;
  --igc-wash: #f5f6f7;
  --igc-radius: 4px;

  container-type: inline-size;
  container-name: igc;
  position: relative;
  box-sizing: border-box;
  max-width: 1200px;
  margin: 32px auto;
  background: #fff;
  border: 1px solid var(--igc-line);
  border-top: 4px solid var(--igc-blue);
  color: var(--igc-ink);
  font-family: var(--igc-font, inherit);
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
  scroll-margin-top: 96px;
  -webkit-text-size-adjust: 100%;
}
.ged-igc *, .ged-igc *::before, .ged-igc *::after { box-sizing: border-box; }
.ged-igc h2, .ged-igc h3, .ged-igc p, .ged-igc ul, .ged-igc ol, .ged-igc dl, .ged-igc dd, .ged-igc dt, .ged-igc li {
  margin: 0; padding: 0; border: 0; background: none; font-family: inherit; letter-spacing: normal; text-transform: none;
}
.ged-igc ul, .ged-igc ol { list-style: none; }
.ged-igc li::before, .ged-igc li::marker { content: none; }
.ged-igc img, .ged-igc svg { max-width: 100%; height: auto; vertical-align: middle; box-shadow: none; border-radius: 0; }
.ged-igc button { font-family: inherit; margin: 0; text-transform: none; letter-spacing: normal; box-shadow: none; min-height: 0; width: auto; }
.ged-igc .igc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ged-igc .igc-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.ged-igc .igc-empty { padding: 32px; }

/* ---------- header ---------- */
.ged-igc .igc-head {
  display: flex; gap: 24px; align-items: flex-end; justify-content: space-between;
  padding: 28px 32px 22px;
}
.ged-igc .igc-eyebrow {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--igc-teal-dk);
  margin-bottom: 6px;
}
.ged-igc .igc-eyebrow::before {            /* the GED carrot */
  content: ""; width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent var(--igc-blue);
}
.ged-igc .igc-title { font-size: 30px; line-height: 1.15; font-weight: 700; color: var(--igc-blue); text-wrap: balance; }
.ged-igc .igc-intro { margin-top: 8px; max-width: 62ch; font-size: 16px; color: var(--igc-ink); }
.ged-igc .igc-partners { display: flex; align-items: center; gap: 18px; flex: none; }
.ged-igc .igc-partners img { display: block; height: 30px; width: auto; max-width: 110px; object-fit: contain; }

/* ---------- progress ---------- */
.ged-igc .igc-bar {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 32px; background: var(--igc-wash);
  border-top: 1px solid var(--igc-line); border-bottom: 1px solid var(--igc-line);
}
.ged-igc .igc-steps { --igc-progress: 0; display: flex; flex: 1; min-width: 0; counter-reset: none; }
.ged-igc .igc-step {
  position: relative; display: flex; align-items: flex-start; gap: 8px; flex: 1 1 auto; min-width: 0; padding-right: 8px;
}
.ged-igc .igc-step-final { flex: 0 0 auto; padding-right: 0; }
.ged-igc .igc-step-line { flex: 1 1 12px; min-width: 12px; height: 2px; margin-top: 14px; background: #c3c9ce; }
.ged-igc .igc-step.is-done .igc-step-line { background: var(--igc-blue); }
.ged-igc .igc-step-dot {
  position: relative; z-index: 1; flex: none; display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: #fff; border: 2px solid #b9bfc4; color: var(--igc-gray);
  font-size: 14px; font-weight: 700; line-height: 1;
  transition: background-color .25s, border-color .25s, color .25s;
}
.ged-igc .igc-step.is-done .igc-step-dot { background: var(--igc-blue); border-color: var(--igc-blue); color: #fff; }
.ged-igc .igc-step.is-current .igc-step-dot { border-color: var(--igc-blue); color: var(--igc-blue); box-shadow: 0 0 0 4px rgba(24, 69, 121, .14); }
.ged-igc .igc-step-final.is-current .igc-step-dot { background: var(--igc-gold); border-color: var(--igc-gold); color: #12233b; box-shadow: 0 0 0 4px rgba(209, 162, 30, .22); }
.ged-igc .igc-step-text { display: flex; flex-direction: column; min-width: 0; }
.ged-igc .igc-step-label { font-size: 13px; font-weight: 700; line-height: 30px; color: var(--igc-gray); white-space: nowrap; }
.ged-igc .igc-step.is-done .igc-step-label, .ged-igc .igc-step.is-current .igc-step-label { color: var(--igc-blue); }
.ged-igc .igc-step-value { display: flex; align-items: center; gap: 4px; margin-top: -4px; font-size: 12px; line-height: 1.3; color: var(--igc-ink); min-width: 0; }
.ged-igc .igc-step-value svg { flex: none; color: var(--igc-gray); width: 11px; height: 11px; }
.ged-igc .igc-step-value span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ged-igc .igc-reset { flex: none; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.ged-igc .igc-reset-q { font-size: 14px; font-weight: 700; color: var(--igc-ink-dk); }

/* ---------- buttons ---------- */
.ged-igc .igc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  border: 2px solid transparent; border-radius: var(--igc-radius);
  font-size: 15px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
  -webkit-appearance: none; appearance: none;
}
.ged-igc .igc-btn svg { flex: none; }
.ged-igc .igc-btn-primary { background: var(--igc-blue); border-color: var(--igc-blue); color: #fff; }
.ged-igc .igc-btn-primary:hover { background: var(--igc-blue-dk); border-color: var(--igc-blue-dk); color: #fff; }
.ged-igc .igc-btn-primary:disabled { background: #c3c8cc; border-color: #c3c8cc; color: #fff; cursor: not-allowed; }
.ged-igc .igc-btn-outline { background: #fff; border-color: var(--igc-blue); color: var(--igc-blue); }
.ged-igc .igc-btn-outline:hover { background: var(--igc-blue-wash); color: var(--igc-blue-dk); }
.ged-igc .igc-btn-gray { background: var(--igc-ink); border-color: var(--igc-ink); color: #fff; min-height: 38px; padding: 6px 14px; font-size: 14px; }
.ged-igc .igc-btn-gray:hover { background: var(--igc-ink-dk); border-color: var(--igc-ink-dk); color: #fff; }
.ged-igc .igc-btn-quiet { background: transparent; border-color: #b9bfc4; color: var(--igc-ink); min-height: 38px; padding: 6px 14px; font-size: 14px; }
.ged-igc .igc-btn-quiet:hover { background: #e9ebed; border-color: var(--igc-gray); color: var(--igc-ink-dk); }
.ged-igc .igc-link { background: none; border: 0; padding: 6px 4px; color: var(--igc-blue); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ged-igc .igc-link:hover { color: var(--igc-teal-dk); background: none; }
.ged-igc button:focus-visible, .ged-igc a:focus-visible, .ged-igc input:focus-visible + .igc-opt-card, .ged-igc .igc-rowpick input:focus-visible + .igc-rowpick-dot {
  outline: 3px solid var(--igc-teal); outline-offset: 2px;
}
.ged-igc [tabindex="-1"]:focus { outline: none; }

/* ---------- body ---------- */
.ged-igc .igc-body { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 36px; padding: 32px; align-items: start; }
.ged-igc .igc-visual { position: sticky; top: 96px; border: 1px solid var(--igc-line); background: #fff; }
.ged-igc .igc-vis-art { padding: 6px 6px 0; background: linear-gradient(#fff, #fff); }
.ged-igc .igc-vis-art svg { display: block; width: 100%; height: auto; }
.ged-igc .igc-vis-focus { display: flex; flex-direction: column; padding: 10px 16px; border-top: 1px solid var(--igc-line); background: var(--igc-blue-wash); font-size: 12px; color: var(--igc-ink); }
.ged-igc .igc-vis-focus strong { font-size: 15px; color: var(--igc-blue); }
.ged-igc .igc-vis-focus em { margin-top: 2px; font-size: 12px; font-style: normal; color: var(--igc-ink); }
.ged-igc .igc-legend { display: grid; gap: 7px; padding: 14px 16px; border-top: 1px solid var(--igc-line); font-size: 13px; line-height: 1.35; }
.ged-igc .igc-legend li { display: flex; gap: 10px; align-items: flex-start; }
.ged-igc .igc-legend b { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--igc-gray); font-weight: 700; }
.ged-igc .igc-legend i { color: #9a9ea1; font-style: italic; }
.ged-igc .igc-key { flex: none; width: 14px; height: 14px; margin-top: 3px; border-radius: 2px; }
.ged-igc .igc-key-glass { background: #bfe3e5; border: 1px solid #5aa3a9; }
.ged-igc .igc-key-coat { background: var(--igc-gold); }
.ged-igc .igc-key-frame { background: #f1f2f3; border: 1px solid #7f8588; }
.ged-igc .igc-vis-note { padding: 0 16px 12px; font-size: 11px; color: #8c9093; }

.ged-igc[data-view="results"] .igc-legend, .ged-igc[data-view="results"] .igc-vis-note { display: none; }
.ged-igc .igc-stage { min-width: 0; }
.ged-igc .igc-stage-in { animation: igc-in .35s ease both; }
.ged-igc .igc-stage-count { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--igc-teal-dk); }
.ged-igc .igc-stage-title, .ged-igc .igc-sum-title { margin-top: 4px; font-size: 24px; line-height: 1.2; font-weight: 700; color: var(--igc-blue); text-wrap: balance; }
.ged-igc .igc-stage-help { margin-top: 8px; max-width: 60ch; font-size: 15px; }

/* ---------- options ---------- */
.ged-igc .igc-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.ged-igc .igc-opt { position: relative; display: block; margin: 0; cursor: pointer; font-weight: 400; }
.ged-igc .igc-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.ged-igc .igc-opt-card {
  position: relative; display: flex; align-items: center; gap: 14px; height: 100%; min-height: 64px;
  padding: 14px 44px 14px 16px;
  background: #fff; border: 1px solid #c3c9ce; border-radius: var(--igc-radius);
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.ged-igc .igc-opt:hover .igc-opt-card { border-color: var(--igc-blue); }
.ged-igc .igc-opt input:checked + .igc-opt-card { border-color: var(--igc-blue); box-shadow: inset 0 0 0 1px var(--igc-blue); background: var(--igc-blue-wash); }
.ged-igc .igc-opt-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ged-igc .igc-opt-title { font-size: 16px; font-weight: 700; line-height: 1.25; color: var(--igc-ink-dk); }
.ged-igc .igc-opt input:checked + .igc-opt-card .igc-opt-title { color: var(--igc-blue); }
.ged-igc .igc-opt-desc { font-size: 13px; line-height: 1.4; color: var(--igc-ink); }
.ged-igc .igc-opt-check {
  position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid #b9bfc4; color: transparent; background: #fff;
}
.ged-igc .igc-opt input:checked + .igc-opt-card .igc-opt-check { background: var(--igc-blue); border-color: var(--igc-blue); color: #fff; }
.ged-igc .igc-opt-check svg { width: 12px; height: 12px; }
.ged-igc .igc-tag {
  align-self: flex-start; margin-top: 4px; padding: 1px 7px; border: 1px solid var(--igc-line); border-radius: 2px;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--igc-ink); background: var(--igc-wash);
}
.ged-igc .igc-tag-feature { align-self: center; margin: 0 0 0 auto; flex: none; border-color: var(--igc-gold); background: var(--igc-gold-wash); color: #6f5406; }

/* illustrated cards (coatings, frame) */
.ged-igc .igc-opts-loe .igc-opt-card, .ged-igc .igc-opts-frame .igc-opt-card { flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; }
.ged-igc .igc-opt-art { display: block; background: var(--igc-wash); border-bottom: 1px solid var(--igc-line); padding: 8px; }
.ged-igc .igc-opt-art svg { display: block; width: 100%; height: 128px; }
.ged-igc .igc-opts-loe .igc-opt-text, .ged-igc .igc-opts-frame .igc-opt-text { padding: 12px 44px 14px 16px; }
.ged-igc .igc-opts-loe .igc-opt-check, .ged-igc .igc-opts-frame .igc-opt-check { top: auto; bottom: 12px; }
.ged-igc .igc-opt input:checked + .igc-opt-card .igc-opt-art { background: #fff; }

/* glass cards */
.ged-igc .igc-opt-swatch {
  position: relative; flex: none; width: 34px; height: 46px; border: 1px solid #5aa3a9; border-radius: 2px;
  background: linear-gradient(100deg, #a9d6d9, #e6f5f5 35%, #cdeaeb 60%, #9bcdd1);
}
.ged-igc .igc-opt-swatch i { position: absolute; top: 4px; bottom: 4px; left: 9px; width: 2px; background: rgba(255, 255, 255, .8); }
.ged-igc .igc-opt-swatch.is-coated { border-right: 4px solid var(--igc-gold); margin-right: 8px; }
.ged-igc .igc-opt-swatch.is-coated.is-left { border-right: 1px solid #5aa3a9; border-left: 4px solid var(--igc-gold); margin: 0 0 0 8px; }
.ged-igc .igc-opt-swatch.is-left b { right: auto; left: -13px; }
.ged-igc .igc-opt-swatch b {
  position: absolute; right: -13px; top: -8px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%;
  background: var(--igc-gold); color: #12233b; font-size: 11px; font-weight: 700; line-height: 1;
}
.ged-igc .igc-only { margin-top: 12px; font-size: 13px; color: var(--igc-ink); }

/* spacer picker */
.ged-igc .igc-pick-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-bottom: 8px; border-bottom: 1px solid var(--igc-line); }
.ged-igc .igc-pick-count { font-size: 14px; font-weight: 700; color: var(--igc-blue); }
.ged-igc .igc-pick-links { display: flex; gap: 10px; }
.ged-igc .igc-opts-spacers { margin-top: 12px; gap: 8px; }
.ged-igc .igc-opt-check-item .igc-opt-card { min-height: 52px; padding: 10px 14px; gap: 12px; }
.ged-igc .igc-opt-check-item .igc-opt-title { font-size: 15px; }
.ged-igc .igc-box { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border: 2px solid #9aa0a4; border-radius: 3px; background: #fff; color: transparent; }
.ged-igc .igc-box svg { width: 13px; height: 13px; }
.ged-igc .igc-opt input:checked + .igc-opt-card .igc-box { background: var(--igc-blue); border-color: var(--igc-blue); color: #fff; }
.ged-igc .igc-cross { margin-top: 20px; padding: 14px 16px 16px; background: var(--igc-wash); border-left: 3px solid var(--igc-gray); }
.ged-igc .igc-cross-title { font-size: 14px; font-weight: 700; color: var(--igc-ink-dk); }
.ged-igc .igc-cross-help { margin-top: 2px; font-size: 13px; }

.ged-igc .igc-stage-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 24px; }
.ged-igc .igc-lock-note { display: flex; align-items: flex-start; gap: 7px; flex: 1 1 220px; font-size: 13px; line-height: 1.4; color: var(--igc-ink); }
.ged-igc .igc-lock-note svg { flex: none; margin-top: 2px; color: var(--igc-gray); }

/* ---------- results ---------- */
.ged-igc .igc-sum { animation: igc-in .35s ease both; }
.ged-igc .igc-config { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin-top: 16px; border: 1px solid var(--igc-line); }
.ged-igc .igc-config div { padding: 10px 14px; border-right: 1px solid var(--igc-line); border-bottom: 1px solid var(--igc-line); margin: 0 -1px -1px 0; }
.ged-igc .igc-config dt { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--igc-gray); }
.ged-igc .igc-config dd { font-size: 14px; font-weight: 700; color: var(--igc-ink-dk); }
.ged-igc .igc-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.ged-igc .igc-tile { padding: 14px 16px; border: 1px solid var(--igc-line); border-top: 3px solid var(--igc-gold); background: #fff; }
.ged-igc .igc-tile-label { font-size: 12px; font-weight: 700; color: var(--igc-ink); line-height: 1.3; }
.ged-igc .igc-tile-value { margin-top: 4px; font-size: 30px; line-height: 1.1; font-weight: 700; color: var(--igc-blue); font-variant-numeric: tabular-nums; }
.ged-igc .igc-tile-value small { font-size: 16px; margin-left: 2px; }
.ged-igc .igc-tile-sub { margin-top: 4px; font-size: 13px; line-height: 1.35; color: var(--igc-ink); }
.ged-igc .igc-tile-hint { border-top-color: var(--igc-line); background: var(--igc-wash); }
.ged-igc .igc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.ged-igc .igc-pdf-msg { min-height: 20px; margin-top: 8px; font-size: 13px; color: var(--igc-teal-dk); }
.ged-igc .igc-pdf-msg.is-error { color: var(--igc-ink-dk); font-weight: 700; }

.ged-igc .igc-results { padding: 0 32px 32px; }
.ged-igc .igc-table-wrap { overflow-x: auto; border: 1px solid var(--igc-line); }
.ged-igc .igc-table { width: 100%; min-width: 860px; margin: 0; border: 0; border-collapse: collapse; border-spacing: 0; background: #fff; font-size: 14px; line-height: 1.35; font-variant-numeric: tabular-nums; table-layout: auto; }
.ged-igc .igc-table th, .ged-igc .igc-table td { padding: 12px 12px; border: 0; border-bottom: 1px solid var(--igc-line); text-align: right; vertical-align: top; background: transparent; color: var(--igc-ink-dk); font-size: 14px; white-space: nowrap; }
.ged-igc .igc-table thead th { background: var(--igc-blue); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.3; vertical-align: bottom; border-bottom: 0; text-transform: none; letter-spacing: 0; }
.ged-igc .igc-table thead th span { display: block; font-weight: 400; opacity: .9; }
.ged-igc .igc-table thead th.igc-c-key { box-shadow: inset 0 -4px 0 var(--igc-gold); }
.ged-igc .igc-table .igc-c-name { text-align: left; white-space: normal; min-width: 230px; font-weight: 400; }
.ged-igc .igc-table tbody .igc-c-key { background: var(--igc-gold-wash); }
.ged-igc .igc-table tbody tr:last-child th, .ged-igc .igc-table tbody tr:last-child td { border-bottom: 0; }
.ged-igc .igc-table tbody tr.is-focus th, .ged-igc .igc-table tbody tr.is-focus td { background-color: var(--igc-blue-wash); }
.ged-igc .igc-table tbody tr.is-focus .igc-c-key { background-color: #f4efd9; }
.ged-igc .igc-table tbody tr.is-focus .igc-c-name { box-shadow: inset 3px 0 0 var(--igc-blue); }
.ged-igc .igc-table .igc-c-act { width: 48px; padding-left: 0; text-align: center; }
.ged-igc .igc-rowpick { display: flex; gap: 10px; align-items: flex-start; margin: 0; cursor: pointer; font-weight: 400; }
.ged-igc .igc-rowpick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ged-igc .igc-rowpick-dot { flex: none; width: 18px; height: 18px; margin-top: 1px; border: 2px solid #9aa0a4; border-radius: 50%; background: #fff; }
.ged-igc .igc-rowpick input:checked + .igc-rowpick-dot { border-color: var(--igc-blue); box-shadow: inset 0 0 0 3px #fff; background: var(--igc-blue); }
.ged-igc .igc-rowpick-text { display: flex; flex-direction: column; min-width: 0; }
.ged-igc .igc-name { font-weight: 700; color: var(--igc-ink-dk); }
.ged-igc .igc-name sup { color: var(--igc-ink); font-weight: 400; }
.ged-igc .igc-name-detail { font-size: 12px; color: var(--igc-ink); }
.ged-igc .igc-best, .ged-igc .igc-delta { display: block; margin-top: 2px; font-size: 11px; font-weight: 700; }
.ged-igc .igc-best { color: var(--igc-teal-dk); letter-spacing: .06em; text-transform: uppercase; }
.ged-igc .igc-delta { color: var(--igc-ink); font-weight: 400; }
.ged-igc .igc-tdot { display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 50%; vertical-align: baseline; }
.ged-igc .igc-remove {
  display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%;
  background: #e6e8ea; color: var(--igc-ink); cursor: pointer; transition: background-color .15s, color .15s;
}
.ged-igc .igc-remove:hover { background: var(--igc-gray); color: #fff; }
.ged-igc .igc-notes { display: grid; gap: 6px; margin-top: 14px; font-size: 12px; line-height: 1.5; color: var(--igc-ink); }

/* ---------- resources ---------- */
.ged-igc .igc-resources {
  display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: center;
  padding: 28px 32px; background: var(--igc-wash); border-top: 1px solid var(--igc-line);
}
.ged-igc .igc-res-brand img { display: block; width: 100%; max-width: 200px; height: auto; }
.ged-igc .igc-res-title { font-size: 20px; line-height: 1.25; font-weight: 700; color: var(--igc-blue); }
.ged-igc .igc-res-intro { margin-top: 4px; font-size: 14px; }
.ged-igc .igc-res-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; margin-top: 14px; }
.ged-igc .igc-res-btn {
  display: flex; align-items: center; gap: 12px; height: 100%; min-height: 56px; padding: 8px 14px 8px 8px;
  background: #fff; border: 1px solid var(--igc-blue); border-radius: var(--igc-radius);
  color: var(--igc-blue); font-size: 14px; font-weight: 700; line-height: 1.3; text-decoration: none; box-shadow: none;
  transition: background-color .15s, color .15s;
}
.ged-igc .igc-res-ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 3px; background: var(--igc-blue); color: #fff; transition: background-color .15s, color .15s; }
.ged-igc .igc-res-label { flex: 1; min-width: 0; }
.ged-igc .igc-res-label small { display: block; font-size: 12px; font-weight: 400; color: var(--igc-ink); }
.ged-igc .igc-res-go { flex: none; color: var(--igc-gold); }
.ged-igc .igc-res-btn:hover { background: var(--igc-blue); color: #fff; text-decoration: none; }
.ged-igc .igc-res-btn:hover .igc-res-ico { background: var(--igc-gold); color: #12233b; }
.ged-igc .igc-res-btn:hover .igc-res-label small { color: #dfe7f0; }

/* ---------- motion ---------- */
@keyframes igc-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes igc-pulse { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
@keyframes igc-drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.ged-igc .igc-pulse { animation: igc-pulse 1.6s ease-in-out infinite; }
.ged-igc .igc-argon { animation: igc-drift 6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .ged-igc *, .ged-igc *::before, .ged-igc *::after { animation: none !important; transition: none !important; }
  .ged-igc .igc-pulse { opacity: .8; }
}

/* ---------- responsive (by container width) ---------- */
@container igc (max-width: 1020px) {
  .ged-igc .igc-step-value { display: none; }
  .ged-igc .igc-body { grid-template-columns: 280px minmax(0, 1fr); gap: 28px; }
  .ged-igc .igc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ged-igc .igc-tiles .igc-tile:nth-child(3) { grid-column: 1 / -1; }
}
@container igc (max-width: 820px) {
  .ged-igc .igc-head { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 20px 18px; }
  .ged-igc .igc-title { font-size: 25px; }
  .ged-igc .igc-bar { padding: 12px 20px; }
  .ged-igc .igc-step { flex: 0 1 auto; padding-right: 4px; gap: 4px; }
  .ged-igc .igc-step-line { flex: 1 1 14px; min-width: 3px; max-width: 18px; }
  .ged-igc .igc-step:not(.is-current) .igc-step-text { display: none; }
  .ged-igc .igc-step.is-current { flex: 1 0 auto; }
  .ged-igc .igc-step.is-current .igc-step-line { max-width: none; }
  .ged-igc .igc-step.is-current .igc-step-text { flex: 0 1 auto; }
  .ged-igc .igc-step.is-current .igc-step-line { flex: 1 1 12px; }
  .ged-igc .igc-reset .igc-btn-quiet span { display: none; }
  .ged-igc .igc-reset .igc-btn-quiet { padding: 6px 10px; }
  .ged-igc .igc-body { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 20px; }
  .ged-igc .igc-visual { position: static; display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; }
  .ged-igc .igc-vis-art { padding: 4px; border-right: 1px solid var(--igc-line); align-self: stretch; display: grid; align-items: center; }
  .ged-igc .igc-legend { border-top: 0; padding: 12px 14px; }
  .ged-igc .igc-vis-note { display: none; }
  .ged-igc .igc-vis-focus { grid-column: 1 / -1; order: 3; }
  .ged-igc[data-view="results"] .igc-visual { grid-template-columns: 220px minmax(0, 1fr); }
  .ged-igc .igc-results { padding: 0 20px 20px; }
  .ged-igc .igc-resources { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 22px 20px; }
  .ged-igc .igc-res-brand img { max-width: 150px; }

  /* results table becomes one card per spacer – nothing to scroll sideways */
  .ged-igc .igc-table-wrap { overflow: visible; border: 0; }
  .ged-igc .igc-table { min-width: 0; display: block; }
  .ged-igc .igc-table thead { display: none; }
  .ged-igc .igc-table tbody { display: grid; gap: 12px; }
  .ged-igc .igc-table tbody tr { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--igc-line); background: #fff; }
  .ged-igc .igc-table tbody tr.is-focus { border-color: var(--igc-blue); box-shadow: inset 3px 0 0 var(--igc-blue); }
  .ged-igc .igc-table tbody tr.is-focus .igc-c-name { box-shadow: none; }
  .ged-igc .igc-table tbody th, .ged-igc .igc-table tbody td { display: block; padding: 10px 12px; text-align: left; white-space: normal; border-bottom: 1px solid var(--igc-line); }
  .ged-igc .igc-table tbody tr:last-child th, .ged-igc .igc-table tbody tr:last-child td { border-bottom: 1px solid var(--igc-line); }
  .ged-igc .igc-table tbody .igc-c-name { grid-column: 1 / -1; min-width: 0; padding-right: 56px; background: var(--igc-wash); }
  .ged-igc .igc-table tbody td::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--igc-gray); }
  .ged-igc .igc-table tbody td:nth-last-child(-n+4) { border-bottom: 0; }
  .ged-igc .igc-table tbody td.igc-c-key { grid-column: span 2; }
  .ged-igc .igc-table tbody td[data-label="Gap width"] { grid-column: span 2; }
  .ged-igc .igc-table tbody td[data-label^="Temp. at"] { grid-column: span 2; }
  .ged-igc .igc-table tbody .igc-c-act { position: absolute; top: 6px; right: 8px; width: auto; padding: 0; border: 0; background: none; }
  .ged-igc .igc-table tbody .igc-c-act::before { content: none; }
  .ged-igc .igc-best, .ged-igc .igc-delta { display: inline-block; margin: 0 0 0 8px; }
}
@container igc (max-width: 560px) {
  .ged-igc .igc-title { font-size: 22px; }
  .ged-igc .igc-intro { font-size: 15px; }
  .ged-igc .igc-partners img { height: 24px; }
  .ged-igc .igc-stage-title, .ged-igc .igc-sum-title { font-size: 20px; }
  .ged-igc .igc-step, .ged-igc .igc-step.is-current { flex: 1 1 auto; padding-right: 4px; gap: 4px; }
  .ged-igc .igc-step-final, .ged-igc .igc-step-final.is-current { flex: 0 0 auto; }
  .ged-igc .igc-step .igc-step-text, .ged-igc .igc-step.is-current .igc-step-text { display: none; }
  .ged-igc .igc-step-line, .ged-igc .igc-step.is-current .igc-step-line { flex: 1 1 4px; margin-top: 12px; min-width: 4px; max-width: none; }
  .ged-igc .igc-step-dot { width: 26px; height: 26px; font-size: 13px; }
  .ged-igc .igc-step-label { line-height: 26px; }
  .ged-igc .igc-body { padding: 16px; }
  .ged-igc .igc-bar { padding: 10px 16px; gap: 8px; }
  .ged-igc .igc-head { padding: 20px 16px 16px; }
  .ged-igc .igc-visual, .ged-igc[data-view="results"] .igc-visual { grid-template-columns: 118px minmax(0, 1fr); }
  .ged-igc[data-view="results"] .igc-visual { grid-template-columns: minmax(0, 1fr); }
  .ged-igc[data-view="results"] .igc-vis-art { border-right: 0; max-width: 300px; margin: 0 auto; }
  .ged-igc[data-view="results"] .igc-legend { display: none; }
  .ged-igc .igc-legend { font-size: 12px; gap: 5px; padding: 10px 12px; }
  .ged-igc .igc-legend b { font-size: 10px; }
  .ged-igc .igc-key { display: none; }
  .ged-igc .igc-opts-p1, .ged-igc .igc-opts-p2, .ged-igc .igc-opts-spacers { grid-template-columns: minmax(0, 1fr); }
  .ged-igc .igc-opt-art svg { height: 96px; }
  .ged-igc .igc-opts-loe .igc-opt-text, .ged-igc .igc-opts-frame .igc-opt-text { padding: 10px 12px 40px; }
  .ged-igc .igc-opts-loe .igc-opt-check, .ged-igc .igc-opts-frame .igc-opt-check { right: auto; left: 12px; }
  .ged-igc .igc-stage-foot .igc-btn, .ged-igc .igc-actions .igc-btn { width: 100%; }
  .ged-igc .igc-tiles { grid-template-columns: minmax(0, 1fr); }
  .ged-igc .igc-tile { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: center; }
  .ged-igc .igc-tile-label { grid-column: 1; }
  .ged-igc .igc-tile-sub { grid-column: 1; margin-top: 0; }
  .ged-igc .igc-tile-value { grid-column: 2; grid-row: 1 / span 2; margin: 0; font-size: 26px; }
  .ged-igc .igc-results { padding: 0 16px 16px; }
  .ged-igc .igc-table tbody tr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ged-igc .igc-table tbody td, .ged-igc .igc-table tbody td.igc-c-key, .ged-igc .igc-table tbody td[data-label="Gap width"], .ged-igc .igc-table tbody td[data-label^="Temp. at"] { grid-column: span 1; }
  .ged-igc .igc-table tbody td[data-label="Gap width"] { grid-column: 1 / -1; }
  .ged-igc .igc-table tbody td:nth-last-child(-n+4) { border-bottom: 1px solid var(--igc-line); }
  .ged-igc .igc-table tbody td:nth-last-child(-n+3) { border-bottom: 0; }
  .ged-igc .igc-table tbody td[data-label^="Temp. at"] { grid-column: 1 / -1; }
  .ged-igc .igc-resources { padding: 20px 16px; }
  .ged-igc .igc-res-list { grid-template-columns: minmax(0, 1fr); }
}

/* print: results only */
@media print {
  .ged-igc .igc-bar, .ged-igc .igc-actions, .ged-igc .igc-c-act, .ged-igc .igc-resources { display: none !important; }
}
