/**
 * Homepage 05: AI Search (dark).
 * Desktop A: accordion board + drawn sample answer (head centred, gate 3).
 * Phone E: chat that streams a sample answer with numbered citations, and a
 * bottom sheet with the four factors (assets/js/home/05-ai-search.js).
 * The caption under the sample answer is screen-reader only on both layouts
 * (Mike, 2026-11-21).
 */

/* ---------- Shared ---------- */

.gs-home .gh-05 {
	--ez: cubic-bezier(.32, .72, .33, 1);
	background: var(--page-bg);
}

.gs-home .gh-05 .s05a-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.gs-home .gh-05 .s05a-head .gs-eyebrow::before { content: ""; width: 48px; height: 1px; background: var(--text-brand-main); }
.gs-home .gh-05 .s05a-h2 { margin-top: 16px; }
.gs-home .gh-05 .s05a-intro { text-wrap: pretty; }

.gs-home .gh-05 .s05a-tool { display: flex; align-items: center; justify-content: space-between; }
.gs-home .gh-05 .s05a-tl { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; line-height: 20px; color: var(--text-high-em); }
.gs-home .gh-05 .s05a-tl svg { width: 18px; height: 18px; color: var(--brand-tan); }
.gs-home .gh-05 .s05a-sl { font-size: 12px; font-weight: 600; line-height: 18px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-low-em); }
.gs-home .gh-05 .s05a-at b { font-weight: 700; }

/* Caption: screen-reader only on both layouts. */
.gs-home .gh-05 .s05a-fc { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Desktop (A) ---------- */

@media (min-width: 1024px) {
	.gs-home .gh-05 {
		box-sizing: border-box;
		min-height: 880px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: 160px 0;
	}

	.gs-home .gh-05 .s05a-h2 { font-size: 44px; line-height: 1.15; }
	.gs-home .gh-05 .s05a-intro { margin-top: 20px; max-width: 760px; font-size: 18px; line-height: 28px; }

	.gs-home .gh-05 .s05a-board {
		display: grid;
		grid-template-columns: minmax(0, 456fr) minmax(0, 744fr);
		margin-top: 40px;
		border: 1px solid var(--outline-high-em);
		border-radius: var(--radius-20);
		overflow: hidden;
	}

	.gs-home .gh-05 .s05a-list { padding: 32px 36px; }
	.gs-home .gh-05 .s05a-cap { color: var(--text-med-em); }
	.gs-home .gh-05 .s05a-rows { margin-top: 12px; border-top: 1px solid var(--outline-med-em); }
	.gs-home .gh-05 .s05a-row { border-bottom: 1px solid var(--outline-med-em); }
	.gs-home .gh-05 .s05a-row:last-child { border-bottom: 0; }
	.gs-home .gh-05 .s05a-sum { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; }
	.gs-home .gh-05 .s05a-sum::-webkit-details-marker { display: none; }
	.gs-home .gh-05 .s05a-sum::marker { content: ""; }
	.gs-home .gh-05 .s05a-t { font-family: var(--font-display); font-size: 19px; line-height: 25px; color: var(--text-high-em); }
	.gs-home .gh-05 .s05a-ic { flex: none; width: 20px; height: 20px; color: var(--brand-tan); }
	.gs-home .gh-05 .s05a-row[open] .s05a-v { display: none; }
	.gs-home .gh-05 .s05a-row[open] .s05a-sum { padding-bottom: 10px; }
	.gs-home .gh-05 .s05a-d { padding: 0 36px 20px 0; color: var(--text-med-em); }

	.gs-home .gh-05 .s05a-ans { display: flex; flex-direction: column; margin: 0; padding: 32px 40px; background: var(--surface-foreground); border-left: 1px solid var(--outline-high-em); }
	.gs-home .gh-05 .s05a-q { align-self: flex-end; max-width: 520px; margin-top: 18px; padding: 14px 20px; background: var(--page-bg); border: 1px solid var(--outline-med-em); border-radius: var(--radius-12); font-size: 16px; line-height: 25px; color: var(--text-high-em); }
	.gs-home .gh-05 .s05a-a { margin-top: 14px; padding: 24px 28px; background: var(--card-bg); border: 1px solid var(--outline-high-em); border-radius: var(--radius-16); }
	.gs-home .gh-05 .s05a-at { font-size: 19px; line-height: 30px; color: var(--text-high-em); text-wrap: pretty; }
	.gs-home .gh-05 .s05a-mk { border-bottom: 1px solid var(--brand-tan); padding-bottom: 1px; }
	.gs-home .gh-05 .s05a-src { display: flex; align-items: center; gap: 20px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--outline-med-em); }
	.gs-home .gh-05 .s05a-src ul { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
	.gs-home .gh-05 .s05a-src li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; color: var(--text-med-em); }
	.gs-home .gh-05 .s05a-src li svg { width: 16px; height: 16px; color: var(--brand-tan); }
}

/* ---------- Phone (E) ---------- */

@media (max-width: 1023px) {
	.gs-home .gh-05 { padding: 112px 0; }
	.gs-home .gh-05 .w { width: 100%; max-width: 640px; margin: 0 auto; padding: 0 24px; }
	.gs-home .gh-05 .s05a-h2 { font-size: 32px; line-height: 1.15; }
	.gs-home .gh-05 .s05a-intro.lead { margin-top: 16px; max-width: 560px; font-size: 16px; line-height: 26px; }

	.gs-home .gh-05 .s05a-chat { margin: 40px 0 0; display: flex; flex-direction: column; background: var(--surface-foreground); border: 1px solid var(--outline-high-em); border-radius: var(--radius-20); overflow: hidden; }
	.gs-home .gh-05 .s05a-tool { gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--outline-med-em); }

	.gs-home .gh-05 .s05a-stage { display: grid; min-height: 272px; padding: 18px 16px 14px; }
	.gs-home .gh-05 .s05a-empty,
	.gs-home .gh-05 .s05a-convo { grid-area: 1 / 1; min-width: 0; }
	.gs-home .gh-05 .s05a-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 12px 8px; transition: opacity .25s ease, transform .35s var(--ez), visibility 0s linear .35s; opacity: 0; visibility: hidden; transform: scale(.97); }
	.gs-home .gh-05 .s05a-ph-idle .s05a-empty { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease .1s, transform .4s var(--ez) .1s, visibility 0s; }
	.gs-home .gh-05 .s05a-orb { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--outline-high-em); border-radius: 50%; color: var(--brand-tan); }
	.gs-home .gh-05 .s05a-orb svg { width: 24px; height: 24px; }
	.gs-home .gh-05 .s05a-et { margin-top: 16px; font-family: var(--font-display); font-size: 20px; line-height: 26px; color: var(--text-high-em); }
	.gs-home .gh-05 .s05a-es { margin-top: 8px; max-width: 240px; font-size: 14px; line-height: 21px; color: var(--text-low-em); }
	.gs-home .gh-05 .s05a-ph-idle .s05a-convo { visibility: hidden; }

	.gs-home .gh-05 .s05a-q { position: relative; z-index: 2; margin-left: auto; max-width: 86%; padding: 12px 16px; background: var(--page-bg); border: 1px solid var(--outline-med-em); border-radius: var(--radius-12); font-size: 14px; line-height: 22px; color: var(--text-high-em); transition: transform .5s var(--ez), background-color .45s ease, border-color .45s ease; will-change: transform; }
	.gs-home .gh-05 .s05a-q[data-fly] { background: color-mix(in srgb, var(--brand-tan) 10%, var(--surface-foreground)); border-color: var(--brand-tan); }

	/* "Checking" ticker */
	.gs-home .gh-05 .s05a-thw { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s var(--ez); }
	.gs-home .gh-05 .s05a-ph-check .s05a-thw { grid-template-rows: 1fr; }
	.gs-home .gh-05 .s05a-thi { min-height: 0; overflow: hidden; }
	.gs-home .gh-05 .s05a-thk { display: flex; align-items: center; gap: 10px; padding: 18px 4px 4px; font-size: 14px; font-weight: 500; line-height: 20px; color: var(--text-med-em); white-space: nowrap; opacity: 0; transform: translateY(6px); transition: opacity .2s ease, transform .3s var(--ez); }
	.gs-home .gh-05 .s05a-ph-check .s05a-thk { opacity: 1; transform: none; transition-delay: .06s; }
	.gs-home .gh-05 .s05a-thl { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; }
	.gs-home .gh-05 .s05a-spin { flex: none; width: 18px; height: 18px; color: var(--brand-tan); animation: gh05-spin .9s linear infinite; }
	.gs-home .gh-05 .s05a-tk { display: block; flex: 1; min-width: 0; height: 20px; overflow: hidden; }
	.gs-home .gh-05 .s05a-tkl { display: flex; flex-direction: column; transition: transform .35s var(--ez); }
	.gs-home .gh-05 .s05a-tkl span { display: block; height: 20px; overflow: hidden; text-overflow: ellipsis; color: var(--text-high-em); font-weight: 600; }
	.gs-home .gh-05 .s05a-k1 .s05a-tkl { transform: translateY(-20px); }
	.gs-home .gh-05 .s05a-k2 .s05a-tkl { transform: translateY(-40px); }
	.gs-home .gh-05 .s05a-k3 .s05a-tkl,
	.gs-home .gh-05 .s05a-k4 .s05a-tkl { transform: translateY(-60px); }

	/* Answer */
	.gs-home .gh-05 .s05a-a { display: none; margin-top: 12px; padding: 16px 16px 14px; background: var(--card-bg); border: 1px solid var(--outline-high-em); border-radius: var(--radius-16); }
	.gs-home .gh-05 .s05a-ph-stream .s05a-a,
	.gs-home .gh-05 .s05a-ph-done .s05a-a { display: block; }
	.gs-home .gh-05 .s05a-ph-stream .s05a-a { animation: gh05-rise .35s var(--ez) both; }
	.gs-home .gh-05 .s05a-ag { display: grid; grid-template-rows: 1fr; }
	.gs-home .gh-05 .s05a-agi { min-height: 0; overflow: hidden; margin: 0 -10px; padding: 0 10px; }
	.gs-home .gh-05 .s05a-ph-stream .s05a-ag { animation: gh05-grow 1.5s cubic-bezier(.3, .3, .35, 1) both; }
	.gs-home .gh-05 .s05a-at { font-size: 14px; line-height: 24px; color: var(--text-high-em); text-wrap: pretty; }
	.gs-home .gh-05 .s05a-nw { white-space: nowrap; }
	.gs-home .gh-05 .s05a-w { opacity: 0; transition: opacity .28s ease; }
	.gs-home .gh-05 .s05a-ph-stream .s05a-w { opacity: 1; transition-delay: calc(var(--i, 0) * 34ms + 120ms); }
	.gs-home .gh-05 .s05a-ph-done .s05a-w { opacity: 1; }

	.gs-home .gh-05 .s05a-mk,
	.gs-home .gh-05 .s05a-nm { margin: 0 -3px; padding: 1px 3px; border-radius: 5px; -webkit-box-decoration-break: clone; box-decoration-break: clone; background-image: linear-gradient(var(--outline-high-em), var(--outline-high-em)); background-repeat: no-repeat; background-position: 3px 100%; background-size: 0 1px; transition: background-color .3s var(--ez), background-size .45s var(--ez), color .3s ease; }
	.gs-home .gh-05 .s05a-ph-stream .s05a-mk { background-size: calc(100% - 6px) 1px; transition-delay: 0s, calc(var(--d, 0) * 34ms + 320ms), 0s; }
	.gs-home .gh-05 .s05a-ph-done .s05a-mk { background-size: calc(100% - 6px) 1px; }
	.gs-home .gh-05 .s05a-ph-done .s05a-mk,
	.gs-home .gh-05 .s05a-ph-done .s05a-nm { cursor: pointer; }
	.gs-home .gh-05 .s05a-lit { position: relative; z-index: 61; color: var(--text-high-em); background-color: color-mix(in srgb, var(--text-high-em) 12%, var(--card-bg)); background-size: calc(100% - 6px) 1px; transition-delay: 0s; }

	/* Citation badges (44px tap target, 15px pill) */
	.gs-home .gh-05 .s05a-bd { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -14px -13px -14px -12px; padding: 0; border: 0; background: transparent; vertical-align: middle; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
	.gs-home .gh-05 .s05a-bd::before { content: attr(data-n); display: flex; align-items: center; justify-content: center; min-width: 15px; height: 15px; padding: 0 4px; box-sizing: border-box; border-radius: 8px; border: 0; background: color-mix(in srgb, var(--text-high-em) 16%, var(--card-bg)); color: color-mix(in srgb, var(--text-high-em) 85%, transparent); font: 600 10px/1 var(--font-body); font-variant-numeric: tabular-nums; transform: translateY(-4px); transition: background-color .25s ease, color .25s ease, transform .3s var(--ez); }
	.gs-home .gh-05 .s05a-ph-stream .s05a-bd::before { animation: gh05-pop .5s var(--ez) calc(var(--i, 0) * 34ms + 260ms) both; }
	.gs-home .gh-05 .s05a-bd:active::before { transform: translateY(-4px) scale(.86); }
	.gs-home .gh-05 .s05a-bd:focus-visible { outline: none; }
	.gs-home .gh-05 .s05a-bd:focus-visible::before { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
	.gs-home .gh-05 .s05a-bd.s05a-up { position: relative; z-index: 61; }
	.gs-home .gh-05 .s05a-bd.s05a-up::before { opacity: .75; }
	.gs-home .gh-05 .s05a-bd.s05a-on::before { opacity: 1; background: var(--brand-tan); color: #131419; }

	/* Sources */
	.gs-home .gh-05 .s05a-src { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--outline-med-em); opacity: 0; transition: opacity .3s ease; }
	.gs-home .gh-05 .s05a-ph-stream .s05a-src { opacity: 1; transition-delay: 1.05s; }
	.gs-home .gh-05 .s05a-ph-done .s05a-src { opacity: 1; }
	.gs-home .gh-05 .s05a-src ul { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-left: -8px; }
	.gs-home .gh-05 .s05a-src li { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 8px; border: 1px solid transparent; border-radius: var(--radius-100); font-size: 12px; line-height: 18px; color: var(--text-med-em); opacity: 0; transform: scale(.82); transition: border-color .25s ease, color .25s ease, background-color .25s ease, opacity .25s ease, transform .45s cubic-bezier(.34, 1.56, .64, 1); }
	.gs-home .gh-05 .s05a-ph-stream .s05a-src li,
	.gs-home .gh-05 .s05a-ph-done .s05a-src li { opacity: 1; transform: none; }
	.gs-home .gh-05 .s05a-ph-stream .s05a-src li:nth-child(1) { transition-delay: 0s, 0s, 0s, 1.15s, 1.15s; }
	.gs-home .gh-05 .s05a-ph-stream .s05a-src li:nth-child(2) { transition-delay: 0s, 0s, 0s, 1.25s, 1.25s; }
	.gs-home .gh-05 .s05a-ph-stream .s05a-src li:nth-child(3) { transition-delay: 0s, 0s, 0s, 1.35s, 1.35s; }
	.gs-home .gh-05 .s05a-src li svg { width: 13px; height: 13px; color: var(--text-med-em); }
	.gs-home .gh-05 .s05a-src li.s05a-on { position: relative; z-index: 61; border-color: var(--text-med-em); color: var(--text-high-em); background: color-mix(in srgb, var(--text-high-em) 8%, var(--card-bg)); }

	/* Dock: suggested question + composer */
	.gs-home .gh-05 .s05a-dock { padding: 0 16px 16px; }
	.gs-home .gh-05 .s05a-slot { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ez) .12s; }
	.gs-home .gh-05 .s05a-ph-idle .s05a-slot { grid-template-rows: 1fr; transition: grid-template-rows .4s var(--ez); }
	.gs-home .gh-05 .s05a-sug { min-height: 0; overflow: hidden; opacity: 0; transition: opacity .18s ease; }
	.gs-home .gh-05 .s05a-ph-idle .s05a-sug { opacity: 1; transition: opacity .3s ease .15s; }
	.gs-home .gh-05 .s05a-sgl { display: flex; align-items: center; gap: 6px; padding-top: 2px; font-size: 11px; font-weight: 600; line-height: 16px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-brand-main); }
	.gs-home .gh-05 .s05a-sgl svg { width: 14px; height: 14px; }
	.gs-home .gh-05 .s05a-chip { display: block; max-width: 86%; margin: 8px 0 12px; padding: 12px 16px; border: 1px solid var(--brand-tan); border-radius: var(--radius-12); background: color-mix(in srgb, var(--brand-tan) 10%, transparent); color: var(--text-high-em); font-family: var(--font-body); font-size: 14px; font-weight: 400; line-height: 22px; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .18s var(--ez), background-color .2s ease, opacity .15s ease; }
	.gs-home .gh-05 .s05a-chip:active,
	.gs-home .gh-05 .s05a-chip[data-press] { transform: scale(.97); background: color-mix(in srgb, var(--brand-tan) 20%, transparent); }
	.gs-home .gh-05 .s05a-chat:not(.s05a-ph-idle) .s05a-chip { opacity: 0; transition: none; }

	/* "What AI tools look for" bar under the answer */
	.gs-home .gh-05 .s05a-pkw { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ez); }
	.gs-home .gh-05 .s05a-ph-done .s05a-pkw { grid-template-rows: 1fr; }
	.gs-home .gh-05 .s05a-pki { min-height: 0; overflow: hidden; margin: -8px -4px 0; padding: 8px 4px 0; }
	.gs-home .gh-05 .s05a-pk { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 72px; margin: 16px 0 2px; padding: 14px; border: 1px solid var(--outline-high-em); border-radius: 8px; background: var(--surface-foreground); color: inherit; font: inherit; text-align: left; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; opacity: 0; transform: translateY(12px); transition: border-color .2s ease, transform .4s var(--ez), opacity .3s ease; }
	.gs-home .gh-05 .s05a-ph-done .s05a-pk { opacity: 1; transform: none; transition-delay: 0s, .12s, .12s; }
	.gs-home .gh-05 .s05a-pk:hover,
	.gs-home .gh-05 .s05a-pk:focus { background: var(--surface-foreground); color: inherit; }
	.gs-home .gh-05 .s05a-pk:active { border-color: var(--text-med-em); }
	.gs-home .gh-05 .s05a-pk:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: 8px; }
	.gs-home .gh-05 .s05a-fresh .s05a-pk { animation: gh05-lift .9s var(--ez) 1.15s 1; }
	.gs-home .gh-05 .s05a-fresh .s05a-ds svg { animation: gh05-hop .9s var(--ez) 1.15s 1; }
	.gs-home .gh-05 .s05a-dt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
	.gs-home .gh-05 .s05a-dl { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; line-height: 16px; letter-spacing: .1em; white-space: nowrap; text-transform: uppercase; color: var(--text-high-em); }
	.gs-home .gh-05 .s05a-dn { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 20px; height: 20px; padding: 0; border-radius: 50%; line-height: 1; background: color-mix(in srgb, var(--brand-tan) 18%, transparent); color: var(--brand-tan); letter-spacing: 0; font-variant-numeric: tabular-nums; }
	.gs-home .gh-05 .s05a-ds { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; line-height: 18px; color: var(--text-low-em); }
	.gs-home .gh-05 .s05a-ds svg { width: 12px; height: 12px; color: var(--text-med-em); transition: transform .3s var(--ez); }
	.gs-home .gh-05 .s05a-pk:active .s05a-ds svg { transform: translateX(2px); }

	.gs-home .gh-05 .s05a-comp { display: flex; align-items: center; gap: 8px; min-height: 54px; padding: 4px 4px 4px 18px; border: 1px solid var(--outline-high-em); border-radius: var(--radius-100); background: var(--card-bg); }
	.gs-home .gh-05 .s05a-pht { flex: 1; min-width: 0; font-size: 15px; line-height: 20px; color: var(--text-low-em); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.gs-home .gh-05 .s05a-send { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--brand-tan); color: #131419; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .25s ease, color .25s ease, transform .18s var(--ez); }
	.gs-home .gh-05 .s05a-send:hover,
	.gs-home .gh-05 .s05a-send:focus { background: var(--brand-tan); color: #131419; }
	.gs-home .gh-05 .s05a-send:active { transform: scale(.94); }
	.gs-home .gh-05 .s05a-send svg { width: 20px; height: 20px; }
	.gs-home .gh-05 .s05a-chat:not(.s05a-ph-idle) .s05a-send { background: var(--outline-med-em); color: var(--text-low-em); cursor: default; }
	.gs-home .gh-05 .s05a-ph-done .s05a-send { display: none; }
	.gs-home .gh-05 .s05a-replay { flex: none; display: none; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 14px; border: 1px solid var(--outline-high-em); border-radius: var(--radius-100); background: transparent; color: var(--text-high-em); font-family: var(--font-body); font-size: 14px; font-weight: 600; line-height: 20px; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: border-color .2s ease; }
	.gs-home .gh-05 .s05a-replay svg { width: 16px; height: 16px; color: var(--brand-tan); }
	.gs-home .gh-05 .s05a-replay:active { border-color: var(--brand-tan); }
	.gs-home .gh-05 .s05a-ph-done .s05a-replay { display: inline-flex; animation: gh05-in .35s var(--ez); }

	/* ---------- The factor sheet ---------- */
	.gs-home .gh-05 .s05a-scrim { position: fixed; inset: 0; z-index: 60; background: #121418; opacity: 0; visibility: hidden; -webkit-tap-highlight-color: transparent; }
	.gs-home .gh-05 .s05a-scrim.s05a-live { visibility: visible; }
	.gs-home .gh-05 .s05a-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 62; display: flex; flex-direction: column; width: 100%; max-width: 600px; max-height: calc(100vh - 40px); margin: 0 auto; box-sizing: border-box; background: var(--card-bg); border: 1px solid var(--outline-high-em); border-bottom: 0; border-radius: 20px 20px 0 0; box-shadow: 0 -16px 40px -12px #000000b3; color: var(--text-high-em); font-family: var(--font-body); visibility: hidden; transform: translate3d(0, 110%, 0); touch-action: none; -webkit-user-select: none; user-select: none; outline: none; }
	.gs-home .gh-05 .s05a-sheet::after { content: ""; position: absolute; left: -1px; right: -1px; top: 100%; height: 80px; background: var(--card-bg); }
	.gs-home .gh-05 .s05a-sheet.s05a-live { visibility: visible; }
	.gs-home .gh-05 .s05a-sheet svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
	.gs-home .gh-05 .s05a-sheet button:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
	.gs-home .gh-05 .s05a-sheet :is(button, [type="button"]):is(:hover, :focus) { background-color: transparent; color: inherit; }

	.gs-home .gh-05 .s05a-grab { position: absolute; top: 0; left: 50%; z-index: 2; display: flex; justify-content: center; align-items: flex-start; width: 96px; height: 44px; margin-left: -48px; padding: 8px 0 0; border: 0; background: transparent; cursor: grab; -webkit-tap-highlight-color: transparent; }
	.gs-home .gh-05 .s05a-grab span { display: block; width: 40px; height: 4px; border-radius: 2px; background: var(--outline-high-em); transition: background-color .2s ease, width .25s var(--ez); }
	.gs-home .gh-05 .s05a-grab:hover span,
	.gs-home .gh-05 .s05a-sheet[data-drag] .s05a-grab span { background: var(--text-med-em); width: 52px; }
	.gs-home .gh-05 .s05a-sheet .s05a-grab:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -4px; border-radius: 10px; }

	.gs-home .gh-05 .s05a-shd { flex: none; display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 22px 10px 0 20px; }
	.gs-home .gh-05 .s05a-sht { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 10px; }
	.gs-home .gh-05 .s05a-shl { font-size: 12px; font-weight: 600; line-height: 16px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-med-em); }
	.gs-home .gh-05 .s05a-pos { font-size: 12px; font-weight: 600; line-height: 16px; letter-spacing: .08em; color: var(--text-low-em); font-variant-numeric: tabular-nums; white-space: nowrap; }
	.gs-home .gh-05 .s05a-ib { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--text-med-em); cursor: pointer; -webkit-tap-highlight-color: transparent; }
	.gs-home .gh-05 .s05a-sheet .s05a-ib:is(:hover, :focus) { color: var(--text-med-em); }
	.gs-home .gh-05 .s05a-ib span { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--outline-high-em); transition: border-color .2s ease, transform .3s var(--ez); }
	.gs-home .gh-05 .s05a-ib svg { width: 16px; height: 16px; transition: transform .32s var(--ez); }
	.gs-home .gh-05 .s05a-ib:active span { transform: scale(.92); border-color: var(--text-med-em); }
	.gs-home .gh-05 .s05a-ib.s05a-flip svg { transform: rotate(180deg); }
	.gs-home .gh-05 .s05a-sheet .s05a-ib:focus-visible { outline: none; }
	.gs-home .gh-05 .s05a-sheet .s05a-ib:focus-visible span { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

	.gs-home .gh-05 .s05a-body { position: relative; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
	.gs-home .gh-05 .s05a-det { position: absolute; left: 0; right: 0; top: 0; padding: 10px 20px 22px; }
	.gs-home .gh-05 .s05a-panes { display: grid; margin: 0 -20px; padding: 0 20px; overflow: hidden; }
	.gs-home .gh-05 .s05a-pane { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transform: translate3d(28px, 0, 0); transition: opacity .22s ease, transform .34s var(--ez), visibility 0s linear .34s; }
	.gs-home .gh-05 .s05a-pane.s05a-prv { transform: translate3d(-28px, 0, 0); }
	.gs-home .gh-05 .s05a-pane.s05a-cur { opacity: 1; visibility: inherit; transform: none; transition: opacity .28s ease .04s, transform .34s var(--ez), visibility 0s; }
	.gs-home .gh-05 .s05a-phd { display: flex; align-items: center; gap: 10px; }
	.gs-home .gh-05 .s05a-pt { font-family: var(--font-display); font-weight: 400; font-size: 20px; line-height: 26px; color: var(--text-high-em); }
	.gs-home .gh-05 .s05a-pd { margin-top: 12px; font-size: 14px; line-height: 22px; color: var(--text-med-em); text-wrap: pretty; }
	.gs-home .gh-05 .s05a-cite { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 10px 12px; border: 1px solid var(--outline-med-em); border-radius: var(--radius-12); background: var(--surface-foreground); }
	.gs-home .gh-05 .s05a-ci { flex: none; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; background: var(--card-bg); border: 1px solid var(--outline-high-em); color: var(--text-med-em); }
	.gs-home .gh-05 .s05a-ci svg { width: 16px; height: 16px; }
	.gs-home .gh-05 .s05a-cc { flex: 1; min-width: 0; display: flex; flex-direction: column; }
	.gs-home .gh-05 .s05a-cd { font-size: 14px; font-weight: 600; line-height: 20px; color: var(--text-high-em); }
	.gs-home .gh-05 .s05a-cq { font-size: 14px; line-height: 20px; color: var(--text-low-em); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

	.gs-home .gh-05 .s05a-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
	.gs-home .gh-05 .s05a-prev { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--outline-high-em); border-radius: 50%; background: transparent; color: var(--text-high-em); cursor: pointer; transition: opacity .2s ease, border-color .2s ease, transform .2s var(--ez); -webkit-tap-highlight-color: transparent; }
	.gs-home .gh-05 .s05a-prev:disabled { opacity: .35; cursor: default; }
	.gs-home .gh-05 .s05a-prev svg,
	.gs-home .gh-05 .s05a-next svg { width: 18px; height: 18px; }
	.gs-home .gh-05 .s05a-next { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 20px; border: 1px solid var(--outline-high-em); border-radius: var(--radius-100); background: transparent; color: var(--text-high-em); font: 600 15px/20px var(--font-body); cursor: pointer; transition: border-color .2s ease, transform .2s var(--ez); -webkit-tap-highlight-color: transparent; }
	.gs-home .gh-05 .s05a-next svg { color: var(--text-high-em); transition: transform .3s var(--ez); }
	.gs-home .gh-05 .s05a-next.s05a-all svg { transform: rotate(-90deg); }
	.gs-home .gh-05 .s05a-prev:not(:disabled):active,
	.gs-home .gh-05 .s05a-next:active { transform: scale(.95); border-color: var(--text-med-em); }
	.gs-home .gh-05 .s05a-dots { display: flex; align-items: center; gap: 5px; }
	.gs-home .gh-05 .s05a-dots i { display: block; width: 6px; height: 6px; border-radius: 3px; background: var(--outline-high-em); transition: width .3s var(--ez), background-color .2s ease; }
	.gs-home .gh-05 .s05a-dots i.s05a-on { width: 18px; background: var(--text-high-em); }

	.gs-home .gh-05 .s05a-flist { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; margin: 0; padding: 8px 12px calc(20px + env(safe-area-inset-bottom)); list-style: none; opacity: 0; }
	.gs-home .gh-05 .s05a-flist::-webkit-scrollbar { display: none; }
	.gs-home .gh-05 .s05a-flist li + li { border-top: 1px solid var(--outline-med-em); }
	.gs-home .gh-05 .s05a-frow { display: flex; align-items: flex-start; justify-content: flex-start; gap: 14px; width: 100%; margin: 0; padding: 14px 12px 16px; border: 0; border-radius: var(--radius-12); background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .25s ease, box-shadow .25s ease, transform .2s var(--ez); }
	.gs-home .gh-05 .s05a-frow:active { transform: scale(.985); }
	.gs-home .gh-05 .s05a-sheet .s05a-frow.s05a-sel { background: color-mix(in srgb, var(--text-high-em) 6%, var(--card-bg)); }
	.gs-home .gh-05 .s05a-rn { flex: none; margin-top: 3px; display: flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; box-sizing: border-box; border-radius: 10px; border: 0; background: color-mix(in srgb, var(--text-high-em) 16%, var(--card-bg)); color: color-mix(in srgb, var(--text-high-em) 85%, transparent); font: 600 12px/1 var(--font-body); font-variant-numeric: tabular-nums; }
	.gs-home .gh-05 .s05a-sel .s05a-rn { background: color-mix(in srgb, var(--text-high-em) 24%, var(--card-bg)); color: var(--text-high-em); }
	.gs-home .gh-05 .s05a-rc { flex: 1; min-width: 0; display: flex; flex-direction: column; }
	.gs-home .gh-05 .s05a-rt { font-family: var(--font-display); font-size: 17px; line-height: 24px; color: var(--text-high-em); }
	.gs-home .gh-05 .s05a-rd { margin-top: 6px; font-size: 14px; line-height: 22px; color: var(--text-med-em); }
	.gs-home .gh-05 .s05a-rs { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; font-weight: 600; line-height: 20px; color: var(--text-low-em); }
	.gs-home .gh-05 .s05a-rs svg { width: 14px; height: 14px; color: var(--text-med-em); }

	/* Without JS: the finished answer, no controls that need a script. */
	html:not(.gh-js) .gs-home .gh-05 :is(.s05a-pkw, .s05a-replay, .s05a-sheetwrap) { display: none; }
	html:not(.gh-js) .gs-home .gh-05 .s05a-bd { pointer-events: none; }

	@media (prefers-reduced-motion: reduce) {
		.gs-home .gh-05 .s05a-chat *,
		.gs-home .gh-05 .s05a-chat *::before,
		.gs-home .gh-05 .s05a-sheet * { animation: none !important; transition: none !important; }
	}
}

@keyframes gh05-spin { to { transform: rotate(360deg); } }
@keyframes gh05-grow { from { grid-template-rows: 0fr; } to { grid-template-rows: 1fr; } }
@keyframes gh05-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes gh05-pop { 0% { transform: translateY(-4px) scale(0); opacity: 0; } 60% { transform: translateY(-4px) scale(1.18); opacity: 1; } 100% { transform: translateY(-4px) scale(1); opacity: 1; } }
@keyframes gh05-lift { 0%, 100% { transform: none; } 40% { transform: translateY(-5px); } }
@keyframes gh05-hop { 0%, 100% { transform: none; } 40% { transform: translateY(-4px); } }
@keyframes gh05-in { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
