/* Web & Mobile Connect — shared public navigation. */
.fx-store-panel {display:block;min-width:0;color:#0b0b0c;text-align:start;font-family:inherit}
.fx-store-panel [data-store-lang]{display:none}
html:not([lang^="ar"]):not([lang^="en"]) .fx-store-panel [data-store-lang="fr"],html[lang^="ar"] .fx-store-panel [data-store-lang="ar"],html[lang^="en"] .fx-store-panel [data-store-lang="en"]{display:block}
.fx-store-panel .fx-store-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 8px;padding:0;min-height:28px;color:#0b0b0c;text-decoration:none;line-height:1.3;font-size:1.02rem;font-weight:700;letter-spacing:normal}
.fx-store-heading .fx-store-arrow{font-size:1.05rem;color:#595143;line-height:1;flex:none}
.fx-store-platforms{display:grid;grid-template-columns:minmax(118px,1fr) minmax(0,1fr);align-items:center;gap:12px}
.fx-store-panel .fx-store-apple{display:inline-flex;min-height:44px;align-items:center;vertical-align:middle;text-decoration:none;padding:0;line-height:1}
.fx-store-panel .fx-store-apple img{width:auto!important;height:40px!important;min-width:0;max-width:100%;object-fit:contain;display:block;margin:0!important}
.fx-store-panel .fx-store-note,.fx-store-panel .fx-store-status{display:block;margin:0;font:inherit;font-size:.82rem;line-height:1.4;color:#4c4a43;overflow-wrap:normal}
.fx-store-panel .fx-store-note{margin-top:1px}
.fx-store-panel .fx-store-android{border-inline-start:1px solid #d7d4c9;padding-inline-start:14px;min-width:0}
.fx-store-panel .fx-store-android strong{display:block;font-size:.91rem;font-weight:650;line-height:1.4;color:#191918}
.fx-store-panel a:focus-visible{outline:3px solid #806224;outline-offset:3px;border-radius:4px}
.fx-store-menu{border:1px solid #d8d4c8;border-radius:14px;padding:12px 15px;background:#faf8f2;margin:14px 0 0}
#fixeo-public-footer .fx-store-footer{grid-column:1/-1;position:relative;border-block-end:1px solid #dedbd2;padding:0 0 18px;margin:0}
#fixeo-public-footer .fx-store-footer .fx-store-heading,.fn-foot .fx-store-heading,.fxapp-page footer .fx-store-heading{display:inline-flex;gap:12px;width:auto}
#fixeo-public-footer .fx-store-platforms,.fn-foot .fx-store-platforms,.fxapp-page footer .fx-store-platforms{max-width:360px}
.fx-store-panel :is(.fx-store-heading,.fx-store-apple){color:#0b0b0c!important;text-transform:none!important;letter-spacing:normal!important}
@media(max-width:768px){
 body.ux-web #fixeo-gh-menu-portal #fixeo-navigation-drawer.sn-drawer .sn-layout{gap:10px!important;scrollbar-gutter:auto;padding:2px 4px 10px!important}
 body.ux-web #fixeo-navigation-drawer.sn-drawer .sn-rafi{order:0;padding:11px 14px!important;min-height:44px}
 body.ux-web #fixeo-navigation-drawer.sn-drawer .sn-spaces{order:1;margin:0!important}
 body.ux-web #fixeo-navigation-drawer.sn-drawer .sn-spaces>p{margin:0 0 4px!important}
 body.ux-web #fixeo-navigation-drawer.sn-drawer .fx-store-menu{order:2;margin:0;flex:none;padding:8px 12px 10px}
 body.ux-web #fixeo-navigation-drawer.sn-drawer .sn-layout>.ux-menu-quick{order:3;position:static!important;margin:0!important;padding:0;gap:8px}
 body.ux-web #fixeo-navigation-drawer.sn-drawer .ux-menu-quick a{min-height:44px!important;padding:9px 14px!important}
 body.ux-web #fixeo-navigation-drawer.sn-drawer .sn-universes{order:4}body.ux-web #fixeo-navigation-drawer.sn-drawer .sn-account{order:5}
 body.ux-web #fixeo-navigation-drawer.sn-drawer .sn-universe>summary{min-height:46px!important;padding-block:8px!important}
 body.ux-web #fixeo-navigation-drawer.sn-drawer .sn-top{padding-bottom:8px!important;margin-bottom:8px!important}
 body.ns-sitewide.ns-public footer#fixeo-public-footer[data-polish] .fxf-brand{border-bottom:0!important;padding-bottom:0!important;margin-bottom:0!important}
}
@media(max-width:350px){.fx-store-platforms{gap:8px}.fx-store-panel .fx-store-android{padding-inline-start:9px}.fx-store-panel .fx-store-note,.fx-store-panel .fx-store-status{font-size:.78rem}}
@media(min-width:769px){#fixeo-public-footer .fx-store-footer{padding:0 0 22px}#fixeo-public-footer .fx-store-footer>div{max-width:600px}}
.fn-head .nav-menu .fx-store-menu{margin:0 0 8px}.fn-head .nav-menu[open]>div{width:min(360px,calc(100vw - 36px));max-height:75dvh;overflow-y:auto}.fn-head .nav-menu .fx-store-panel a{padding:0;border:0}
.fn-foot>.wrap,.fxapp-page footer>.frame:has(.fx-store-footer){flex-wrap:wrap}.fn-foot .fx-store-footer,.fxapp-page footer .fx-store-footer{flex:1 0 100%;padding-block:6px 14px;border-block-end:1px solid #dedbd2}.fxapp-page footer .fx-store-platforms{display:grid}


/* Public navigation, shared by the website and the stand-alone mobile pages. */
html body.ux-web .sn-header .nav-actions a.xp-rafi-star,
html[data-m1-locale-pilot] body.ux-web.fx-north-star.ns-signature .sn-header .nav-actions .xp-rafi-star,
html body.ux-web.fixeo-gh-enabled .fixeo-gh-actions .fixeo-gh-search.xp-rafi-star,
html body .fxapp-page .xp-rafi-star, html body :is(.fn-head,.fxapp-page .tools) .xp-rafi-star,
html body.fx-north-star.ns-sitewide.ns-signature .xp-rafi-star {
  position:relative; display:inline-grid!important; place-items:center; flex:0 0 46px!important;
  inline-size:46px!important; min-inline-size:46px!important; max-inline-size:46px!important; block-size:46px!important;
  min-height:46px!important; padding:0!important; margin:0!important; border-radius:50%!important;
  border:1px solid #B59F70!important; color:#231D12!important; -webkit-text-fill-color:currentColor!important;
  background:radial-gradient(ellipse at 39% 31%,#FFFCF5 2%,#FBE8BD 67%,#F2DCA7)!important;
  box-shadow:0 0 0 3px #FBE8BD40,0 2px 12px #AC7A2440!important; line-height:1!important;
  text-decoration:none!important; transition:box-shadow .18s ease,background-color .18s ease;
}
html body .xp-rafi-star::before, html body .xp-rafi-star::after {content:none!important;display:none!important}
html body .xp-rafi-star svg, html body.ux-web .fixeo-gh-actions .xp-rafi-star svg {
  display:block!important; inline-size:22px!important; block-size:22px!important; color:#292116!important;pointer-events:none;
}
html body .xp-rafi-star:focus-visible, .xp-social a:focus-visible,.xp-badge-link:focus-visible {outline:3px solid #705320!important;outline-offset:3px}
@media (hover:hover){html body .xp-rafi-star:hover{filter:brightness(1.045)}}
body.ux-web #fixeo-navigation-drawer.sn-drawer .sn-universe>summary{
  display:flex!important;align-items:center;justify-content:space-between;gap:14px!important;
  min-height:48px!important;padding:10px 2px!important; border-color:#D7D7D2!important;
}
body.ux-web #fixeo-navigation-drawer .sn-summary-copy{flex:1;min-width:0}
body.ux-web #fixeo-navigation-drawer .sn-summary-copy strong{color:#0B0B0C}
body.ux-web #fixeo-navigation-drawer .sn-spaces>div{border:0;background:none;gap:4px;overflow:visible}
body.ux-web #fixeo-navigation-drawer .sn-spaces a{min-height:44px!important;background:#F7F7F5;border:1px solid #D7D8D4!important;border-radius:8px;line-height:1.25}
body.ux-web #fixeo-navigation-drawer .sn-spaces a:is(:hover,:focus-visible){border-color:#80714E!important;color:#0B0B0C!important}
.fx-store-menu{background:#F7F7F5;border-color:#DCDDD9;border-radius:12px}
.fx-store-panel .fx-store-platforms {display:flex!important;align-items:flex-start!important;gap:clamp(15px,3vw,28px);flex-wrap:wrap}
.fx-store-panel .fx-store-platforms>div{min-width:0;display:flex;flex-direction:column;align-items:flex-start}
.fx-store-panel .fx-store-android{padding:0;border:0}
.fx-store-panel .fx-store-android strong{display:none}
.fx-store-panel .fx-store-note{color:#57595C;line-height:1.4;margin:1px 0 0}
.fx-store-panel .fx-store-platforms a,.fxapp-page .platform .xp-badge-link,.fxapp-page .platform .fxapp-store {display:inline-flex!important;align-items:center;min-height:44px!important;padding:0!important;background:transparent!important;border:0!important}
.fx-store-platforms .fx-store-apple img,.fxapp-page .platform .fxapp-store img{height:40px!important;width:auto!important;display:block;max-width:100%}
.xp-play-frame{position:relative;display:block;width:138px;height:40px;overflow:hidden}
.xp-play-frame img{position:absolute!important;display:block!important;max-width:none!important;width:auto!important;height:60px!important;top:50%;left:50%;transform:translate(-50%,-50%);margin:0!important}
.xp-play-frame[lang="fr"] img{height:52px!important}
.xp-social{display:flex;flex-wrap:wrap;align-items:center;gap:4px 16px;margin:6px 0 0}
.xp-social a{display:inline-flex;align-items:center;min-height:44px;color:#343536!important;text-decoration:underline;text-decoration-color:#B9B8B0;text-underline-offset:4px;font-family:inherit;font-size:.875rem;font-weight:600;line-height:1.4}
#fixeo-public-footer .fxf-brand .xp-identity,.fn-foot .xp-identity,.fxapp-page footer .xp-identity{margin:8px 0 0;color:#57595C;font-size:.9375rem;line-height:1.5}
body.ns-sitewide.ns-public footer#fixeo-public-footer[data-polish] .fxf-group-heading{min-height:46px!important;padding-block:8px!important}
body.ns-sitewide.ns-public footer#fixeo-public-footer[data-polish] .fxf-grid{row-gap:clamp(10px,2vw,24px)!important}
body.ns-sitewide.ns-public footer#fixeo-public-footer .fxf-shell{padding-block:clamp(22px,3vw,40px)!important}
@media(max-width:768px){.fx-store-panel .fx-store-platforms{column-gap:12px;row-gap:5px}.fx-store-panel .fx-store-note{font-size:.78rem}.fx-store-menu .fx-store-heading{margin-block-end:3px}}
@media(prefers-reduced-motion:reduce){html body .xp-rafi-star{transition:none!important}}
@media(forced-colors:active){html body .xp-rafi-star,.xp-badge-link:focus-visible{border:1px solid ButtonText!important;outline-color:Highlight!important}}
body.ux-web #fixeo-navigation-drawer.sn-drawer .sn-hint{display:block!important;order:0!important;margin:3px 0 8px!important;color:#57595C!important;font-size:.875rem!important;line-height:1.4!important}
@media(max-width:768px){
  body.ux-web #fixeo-navigation-drawer.sn-drawer .sn-hint{padding-inline:2px}
  body.ux-web #fixeo-navigation-drawer.sn-drawer .sn-spaces>p{font-weight:600}
}

.fn-head .head-pop.nav-menu .xp-national-cta{display:flex;align-items:center;justify-content:center;min-height:44px;margin-block-end:6px;border-radius:9px;background:#0B0B0C;color:#F7F7F5}
.fn-head .xp-national-spaces{display:flex;gap:4px;margin-block:4px 8px}
.fn-head .xp-national-spaces a{flex:1;display:grid;place-items:center;text-align:center;min-height:44px;padding-inline:3px;border:1px solid #d7d8d4;border-radius:7px;color:#0b0b0c}
.fxapp-page main .xp-badge-link{display:table}

/* The bronze edge remains visible against ivory; the champagne glow is decorative. */
:root {
  --fx-rafi-edge: #806535;
  --fx-rafi-champagne: #fbe8bd;
  --fx-rafi-focus: 0 0 0 2px var(--fx-rafi-edge),
                   0 0 0 5px rgb(251 232 189 / 48%),
                   0 3px 18px 3px rgb(173 133 54 / 14%);
}
html body :is(
  #home #fxhf-root #fxhf-need-input, #fxhf-root #fxhf-transcript,
  #fxdiag-dialog #fxdiag-description, #fixeo-estimator-v2-root .estimator-need-input,
  #fxep-nlp-input, .rafi-dictation-review textarea
) {
  caret-color: #0b0b0c;
  font-size: max(17px, 1.0625rem) !important;
  transition: border-color 200ms ease, box-shadow 220ms ease !important;
}
html body :is(
  #home #fxhf-root #fxhf-need-input, #fxhf-root #fxhf-transcript,
  #fxdiag-dialog #fxdiag-description, #fixeo-estimator-v2-root .estimator-need-input,
  #fxep-nlp-input, .rafi-dictation-review textarea
):focus {
  border: 1px solid var(--fx-rafi-champagne) !important;
  outline: 2px solid transparent !important;
  outline-offset: 1px !important;
  box-shadow: var(--fx-rafi-focus) !important;
}
@media (max-width: 820px), (pointer: coarse) {
  /* A 16 CSS px minimum prevents Safari zooming the field without restricting pinch zoom. */
  html body :is(
    #home #fxhf-root #fxhf-need-input, #fxhf-root #fxhf-transcript,
    #fxdiag-dialog #fxdiag-description, #fixeo-estimator-v2-root .estimator-need-input,
    #fxep-nlp-input, .rafi-dictation-review textarea
  ) { font-size: max(16px, 1rem) !important; }
}
/* These states are set by the live microphone, photo and qualification controllers. */
html[data-m1-locale-pilot] body.ux-web.ns-home #home #fxhf-root[data-fxhf-state] #fxhf-mic[data-voice-state="recording"],
html body .rafi-dictation > button[aria-pressed="true"] {
  background: #0b0b0c !important;
  color: #f7f7f5 !important;
  border-color: var(--fx-rafi-champagne) !important;
  box-shadow: 0 0 0 1px var(--fx-rafi-edge), 0 0 13px 3px rgb(251 232 189 / 70%) !important;
}
html body #fxdiag-dialog .fxdiag-photo[data-state="validating"] {
  box-shadow: 0 0 0 1px var(--fx-rafi-edge), 0 0 13px 3px rgb(251 232 189 / 55%) !important;
}
/* Only a small status light changes opacity. The official RAFI sphere is untouched. */
#fxhf-root[data-fxhf-state="analysis"] .fxhf-title::after,
#fxhf-root #fxhf-mic[data-voice-state="transcribing"]::after,
#fxdiag-dialog .fxdiag-analyzing #fxdiag-work-status::after,
#fixeo-estimator-v2-root .estimator-modal:has(.rafi-sphere[data-state="analyzing"]) #rafi-state-line::after,
#fixeo-estimator-v2-root .xq-qualification[aria-busy="true"] [data-xq-action="confirm"]::after {
  content: "";
  display: inline-block;
  inline-size: 7px;
  block-size: 7px;
  margin-inline-start: .55em;
  vertical-align: .12em;
  border-radius: 50%;
  background: #927440;
  box-shadow: 0 0 0 2px rgb(251 232 189 / 68%), 0 0 7px 2px rgb(202 167 96 / 34%);
  animation: var(--fx-rafi-analysis-light, fx-rafi-breathe 2.4s ease-in-out infinite);
}
@keyframes fx-rafi-breathe {
  0%, 100% { opacity: .68; }
  50% { opacity: 1; }
}
html[data-fixeo-reduced-motion="true"] { --fx-rafi-analysis-light: none; }
@media (prefers-reduced-motion: reduce) {
  :root { --fx-rafi-analysis-light: none; }
  html body :is(
    #home #fxhf-root #fxhf-need-input, #fxhf-root #fxhf-transcript,
    #fxdiag-dialog #fxdiag-description, #fixeo-estimator-v2-root .estimator-need-input,
    #fxep-nlp-input, .rafi-dictation-review textarea
  ) { transition: none !important; }
}
html[data-fixeo-reduced-motion="true"] body :is(
  #home #fxhf-root #fxhf-need-input, #fxhf-root #fxhf-transcript,
  #fxdiag-dialog #fxdiag-description, #fixeo-estimator-v2-root .estimator-need-input,
  #fxep-nlp-input, .rafi-dictation-review textarea
) { transition: none !important; }
@media (forced-colors: active) {
  html body :is(
    #home #fxhf-root #fxhf-need-input, #fxhf-root #fxhf-transcript,
    #fxdiag-dialog #fxdiag-description, #fixeo-estimator-v2-root .estimator-need-input,
    #fxep-nlp-input, .rafi-dictation-review textarea
  ):focus { outline: 2px solid Highlight !important; outline-offset: 2px !important; }
}
