/* Homepage app preview, modeled on the merchant's Fusebox app screenshots. */
.fb-app-showcase { --app-blue:#607f8b; --app-status:#77939e; --app-bg-top:#8fa6b0; --app-bg-bottom:#ced9de; --app-icon-bg:#d0dade; --app-text:#303136; --app-muted:#697077; width:100%; min-width:0; container-type:inline-size; }
.fb-app-stage { display:grid; grid-template-columns:minmax(100px,1fr) minmax(240px,290px); grid-template-rows:auto 1fr; gap:23px 18px; padding:23px 20px 0; overflow:hidden; border:1px solid #e3dff0; border-radius:22px; background:linear-gradient(120deg,#f0ebfb,#e9eef1); }
.fb-stage-top { grid-column:1/-1; display:flex; justify-content:space-between; gap:14px; font-size:9px; line-height:1.4; color:#686576; }
.fb-stage-top>span:last-child { font-size:8px; font-weight:700; letter-spacing:.12em; }
.fb-stage-story { align-self:center; padding-bottom:24px; }
.fb-stage-story>strong { display:block; font-family:var(--display); font-size:clamp(22px,4.5cqw,31px); line-height:1.18; letter-spacing:-.045em; }
.fb-stage-swatches { display:flex; gap:7px; margin:22px 0 28px; }
.fb-stage-swatches i { width:18px; height:18px; border-radius:50%; background:var(--app-blue); }
.fb-stage-swatches i:nth-child(2) { background:white; }
.fb-stage-swatches i:nth-child(3) { background:#d0dade; border:1px solid #b9c7ce; }
.fb-stage-story>p { font-size:11px; line-height:1.65; }
.fb-stage-mark { width:48px; height:48px; object-fit:contain; margin-top:33px; }
.fb-stage-story>span { display:block; margin-top:9px; font-size:9px; line-height:1.5; }
.fb-app-phone { position:relative; width:100%; height:548px; min-width:0; align-self:end; overflow:hidden; border:6px solid #2c273b; border-bottom:0; border-radius:34px 34px 0 0; background:var(--app-bg-bottom); box-shadow:0 14px 38px #3c415b22; color:var(--app-text); font:11px/1.5 Inter,Arial,sans-serif; }
.fb-phone-status { height:29px; position:relative; display:flex; align-items:center; justify-content:space-between; padding:0 15px; background:var(--app-status); color:#152b34; font-size:10px; font-weight:700; }
.fb-phone-island { position:absolute; top:5px; left:50%; transform:translateX(-50%); width:69px; height:16px; border-radius:20px; background:#2c273b; }
.fb-phone-header { display:flex; height:51px; align-items:center; justify-content:space-between; padding:0 15px; background:white; border-bottom:3px solid #c0cdd3; color:var(--app-blue); }
.fb-phone-header>img { width:126px; height:auto; }
.fb-phone-bell { font-size:20px; line-height:1; }
.fb-phone-content { height:calc(100% - 80px); background:linear-gradient(var(--app-bg-top) 0,var(--app-bg-bottom) 270px); }
.fb-app-panel { height:100%; padding:15px 12px 24px; overflow-y:auto; overflow-x:hidden; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#90a4ae transparent; }
.fb-app-panel:focus-visible { outline:2px solid #6542d7; outline-offset:-3px; }
.fb-app-showcase .fb-app-greeting { margin:0 0 25px; color:var(--app-text); font-size:18px; font-weight:750; line-height:1.35; letter-spacing:-.035em; }
.fb-section-label { display:flex; align-items:center; justify-content:space-between; gap:7px; margin:25px 0 13px; }
.fb-section-label.fb-section-first { margin-top:3px; }
.fb-app-showcase .fb-section-label h3 { margin:0; font:750 14px/1.25 Inter,Arial,sans-serif; letter-spacing:-.035em; color:var(--app-text); }
.fb-section-label>span { flex-shrink:0; font-size:8px; color:#4c5360; font-weight:650; }
.fb-white-card { background:white; border:1px solid #d3d7da; border-radius:12px; box-shadow:0 2px 4px #172a3326; }
.fb-announcement { padding:12px; }
.fb-author { display:flex; gap:10px; align-items:center; padding:10px 8px; border:1px solid #e1e1e1; border-radius:9px; background:#f8f9fa; }
.fb-author>img { width:43px; height:43px; flex-shrink:0; border-radius:50%; object-fit:cover; object-position:top; background:#1e242c; }
.fb-author strong,.fb-author span,.fb-author small { display:block; }
.fb-author strong { color:var(--app-text); font-size:12px; line-height:1.3; }
.fb-author span { font-size:8px; color:#6c7276; margin-top:2px; }
.fb-author small { font-size:8px; color:#7b8287; margin-top:3px; }
.fb-app-showcase .fb-announcement>p { margin:12px 0 0; color:#606970; font-size:11px; line-height:1.65; }
.fb-app-showcase .fb-announcement>.fb-post-title { font-size:11px; margin-top:15px; }
.fb-read-more { color:#3169ba; font-size:11px; text-decoration:underline; font-weight:650; }
.fb-post-stats { color:#8a8e91; font-size:9px; margin:18px 0 12px; }
.fb-post-actions { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.fb-post-actions>span { border:1px solid #dedfe1; border-radius:6px; text-align:center; padding:5px 1px; color:#6d7377; font-size:10px; font-weight:650; }
.fb-calendar-row { display:flex; gap:10px; overflow:hidden; }
.fb-calendar-card { flex:0 0 85%; background:white; border-radius:14px; padding:13px 11px; box-shadow:0 3px 9px #233b4810; }
.fb-calendar-card>strong { display:block; font-size:12px; line-height:1.35; }
.fb-calendar-card>span { display:block; color:#73777b; margin-top:6px; font-size:10px; }
.fb-calendar-card>div { display:flex; align-items:center; justify-content:space-between; margin-top:11px; padding-top:12px; border-top:1px solid #dedfe0; }
.fb-calendar-card>div>span:first-child { font-size:19px; line-height:1; }
.fb-small-action { color:white; background:var(--app-blue); padding:5px 12px; border-radius:9px; font-size:9px; font-weight:650; }
.fb-kudos-card { overflow:hidden; border-radius:14px; background:#f6f4ed; box-shadow:0 3px 8px #1d394015; }
.fb-kudos-photo { width:100%; height:165px; padding:8px; object-fit:contain; object-position:center; background:#e7edf0; }
.fb-kudos-body { padding:14px 12px 12px; text-align:center; }
.fb-app-showcase .fb-kudos-body>p { color:#52545a; font-size:10px; line-height:1.6; margin:0; }
.fb-app-showcase .fb-kudos-body>h3 { color:var(--app-blue); font:750 18px/1.3 Inter,Arial,sans-serif; letter-spacing:-.02em; margin:5px 0 9px; }
.fb-kudos-body>small { display:block; margin-top:12px; color:#74767a; font-size:9px; }
.fb-thanks { width:max-content; margin:-1px auto 0; position:relative; padding:4px 15px; border:1px solid #bbcad1; border-radius:0 0 8px 8px; color:white; background:var(--app-blue); font-size:10px; }
.fb-app-showcase .fb-app-note { font-size:11px; line-height:1.6; margin:20px 8px 0; text-align:center; color:#536770; }
.fb-safety-card { display:flex; align-items:center; gap:13px; padding:16px 10px; }
.fb-safety-ring { width:84px; height:84px; flex-shrink:0; display:grid; place-items:center; border-radius:50%; background:conic-gradient(var(--app-blue) 51.2%,#e2e4e6 0); }
.fb-safety-ring>div { width:65px; height:65px; display:flex; flex-direction:column; align-items:center; justify-content:center; border-radius:50%; background:white; }
.fb-safety-ring strong { font-size:26px; line-height:1.2; font-weight:750; color:var(--app-blue); letter-spacing:-.06em; }
.fb-safety-ring span { font-size:9px; color:#777983; }
.fb-safety-copy { min-width:0; }
.fb-safety-copy>* { display:block; }
.fb-safety-copy>strong { font-size:12px; }
.fb-safety-copy>span { margin:5px 0; font-size:8px; color:#757883; }
.fb-safety-copy>small { font-size:9px; color:#757883; }
.fb-app-showcase .fb-safety-copy>em { margin-top:5px; font-size:11px; font-weight:500; color:var(--app-blue); }
.fb-resource-row { display:flex; align-items:center; gap:10px; padding:13px 10px; margin-top:23px; background:white; border:1px solid #ccd0d3; border-radius:10px; box-shadow:0 2px 5px #172b3330; }
.fb-resource-row.fb-resource-first { margin-top:3px; }
.fb-round-icon { width:34px; height:34px; flex-shrink:0; display:grid; place-items:center; border-radius:50%; background:var(--app-icon-bg); box-shadow:0 1px 3px #455b6270; font-size:20px; }
.fb-resource-row>div { flex:1; min-width:0; }
.fb-resource-row strong { display:block; font-size:12px; letter-spacing:-.035em; line-height:1.25; }
.fb-resource-row div>span { display:block; margin-top:5px; color:#85888a; font-size:10px; line-height:1.4; }
.fb-resource-row>span:last-child { color:#85888a; font-size:23px; }
.fb-resource-row div>.fb-file-counts { display:flex; gap:5px; }
.fb-file-counts small { padding:2px 8px; border-radius:20px; background:var(--app-icon-bg); color:#28363c; font-size:9px; }
.fb-quick-links { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.fb-quick-links>div { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; min-height:90px; padding:12px 4px; background:white; border:1px solid #d9dcdf; border-radius:12px; box-shadow:0 3px 5px #263a4325; }
.fb-quick-links span { display:flex; height:29px; align-items:center; justify-content:center; font-size:25px; }
.fb-quick-links strong { font-size:9px; font-weight:600; line-height:1.3; text-align:center; letter-spacing:-.02em; }
.fb-quick-links .fb-retirement-icon { font-size:18px; color:#6d9e5c; font-weight:800; letter-spacing:-.04em; }
.fb-app-showcase .fb-app-tabs { margin-top:13px; }
.fb-app-showcase .fb-app-tabs button { font-size:10px; min-height:46px; gap:7px; }
.fb-app-showcase .fb-app-tabs .icon { width:15px; height:15px; }
.fb-app-showcase>.demo-disclosure { margin-top:10px; font-size:10px; }
@container (max-width:470px) {
  .fb-app-stage { grid-template-columns:1fr; justify-items:center; padding:19px 16px 0; gap:17px; }
  .fb-stage-top { width:100%; }
  .fb-stage-story { display:none; }
  .fb-app-phone { width:min(100%,290px); }
  .fb-app-showcase .fb-app-tabs button { gap:4px; font-size:9px; }
}
@container (max-width:340px) {
  .fb-app-stage { padding:16px 10px 0; border-radius:17px; }
  .fb-app-phone { height:530px; border-width:5px; }
  .fb-app-showcase .fb-app-tabs button { flex-direction:column; font-size:8px; gap:4px; }
  .fb-stage-top { font-size:8px; }
  .fb-app-panel { padding-inline:10px; }
  .fb-app-showcase>.demo-disclosure { font-size:9px; }
}
@media (prefers-reduced-motion:reduce) { .fb-app-showcase * { scroll-behavior:auto; transition:none; } }

/* App menu and visitor-controlled branding stay inside this preview. */
.fb-menu-toggle { display:grid; place-items:center; flex:0 0 28px; width:28px; height:36px; padding:0; border:0; border-radius:5px; color:var(--app-blue); background:transparent; }
.fb-menu-toggle:hover { background:var(--app-bg-bottom); }
.fb-phone-header { padding-inline:9px; gap:5px; }
.fb-phone-brand { display:flex; justify-content:center; align-items:center; flex:1; gap:7px; min-width:0; }
.fb-phone-brand>img { width:126px; height:30px; object-fit:contain; }
.fb-phone-brand.fb-brand-custom>img { width:34px; height:34px; flex-shrink:0; }
.fb-phone-brand>strong { font-size:12px; line-height:1.2; letter-spacing:-.025em; color:var(--app-text); overflow-wrap:anywhere; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.fb-phone-bell { flex:0 0 24px; text-align:center; }
.fb-menu-layer { position:absolute; inset:29px 0 0; z-index:5; }
.fb-menu-backdrop { position:absolute; inset:0; border:0; border-radius:0; background:#ffffff85; cursor:pointer; }
.fb-menu-drawer { position:relative; width:84%; height:100%; overflow-y:auto; background:var(--app-blue); box-shadow:4px 0 12px #162a3320; scrollbar-width:thin; }
.fb-menu-profile { display:grid; grid-template-columns:38px minmax(0,1fr) 22px; gap:9px; align-items:center; padding:16px 10px; background:white; }
.fb-member-avatar { display:grid; place-items:center; width:38px; height:38px; flex-shrink:0; border-radius:50%; background:var(--app-blue); color:white; font-size:18px; font-weight:700; }
.fb-menu-profile strong { display:block; font-size:14px; line-height:1.25; color:var(--app-text); }
.fb-menu-profile div>span,.fb-menu-profile small { display:block; margin-top:3px; font-size:10px; line-height:1.3; color:#777; overflow-wrap:anywhere; }
.fb-menu-close { width:24px; height:30px; padding:0; align-self:start; border:0; background:transparent; color:#52606a; font-size:23px; line-height:1; }
.fb-menu-nav { padding:23px 0; }
.fb-menu-nav button { display:block; width:100%; min-height:35px; padding:9px 22px; text-align:left; border:0; border-radius:0; color:var(--app-menu-ink,#071b24); background:transparent; font-size:12px; font-weight:700; line-height:1.4; }
.fb-menu-nav button:hover,.fb-menu-nav button[aria-current="page"] { background:var(--app-menu-highlight,#ffffff23); }
.fb-menu-nav hr { border:0; border-top:1px solid #102c3b90; margin:16px 22px; }
.fb-menu-nav .fb-menu-dashboard { border-block:1px solid #ffffff20; }
.fb-app-showcase .fb-app-subview>h3 { margin:3px 0 15px; font:750 18px/1.3 Inter,Arial,sans-serif; letter-spacing:-.035em; }
.fb-menu-card { padding:20px 15px; }
.fb-menu-card>strong { display:block; font-size:15px; line-height:1.45; margin-top:12px; }
.fb-app-showcase .fb-menu-card p { margin:10px 0 0; color:#697077; font-size:11px; line-height:1.6; }
.fb-view-emoji { font-size:35px; }
.fb-reward-example { margin-top:20px; padding-top:15px; border-top:1px solid #e1e6e8; }
.fb-reward-example>span,.fb-reward-example>strong { display:block; }
.fb-reward-example>strong { margin:6px 0; font-size:28px; color:var(--app-blue); }
.fb-message-example,.fb-directory-list>div { display:flex; align-items:center; gap:10px; padding-block:13px; }
.fb-message-example { margin-top:15px; border-top:1px solid #e1e6e8; }
.fb-message-example .fb-member-avatar,.fb-directory-list .fb-member-avatar { width:31px; height:31px; font-size:12px; }
.fb-message-example p { margin-top:3px!important; }
.fb-directory-list>div+div { border-top:1px solid #e1e6e8; }
.fb-return-demo { margin-top:20px; padding:9px 12px; border:0; border-radius:7px; background:var(--app-blue); color:white; font-size:11px; }
.fb-color-palette { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.fb-color-palette>button { position:relative; width:26px; height:26px; padding:0; border:3px solid white; border-radius:50%; background:var(--swatch); box-shadow:0 0 0 1px #22222212; }
.fb-color-palette>button[aria-pressed="true"] { box-shadow:0 0 0 2px var(--swatch); }
.fb-color-palette>button[aria-pressed="true"]::after { content:'✓'; position:absolute; inset:0; display:grid; place-items:center; color:white; font-size:12px; font-weight:700; }
.fb-mobile-palette { display:none; margin-bottom:15px; }
.fb-brand-tools { margin-top:12px; padding:15px; border:1px solid #e3dff0; border-radius:12px; background:#faf9fd; }
.fb-brand-tools-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.fb-brand-tools-heading>strong { font-size:12px; line-height:1.4; }
.fb-brand-tools-heading>button { border:0; padding:4px; background:transparent; color:#6542d7; font-size:11px; text-decoration:underline; text-underline-offset:3px; }
.fb-brand-fields { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.fb-name-field,.fb-logo-field>span { display:block; color:#626477; font-size:10px; line-height:1.4; font-weight:600; }
.fb-name-field input { display:block; width:100%; height:41px; min-width:0; margin-top:6px; padding:9px 10px; border:1px solid #dcd9e5; border-radius:7px; background:white; color:#171628; font-size:16px; }
.fb-logo-field { min-width:0; }
.fb-logo-drop { display:flex; gap:8px; align-items:center; justify-content:center; width:100%; min-height:41px; margin-top:6px; padding:8px; border:1px dashed #b6accd; border-radius:7px; background:white; color:#655a80; font-size:10px; line-height:1.4; }
.fb-logo-drop>svg { flex-shrink:0; }
.fb-logo-drop:hover,.fb-logo-drop.fb-drag-over { border-color:#6542d7; background:#efe9ff; }
.fb-app-showcase .fb-logo-message { margin:8px 0 0; color:#757084; font-size:9px; line-height:1.5; }
@container(max-width:470px) { .fb-mobile-palette { display:flex; } }
@container(max-width:340px) { .fb-brand-fields { grid-template-columns:1fr; gap:10px; } .fb-name-field input { font-size:16px; } }
