/* Shared book picker; each campaign supplies its own colors. */
.frc-books{--books-bg:#15241d;--books-ink:#eef6e6;--books-muted:#aec2b1;--books-accent:#92e336;--books-border:#344a3a;position:relative;flex:none;text-align:left;line-height:1.4;font-size:14px;z-index:40}
.frc-books>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:10px 13px;border:1px solid var(--books-border);color:var(--books-ink);font-weight:800;cursor:pointer;user-select:none}
.frc-books>summary::-webkit-details-marker{display:none}.frc-books>summary:after{content:'⌄';font-size:18px;line-height:1;transition:transform .15s}.frc-books[open]>summary:after{transform:rotate(180deg)}.frc-books>summary:focus-visible,.frc-books a:focus-visible{outline:3px solid var(--books-accent);outline-offset:3px}
.frc-books-panel{position:absolute;right:0;top:calc(100% + 8px);width:278px;max-width:calc(100vw - 36px);padding:7px;background:var(--books-bg);border:1px solid var(--books-border);box-shadow:6px 6px 0 rgba(0,0,0,.24)}
.frc-books-panel a{display:block;padding:13px 12px;color:var(--books-ink);text-decoration:none!important;white-space:normal}.frc-books-panel a+a{border-top:1px solid var(--books-border)}.frc-books-panel a:hover,.frc-books-panel a[aria-current=page]{background:var(--books-accent);color:var(--books-bg)}.frc-books-panel a strong{display:block;font-size:14px;letter-spacing:0;line-height:1.5;font-family:inherit}.frc-books-panel a small{display:block;font-size:12px;line-height:1.6;color:var(--books-muted);font-family:inherit;font-weight:400}.frc-books-panel a:hover small,.frc-books-panel a[aria-current=page] small{color:inherit}
.frc-books-light{--books-bg:#fff;--books-ink:#16233a;--books-muted:#5b6478;--books-accent:#ffd500;--books-border:#16233a}.frc-books-light>summary{color:#16233a;border-width:2px;border-radius:6px}.frc-books-light .frc-books-panel{border-width:2px;border-radius:8px}.frc-books-light .frc-books-panel a:hover,.frc-books-light .frc-books-panel a[aria-current=page]{color:#16233a;border-radius:4px}
.frc-header{position:relative;z-index:30}.frc-nav{gap:24px}
@media(max-width:800px){.frc-nav{gap:0}.frc-header .frc-nav>.frc-nav-cta{display:none}.frc-books>summary{padding:10px 12px;font-size:14px}.frc-books-panel{width:264px}.frc-books-panel a{min-height:60px}.frc-books-light{margin-left:auto}}
@media(prefers-reduced-motion:reduce){.frc-books>summary:after{transition:none}}

/* Coloring pack uses the same book selector with its existing cream-and-green palette. */
.frc-books-coloring{--books-bg:#fff;--books-ink:#163a2d;--books-muted:#51635b;--books-accent:#d3f660;--books-border:#c4d2bf}
.frc-books-coloring>summary{border-radius:4px;color:#163a2d}
.frc-books-coloring .frc-books-panel{border-radius:5px;box-shadow:0 12px 30px rgba(18,60,44,.16)}

/* Keep the What If logo and book picker within the narrowest phone header. */
@media(max-width:480px){.frc-books-header-light .wrap{gap:12px}.frc-books-header-light img{max-width:calc(100% - 104px);height:auto;max-height:34px;object-fit:contain}.frc-books-header-light nav{flex:none}}

.frc-books-coloring .frc-books-panel a:hover,.frc-books-coloring .frc-books-panel a[aria-current=page]{color:#163a2d}
