/* A&P Test Ready facelift layer: loaded after styles.css + facelift.css. Restyles the existing app; no behavior lives here. */
body{background:#F3F6FA}
header{background:rgba(11,31,58,.96);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);position:sticky;top:0;z-index:30;min-height:62px;padding:8px 20px;gap:12px}
header .brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;margin-right:auto;min-width:0}
header .brand img{width:30px;height:30px;border-radius:7px;flex:none}
header .brand b{display:block;font:700 16px/1.1 'Inter Tight',Inter,sans-serif;white-space:nowrap}
header .brand small{display:block;font:600 11px Inter;letter-spacing:.1em;text-transform:uppercase;color:#FCD34D;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#kitsel{width:auto;margin-left:0!important;background:rgba(255,255,255,.08);color:#fff;border:1px solid rgba(255,255,255,.22);border-radius:10px;font:600 14px Inter!important;padding:0 10px!important}
#kitsel option{color:#0F172A}
nav{top:62px;z-index:20;background:rgba(243,246,250,.94);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);justify-content:center;gap:6px;padding:8px 10px;border-bottom:1px solid #E3E8EF}
nav button{flex:0 1 auto;border:1px solid #E3E8EF;border-radius:30px;background:#fff;padding:8px 16px;min-height:40px;color:#334155;font-weight:650}
nav button.on{background:#0B1F3A;color:#fff;border-color:#0B1F3A}
main{max-width:860px}
body.fl-home main{max-width:none;padding:0}
.card{border-radius:18px;box-shadow:0 14px 30px -24px rgba(11,31,58,.5)}
.opt{border-radius:14px;padding:14px;transition:transform .2s,border-color .2s}.opt:hover:not(:disabled){transform:translateX(3px)}
.opt.ok{border-color:#059669;background:#ECFDF5}.opt.bad{border-color:#DC2626}
.exp{border-left:0;border:1px solid #E3E8EF;border-radius:14px;padding:14px 16px;animation:up .4s both}
.exp .fn{margin-top:10px}
.btn{border-radius:12px;min-height:46px;font-weight:650}.btn:not(.alt){background:#0B1F3A}
.flip{border-radius:22px;min-height:260px;background:linear-gradient(150deg,#163B6E,#0B1F3A 70%);color:#fff;font:700 21px/1.35 'Inter Tight',Inter,sans-serif;box-shadow:0 30px 60px -36px rgba(11,31,58,.8);animation:up .45s both}
.flip .ref{color:#A3B5CC!important}.flip .fn{color:#CBD5E1;border-top-color:rgba(255,255,255,.18);font:500 12.5px Inter;text-align:left}.flip .fn sup,.flip sup.fr{color:#FCD34D}
.flip img{border-radius:12px;background:#0B1F3A}.flip .how{background:rgba(255,255,255,.08);color:#E8EEF6;text-align:left;font:15px Inter}
footer{background:#fff;border-top:1px solid #E3E8EF;padding:22px 16px}
footer .fl1{display:block;margin-top:6px}
/* syllabus pieces inside the A&P shell */
.fl-home .th .w{min-height:420px}
.fl-home .th .hv.img{object-fit:contain;object-position:right center;padding:24px 0 24px 30px}
.fl-home svg.pr,.fl-home .gauge svg{background:none;margin:0;max-width:none;border-radius:0}
.fl-home .pr{width:46px}.fl-home .gauge svg{width:52px}
.fl-home .media.fit{background:#0B1F3A}.fl-home .media.fit img{object-fit:contain;padding:8px}
.fl-home .media.cover img{left:0;width:100%;height:100%;top:0;transform:none;object-fit:cover;object-position:center 62%;inset:0;opacity:.9}.fl-home .cc:hover .media.cover img{transform:scale(1.03)}
.fl-home .cc.lockd .media img{filter:saturate(.6) brightness(.75)}
.fl-home .tabs{margin-top:22px;top:62px}.fl-home .tabs a{cursor:pointer}
.fl-home .area{padding:10px 4px}
.fl-home details.card summary{cursor:pointer}
.fl-home .ride .im{background-size:cover;background-position:center}
header .brand>span{min-width:0;overflow:hidden}
@media(max-width:760px){header{padding:6px 10px;gap:8px;min-height:58px}header .brand b{font-size:14.5px}header .brand small{font-size:10px}header .brand img{width:26px;height:26px}#kitsel{min-width:0!important;max-width:118px;flex:none;font-size:13.5px!important}#lock{flex:none}nav{top:58px;justify-content:flex-start;overflow-x:auto!important}nav button{flex:none}nav button{padding:8px 12px;font-size:13.5px}
.fl-home .th .w{min-height:0}.fl-home .th .hv.img{padding:12px 0 0}.fl-home .tabs{top:58px}}

.fl-home .fk{margin:6px 0 14px;padding:0;list-style:none;display:grid;gap:8px}.fl-home .fk li{padding-left:26px;position:relative;font-size:14.5px}.fl-home .fk li:before{content:'✓';position:absolute;left:0;top:0;width:18px;height:18px;border-radius:50%;background:#ECFDF5;color:#047857;font:700 11px/18px Inter;text-align:center}
@media(max-width:760px){header .kp{display:none}}
@media(max-width:430px){header .brand{gap:7px}header .brand b{font-size:13px}#kitsel{max-width:92px;padding:0 4px!important;font-size:13px!important}#lock,#lock button{font-size:12px!important}#lock button{padding:0 9px!important}}
/* Kit switcher: own chevron + sized so the full kit name ("Powerplant") always fits; brand wraps on narrow phones instead of clipping */
#kitsel{-webkit-appearance:none;appearance:none;background:rgba(255,255,255,.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 11px center/11px 8px;padding:0 30px 0 12px!important;min-width:128px;max-width:none;flex:none;cursor:pointer}
@media(max-width:430px){#kitsel{min-width:0!important;max-width:none;width:auto;padding:0 24px 0 9px!important;background-position:right 8px center;font-size:13px!important}header .brand b{white-space:normal;line-height:1.08;font-size:13px}header .brand small{font-size:9.5px;letter-spacing:.08em;margin-top:2px}}
@media(max-width:380px){header .brand small{font-size:9px;letter-spacing:.03em}}

/* Path fold: compact per-kit progress on the syllabus, plus topic "feeds into" links */
.fl-home .book:has(.legs){flex-wrap:wrap}
.fl-home .legs{display:flex;flex-direction:column;gap:7px;margin:8px 0 4px;flex:1 1 100%}
.fl-home .leg{display:grid;grid-template-columns:76px 1fr auto;align-items:center;gap:8px;font-size:12.5px}
.fl-home .leg[data-kit]{cursor:pointer}
.fl-home .leg span{font-weight:650;color:var(--navy)}
.fl-home .leg i{display:block;height:8px;border-radius:8px;background:#E3E8EF;overflow:hidden}
.fl-home .leg i b{display:block;height:100%;width:0;background:linear-gradient(90deg,#F59E0B,#FCD34D);border-radius:8px}
.fl-home .leg em{font-style:normal;font-weight:650;color:var(--mut);font-variant-numeric:tabular-nums;font-size:12px;min-width:52px;text-align:right}
.fl-home .leg.rdy i b{background:#047857}
.fl-home .leg.rdy em{color:#047857}
.fl-home .feeds{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:10px;padding-top:8px;border-top:1px dashed var(--line);font-size:12px;color:var(--mut)}
.fl-home .feeds a{display:inline-flex;flex-direction:column;line-height:1.15;border:1px solid var(--line);background:#fff;border-radius:8px;padding:5px 8px;text-decoration:none;color:var(--navy);font-weight:650;font-size:12px}
.fl-home .feeds a small{color:var(--mut);font-weight:500;font-size:10.5px}
.fl-home .cc.hl{outline:2px solid #F59E0B;outline-offset:2px;box-shadow:0 0 0 6px rgba(245,158,11,.18)}
