/* Manual FAQ + quick answer. Loaded after www/assets/css/main.css and shipped/search.css.
   Approved by Pavel Hrdlicka on 16 November 2026, Claude design artifact a4424682-8afe-4040-8439-5c51728ba50d, version 1794838236-8129.
   Question cards redesigned and approved on 17 November 2026, same artifact, version 1794926009-e4a4.
   Section background fades in from white (variant B, board "B: plynulý přechod z bílé"), approved on 18 November 2026, version 1794997315-3b13.
   Gap above the section halved and the fade shortened to match, per Pavel Hrdlicka's report on 19 November 2026
   (foxentry/presentation-web#181) -- see design/components/ManualFaq/README.md, "Changes of 19 November 2026".
   #181 also tied the fade's length to the section's own padding, which made it look abrupt again: the fade is now
   back to the full 260px/180px of the original design, decoupled from the padding via ::before pushed up over
   the category tiles' own background (z-index behind their content, pointer-events:none) -- the gap above the
   heading itself is untouched (foxentry/presentation-web#187).
   `.fxA{display:flex}` (added by the 17 November card redesign) turned out to collide with
   `[hidden]{display:none}` (build-src/css/base/_normalize.scss) at the same specificity, loading
   later and so always winning: every topic panel stayed visible regardless of which one was
   active, `ManualFaq.js`'s own hidden-toggling logic notwithstanding -- measured on beta in Chrome
   DevTools (foxentry/presentation-web#190). Fixed the same way `.fx-blog-count[hidden]` already is
   in search.css: `.fxA[hidden]` below.
   No automated check in this repository verifies the fade or the FAQ answer lightbox (bin/check-*.mjs/.php has
   nothing for either) -- both rest on the manual preview screenshots named in foxentry/presentation-web#171.
   The topic filter itself does have one since #190: bin/check-console-health.mjs clicks a non-active
   topic on /cs/manual/ and fails if more than one panel is left visible. */

/* Header artwork: only the fox tail may reach below the starscene (a thin line showed at some widths). */
.Manual .starscene__core{clip-path:polygon(0 0,100% 0,100% 100%,72% 100%,72% 140%,54% 140%,54% 100%,0 100%)}
.fx-quick{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;margin:22px auto 0;max-width:760px;position:relative;z-index:3}
.fx-quick a{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:700;color:#fff;text-decoration:none;background:rgba(255,255,255,.12);border-radius:20px;padding:8px 16px;line-height:1.2;transition:background-color .2s ease}
.fx-quick__icon{font-size:18px;color:#fff;margin-right:4px}
.fx-quick a:hover{background:rgba(255,255,255,.22);color:#fff}
/* No hard top edge: the light purple fades in from white over 260px, so the arc behind the tiles is never
   cut by a straight line (18 November 2026). The fade starts under the category tiles and is already solid
   #f6f4fb by the time it reaches the section's own box, so it no longer has to be squeezed into the shorter
   gap above the heading (19 November 2026, foxentry/presentation-web#187). */
.Manual section.accordionSection.fx-faq{position:relative;margin:20px 0 0;padding:75px 0 100px;background:#f6f4fb}
.Manual section.accordionSection.fx-faq::before{content:"";position:absolute;left:0;right:0;top:-260px;height:260px;background:linear-gradient(180deg,rgba(246,244,251,0) 0,#f6f4fb 260px,#f6f4fb 100%);z-index:-1;pointer-events:none}
.Manual section.accordionSection.fx-faq .Section-title{margin-bottom:50px}
.fx-faq__wrap{display:flex;flex-direction:column;align-items:center;gap:60px;max-width:940px;margin:0 auto}
.fx-faq__topics{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.fx-faq__topic{display:inline-flex;align-items:center;width:auto;padding:10px 20px;border:0;border-radius:22px;background:#ebe5fa;line-height:1.2;font-family:inherit;font-size:15px;font-weight:700;color:#6835d1;text-align:left;cursor:pointer;transition:background-color .2s ease,box-shadow .2s ease}
.fx-faq__topic:hover{background:#ddd3f7;color:#6835d1}
.fx-faq__topic.active,.fx-faq__topic.active:hover{background:#fff;color:#131313;box-shadow:0 10px 20px 2.24px rgba(187,170,207,.24)}

/* ---- Question cards (redesign approved 17 November 2026) ----
   One white card per question, 10px corners (the category tiles above get 10px too), a round +/x button,
   the answer under a thin divider. Open/close animates the height with grid rows: no JS height, only the
   .fx-open class on .fxA__item. */
.manualTiles .manual-items__item{border-radius:10px}
.fxA{display:flex;flex-direction:column;gap:12px;width:100%}
.fxA[hidden]{display:none}
.fxA__item{background:#fff;border-radius:10px;box-shadow:0 4px 14px rgba(187,170,207,.18);transition:box-shadow .3s ease}
.fxA__item:hover{box-shadow:0 10px 26px rgba(187,170,207,.32)}
.fxA__item.fx-open{box-shadow:6px 21px 30px 2px rgba(187,170,207,.30)}
.fx-q{all:unset;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%;padding:17px 28px;cursor:pointer;font-family:inherit}
.fx-q h3{margin:0;font-size:15px;line-height:1.5;font-weight:700;color:#131313;transition:color .2s ease}
.fx-q:hover h3{color:#6835d1}
.fx-q:focus-visible{outline:2px solid #6835d1;outline-offset:-4px;border-radius:10px}
.fx-ic{flex:none;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#ebe5fa;color:#6835d1;transition:background-color .2s ease,color .2s ease,transform .3s ease}
.fx-ic svg{display:block}
.fx-open .fx-ic{background:#6835d1;color:#fff;transform:rotate(45deg)}
.fx-body{display:grid;grid-template-rows:0fr;transition:grid-template-rows .35s ease}
.fx-open .fx-body{grid-template-rows:1fr}
.fx-body__clip{overflow:hidden;min-height:0}
.fxA__in{margin:0 28px;padding:20px 0 26px;border-top:1px solid #efeaf9}
/* Answer text: the site's own article styles (.ManualDetail .manual-detail__content p / ol li with the
   orange numbered circles, .wp-caption, .Link). Only spacing is set here. */
.fxA__in .fx-a.manual-detail__content{margin:0}
.fxA__in .fx-a.manual-detail__content > :last-child{margin-bottom:0}
.fxA__in .fx-a.manual-detail__content p{margin-bottom:10px}
.fxA__in .fx-a.manual-detail__content ol{margin:0 0 16px}
.fxA__in .fx-a.manual-detail__content ol li{margin-bottom:4px}
.fxA__in .fx-a .wp-caption{margin:8px 0 20px}
.fxA__in .fx-a .Link{display:inline-block;margin-top:16px;text-decoration:none;font-weight:700;font-size:15px}
.fxA__in .fx-a .Link:hover{text-decoration:underline}

.fx-faq__contact{max-width:940px;margin:80px auto 0;padding:0 24px;box-sizing:border-box;display:flex;align-items:center;gap:40px}
.fx-faq__contact .contact-blocks__icon{background-color:#ebe5fa}
.fx-faq__contact .contact-blocks__icon span.Icon{color:#6835d1}
.fx-faq__contact-title{flex:0 0 260px;margin:0;font-size:22px;line-height:1.4;font-weight:800;color:#131313}
.fx-faq__contact-title span{display:block;margin-top:6px;font-size:15px;font-weight:400;color:#54576c}
.fx-faq__contact .contact-blocks{flex:1;margin:0}
.fx-faq__contact .contact-blocks__icon{margin:0 0 14px}
.fx-faq__contact .contact-blocks__contact{font-size:21px}
.fx-faq__contact .contact-blocks p{margin-bottom:10px}
.fx-faq__contact .contact-blocks__callto{text-decoration:none}
@media (max-width:991px){
 .fx-faq__topics{gap:8px}
 .fx-faq__contact{flex-direction:column;align-items:flex-start;gap:24px;padding:0;margin-top:60px}
 .fx-faq__contact-title{flex:none;width:100%;text-align:center}
 .fx-faq__contact .contact-blocks>div+div{margin-top:24px}
 .fx-faq__topic{padding:8px 14px;font-size:14px}
 }
@media (max-width:767px){
 .Manual section.accordionSection.fx-faq{margin-top:10px;padding:55px 0 70px}
 .Manual section.accordionSection.fx-faq::before{top:-180px;height:180px;background:linear-gradient(180deg,rgba(246,244,251,0) 0,#f6f4fb 180px,#f6f4fb 100%)}
 .fx-faq__wrap{gap:40px}
 .fx-q{padding:14px 20px;gap:16px}
 .fxA__in{margin:0 20px;padding:18px 0 22px}
       .fx-quick{margin:16px -20px 0;padding:0 20px 4px;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;scrollbar-width:none;max-width:none}
 .fx-quick::-webkit-scrollbar{display:none}
 .fx-quick a{flex:none;white-space:nowrap;font-size:13px;padding:8px 14px}
 .fx-quick__icon{flex:none}
}

/* ---- Quick answer in the manual suggestion bubble ---- */
.fx-sugg--answer{padding:0;overflow:hidden}
/* Quick answer: the look of the existing ebook-item ("Novinka" in the Informace menu) */
.fx-qa{display:block;background:#f6fbff;border-radius:0;padding:20px 28px 20px;margin:0}
.fx-qa__label{display:flex!important;position:relative;align-items:center;gap:6px;margin-bottom:6px;font-size:12px;font-weight:700;color:#0c9bf4}
.fx-qa__label svg{flex:none;position:static!important;display:block!important;width:14px!important;height:14px!important;margin:0!important;transform:none!important}
.fx-qa{transition:background 300ms ease;cursor:pointer;text-decoration:none;color:inherit}
.fx-qa:hover,.fx-qa:focus{text-decoration:none;color:inherit}
.fx-qa:hover .fx-qa__more{text-decoration:underline}
.fx-qa:hover{background:#e2f4ff}
.fx-qa__more .ebook-item__arrow{display:flex;width:22px;height:22px;background:#e2f4ff;border-radius:50%;align-items:center;justify-content:center;transition:all 300ms ease-in-out}
.fx-qa:hover .ebook-item__arrow,.fx-qa__more:hover .ebook-item__arrow{background:#fff;transform:translateX(4px)}
.fx-sugg--answer .fx-row{border-radius:0;padding-left:28px;padding-right:28px}
.fx-qa h3{margin:0 0 8px;font-size:15px;line-height:1.4;font-weight:800;color:#131313}
.fx-qa ol{list-style:decimal;margin:0 0 10px;padding-left:20px;font-size:14px;line-height:1.9;color:#54576c}
.fx-qa ol li{display:list-item}
.fx-qa__more{display:inline-flex;align-items:center;gap:10px;font-size:14px;font-weight:700;color:#0c9bf4;text-decoration:none}
.fx-qa__more:hover{color:#0c9bf4}
.fx-qa__more .ebook-item__arrow{position:static}
.fx-qa__more .ebook-item__arrow img{width:10px}
.Manual .starscene__search .search{position:relative}
/* The bubble must overlap the tiles below the header: the header may not clip it. */
.Manual .starscene{overflow:visible;z-index:5}
.PageWrapper.Manual{overflow:visible}
.Manual .starscene .page-header{position:relative;z-index:6}
