/* 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; }
}
