/* Shared customer navigation and device ergonomics; business controls stay owned by their pages. */
:root{--fs-brand:#b91409;--fs-ink:#0c0e13;--fs-line:#e1e4e8;--fs-shell-height:74px}
.fs-customer-shell :is(.task-nav,.customer-utility-nav,.site-header){font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.fs-app-entry{margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.app-skip{position:fixed;top:8px;left:8px;z-index:300;transform:translateY(-200%)}
.app-skip:focus{transform:none}
.fs-customer-shell .task-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-width:1180px;margin:14px auto 8px;padding:0 20px}
.fs-customer-shell .task-nav a{display:flex;align-items:center;justify-content:center;min-height:52px;padding:12px 8px;border:1px solid var(--fs-line);border-radius:12px;background:#fff;color:var(--fs-ink);font-size:18px;font-weight:750;text-align:center;text-decoration:none;line-height:1.3}
.fs-customer-shell .task-nav a:hover,.fs-customer-shell .task-nav a[aria-current=page]{background:#fff3f1;border-color:var(--fs-brand);color:var(--fs-brand)}
.fs-customer-shell .customer-utility-nav{display:flex;align-items:center;justify-content:center;gap:12px;max-width:1180px;margin:0 auto 18px;padding:0 20px;color:var(--fs-ink)}
.fs-customer-shell .customer-utility-nav>a,.fs-customer-shell .customer-more>summary{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;border-radius:10px;font-size:17px;font-weight:650;text-decoration:none;color:inherit;cursor:pointer;list-style:none}
.fs-customer-shell .customer-more>summary::-webkit-details-marker{display:none}
.fs-customer-shell .customer-more>summary::after{content:' ▾';margin-left:6px}
.fs-customer-shell .customer-more{position:relative}
.fs-customer-shell .customer-more-panel{position:absolute;right:0;top:calc(100% + 8px);z-index:150;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;width:min(740px,calc(100vw - 32px));padding:20px;background:white;border:1px solid var(--fs-line);border-radius:16px;box-shadow:0 12px 40px #0c0e1326;max-height:calc(100vh - 180px);max-height:calc(100dvh - 180px - env(safe-area-inset-bottom,0px));overflow-y:auto;overscroll-behavior:contain}
.fs-customer-shell .customer-more:not([open]) .customer-more-panel{display:none}
.fs-customer-shell .customer-more-group h2{font-size:16px;line-height:1.4;margin:0 0 8px;color:#555f6a}
.fs-customer-shell .customer-more-group a{display:flex;align-items:center;min-height:44px;padding:9px 7px;font-size:17px;line-height:1.4;border-radius:8px;color:var(--fs-ink);text-decoration:none;overflow-wrap:anywhere}
.fs-customer-shell .customer-more-group a:hover,.fs-customer-shell .customer-more-group a[aria-current=page]{background:#fff3f1;color:var(--fs-brand)}
.customer-more-close{grid-column:1/-1;justify-self:end;min-height:44px;padding:10px 14px;border:1px solid var(--fs-line);border-radius:10px;background:#fff;color:var(--fs-ink);font:700 16px/1.4 system-ui;cursor:pointer}
.fs-customer-shell :is(.task-nav a,.customer-utility-nav a,.customer-more summary,.app-button):focus-visible{outline:3px solid var(--fs-brand);outline-offset:3px}
/* Immediate shade, with no movement or change to selected/saved/error states. */
.fs-customer-shell :where(a[href],button,summary,[role=button],input[type=button],input[type=submit],input[type=reset]){-webkit-tap-highlight-color:#b9140938}
.fs-customer-shell :where(a[href],button,summary,[role=button],input[type=button],input[type=submit],input[type=reset]):not(:disabled):not([aria-disabled=true]):is(:active,.fs-control-pressed){box-shadow:inset 0 0 0 9999px #0c0e1324,inset 0 0 0 2px #0c0e134d!important}
.fs-customer-shell :is(.site-head,.site-header){padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}
.fs-customer-shell .site-header{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border-bottom:1px solid var(--fs-line);min-height:74px;padding-inline:max(20px,env(safe-area-inset-left,0px));padding-block:10px}
@media(max-width:700px),(pointer:coarse){
 .fs-customer-shell input:not([type=checkbox]):not([type=radio]),.fs-customer-shell select,.fs-customer-shell textarea{font-size:max(16px,1em);min-height:48px}
 .fs-customer-shell .task-nav{gap:6px;padding-inline:12px}
 .fs-customer-shell .task-nav a{font-size:16px;min-height:56px;padding:10px 6px}
 .fs-customer-shell .customer-utility-nav{gap:4px;padding-inline:12px;justify-content:space-between}
 .fs-customer-shell .customer-utility-nav>a,.fs-customer-shell .customer-more>summary{font-size:16px;padding-inline:10px}
 .fs-customer-shell .customer-more-panel{position:fixed;top:var(--fs-more-top,170px);left:16px;right:16px;width:auto;grid-template-columns:1fr;gap:14px;max-height:var(--fs-more-room,calc(100dvh - 210px - env(safe-area-inset-bottom,0px)))}
 .fs-customer-shell .mobile-bar{padding-bottom:env(safe-area-inset-bottom,0px)}
 .fs-customer-shell:has(.mobile-bar){padding-bottom:calc(70px + env(safe-area-inset-bottom,0px))}
 .fs-customer-shell :is(dialog,.modal,.dialog){max-height:calc(100dvh - 24px - env(safe-area-inset-bottom,0px));overflow-y:auto}
}
@media(display-mode:standalone){
 .fs-customer-shell :is(.site-head,.site-header){padding-top:env(safe-area-inset-top,0px)}
 .fs-customer-shell .task-nav{scroll-margin-top:calc(var(--fs-shell-height) + env(safe-area-inset-top,0px))}
}
@media(max-width:420px){
 .fs-customer-shell .site-header{padding-inline:12px;gap:8px;flex-direction:row;flex-wrap:wrap;align-items:center}
 .fs-customer-shell .site-header>a{flex:0 1 auto;width:130px;min-width:0}
 .fs-customer-shell :is(.site-header,.site-head) .brand-logo,.fs-customer-shell .site-header>a>img{max-width:130px;width:100%;height:auto}
 .fs-customer-shell .site-head .wrap{gap:8px;flex-wrap:wrap}
 .fs-customer-shell :is(.site-header,.site-head) .language-access{flex:1 1 112px;min-width:0;max-width:145px;margin-left:auto}
 .fs-customer-shell .language-access label{white-space:normal;font-size:14px}
 .fs-customer-shell .language-access select{min-width:0;max-width:100%;width:100%}
}
/* The app entry uses the same three destinations and portal, rather than a second account. */
.app-main{width:min(1100px,calc(100% - 32px));margin:0 auto;padding:36px 0 60px;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--fs-ink)}
.app-main h1{font-size:clamp(30px,5vw,48px);line-height:1.12;letter-spacing:-.025em;max-width:760px;margin:12px 0 20px}
.app-main h2{font-size:26px;line-height:1.25;margin:0 0 12px}
.app-main p{font-size:18px;line-height:1.65;max-width:740px;margin:0 0 18px}
.app-kicker{font-size:15px!important;letter-spacing:.12em;font-weight:750;color:var(--fs-brand)}
.app-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:30px 0}
.app-path{display:flex;flex-direction:column;gap:12px;padding:24px;border:1px solid var(--fs-line);border-radius:18px;text-decoration:none;color:inherit;background:#fff;min-height:180px}
.app-path svg{width:40px;height:40px;color:var(--fs-brand);fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.app-path strong{font-size:23px}.app-path span{font-size:17px;line-height:1.5}.app-path b{font-size:17px;color:var(--fs-brand);margin-top:auto}
.app-path:hover{border-color:var(--fs-brand);background:#fff8f6}.app-path:focus-visible{outline:3px solid var(--fs-brand);outline-offset:3px}
.app-install{padding:28px;border:1px solid var(--fs-line);border-radius:18px;background:#f7f8fa;margin:30px 0}
.app-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 20px;min-height:50px;border:0;border-radius:12px;background:var(--fs-brand);color:#fff;font:700 18px/1.4 system-ui;cursor:pointer;text-decoration:none}
.app-button.secondary{color:var(--fs-ink);background:#fff;border:1px solid var(--fs-line)}
.app-device{display:block;margin:20px 0 12px}.app-device label{display:block;font-size:18px;font-weight:650;margin-bottom:8px}.app-device select{width:min(100%,360px);padding:12px;border:1px solid #aeb7c2;border-radius:10px;font:18px system-ui;background:#fff}
.app-steps{font-size:18px;line-height:1.65;padding-left:26px;max-width:740px}.app-steps li{margin-bottom:10px}
.app-status{font-size:17px!important;padding:14px;border-left:4px solid var(--fs-brand);background:#fff}
.app-main [hidden]{display:none!important}
.app-return{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:20px 0}
@media(max-width:640px){.app-paths{grid-template-columns:1fr}.app-path{min-height:160px;padding:22px}.app-install{padding:22px}.app-main{padding-top:24px}}
@media(prefers-reduced-motion:reduce){.fs-customer-shell *{scroll-behavior:auto!important}}
