:root {
  --jyc-g1-ink: #0d2f48;
  --jyc-g1-muted: #35566e;
  --jyc-g1-coral: #d9563f;
  --jyc-g1-coral-dark: #a63c2c;
  --jyc-g1-teal: #117f8f;
  --jyc-g1-border: rgba(13, 47, 72, 0.16);
  --jyc-g1-soft: #f5f9fa;
}

.jyc-g1-section,
.jyc-g1-card {
  color: var(--jyc-g1-ink);
}

.jyc-g1-section {
  margin: 2rem 0;
}

.jyc-g1-card {
  border: 1px solid var(--jyc-g1-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(8, 35, 55, 0.08);
  padding: clamp(1.2rem, 3vw, 2rem);
}

.jyc-g1-card h2,
.jyc-g1-card h3,
.jyc-g1-card h4,
.jyc-g1-section h2,
.jyc-g1-section h3,
.jyc-g1-section h4 {
  color: var(--jyc-g1-ink);
  margin-top: 0;
}

.jyc-g1-kicker,
.jyc-g1-decision {
  color: var(--jyc-g1-coral-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin: 0 0 0.55rem;
  text-transform: uppercase;
}

.jyc-g1-grid {
  display: grid;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.jyc-g1-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jyc-g1-form,
.jyc-g1-assistant form,
.jyc-g1-vibe form {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.jyc-g1-form label,
.jyc-g1-assistant label,
.jyc-g1-vibe legend {
  color: var(--jyc-g1-ink);
  font-weight: 700;
}

.jyc-g1-form input:not([type="checkbox"]):not([type="radio"]),
.jyc-g1-form select,
.jyc-g1-form textarea,
.jyc-g1-assistant input {
  background: #fff;
  border: 1px solid rgba(13, 47, 72, 0.35);
  border-radius: 8px;
  color: var(--jyc-g1-ink);
  display: block;
  margin-top: 0.35rem;
  min-height: 46px;
  padding: 0.7rem 0.8rem;
  width: 100%;
}

.jyc-g1-form textarea {
  min-height: 100px;
  resize: vertical;
}

.jyc-g1-inline-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
}

.jyc-g1-inline-form input {
  margin-top: 0;
}

.jyc-g1-button,
.jyc-g1-form button,
.jyc-g1-assistant button,
.jyc-g1-vibe button,
.jyc-g1-push-actions button {
  align-items: center;
  background: var(--jyc-g1-coral);
  border: 2px solid var(--jyc-g1-coral);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  line-height: 1.2;
  min-height: 46px;
  padding: 0.72rem 1.1rem;
  text-decoration: none;
}

.jyc-g1-button:hover,
.jyc-g1-button:focus,
.jyc-g1-form button:hover,
.jyc-g1-form button:focus,
.jyc-g1-assistant button:hover,
.jyc-g1-assistant button:focus,
.jyc-g1-vibe button:hover,
.jyc-g1-vibe button:focus,
.jyc-g1-push-actions button:hover,
.jyc-g1-push-actions button:focus {
  background: var(--jyc-g1-coral-dark);
  border-color: var(--jyc-g1-coral-dark);
  color: #fff;
}

.jyc-g1-form button:disabled,
.jyc-g1-assistant button:disabled,
.jyc-g1-push-actions button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.jyc-g1-form :where(input, select, textarea, button):focus-visible,
.jyc-g1-assistant :where(input, button):focus-visible,
.jyc-g1-vibe :where(input, button, a):focus-visible,
.jyc-g1-push-actions button:focus-visible,
.jyc-g1-details summary:focus-visible {
  outline: 3px solid #18a4b6;
  outline-offset: 3px;
}

.jyc-g1-status {
  border-left: 5px solid var(--jyc-g1-teal);
  border-radius: 8px;
  margin: 1rem 0;
  padding: 0.85rem 1rem;
}

.jyc-g1-status-success {
  background: #eef9f4;
}

.jyc-g1-status-warning {
  background: #fff7e8;
  border-left-color: #ad6c00;
}

.jyc-g1-answer,
.jyc-g1-vibe-results {
  background: var(--jyc-g1-soft);
  border: 1px solid var(--jyc-g1-border);
  border-radius: 12px;
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
}

.jyc-g1-answer p:last-child,
.jyc-g1-vibe-results p:last-child {
  margin-bottom: 0;
}

.jyc-g1-source-label,
.jyc-g1-event-date {
  color: var(--jyc-g1-muted);
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.jyc-g1-fineprint {
  color: var(--jyc-g1-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.jyc-g1-consent {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.92rem;
}

.jyc-g1-digest hr {
  margin: 1.5rem 0;
  border: 0;
  border-top: 1px solid rgba(23, 50, 77, 0.18);
}

.jyc-g1-consent {
  align-items: flex-start;
  display: flex;
  font-size: 0.95rem;
  gap: 0.55rem;
}

.jyc-g1-consent input {
  flex: 0 0 auto;
  margin-top: 0.25rem;
}

.jyc-g1-hp {
  height: 1px !important;
  left: -10000px !important;
  overflow: hidden !important;
  position: absolute !important;
  top: auto !important;
  width: 1px !important;
}

.jyc-g1-push-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0;
}

.jyc-g1-push-actions .jyc-g1-button-secondary {
  background: #fff;
  color: var(--jyc-g1-coral-dark);
}

.jyc-g1-push-actions .jyc-g1-button-secondary:hover,
.jyc-g1-push-actions .jyc-g1-button-secondary:focus {
  background: #fff7f4;
  color: var(--jyc-g1-coral-dark);
}

.jyc-g1-details {
  border-top: 1px solid var(--jyc-g1-border);
  margin-top: 1rem;
  padding-top: 0.8rem;
}

.jyc-g1-details summary {
  color: var(--jyc-g1-teal);
  cursor: pointer;
  font-weight: 800;
}

.jyc-g1-directory-gate {
  background: #fff7e8;
  border: 1px solid rgba(173, 108, 0, 0.35);
  border-radius: 12px;
  padding: 1rem 1.15rem;
}

.jyc-g1-choice-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0.7rem;
}

.jyc-g1-choice-grid label {
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--jyc-g1-border);
  border-radius: 10px;
  display: flex;
  gap: 0.55rem;
  padding: 0.8rem;
}

.jyc-g1-choice-grid label:has(input:checked) {
  background: #effafb;
  border-color: var(--jyc-g1-teal);
}

.jyc-g1-vibe fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.jyc-g1-event-match {
  display: flex;
  flex-direction: column;
}

.jyc-g1-event-match .jyc-g1-button {
  margin-top: auto;
}

@media (max-width: 860px) {
  .jyc-g1-grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .jyc-g1-inline-form,
  .jyc-g1-choice-grid {
    grid-template-columns: 1fr;
  }

  .jyc-g1-inline-form button {
    width: 100%;
  }
}

/* Group 9: gathering proposals, chat choices, and factual event details. */
.jyc-g9-form {
  display: grid;
  gap: 1rem;
}

.jyc-g9-form label:not(.jyc-g9-check) {
  color: var(--jyc-g1-ink);
  display: grid;
  font-weight: 760;
  gap: 0.4rem;
}

.jyc-g9-form :is(input:not([type="checkbox"]), select, textarea) {
  background: #fff;
  border: 1px solid #b9ccd3;
  border-radius: 11px;
  color: var(--jyc-g1-ink);
  font: inherit;
  min-height: 46px;
  padding: 0.72rem 0.8rem;
  width: 100%;
}

.jyc-g9-form textarea {
  min-height: 132px;
  resize: vertical;
}

.jyc-g9-check {
  align-items: flex-start;
  background: #f2f8f8;
  border-radius: 12px;
  color: #31454f;
  display: flex;
  font-size: 0.94rem;
  gap: 0.7rem;
  line-height: 1.45;
  padding: 0.85rem;
}

.jyc-g9-check input {
  flex: 0 0 auto;
  height: 1.15rem;
  margin-top: 0.2rem;
  width: 1.15rem;
}

.jyc-g9-trap {
  height: 0;
  left: -9999px;
  overflow: hidden;
  position: absolute;
  width: 0;
}

.jyc-g10-hero > h2 {
  color: #12344d;
  font-size: clamp(2.35rem, 6vw, 4.75rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0.3rem 0 1rem;
  max-width: 13ch;
}

.jyc-g10-lede {
  color: #345469;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.65;
  max-width: 760px;
}

.jyc-g10-format-grid {
  margin: 2rem 0;
}

.jyc-g10-format-grid .jyc-g1-card {
  border-top: 5px solid #dc5a36;
}

.jyc-g10-number {
  color: #dc5a36;
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.jyc-g10-intake {
  align-items: start;
  margin-top: 2rem;
}

.jyc-g10-form {
  display: grid;
  gap: 1rem;
}

.jyc-g10-form label:not(.jyc-g9-check) {
  display: grid;
  font-weight: 700;
  gap: 0.35rem;
}

.jyc-g10-form input,
.jyc-g10-form select,
.jyc-g10-form textarea {
  border: 1px solid #9eb3c0;
  border-radius: 9px;
  box-sizing: border-box;
  font: inherit;
  max-width: 100%;
  padding: 0.8rem;
  width: 100%;
}

.jyc-g10-form textarea {
  min-height: 9rem;
}

.jyc-g10-boundary {
  background: #12344d;
  color: #fff;
  position: sticky;
  top: 2rem;
}

.jyc-g10-boundary h2,
.jyc-g10-boundary h3,
.jyc-g10-boundary .jyc-g1-kicker {
  color: #fff;
}

.jyc-g10-flow {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 2rem 0;
}

.jyc-g10-flow article {
  background: #f2f7f8;
  border-radius: 12px;
  padding: 1.1rem;
}

.jyc-g10-flow strong,
.jyc-g10-flow span,
.jyc-g10-responsibility-grid strong,
.jyc-g10-responsibility-grid span {
  display: block;
}

.jyc-g10-responsibility {
  border-left: 5px solid #0c91a8;
}

.jyc-g10-responsibility-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.jyc-g10-responsibility-grid p {
  background: #f2f7f8;
  border-radius: 10px;
  margin: 0;
  padding: 0.9rem;
}

.jyc-g10-note {
  border-top: 1px solid #c7d7df;
  font-size: 0.92rem;
  margin-top: 1.2rem;
  padding-top: 1rem;
}

.jyc-g10-cohost-card {
  background: linear-gradient(135deg, #eff8f8, #fff5ee);
  border: 1px solid #c7d7df;
  border-radius: 18px;
  margin-top: 2rem;
}

@media (max-width: 720px) {
  .jyc-g10-flow {
    grid-template-columns: 1fr;
  }

  .jyc-g10-boundary {
    position: static;
  }
}

.jyc-g9-badge {
  background: #e4f5f4;
  border: 1px solid #9bcfcb;
  border-radius: 999px;
  color: #075f5b;
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.65rem;
}

.jyc-g9-boundary {
  border-top: 5px solid #087f7a;
}

.jyc-g9-table {
  border-collapse: collapse;
  font-size: 0.9rem;
  width: 100%;
}

.jyc-g9-table :is(th, td) {
  border-bottom: 1px solid #d8e4e8;
  padding: 0.75rem 0.55rem;
  text-align: left;
  vertical-align: top;
}

.jyc-g9-tag-grid,
.jyc-g9-fact-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1.5rem 0;
}

.jyc-g9-tag-grid article,
.jyc-g9-fact-grid article {
  background: linear-gradient(145deg, #fff, #f4f9f8);
  border: 1px solid #d1e1e3;
  border-radius: 15px;
  padding: 1.05rem;
}

.jyc-g9-tag-grid span,
.jyc-g9-fact-icon {
  font-size: 1.45rem;
}

.jyc-g9-tag-grid h3,
.jyc-g9-fact-grid h3 {
  color: var(--jyc-g1-ink);
  font-size: 1rem;
  margin: 0.35rem 0;
}

.jyc-g9-tag-grid p,
.jyc-g9-fact-grid p {
  font-size: 0.92rem;
  margin: 0;
}

.jyc-g9-pending-note,
.jyc-g9-reviewed {
  background: #fff8e7;
  border-left: 4px solid #d99b2b;
  border-radius: 8px;
  padding: 0.9rem 1rem;
}

[data-jyc-g9-event-field][hidden],
[data-jyc-g9-whatsapp-ack][hidden] {
  display: none !important;
}

@media (max-width: 760px) {
  .jyc-g9-tag-grid,
  .jyc-g9-fact-grid {
    grid-template-columns: 1fr;
  }

  .jyc-g9-table {
    display: block;
    overflow-x: auto;
  }
}

/* Group 8 — trust, safety, inclusion, and volunteering. */
.jyc-g8-badge {
  background: #e8f5f3;
  border-radius: 999px;
  color: #0a615c;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  padding: 0.42rem 0.7rem;
}

.jyc-g8-boundary {
  background: linear-gradient(145deg, #f5fbfa 0%, #fff9ec 100%);
  border-top: 5px solid var(--jyc-g1-teal);
}

.jyc-g8-boundary ul,
.jyc-g8-crisis + ul {
  margin-left: 1.15rem;
}

.jyc-g8-boundary li + li {
  margin-top: 0.55rem;
}

.jyc-g8-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.jyc-g8-button-row button {
  flex: 1 1 10rem;
}

.jyc-g1-button-secondary {
  background: #fff !important;
  border: 2px solid var(--jyc-g1-teal) !important;
  color: var(--jyc-g1-teal) !important;
}

.jyc-g8-check-grid {
  display: grid;
  gap: 0.6rem 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0.65rem;
}

.jyc-g8-check-grid label {
  align-items: flex-start;
  background: #f6f9fa;
  border: 1px solid var(--jyc-g1-border);
  border-radius: 10px;
  display: flex;
  gap: 0.55rem;
  margin: 0;
  padding: 0.75rem;
}

.jyc-g8-check-grid input {
  flex: 0 0 auto;
  margin-top: 0.2rem;
}

.jyc-g8-crisis {
  background: #fff3d5;
  border: 2px solid #ad6200;
  border-radius: 14px;
  color: #422800;
  margin: 1rem 0 1.4rem;
  padding: 1rem 1.15rem;
}

.jyc-g8-project-grid .jyc-g1-card {
  border-top: 5px solid #7a4bb7;
}

.jyc-g8-empty {
  border: 2px dashed var(--jyc-g1-border);
  text-align: center;
}

.jyc-g8-details summary {
  color: var(--jyc-g1-teal);
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 850;
  padding: 0.25rem 0;
}

.jyc-g8-details[open] summary {
  margin-bottom: 1rem;
}

.jyc-g8-event-care {
  background: linear-gradient(135deg, #f0faf8 0%, #fffaf0 100%);
  border-radius: 18px;
  margin-top: 2rem;
}

@media (max-width: 680px) {
  .jyc-g8-check-grid {
    grid-template-columns: 1fr;
  }

  .jyc-g8-button-row {
    flex-direction: column;
  }
}

/* Group 7 — infrastructure, newcomer discovery, and partner calendar */
.jyc-g7-resource-tag {
  background: #fff0cf;
  border-radius: 999px;
  color: #7a3d1e;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.65rem;
}

.jyc-g7-resource-grid .jyc-g1-card,
.jyc-g7-calendar-grid .jyc-g1-card {
  display: flex;
  flex-direction: column;
}

.jyc-g7-resource-grid .jyc-g1-card > p:last-child,
.jyc-g7-calendar-grid .jyc-g1-card > p:last-child {
  margin-top: auto;
}

.jyc-g7-review-note {
  border-left: 6px solid var(--jyc-g1-teal);
  margin-top: 1.25rem;
}

.jyc-g7-path {
  counter-reset: jyc-g7-step;
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 1.75rem 0;
  padding: 0;
  position: relative;
}

.jyc-g7-path::before {
  background: linear-gradient(var(--jyc-g1-teal), #e0a12d);
  bottom: 2rem;
  content: "";
  left: 2.12rem;
  position: absolute;
  top: 2rem;
  width: 4px;
  z-index: 0;
}

.jyc-g7-path > li {
  min-height: 120px;
  padding-left: 5.5rem;
  position: relative;
  z-index: 1;
}

.jyc-g7-path > li > span {
  align-items: center;
  background: var(--jyc-g1-teal);
  border: 5px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--jyc-g1-border);
  color: #fff;
  display: flex;
  font-size: 1.2rem;
  font-weight: 900;
  height: 3.6rem;
  justify-content: center;
  left: 0.35rem;
  position: absolute;
  top: 1.25rem;
  width: 3.6rem;
}

.jyc-g7-path > li:nth-child(even) > span {
  background: #c94f35;
}

.jyc-g7-event-date {
  color: var(--jyc-g1-teal);
  display: block;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  margin-bottom: 0.65rem;
  text-transform: uppercase;
}

.jyc-g7-event-date small {
  color: var(--jyc-g1-muted);
  display: block;
  font-size: 0.82rem;
  letter-spacing: normal;
  margin-top: 0.2rem;
  text-transform: none;
}

.jyc-g7-partner-card .jyc-g1-button {
  width: 100%;
}

.jyc-g7-policy ul {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .jyc-g7-path {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .jyc-g7-path::before {
    bottom: auto;
    height: 4px;
    left: 9%;
    right: 9%;
    top: 2.95rem;
    width: auto;
  }

  .jyc-g7-path > li {
    min-height: 350px;
    padding: 5.2rem 1.2rem 1.3rem;
  }

  .jyc-g7-path > li > span {
    left: calc(50% - 1.8rem);
    top: 1rem;
  }
}

@media (max-width: 620px) {
  .jyc-g7-path > li {
    padding-left: 4.75rem;
  }

  .jyc-g7-path::before {
    left: 1.72rem;
  }

  .jyc-g7-path > li > span {
    height: 3rem;
    left: 0.2rem;
    width: 3rem;
  }
}

/* Group 5 — visible photo choice and reviewed weekly Torah. */
.jyc-g5-choice {
  align-items: center;
  background: #dff6e8;
  border-radius: 999px;
  color: #174c32;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  min-height: 28px;
  padding: 5px 10px;
}

.jyc-g5-choice-ask {
  background: #fff0c7;
  color: #694900;
}

.jyc-g5-choice-none {
  background: #ffe1e1;
  color: #6d2020;
}

.jyc-g5-choice-grid .jyc-g1-card {
  border-top: 5px solid #673ab7;
}

.jyc-g5-choice-grid .jyc-g1-card:nth-child(2) {
  border-top-color: #e5a500;
}

.jyc-g5-choice-grid .jyc-g1-card:nth-child(3) {
  border-top-color: #b94444;
}

.jyc-g5-checklist {
  margin: 0;
  padding-left: 1.25rem;
}

.jyc-g5-checklist li + li {
  margin-top: 0.65rem;
}

.jyc-g5-torah-card {
  overflow: hidden;
  position: relative;
}

.jyc-g5-torah-card::after {
  background: #311b55;
  color: #fff;
  content: "60 SEC";
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 0;
  position: absolute;
  right: -24px;
  text-align: center;
  top: 14px;
  transform: rotate(38deg);
  width: 110px;
}

.jyc-g5-torah-body {
  font-size: 1.04rem;
  line-height: 1.68;
}

.jyc-g5-weekly-cta,
.jyc-g5-event-links {
  background: linear-gradient(135deg, #f7f1ff 0%, #fffaf0 100%);
}

.jyc-community-tools-menu > a::after {
  color: #7a4bb7;
  content: " ✦";
  font-size: 0.75em;
}

@media (max-width: 680px) {
  .jyc-g5-choice-grid .jyc-g1-card {
    min-height: 0;
  }

  .jyc-g5-torah-card::after {
    right: -30px;
  }
}

/* Group 6 — membership, invite links, and private feedback. */
.jyc-g6-tier {
  background: linear-gradient(145deg, #0b2942 0%, #163f59 100%);
  color: #fff;
}

.jyc-g6-tier h2,
.jyc-g6-tier p {
  color: #fff;
}

.jyc-g6-price {
  color: #f5d27d;
  display: block;
  font-size: clamp(2.3rem, 7vw, 4.5rem);
  font-weight: 850;
  line-height: 1;
  margin-bottom: 1rem;
}

.jyc-g6-price small {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 0.45rem;
}

.jyc-g6-member-roll {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1rem 0;
}

.jyc-g6-member-roll span {
  background: #eef5f6;
  border: 1px solid var(--jyc-g1-border);
  border-radius: 999px;
  color: var(--jyc-g1-ink);
  font-weight: 750;
  padding: 0.55rem 0.9rem;
}

.jyc-g6-referral {
  border-top: 5px solid #c94f35;
}

.jyc-g6-referral button {
  width: 100%;
}

.jyc-g6-nps {
  display: grid;
  gap: 0.4rem;
  grid-template-columns: repeat(11, minmax(32px, 1fr));
  margin: 0.75rem 0 1.25rem;
}

.jyc-g6-nps label {
  cursor: pointer;
  margin: 0;
  position: relative;
}

.jyc-g6-nps input {
  opacity: 0;
  position: absolute;
}

.jyc-g6-nps span {
  align-items: center;
  background: #eef5f6;
  border: 2px solid transparent;
  border-radius: 10px;
  display: flex;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
}

.jyc-g6-nps input:checked + span,
.jyc-g6-nps input:focus-visible + span {
  background: #fff5db;
  border-color: #c94f35;
  outline: none;
}

@media (max-width: 680px) {
  .jyc-g6-nps {
    grid-template-columns: repeat(6, minmax(38px, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .jyc-g1-section *,
  .jyc-g1-card * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.jyc-g4-stat {
  align-items: baseline;
  display: flex;
  gap: 0.75rem;
  margin: 1rem 0 0.7rem;
}

.jyc-g4-stat strong {
  color: var(--jyc-g1-teal);
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 1;
}

.jyc-g4-stat span {
  color: var(--jyc-g1-muted);
  font-weight: 700;
  max-width: 24rem;
}

.jyc-g4-progress {
  background: #dbe9eb;
  border-radius: 999px;
  height: 16px;
  margin: 0.8rem 0 1.15rem;
  overflow: hidden;
}

.jyc-g4-progress span {
  background: linear-gradient(90deg, var(--jyc-g1-teal), #18a4b6);
  border-radius: inherit;
  display: block;
  height: 100%;
}

.jyc-g4-moment-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1.5rem 0;
}

.jyc-g4-moment img {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  display: block;
  height: auto;
  margin: 0 0 1rem;
  object-fit: cover;
  width: 100%;
}

.jyc-g4-sponsor-nudge {
  background: #fff;
  border: 1px solid var(--jyc-g1-border);
  border-radius: 16px;
  bottom: 1rem;
  box-shadow: 0 18px 48px rgba(8, 35, 55, 0.2);
  color: var(--jyc-g1-ink);
  display: grid;
  gap: 0.25rem;
  max-width: 310px;
  padding: 1rem 2.8rem 1rem 1rem;
  position: fixed;
  right: 1rem;
  z-index: 9998;
}

.jyc-g4-sponsor-nudge[hidden] {
  display: none;
}

.jyc-g4-sponsor-nudge button {
  background: transparent;
  border: 0;
  color: var(--jyc-g1-muted);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.35rem;
  position: absolute;
  right: 0.45rem;
  top: 0.35rem;
}

.jyc-g4-sponsor-nudge a,
.jyc-g4-sponsor-nudge strong {
  font-weight: 800;
}

@media (max-width: 860px) {
  .jyc-g4-moment-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .jyc-g4-stat {
    align-items: flex-start;
    flex-direction: column;
  }

  .jyc-g4-sponsor-nudge {
    bottom: 0.6rem;
    left: 0.6rem;
    max-width: none;
    right: 0.6rem;
  }
}
