/* GreySmiles Retirement Readiness. Scoped to the shortcode and aligned with the theme palette. */
.gsr {
	--gsr-primary: var(--gs-primary, #123466);
	--gsr-accent: var(--gs-accent, #df7900);
	--gsr-border: var(--gs-border, #d9e3ee);
	--gsr-muted: var(--gs-muted, #607493);
	--gsr-bg: #f7fafc;
	--gsr-green: #087f5b;
	--gsr-amber: #f2ad00;
	--gsr-red: #e83e45;
	--gsr-teal: #087f72;
	--gsr-blue: #0967d9;
	container-type: inline-size;
	width: 100%;
	color: var(--gsr-primary);
	font-size: 16px;
	line-height: 1.5;
}
.gsr *, .gsr *::before, .gsr *::after { box-sizing: border-box; }
.gsr [hidden] { display: none !important; }
.gsr__intro, .gsr__question, .gsr__results, .gsr__resources { scroll-margin-top: 80px; }
.gsr__intro h2 { margin: 0 0 8px; color: var(--gsr-primary); }
.gsr__context { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; max-width: 940px; margin: 24px 0; align-items: end; }
.gsr__label { margin: 0; display: flex; flex-direction: column; gap: 7px; font-weight: 700; }
.gsr__label input { width: 100%; min-height: 52px; padding: 9px 12px; border: 1px solid var(--gsr-border); border-radius: 7px; background: #fff; font-size: 16px; }
.gsr__label input[aria-invalid="true"] { border-color: #c7353b; box-shadow: 0 0 0 3px rgba(199,53,59,.12); }
.gsr__required { color: #b4232a; }
.gsr__hint, .gsr__privacy, .gsr__disclaimer { color: var(--gsr-muted); font-size: 13px; line-height: 1.6; }
.gsr__privacy { max-width: 72ch; }
.gsr__disclaimer { margin: 26px 0 0; padding: 16px 20px; border: 1px solid var(--gsr-border); border-radius: 8px; background: var(--gsr-bg); }

.gsr__button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 22px; border: 1px solid var(--gsr-primary); border-radius: 7px; background: #fff; color: var(--gsr-primary); font: inherit; font-size: 15px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease; }
.gsr .gsr__button, .gsr .gsr__button:visited { text-decoration: none; }
.gsr__button:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(18,52,102,.12); }
.gsr__button--primary { border-color: var(--gsr-accent); background: var(--gsr-accent); color: #fff; }
.gsr__button--recommendation { border-color: var(--gsr-teal); background: var(--gsr-teal); color: #fff; }
.gsr a.gsr__button--recommendation, .gsr a.gsr__button--recommendation:visited { color: #fff; }
.gsr__button--small { min-height: 40px; padding: 9px 16px; font-size: 13px; }
.gsr__button:focus-visible, .gsr__option:focus-within, .gsr a:focus-visible, .gsr button:focus-visible { outline: 3px solid rgba(223,121,0,.35); outline-offset: 3px; }
.gsr__resume { margin: 20px 0; padding: 18px; border: 1px solid var(--gsr-border); border-left: 4px solid var(--gsr-accent); border-radius: 8px; background: #fff8ee; }
.gsr__resume-title { margin: 0; font-weight: 700; }
.gsr__resume-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

.gsr__progress { margin: 0 0 8px; color: var(--gsr-muted); font-size: 14px; }
.gsr__bar { height: 7px; margin-bottom: 56px; overflow: hidden; border-radius: 4px; background: var(--gsr-border); }
.gsr__bar-fill { height: 100%; border-radius: inherit; background: var(--gsr-accent); transition: width .25s ease; }
.gsr__prompt { margin: 0 0 24px; color: var(--gsr-primary); font-size: clamp(25px, 3vw, 34px); line-height: 1.2; }
.gsr__options { display: flex; min-width: 0; margin: 0; padding: 0; border: 0; flex-direction: column; gap: 12px; }
.gsr__option { display: flex; align-items: flex-start; gap: 14px; padding: 17px 20px; border: 1px solid var(--gsr-border); border-radius: 10px; background: #fff; cursor: pointer; transition: transform .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease; }
.gsr__option:hover, .gsr__option:focus-within { border-color: var(--gsr-primary); background: #f7fafe; }
.gsr__option:has(input:checked) { border-color: var(--gsr-accent); background: #fff9ef; box-shadow: 0 0 0 3px rgba(223,121,0,.13); }
.gsr__option input { width: 21px; height: 21px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--gsr-primary); }
.gsr__option-text { color: var(--gsr-primary); line-height: 1.5; }
.gsr__error { margin: 12px 0 0; color: #9d252a; font-weight: 700; }
.gsr__error--visible { padding: 12px 14px; border: 1px solid #e8b7b4; border-radius: 7px; background: #fff4f3; }
.gsr__nav { display: flex; margin: 32px 0 0; padding: 20px 0 0; justify-content: flex-end; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--gsr-border); }
.gsr__nav .gsr__button:first-child:not(:last-child) { margin-right: auto; }

.gsr__back-link { margin: 0 0 8px; padding: 0; border: 0; background: transparent; color: #075bb5; font: inherit; font-weight: 700; cursor: pointer; }
.gsr__result-hero { display: grid; grid-template-columns: 1.05fr 1fr 1.25fr; gap: 14px; min-height: 250px; margin: 12px 0 28px; align-items: stretch; }
.gsr__result-score, .gsr__result-why, .gsr__result-quote { min-width: 0; padding: 20px; border: 1px solid var(--gsr-border); border-radius: 10px; }
.gsr__result-score { border-color: transparent; background: #fff; }
.gsr .gsr__result-title { margin: 0 0 14px; color: var(--gsr-primary); font-size: clamp(34px, 3.25vw, 48px); line-height: 1.08; }
.gsr__result-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gsr__result-number { color: #ffb000; font-size: clamp(54px, 7vw, 76px); line-height: .95; }
.gsr__result-max { color: var(--gsr-primary); font-size: clamp(32px, 4vw, 50px); font-weight: 700; }
.gsr__result-band { padding: 10px 18px; border-radius: 9px; font-size: 18px; font-weight: 800; }
.gsr__result-band--green { background: #d7f3e7; }.gsr__result-band--amber { background: #ffedbd; }.gsr__result-band--red { background: #ffd8da; }
.gsr .gsr__score-caveat-strong { margin: 20px 0 6px; font-weight: 800; line-height: 1.45; }.gsr .gsr__result-message { margin: 0; line-height: 1.5; }
.gsr__result-why { background: #f8fbfd; }
.gsr .gsr__result-why h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.25; }.gsr .gsr__result-why > p { margin: 0; font-size: 14px; line-height: 1.5; }
.gsr__count-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; text-align: center; }
.gsr__count { min-width: 0; }.gsr__count-number { display: flex; width: 45px; height: 45px; margin: 0 auto 6px; align-items: center; justify-content: center; border-radius: 50%; color: var(--gsr-primary); font-size: 20px; }
.gsr__count-number--green { background: #a7e4c8; }.gsr__count-number--amber { background: #ffdd83; }.gsr__count-number--red { background: #ff9da2; }
.gsr__count-label, .gsr__count small { display: block; line-height: 1.25; }.gsr__count-label { font-size: 12px; font-weight: 800; }.gsr__count small { margin-top: 3px; color: var(--gsr-muted); font-size: 10px; }
.gsr__result-quote { position: relative; display: flex; min-height: 250px; align-items: center; overflow: hidden; background-color: #eaf3f9; background-position: center, center; background-repeat: no-repeat, no-repeat; background-size: 100% 100%, cover; }
.gsr .gsr__result-quote blockquote { position: relative; z-index: 2; width: min(54%, 300px); max-width: none; margin: 0; padding: 0 0 18px; border: 0; background: transparent; box-shadow: none; color: var(--gsr-primary); font-family: Georgia, serif; font-size: clamp(18px, 1.55vw, 25px); font-style: italic; line-height: 1.35; }
.gsr .gsr__result-quote blockquote::after { position: absolute; bottom: 0; left: 0; width: 48px; height: 3px; background: var(--gsr-amber); content: ""; }
.gsr__journey-signs { position: absolute; z-index: 2; top: 12%; right: 4%; display: flex; width: min(42%, 190px); flex-direction: column; align-items: flex-end; gap: 8px; filter: drop-shadow(0 4px 5px rgba(0,0,0,.24)); }
.gsr__journey-signs::before { position: absolute; z-index: -1; top: 12px; right: 49%; width: 8px; height: calc(100% + 22px); border-radius: 3px; background: #6b4a35; content: ""; }
.gsr__journey-signs span { position: relative; display: flex; min-height: 42px; padding: 7px 20px 7px 14px; align-items: center; justify-content: center; background: #5d483e; color: #fff; font-size: 12px; font-weight: 800; line-height: 1.05; text-align: center; text-transform: uppercase; }
.gsr__journey-signs span::after { position: absolute; top: 0; right: -16px; border-top: 21px solid transparent; border-bottom: 21px solid transparent; border-left: 16px solid #5d483e; content: ""; }
.gsr__journey-signs span:nth-child(2) { margin-right: 18px; background: #755747; }
.gsr__journey-signs span:nth-child(2)::after { border-left-color: #755747; }
.gsr__journey-signs span:nth-child(3) { min-height: 50px; background: #4e4039; }
.gsr__journey-signs span:nth-child(3)::after { border-top-width: 25px; border-bottom-width: 25px; border-left-color: #4e4039; }

.gsr .gsr__section-title { margin: 22px 0 4px; color: var(--gsr-primary); font-size: 24px; line-height: 1.25; }.gsr .gsr__section-intro { margin: 0 0 14px; color: var(--gsr-muted); font-size: 14px; line-height: 1.55; }
.gsr__category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gsr__category { position: relative; display: flex; min-width: 0; min-height: 270px; padding: 18px; border: 1px solid var(--gsr-border); border-radius: 9px; flex-direction: column; box-shadow: none; }
.gsr__category--red { background: linear-gradient(135deg, #fff, #fff1f1); }.gsr__category--amber { background: linear-gradient(135deg, #fff, #fff8e4); }.gsr__category--green { background: linear-gradient(135deg, #fff, #edf9f5); }
.gsr__category-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.gsr__category-title-wrap { display: flex; align-items: center; gap: 11px; min-width: 0; }.gsr__category-icon { display: flex; width: 52px; height: 52px; align-items: center; justify-content: center; flex: 0 0 auto; color: var(--gsr-primary); background: transparent; }
.gsr__vector-icon { display: inline-flex; align-items: center; justify-content: center; }
.gsr__vector-icon svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gsr__category-icon .gsr__vector-icon { width: 48px; height: 48px; }
.gsr__category--money { border-color: #f2d5d8; background: linear-gradient(135deg, #fff, #fff0f1); }.gsr__category--money .gsr__category-icon { color: #e43b45; }
.gsr__category--health { border-color: #d4e5f4; background: linear-gradient(135deg, #fff, #edf7ff); }.gsr__category--health .gsr__category-icon { color: #1267d6; }
.gsr__category--family { border-color: #f2dfb5; background: linear-gradient(135deg, #fff, #fff8e6); }.gsr__category--family .gsr__category-icon { color: #f0aa00; }
.gsr .gsr__category h4 { margin: 0; color: var(--gsr-primary); font-size: 18px; line-height: 1.25; }.gsr .gsr__category-head p { margin: 4px 0 0; color: var(--gsr-muted); font-size: 12px; line-height: 1.45; }
.gsr__status { flex: 0 0 auto; padding: 6px 10px; border-radius: 999px; color: #fff; font-size: 10px; font-weight: 800; }.gsr__status--red { background: var(--gsr-red); }.gsr__status--amber { color: var(--gsr-primary); background: #ffd36a; }.gsr__status--green { background: var(--gsr-green); }
.gsr__issue { display: grid; grid-template-columns: 12px 1fr; gap: 8px; margin-bottom: 9px; }.gsr__signal { width: 11px; height: 11px; margin-top: 4px; border-radius: 50%; }.gsr__signal--red { background: var(--gsr-red); }.gsr__signal--amber { background: var(--gsr-amber); }
.gsr .gsr__issue strong { display: block; font-size: 13px; line-height: 1.35; }.gsr .gsr__issue p { margin: 2px 0 0; color: var(--gsr-muted); font-size: 12px; line-height: 1.5; }.gsr__category-clear { color: var(--gsr-muted); font-size: 13px; }
.gsr__explore { margin-top: auto; padding: 8px 0 0; border: 0; background: transparent; color: #0866c6; font: inherit; font-size: 12px; font-weight: 800; text-align: left; cursor: pointer; }

.gsr__recommendation { display: grid; grid-template-columns: 62px 1fr; gap: 14px; margin: 14px 0; padding: 14px 18px; border: 1px solid #b6ded7; border-radius: 9px; background: linear-gradient(90deg, #edf9f7, #f8fdfc); }
.gsr__recommendation-icon { display: flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 50%; color: var(--gsr-green); background: #d9f1ec; font-size: 25px; font-weight: 800; }
.gsr__recommendation-icon .gsr__vector-icon { width: 30px; height: 30px; }
.gsr .gsr__recommendation h3 { margin: 0 0 3px; font-size: 18px; }.gsr .gsr__recommendation p { margin: 0 0 8px; color: var(--gsr-muted); font-size: 13px; }
.gsr__recommendation-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }.gsr__why-recommendation { padding: 4px 0; border: 0; background: transparent; color: var(--gsr-primary); font: inherit; font-size: 12px; font-weight: 800; text-decoration: underline; text-decoration-color: transparent; cursor: pointer; }.gsr__why-recommendation:hover, .gsr__why-recommendation[aria-expanded="true"] { color: var(--gsr-teal); text-decoration-color: currentColor; }
.gsr .gsr__recommendation-reason { margin: 10px 0 0; max-width: 90ch; padding: 10px 12px; border-left: 3px solid var(--gsr-teal); border-radius: 0 6px 6px 0; background: #fff; color: var(--gsr-primary); font-size: 12px; }

.gsr__resources { margin-top: 8px; }.gsr__resources-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; }.gsr__resources-head .gsr__section-title { margin-top: 0; }.gsr__all-resources { flex: 0 0 auto; color: #0866c6; font-size: 12px; font-weight: 800; text-decoration: none; }
.gsr__resource-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }.gsr__resource { display: grid; min-width: 0; min-height: 108px; padding: 8px; border: 1px solid var(--gsr-border); border-radius: 8px; background: #fff; grid-template-columns: 76px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 10px; transition: transform .2s ease, box-shadow .2s ease; }.gsr__resource:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(18,52,102,.09); }.gsr__resource-image { display: block; width: 76px; height: 78px; margin: 0; border-radius: 6px; background: #eef4f8; grid-column: 1; grid-row: 1 / 4; }.gsr__resource-image--cover { object-fit: cover; }.gsr__resource-image--contain { object-fit: contain; }.gsr__resource-type { color: var(--gsr-muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }.gsr .gsr__resource h4 { margin: 2px 0 5px; font-size: 11px; line-height: 1.25; }.gsr .gsr__resource-excerpt { display: none; }.gsr__resource a { align-self: end; color: #0866c6; font-size: 10px; font-weight: 800; text-decoration: none; }.gsr__resource--no-image { grid-template-columns: minmax(0, 1fr); }.gsr__no-resources { grid-column: 1 / -1; color: var(--gsr-muted); }

.gsr__animate-in { animation: gsr-view-in .42s cubic-bezier(.2,.7,.2,1) both; }
.gsr__results.gsr__animate-in > * { animation: gsr-section-in .48s cubic-bezier(.2,.7,.2,1) both; }
.gsr__results.gsr__animate-in > *:nth-child(2) { animation-delay: .05s; }
.gsr__results.gsr__animate-in > *:nth-child(3) { animation-delay: .1s; }
.gsr__results.gsr__animate-in > *:nth-child(4) { animation-delay: .15s; }
.gsr__results.gsr__animate-in > *:nth-child(5) { animation-delay: .2s; }
@keyframes gsr-view-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes gsr-section-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.gsr__returned { margin: 16px 0; padding: 15px 18px; border: 1px solid #bce1d9; border-radius: 8px; background: #f0f8f5; }.gsr__returned h3, .gsr__returned p { margin: 0 0 4px; }
.gsr__contact { display: grid; align-items: center; gap: 22px; margin: 16px 0; padding: 20px 22px; border: 1px solid #cbddeb; border-left: 5px solid var(--gsr-orange); border-radius: 9px; background: linear-gradient(100deg, #f5faff, #fffaf0); grid-template-columns: minmax(0, 1fr) auto; }
.gsr .gsr__contact h3 { margin: 0 0 5px; color: var(--gsr-primary); font-size: 20px; line-height: 1.25; }.gsr .gsr__contact p { max-width: 82ch; margin: 0; color: var(--gsr-muted); font-size: 13px; line-height: 1.55; }
.gsr__contact-details { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 13px; }.gsr__contact-detail { display: flex; min-width: 0; flex-direction: column; color: var(--gsr-primary); text-decoration: none; }.gsr__contact-detail span { color: var(--gsr-muted); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }.gsr__contact-detail strong { overflow-wrap: anywhere; font-size: 13px; }.gsr__contact-detail:hover strong { color: var(--gsr-teal); text-decoration: underline; }
.gsr__contact > .gsr__button { min-width: 190px; padding: 13px 24px; border-radius: 8px; text-align: center; box-shadow: 0 7px 16px rgba(218,119,7,.18); }
.gsr .gsr__contact > a.gsr__button.gsr__button--primary, .gsr .gsr__contact > a.gsr__button.gsr__button--primary:visited { border-color: var(--gsr-accent); background: var(--gsr-accent); color: #fff; text-decoration: none; }
.gsr .gsr__contact > a.gsr__button.gsr__button--primary:hover { border-color: #b96000; background: #b96000; color: #fff; box-shadow: 0 10px 22px rgba(185,96,0,.24); }
.gsr__reassess { display: grid; align-items: center; gap: 14px; margin-top: 16px; padding: 12px 18px; border: 1px solid var(--gsr-border); border-radius: 8px; background: var(--gsr-bg); grid-template-columns: 42px 1fr auto; }.gsr__reassess-icon { display: flex; width: 38px; height: 38px; align-items: center; justify-content: center; color: #079a9f; }.gsr__reassess-icon .gsr__vector-icon { width: 34px; height: 34px; }.gsr__reassess h3 { margin: 0; font-size: 14px; }.gsr__reassess p { margin: 2px 0 0; color: var(--gsr-muted); font-size: 11px; }.gsr__reassess .gsr__button { min-height: 38px; border-color: #0b7a9f; color: #075b7e; background: #fff; }
.gsr .gsr__results + .gsr__disclaimer { margin-top: 24px !important; }

@media (max-width: 1100px) {
	.gsr__result-hero { grid-template-columns: 1fr 1fr; }.gsr__result-quote { grid-column: 1 / -1; min-height: 240px; }.gsr__category-grid { grid-template-columns: 1fr 1fr; }.gsr__resource-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 780px) {
	.gsr__context, .gsr__result-hero, .gsr__category-grid { grid-template-columns: 1fr; }.gsr__result-quote { grid-column: auto; }.gsr__resource-grid { grid-template-columns: 1fr 1fr; }.gsr__bar { margin-bottom: 32px; }.gsr__category { min-height: 0; }
}
@media (max-width: 560px) {
	.gsr__button { width: 100%; }.gsr__nav .gsr__button:first-child:not(:last-child) { margin-right: 0; }.gsr__result-score, .gsr__result-why, .gsr__result-quote { padding: 16px 10px; }.gsr__count-grid { gap: 5px; }.gsr__resource-grid { grid-template-columns: 1fr; }.gsr__resources-head { align-items: stretch; flex-direction: column; }.gsr__recommendation, .gsr__contact { grid-template-columns: 1fr; }.gsr__contact { padding: 17px; }.gsr__reassess { align-items: start; grid-template-columns: 42px minmax(0, 1fr); }.gsr__reassess > div { min-width: 0; }.gsr__reassess .gsr__button { width: 100%; min-height: 48px; grid-column: 1 / -1; }.gsr__result-line { align-items: baseline; }
}

@container (max-width: 1120px) {
	.gsr__result-hero { grid-template-columns: 1.05fr 1fr 1.25fr; }
	.gsr__result-quote { grid-column: auto; min-height: 250px; }
}
@container (max-width: 900px) {
	.gsr__result-hero, .gsr__category-grid { grid-template-columns: 1fr; }
	.gsr__result-quote { grid-column: auto; }
	.gsr__category { min-height: 0; }
	.gsr__resource-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@container (max-width: 680px) { .gsr__resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (max-width: 560px) {
	.gsr__result-score, .gsr__result-why, .gsr__result-quote { padding: 18px; }
	.gsr .gsr__result-title { font-size: 32px; }
	.gsr__result-number { font-size: 58px; }
	.gsr__result-max { font-size: 34px; }
	.gsr__result-quote { min-height: 240px; background-position: center, center; }
	.gsr .gsr__result-quote blockquote { width: 70%; font-size: 20px; }
	.gsr__journey-signs { display: none; }
	.gsr__resource-grid { grid-template-columns: 1fr; }
	.gsr__contact { grid-template-columns: 1fr; padding: 17px; }
	.gsr__reassess { align-items: start; grid-template-columns: 42px minmax(0, 1fr); }
	.gsr__reassess > div { min-width: 0; }
	.gsr__reassess .gsr__button { width: 100%; min-height: 48px; grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
	.gsr *, .gsr *::before, .gsr *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
