/* Keep the app UI local to each phone without changing homepage scenes. */
.fn-device-demo{width:100%;min-width:0;color:#151515}
.fn-device-demo [hidden]{display:none!important}
.fn-demo-stage{width:100%;max-width:350px;margin:0 auto;position:relative}
.fn-device-demo :is(.hl-editor-intro,.hl-analytics-story,.hl-lead-story,.hl-workspace-explanation){display:none!important}
.fn-device-demo :is(.hl-editor-scene,.hl-analytics,.hl-lead-scene,.hl-workspace,.hl-workspace-composition){display:block;width:100%;max-width:none;padding:0;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.fn-device-demo :is(.hl-editor-phone,.hl-analytics-device,.hl-lead-device,.hl-workspace-phone){width:100%;max-width:none;margin:0}
.fn-device-demo .hl-iphone{max-width:none}
.fn-demo-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.fn-native-header{display:flex;align-items:center;gap:11px;flex-shrink:0;min-height:52px;padding:0 14px;background:#f7f7f7;color:#151515}
.fn-native-header>strong{flex:1;font-size:17px;font-weight:600;line-height:1.3}
.fn-native-header>button,.fn-native-header>span{display:flex;align-items:center;justify-content:center;min-width:30px;min-height:38px;padding:0;border:0;background:transparent;color:inherit}
.fn-style-app,.fn-form-app{height:100%;min-height:0;overflow:hidden;display:flex;flex-direction:column;background:#f7f7f7;font:14px/1.5 Geist,Arial,sans-serif}
.fn-style-app *,.fn-form-app *{box-sizing:border-box}
.fn-style-app button,.fn-form-app button{font:inherit;cursor:pointer}
.fn-style-app :is(button,input,select,textarea):focus-visible,.fn-form-app :is(button,input,select,textarea):focus-visible{outline:2px solid #64882b;outline-offset:2px}
.fn-style-designs{flex:1;min-height:0;padding:8px 22px 0;position:relative}
.fn-style-designs figure{height:100%;margin:0;display:flex;flex-direction:column;align-items:center;gap:8px}
.fn-style-designs figure>img{display:block;min-height:0;flex:1;max-height:100%;width:auto;max-width:100%;object-fit:contain;object-position:center top;border:1px solid #ddd;border-radius:12px;background:#fff}
.fn-style-designs figcaption{width:100%;display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;line-height:1.5;flex-shrink:0}
.fn-style-designs figcaption strong{font-weight:600}
.fn-style-designs figcaption span{font-size:10px;color:#606060}
.fn-style-picker{display:flex;justify-content:center;flex-shrink:0;gap:10px;padding:13px 16px 8px}
.fn-style-picker button{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:65px;padding:6px 8px;background:#fff;border:1px solid #ddd;border-radius:8px;color:#606060;font-size:10px}
.fn-style-picker button[aria-pressed=true]{border-color:#151515;color:#151515;background:#eef6e2}
.fn-style-picker img{display:block;width:28px;height:43px;object-fit:cover;object-position:top;border-radius:4px}
.fn-form-app{position:relative}
.fn-form-panel{position:absolute;inset:0;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.fn-form-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:none;padding:12px 14px 24px}
.fn-form-local{font-size:11px!important;line-height:1.5!important;color:#606060;margin:0 0 15px!important}
.fn-form-row{display:flex;align-items:center;gap:12px;width:100%;padding:15px 12px;margin-bottom:8px;border:1px solid #eee;border-radius:12px;background:#fff;color:#151515;text-align:left}
.fn-form-row>span:not(.app-icon){flex:1;min-width:0;display:grid;gap:4px}
.fn-form-row strong,.fn-form-question strong{font-size:14px;font-weight:550;line-height:1.5}
.fn-form-row small,.fn-form-question small{display:block;font-size:12px;line-height:1.5;color:#606060}
.fn-form-question{padding:16px 13px;background:white;border:1px solid #eee;border-radius:12px;margin-bottom:9px}
.fn-form-question small{margin-top:3px}
.fn-form-source-note{display:flex;align-items:center;gap:12px;padding:16px 3px;color:#606060}
.fn-form-source-note p{font-size:12px!important;line-height:1.6!important;margin:0!important}
.fn-form-primary{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:12px;border:0;border-radius:8px;background:var(--color-accent);color:#151515;font-size:13px!important;font-weight:600!important}
.fn-form-visitor{background:#121916;color:#eaf5df}
.fn-form-visitor .fn-native-header{background:#121916;color:#eaf5df;border-bottom:1px solid #35463b}
.fn-form-identity{display:flex;align-items:center;gap:10px;margin:6px 0 24px}
.fn-form-identity img{width:38px;height:38px;border-radius:50%;object-fit:cover;object-position:center 25%}
.fn-form-identity strong{display:block;font-size:13px;font-weight:550;line-height:1.5}
.fn-form-identity small{display:block;font-size:10px;color:#b7c2ac;margin-top:3px}
.fn-form-kicker{font-size:10px!important;color:#b7c2ac;line-height:1.5!important;margin:0 0 8px!important}
.fn-form-visitor h3{font-size:27px!important;font-weight:550;line-height:1.2!important;letter-spacing:-.02em!important;color:inherit!important;margin:0 0 10px!important}
.fn-form-intro{font-size:12px!important;line-height:1.6!important;color:#c4cebc!important;margin:0 0 24px!important}
.fn-form-visitor label{display:grid;gap:7px;margin:14px 0;font-size:12px;line-height:1.5}
.fn-form-visitor :is(input,textarea,select){width:100%;min-width:0;padding:10px 12px;border:1px solid #52614f;border-radius:8px;background:#1b261f;color:#eaf5df;font:13px/1.5 Geist,Arial,sans-serif;resize:none}
.fn-form-preview-note{font-size:10px!important;line-height:1.5!important;color:#b7c2ac!important;margin:17px 0 0!important}
@media(max-width:600px){.fn-demo-stage{max-width:330px}.fn-form-scroll{padding-inline:12px}}
@media(prefers-reduced-motion:reduce){.fn-device-demo *{scroll-behavior:auto!important;transition:none!important}}
body[data-motion=paused] .fn-device-demo *{transition:none!important;scroll-behavior:auto!important}
