/* Small UI refinements, preserving the approved pixel-strip artwork. */
.site-header nav{position:relative;isolation:isolate}
.nav-indicator{position:absolute;top:0;left:0;border-radius:200px;background:var(--fog);pointer-events:none;z-index:-1}
.nav-motion-ready .nav-indicator{transition:transform .4s cubic-bezier(.22,.8,.25,1),width .4s cubic-bezier(.22,.8,.25,1),height .3s ease}
.site-header nav a[aria-current=page]{background:transparent}
.site-header nav a{position:relative;border-radius:200px;transition:color .2s,background-color .2s}
.site-header nav a:hover{background:#20202005}
.test-home{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);align-items:stretch}
.test-info,.target-card{display:flex;flex-direction:column;min-width:0;min-height:460px}
.test-info h2{font-size:24px}.test-info .section-top{gap:12px}
.test-info .step-list{margin:12px 0 22px}
.test-info .step-row{padding:18px 0}.test-info .step-row p{font-size:13px;margin:6px 0 0}
.test-insight{padding:16px 18px;background:var(--fog);border-radius:8px;margin-top:0}
.test-insight p:first-child{display:flex;gap:8px;align-items:center;color:var(--ink);margin:0;font-size:12px}
.test-insight .ui-icon{width:17px;height:17px}.test-insight p{font-size:12px;margin:8px 0;line-height:1.6}
.test-insight>span{font-size:10px;color:var(--muted)}
.test-info .actions{margin-top:22px;gap:10px}.test-info .actions>*{font-size:12px;padding:12px 17px;flex:1}
.latest-test{display:flex;gap:12px;justify-content:space-between;align-items:center;border-top:1px solid var(--line);margin-top:18px;padding-top:12px;font-size:11px;color:var(--body)}
.latest-test .text-button{font-size:11px;padding:6px 10px;min-height:44px;white-space:nowrap}
.target-card{padding:30px;gap:24px}
.band-stepper{min-width:0;max-width:390px;width:100%}
.band-label{margin:0 0 12px;color:var(--muted);font-size:12px}
.band-control{display:flex;align-items:center;justify-content:space-between;gap:16px}
.band-step{width:44px;height:44px;min-height:44px;flex-shrink:0;border:1px solid var(--line);background:var(--paper)}
.band-step:hover:not(:disabled){background:var(--fog);border-color:var(--ink)}
.band-readout{display:flex;align-items:baseline;justify-content:center;gap:9px;border-radius:8px;min-width:90px;font-family:Space,Inter,sans-serif;cursor:default}
.band-readout:focus-visible{outline:3px solid #816729;outline-offset:6px}
.band-word{font-family:Inter,sans-serif;font-size:10px;color:var(--muted);letter-spacing:.12em;font-weight:600}
.band-number{display:block;position:relative;font-size:42px;line-height:1.1;height:1.1em;width:.72em;text-align:center;overflow:hidden;font-variant-numeric:tabular-nums}
.band-digit{display:block}.band-digit--old{position:absolute;inset:0}
.band-path{display:flex;gap:10px;align-items:baseline;font-size:11px;line-height:1.5;margin:12px 0 0;color:var(--muted)}
.band-path strong{color:var(--ink);font-weight:500}.band-path span{max-width:270px}
.band-stepper--large{max-width:none}.band-stepper--large .band-label{font-family:Space,Inter,sans-serif;color:var(--ink);font-size:24px;margin-bottom:26px}
.band-stepper--large .band-readout{flex-direction:column;align-items:center;gap:4px}
.band-stepper--large .band-number{font-size:88px}.band-stepper--large .band-word{font-size:11px}
.band-stepper--large .band-path{display:block;text-align:center;margin:20px 0 0}
.band-stepper--large .band-path strong{display:block;font-family:Space,Inter,sans-serif;font-size:19px;margin-bottom:7px}
.band-stepper--large .band-path span{display:block;max-width:280px;margin:auto;font-size:12px;line-height:1.6}
.daily-companion{display:flex;align-items:flex-end;justify-content:flex-end;gap:14px;margin-top:auto;padding-top:18px;border-top:1px solid var(--line)}
.chat-bubble{position:relative;flex:1;min-width:0;padding:14px 16px;background:var(--fog);border:1px solid var(--line);border-radius:12px 12px 0 12px}
.chat-bubble::after{content:'';position:absolute;right:-6px;bottom:14px;width:10px;height:10px;background:var(--fog);border-right:1px solid var(--line);border-top:1px solid var(--line);transform:rotate(45deg)}
.chat-bubble .eyebrow{font-size:8px;letter-spacing:.12em;margin:0 0 7px;color:var(--muted)}
.chat-bubble .chat-message{font-size:12px;line-height:1.6;margin:0;color:var(--body)}
.idle-sprite{display:block;flex:0 0 96px;width:96px;height:96px;background-repeat:no-repeat;background-size:576px 96px;image-rendering:pixelated;animation:companion-idle 1.6s steps(6) infinite}
.idle-pijar{background-image:url('assets/idle-pijar.png')}.idle-aksa{background-image:url('assets/idle-aksa.png')}.idle-tempa{background-image:url('assets/idle-tempa.png')}.idle-bara{background-image:url('assets/idle-bara.png')}
@keyframes companion-idle{to{background-position:-576px 0}}
.path-note .section-top .band-stepper{max-width:340px}.practice-grid .band-stepper{margin:18px 0 22px}
.unlock-copy .eyebrow{font-size:9px;margin-bottom:10px}.unlock-copy h1{font-size:29px}
.unlock-copy>p:last-child{font-size:11px;margin:12px 0 0}
.unlock-card form{margin-top:20px}.unlock-card .error{min-height:0;margin:0}.unlock-card .error:not(:empty){margin:8px 0;font-size:12px}
.unlock-card .primary{margin-top:10px}
@media(max-width:1050px){.target-card{padding:25px}.daily-companion{gap:8px}.idle-sprite{flex-basis:72px;width:72px;height:72px;background-size:432px 72px;animation-name:companion-idle-small}.chat-bubble{padding:12px}.chat-bubble .chat-message{font-size:11px}}
@keyframes companion-idle-small{to{background-position:-432px 0}}
@media(max-width:760px){
 .site-header nav{position:fixed}.test-home{grid-template-columns:1fr}
 .target-card{order:-1;min-height:0;padding:22px;gap:18px}.test-info{min-height:0}
 .band-stepper--large .band-label{font-size:21px;margin:0 0 14px}
 .band-stepper--large .band-readout{flex-direction:row;align-items:baseline;gap:9px}.band-stepper--large .band-number{font-size:62px}
 .band-stepper--large .band-path{margin-top:12px}.band-stepper--large .band-path strong{display:inline;font-size:14px;margin-right:8px}
 .band-stepper--large .band-path span{display:inline;font-size:11px;line-height:1.5}
 .daily-companion{padding-top:14px}.chat-bubble .eyebrow{margin-bottom:5px}
 .test-info h2{font-size:22px}.test-info .actions{flex-direction:column}.test-insight{margin-top:0}
 .band-path{flex-direction:column;gap:4px}.band-path span{max-width:none}
 .path-note .section-top .band-stepper{max-width:none}.path-note .section-top{align-items:stretch}
 .unlock-copy h1{font-size:26px}.unlock-copy .eyebrow{display:block}
}
@media(prefers-reduced-motion:reduce){.nav-motion-ready .nav-indicator{transition:none}.idle-sprite{animation:none;background-position:0 0}}

/* Final target context and compact recall layout. */
.target-card{gap:16px}.target-guidance{font-size:11px;line-height:1.6;color:var(--muted);margin:0;text-align:center;max-width:340px;align-self:center}
.test-info .actions>button[data-action=start-test]{line-height:1.5}.test-info .actions>button[data-action=start-test]>span{text-wrap:balance}
.recall-layout{display:grid;grid-template-columns:1fr;gap:16px;margin-top:16px;min-width:0}
.recall-copy,.recall-target{min-width:0}.recall-copy>p{margin:0}.recall-copy .actions{margin-top:16px;flex-direction:column;align-items:stretch;gap:10px}.recall-copy .actions>*{width:100%}
.recall-target .band-stepper{max-width:280px;margin:0}.recall-target .band-control{gap:10px}.recall-target .band-path{display:flex;flex-direction:column;gap:6px;align-items:flex-start;margin-top:12px}
.recall-deck-note{font-size:11px;margin:16px 0 0;line-height:1.6}.code-label{display:block;font-size:13px;margin:0;color:var(--body)}
@media(min-width:1200px){.recall-layout{grid-template-columns:minmax(0,1fr) 220px;gap:20px;align-items:start}.recall-target .band-stepper{max-width:220px}}
@media(max-width:760px){.recall-copy .actions>*{font-size:13px}.target-guidance{font-size:11px}.test-info .actions>button[data-action=start-test]{padding:11px 17px}}

/* Reserve all target copy variations without fixed pixels, clipping, or resize flashes. */
.stable-copy{display:grid;min-width:0}
.stable-copy>*{grid-area:1/1;min-width:0}
.stable-copy-sizer{visibility:hidden;pointer-events:none;user-select:none}

/* Amber marks learning gaps; labels and icons also distinguish each outcome. */
.review-answer{padding:18px 20px;border:1px solid var(--line);border-left:3px solid var(--line);border-radius:8px;margin-top:14px;min-width:0;overflow-wrap:anywhere}
.review-answer--incorrect,.review-answer--unknown{background:rgba(129,103,41,.07);border-color:rgba(129,103,41,.22);border-left-color:#816729}
.review-status{display:inline-flex;align-items:center;gap:7px;max-width:100%;line-height:1.5;white-space:normal}
.review-status>span[aria-hidden]{display:inline-flex;flex-shrink:0}
.review-status .ui-icon{width:16px;height:16px}
.review-answer--incorrect .review-status,.review-answer--unknown .review-status{background:rgba(129,103,41,.08);border-color:rgba(129,103,41,.28);color:#816729}
.review-answer--incorrect .review-user-answer{text-decoration:underline;text-decoration-color:#816729;text-decoration-thickness:2px;text-underline-offset:4px}
.review-answer p:last-child{margin-bottom:0}
@media(max-width:760px){.review-answer{padding:16px 14px;margin-top:12px}}
