/* Five branded examples. Themes are confined to cards and their shared dialog. */
.tfa-examples { --demo-accent:#252833; --demo-deep:#171923; --demo-soft:#f3f4f8; --demo-highlight:#b6bfd4; --demo-on-accent:#fff; --demo-line:#dce0e8; padding-block:72px 20px; color:#1d2330; scroll-margin-top:130px; }
.tfa-examples *,.tfa-examples *::before,.tfa-examples *::after { box-sizing:border-box; }
.tfa-examples [hidden] { display:none!important; }
.tfa-examples [data-theme=sound],.tfa-example-dialog:is([data-demo-theme=sound],[data-demo-theme=audio]) { --demo-accent:#057c86; --demo-deep:#075563; --demo-soft:#e5f9f8; --demo-highlight:#57e5ce; --demo-line:#bedfdf; }
.tfa-examples [data-theme=mail],.tfa-example-dialog[data-demo-theme=mail] { --demo-accent:#6554d6; --demo-deep:#352878; --demo-soft:#efedff; --demo-highlight:#b5afff; --demo-line:#d8d3f3; }
.tfa-examples [data-theme=game],.tfa-example-dialog[data-demo-theme=game] { --demo-accent:#743bd6; --demo-deep:#2b174a; --demo-soft:#f3edff; --demo-highlight:#ff875d; --demo-line:#ddcdef; }
.tfa-examples [data-theme=booking],.tfa-example-dialog[data-demo-theme=booking] { --demo-accent:#b84473; --demo-deep:#6b2a4b; --demo-soft:#fff0f4; --demo-highlight:#f4a3bf; --demo-line:#efcfdb; }
.tfa-examples [data-theme=inventory],.tfa-example-dialog[data-demo-theme=inventory] { --demo-accent:#087c60; --demo-deep:#164c3f; --demo-soft:#e8f7ef; --demo-highlight:#f7bf57; --demo-line:#c5dfd3; }
.tfa-example-dialog { --tfa-demo-accent:var(--demo-accent); --tfa-demo-soft:var(--demo-soft); }
.tfa-examples-heading { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:36px; align-items:end; margin-bottom:31px; }
.tfa-examples-eyebrow { display:block; margin:0 0 14px!important; color:#667084; font-size:10px; font-weight:700; letter-spacing:.12em; line-height:1.7; }
.tfa-examples-heading h2 { color:#1b2230; font-size:clamp(31px,3.2vw,45px); font-weight:630; letter-spacing:-.045em; line-height:1.14; }
.tfa-examples-heading > p { max-width:430px; color:#606b7a; font-size:15px; line-height:1.85; }
.tfa-examples-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.tfa-example-card { min-width:0; display:flex; flex-direction:column; overflow:hidden; border:1px solid var(--demo-line); border-radius:7px; background:#fff; box-shadow:0 9px 30px #1c254308; color:#202735; }
.tfa-example-card-body { display:flex; flex-direction:column; flex:1; padding:24px 25px 22px; min-width:0; }
.tfa-example-tag { display:block; color:var(--demo-accent); font-size:9px; font-weight:750; letter-spacing:.1em; line-height:1.7; }
.tfa-example-card h3 { color:#1b2434; font-size:24px; font-weight:630; letter-spacing:-.04em; line-height:1.22; margin-top:12px!important; overflow-wrap:anywhere; }
.tfa-example-card-body > p,body.tfa-commerce .tfa-build-home .tfa-example-card-body > p { margin:15px 0 23px; color:#626c7c; font-size:13px; line-height:1.85; }
.tfa-example-actions { display:grid; gap:8px; margin-top:auto; }
.tfa-example-actions > button,.tfa-example-own-link,.tfa-example-dialog-footer > a { display:flex; justify-content:center; align-items:center; gap:10px; width:100%; min-height:47px; padding:12px 14px; border:1px solid var(--demo-accent); border-radius:4px; background:var(--demo-accent); color:#fff; font-family:inherit; font-size:13px; font-weight:650; line-height:1.5; text-align:center; text-decoration:none; cursor:pointer; }
.tfa-example-actions > button:hover,.tfa-example-dialog-footer > a:hover { filter:brightness(.92); }
.tfa-example-actions > a:not(.tfa-example-own-link) { display:flex; align-items:center; justify-content:center; min-height:42px; color:var(--demo-accent); font-size:12px; font-weight:600; line-height:1.6; text-decoration:underline; text-underline-offset:4px; }
.tfa-example-own-link { background:#1e2430; border-color:#1e2430; }
.tfa-example-mini { position:relative; height:273px; min-width:0; padding:20px 21px 30px; overflow:hidden; background:var(--demo-soft); border-bottom:1px solid var(--demo-line); }
.tfa-mini-brand { display:flex; align-items:center; gap:9px; color:var(--demo-deep); }
.tfa-mini-brand > strong { font-size:13px; font-weight:800; letter-spacing:.05em; line-height:1.4; }
.tfa-mini-logo { display:grid; place-items:center; width:31px; height:31px; background:var(--demo-accent); color:#fff; border-radius:8px; flex:0 0 31px; }
.tfa-mini-logo svg { display:block; width:23px; height:23px; }
.tfa-mini-window { margin-left:auto; font-size:17px; letter-spacing:2px; opacity:.4; }
.tfa-mini-caption { position:absolute; right:20px; bottom:11px; color:var(--demo-deep); opacity:.55; font-size:7px; font-weight:700; letter-spacing:.1em; }
.tfa-mini-sound-value { display:grid; gap:5px; margin-top:24px; }
.tfa-mini-sound-value > span { color:#397c82; font-size:8px; letter-spacing:.12em; font-weight:750; }
.tfa-mini-sound-value > strong { color:#065766; font-size:48px; font-weight:650; line-height:1.1; letter-spacing:-.06em; font-variant-numeric:tabular-nums; }
.tfa-mini-sound-value small { font-size:14px; letter-spacing:0; color:#56969a; }
.tfa-mini-wave { height:51px; display:flex; gap:5px; align-items:center; margin-top:13px; }
.tfa-mini-wave i { flex:1; height:40%; background:#159b9e; border-radius:3px; opacity:.8; }
.tfa-mini-wave i:nth-child(3n) { height:90%; background:#29bdb2; }.tfa-mini-wave i:nth-child(4n) { height:64%; }.tfa-mini-wave i:nth-child(5n) { height:25%; background:#6be5ca; }
.tfa-mini-sound-foot { display:flex; justify-content:space-between; color:#5f8c91; font-size:8px; margin-top:10px; }.tfa-mini-sound-foot b { font-size:7px; color:#137c80; }
.tfa-mini-mail-layout { display:grid; grid-template-columns:72px minmax(0,1fr); gap:12px; margin-top:23px; }
.tfa-mini-mail-sidebar { display:grid; align-content:start; gap:17px; color:#8e89a7; font-size:8px; padding-top:10px; }.tfa-mini-mail-sidebar b { color:#6554d6; font-weight:700; }
.tfa-mini-mail-list { display:grid; gap:7px; }.tfa-mini-mail-list > div { display:flex; align-items:center; gap:7px; padding:11px 9px; background:#fff; border:1px solid #e4e0f7; border-radius:6px; min-width:0; }.tfa-mini-mail-list > div:first-child { border-color:#b5afff; box-shadow:0 3px 7px #5143a00d; }
.tfa-mini-mail-list i { display:grid; place-items:center; font-style:normal; font-size:8px; font-weight:700; width:23px; height:23px; flex:0 0 23px; border-radius:50%; color:#6e5bc5; background:#e9e4ff; }
.tfa-mini-mail-list span { display:grid; gap:3px; min-width:0; }.tfa-mini-mail-list strong { font-size:8px; color:#51456a; line-height:1.3; }.tfa-mini-mail-list small { font-size:7px; color:#aba4ba; white-space:nowrap; }.tfa-mini-mail-list em { width:5px; height:5px; margin-left:auto; background:#8e7df0; border-radius:50%; }
.tfa-mini-game { background:radial-gradient(ellipse at 100% 0,#614193,transparent 70%),#241535; color:#fff; }.tfa-mini-game .tfa-mini-brand { color:#ece2ff; }.tfa-mini-game .tfa-mini-logo { background:#a572ec; color:#fff; }.tfa-mini-game .tfa-mini-caption { color:#d7bde9; }
.tfa-mini-game-head { position:relative; display:grid; gap:9px; margin-top:22px; }.tfa-mini-game-head > span { color:#bc91ec; font-size:8px; letter-spacing:.1em; }.tfa-mini-game-head > strong { font-size:29px; color:#f6efff; line-height:1.05; font-weight:800; letter-spacing:-.05em; }.tfa-mini-game-head > b { position:absolute; right:0; top:20px; color:#ffa27f; font-size:27px; line-height:1; font-weight:800; }.tfa-mini-game-head small { display:block; margin-top:6px; font-size:6px; text-align:right; letter-spacing:.1em; }
.tfa-mini-game-grid { display:grid; grid-template-columns:repeat(9,1fr); gap:7px; margin-top:22px; }.tfa-mini-game-grid i { height:21px; border-radius:4px; background:#473154; border:1px solid #654873; }.tfa-mini-game-grid .is-target { background:#ff986f; box-shadow:0 0 15px #fa7a8255; border-color:#ffb894; }
.tfa-mini-booking { background:#fff3f5; }.tfa-mini-booking .tfa-mini-brand > strong { font-family:Georgia,serif; font-size:14px; letter-spacing:.1em; }.tfa-mini-booking .tfa-mini-logo { background:#ba5879; }
.tfa-mini-booking-title { display:grid; gap:5px; margin-top:19px; color:#79384e; font-family:Georgia,serif; font-size:23px; line-height:1.3; }.tfa-mini-booking-title small { color:#b9889b; font-family:inherit; font-size:10px; }
.tfa-mini-week { display:flex; gap:7px; margin-top:17px; }.tfa-mini-week > span { flex:1; display:grid; text-align:center; padding:7px 2px; gap:5px; border:1px solid #efdae1; border-radius:6px; background:#fff; color:#af8494; font-size:7px; }.tfa-mini-week b { font-size:13px; color:#81435c; }.tfa-mini-week .is-selected { background:#b84473; border-color:#b84473; color:#ffd8e7; }.tfa-mini-week .is-selected b { color:#fff; }
.tfa-mini-times { display:flex; gap:8px; margin-top:12px; }.tfa-mini-times span { flex:1; text-align:center; padding:6px; border:1px solid #ecd5dd; border-radius:4px; color:#9d6d80; background:#fff; font-size:8px; }.tfa-mini-times .is-selected { border-color:#b84473; color:#a33260; background:#ffe0eb; }
.tfa-mini-stock-kpis { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:21px; margin-bottom:13px; }.tfa-mini-stock-kpis > span { display:grid; gap:5px; padding:12px; color:#76a393; background:#fff; border:1px solid #cce5d8; border-radius:5px; font-size:7px; letter-spacing:.05em; }.tfa-mini-stock-kpis strong { color:#2d7460; font-size:26px; line-height:1; letter-spacing:-.04em; }.tfa-mini-stock-kpis small { font-size:8px; font-weight:500; letter-spacing:0; }
.tfa-mini-stock-row { display:flex; align-items:center; gap:8px; font-size:8px; padding:7px 1px; border-bottom:1px solid #cfdfd6; color:#598977; }.tfa-mini-stock-row i { width:15px; height:15px; border-radius:3px; background:#c9e5d7; }.tfa-mini-stock-row b { margin-left:auto; font-size:9px; color:#24765b; background:#cce9db; border-radius:4px; padding:3px 6px; }.tfa-mini-stock-row.is-low b { color:#96702a; background:#fff0c5; }
.tfa-mini-own { background:radial-gradient(ellipse at 85% 100%,#69489b 0,transparent 58%),radial-gradient(ellipse at 10% 0,#215563,transparent 72%),#1c2330; color:#fff; }.tfa-mini-own .tfa-mini-brand { color:#fff; }.tfa-mini-own .tfa-mini-caption { color:#ddd; }.tfa-own-symbol { display:grid; grid-template-columns:repeat(2,10px); gap:3px; }.tfa-own-symbol i { width:10px; height:10px; background:#83e0dc; border-radius:2px; }.tfa-own-symbol i:nth-child(2) { background:#b99df6; }.tfa-own-symbol i:nth-child(3) { background:#f3bd83; }.tfa-own-symbol i:nth-child(4) { background:#ee8fbb; }
.tfa-own-art { display:grid; margin-top:24px; gap:4px; font-size:28px; line-height:1.12; letter-spacing:-.04em; }.tfa-own-art > span { color:#b9c4d6; }.tfa-own-art strong { color:#fff; font-size:33px; font-weight:650; }.tfa-own-colors { display:flex; gap:9px; margin-top:21px; }.tfa-own-colors i { width:24px; height:24px; background:#8fdcd3; border-radius:50%; border:3px solid #ffffff21; }.tfa-own-colors i:nth-child(2){background:#bba1ef}.tfa-own-colors i:nth-child(3){background:#ed9dbc}.tfa-own-colors i:nth-child(4){background:#f0c282}.tfa-own-colors i:nth-child(5){background:#8daade}
.tfa-examples-note,body.tfa-commerce .tfa-build-home .tfa-examples-note { max-width:1060px; margin-top:24px; color:#677283; font-size:12px; line-height:1.85; }
.tfa-examples :is(button,a,input,select,textarea):focus-visible { outline:3px solid var(--demo-highlight,#899dce); outline-offset:3px; }
/* Shared top-layer shell. The close control stays visible while the app scrolls. */
.tfa-example-dialog { --demo-on-accent:#fff; width:calc(100% - 48px); max-width:1080px; max-height:calc(100vh - 48px); max-height:calc(100dvh - 48px); padding:0; border:1px solid var(--demo-line,#d7dce5); border-radius:0; color:#253044; background:#fff; overflow:auto; overscroll-behavior:contain; font-family:inherit; box-shadow:0 24px 90px #0c142955; scrollbar-gutter:stable; }
.tfa-example-dialog[open] { position:fixed; inset:0; margin:auto; z-index:2147483647; }.tfa-example-dialog::backdrop { background:rgba(9,17,34,.72); backdrop-filter:blur(4px); }.tfa-example-dialog[data-fallback=true] { box-shadow:0 0 0 100vmax rgba(9,17,34,.72); }
.tfa-example-dialog-header { position:sticky; top:0; z-index:20; display:flex; align-items:start; justify-content:space-between; gap:20px; padding:22px 29px 19px; border-bottom:1px solid var(--demo-line); background:#fff; }
.tfa-demo-header-title { min-width:0; }.tfa-demo-brand { display:flex; align-items:center; gap:9px; margin-bottom:12px; color:var(--demo-accent); font-size:14px; line-height:1.5; font-weight:800; letter-spacing:.06em; }.tfa-demo-brand::before { content:''; width:20px; height:20px; flex:0 0 20px; background:var(--demo-accent); border-radius:6px; box-shadow:inset 0 0 0 5px #ffffff60; }.tfa-example-dialog[data-demo-theme=booking] .tfa-demo-brand { font-family:Georgia,serif; letter-spacing:.12em; }.tfa-example-dialog[data-demo-theme=game] .tfa-demo-brand { font-family:monospace; }
.tfa-example-dialog-header .tfa-examples-eyebrow { color:#8390a0; font-size:9px; margin-bottom:6px!important; }.tfa-example-dialog-header h2 { color:var(--demo-deep); font-size:25px; font-weight:600; line-height:1.2; letter-spacing:-.04em; }
.tfa-demo-close { display:grid; place-items:center; flex:0 0 46px; width:46px; height:46px; min-height:46px; border:1px solid var(--demo-line); border-radius:5px; background:var(--demo-soft); color:var(--demo-deep); font-size:27px; font-family:inherit; line-height:1; cursor:pointer; }
.tfa-demo-disclaimer,body.tfa-commerce .tfa-build-home .tfa-demo-disclaimer { margin:0; padding:15px 29px; background:#fff; color:#748093; font-size:12px; line-height:1.8; }
.tfa-demo-content { min-width:0; padding:22px 27px 27px; background:var(--demo-soft); }
.tfa-example-dialog-footer { display:grid; grid-template-columns:minmax(0,1fr) minmax(200px,.48fr); align-items:center; gap:24px; padding:23px 29px; border-top:1px solid var(--demo-line); background:#fff; }.tfa-example-dialog-footer strong { color:#293447; font-size:14px; line-height:1.6; font-weight:650; }.tfa-example-dialog-footer p,body.tfa-commerce .tfa-build-home .tfa-example-dialog-footer p { margin-top:7px; color:#7b8492; font-size:12px; line-height:1.8; }
/* Rich modules: shared controls and panels. */
.tfa-demo-content :is(.tfa-demo-app,.tfa-audio-app) { width:100%; min-width:0; border:1px solid var(--demo-line); border-radius:9px; padding:23px; background:#fff; box-shadow:0 6px 23px #17234506; }
.tfa-demo-content :is(h2,h3,h4) { color:var(--demo-deep); margin:0 0 13px!important; line-height:1.3; letter-spacing:-.025em; }.tfa-demo-content h3 { font-size:20px; }.tfa-demo-content h4 { font-size:15px; }
.tfa-demo-content p,body.tfa-commerce .tfa-build-home .tfa-demo-content p { margin:10px 0; font-size:14px; line-height:1.8; }
.tfa-demo-content :is(button,input,textarea,select) { font-family:inherit; max-width:100%; font-size:14px; line-height:1.5; }
.tfa-demo-content :is(input,textarea,select) { display:block; width:100%; min-width:0; min-height:46px; padding:11px 13px; color:#344156; background:#fff; border:1px solid var(--demo-line); border-radius:5px; box-shadow:none; }.tfa-demo-content textarea { min-height:130px; resize:vertical; }.tfa-demo-content input[type=range] { min-height:36px; border:0; padding:0; accent-color:var(--demo-accent); }
.tfa-demo-content :is(.demo-btn,.tfa-demo-button,.tfa-audio-start,.tfa-audio-stop,.tfa-audio-step) { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:45px; padding:11px 17px; background:#fff; color:var(--demo-accent); border:1px solid var(--demo-line); border-radius:5px; font-weight:650; text-decoration:none; cursor:pointer; box-shadow:none; }.tfa-demo-content :is(.demo-btn-primary,.tfa-audio-start) { color:#fff; background:var(--demo-accent); border-color:var(--demo-accent); }.tfa-demo-content .demo-btn-danger { color:#b24d60; border-color:#efcad2; background:#fff6f8; }.tfa-demo-content button:disabled { opacity:.45; cursor:default; }
.demo-toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-bottom:20px; }.demo-toolbar > :is(input,select) { width:auto; flex:1; min-width:150px; }.demo-actions { display:flex; flex-wrap:wrap; align-items:center; gap:9px; margin-top:16px; }
.demo-kpis { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px; margin-bottom:22px; }.demo-kpi { display:grid; gap:7px; padding:17px; border:1px solid var(--demo-line); border-radius:7px; color:#7b8798; background:var(--demo-soft); font-size:12px; }.demo-kpi :is(strong,b,output) { color:var(--demo-deep); font-size:29px; font-weight:650; line-height:1.1; font-variant-numeric:tabular-nums; }
.demo-layout { display:grid; grid-template-columns:minmax(170px,.7fr) minmax(0,1.7fr); gap:19px; }.demo-sidebar,.demo-main { min-width:0; }.demo-panel { padding:19px; border:1px solid var(--demo-line); border-radius:7px; background:#fff; }.demo-list { display:grid; gap:8px; list-style:none; padding:0; margin:0; }.demo-row { display:flex; align-items:center; gap:12px; min-width:0; padding:14px; border:1px solid var(--demo-line); border-radius:6px; background:#fff; color:#3c4860; }.demo-row.is-selected { background:var(--demo-soft); border-color:var(--demo-accent); }.demo-row-main { flex:1; min-width:0; }.demo-row-main :is(strong,span,small) { display:block; }.demo-row-main strong { font-size:14px; line-height:1.5; color:var(--demo-deep); }.demo-row-main small { color:#8a94a3; font-size:12px; line-height:1.6; }.demo-row-actions { display:flex; flex-wrap:wrap; gap:7px; flex:0 0 auto; }.demo-empty { padding:25px; text-align:center; background:var(--demo-soft); color:#718092; border-radius:6px; }
.demo-form { display:grid; gap:15px; }.demo-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; }.demo-field { display:grid; min-width:0; gap:7px; color:#4c5970; font-size:13px; font-weight:600; line-height:1.6; }.demo-pill { display:inline-flex; align-items:center; padding:4px 9px; color:var(--demo-accent); background:var(--demo-soft); border-radius:20px; font-size:11px; line-height:1.5; font-weight:650; }.demo-muted { color:#7e8999; font-size:12px; }.demo-status { min-height:24px; color:var(--demo-deep); font-size:13px; line-height:1.8; margin-top:15px; }
/* SONORA audio instrument. */
.tfa-audio-top { display:flex; flex-wrap:wrap; align-items:center; gap:12px; justify-content:space-between; }.tfa-audio-badge { padding:5px 10px; background:var(--demo-soft); border:1px solid var(--demo-line); border-radius:20px; color:var(--demo-accent); font-size:11px; font-weight:700; }.tfa-audio-status { color:#748e95; font-size:12px; }
.tfa-audio-readout { padding:28px 10px 16px; text-align:center; color:var(--demo-deep); }.tfa-audio-value { font-size:clamp(58px,9vw,88px); line-height:1.05; font-weight:600; letter-spacing:-.065em; font-variant-numeric:tabular-nums; }.tfa-audio-unit { margin-left:9px; font-size:21px; font-weight:500; color:#65a0a4; }.tfa-audio-caption,.tfa-audio-spl-caption { display:block; margin-top:10px; font-size:12px; line-height:1.7; color:#75999e; }
.tfa-audio-meter { height:13px; background:#e5f1f0; border-radius:7px; overflow:hidden; margin:12px 0; }.tfa-audio-meter-fill { height:100%; width:0; background:linear-gradient(90deg,#11b6ab,#56d6ac,#e7ba6e); border-radius:7px; }.tfa-audio-history { display:flex; align-items:end; gap:3px; height:68px; padding:10px; background:#f1faf8; border:1px solid #d5eae7; border-radius:6px; margin:16px 0; overflow:hidden; }.tfa-audio-history-bar { flex:1; min-width:2px; background:#48b6ac; border-radius:2px; }
.tfa-audio-actions { display:flex; justify-content:center; flex-wrap:wrap; gap:11px; margin:20px 0; }.tfa-audio-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:20px 0; }.tfa-audio-metric { display:grid; gap:5px; padding:15px; border:1px solid var(--demo-line); border-radius:7px; background:#f5fbfa; color:#779b9d; font-size:12px; }.tfa-audio-metric :is(strong,output) { font-size:23px; color:var(--demo-deep); font-weight:600; line-height:1.3; }.tfa-audio-processing { font-size:12px; color:#779393; text-align:center; }
.tfa-audio-calibration { padding:18px; margin-top:20px; border:1px solid var(--demo-line); border-radius:6px; background:#f9fcfc; }.tfa-audio-calibration > summary { font-size:14px; color:var(--demo-deep); font-weight:650; cursor:pointer; min-height:30px; }.tfa-audio-field { display:grid; gap:8px; margin-top:14px; font-size:13px; color:#617a83; }.tfa-audio-offset { font-variant-numeric:tabular-nums; }.tfa-audio-note { color:#778e94; font-size:12px; line-height:1.8; }.tfa-audio-clipping,.tfa-audio-error { padding:12px 15px; background:#fff3e4; border-left:3px solid #d3944e; color:#89633e; font-size:13px; line-height:1.7; margin-top:15px; }.tfa-audio-spl-value { display:block; color:var(--demo-deep); font-size:24px; margin-top:16px; font-variant-numeric:tabular-nums; }
/* LUMI MAIL workspace. */
.tfa-mail-app .demo-layout { grid-template-columns:minmax(140px,.55fr) minmax(190px,.9fr) minmax(0,1.45fr); }.mail-folders { display:grid; align-content:start; gap:8px; }.mail-folders button { justify-content:flex-start; background:transparent; border-color:transparent; }.mail-folders :is([aria-pressed=true],.is-active) { color:var(--demo-accent); background:var(--demo-soft); border-color:var(--demo-line); }.mail-list { display:grid; gap:8px; align-content:start; }.mail-preview,.mail-compose { min-width:0; padding:21px; background:#fff; border:1px solid var(--demo-line); border-radius:7px; }.mail-preview p { line-height:1.9!important; }.mail-compose { margin-top:18px; }
/* PIXEL PULSE game. */
.tfa-demo-content .tfa-game-app { background:radial-gradient(ellipse at top,#5e3278 0,transparent 66%),#27183e; color:#f6ebff; border-color:#56316f; }.tfa-game-app :is(h3,h4),.tfa-game-app .demo-kpi :is(strong,b) { color:#f5eaff!important; }.tfa-game-app .demo-muted,.tfa-game-app .demo-status { color:#ccb5df; }.tfa-game-app .demo-kpi { background:#ffffff09; border-color:#815ca33d; color:#b89dd0; }.tfa-game-app .demo-btn-primary { background:#ff966f; color:#3d234a; border-color:#ff966f; }.game-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px; max-width:470px; margin:22px auto; }.game-cell { aspect-ratio:1; min-height:65px; border:1px solid #81579c; border-radius:10px; background:#49315f; color:#d0b6ef; font-size:27px; font-weight:700; cursor:pointer; box-shadow:inset 0 -5px 0 #241b3b66; }.game-cell.is-target { background:#ff956f; color:#3b204c; border-color:#ffc5a2; box-shadow:0 0 24px #ff92702c; }.game-stats { display:flex; flex-wrap:wrap; justify-content:center; gap:20px; color:#c5a4df; }.game-score { color:#ffb093; font-size:35px; font-weight:700; }.game-feedback { text-align:center; min-height:28px; color:#ffc2a9; font-size:14px; }
/* STUDIO FLEUR booking. */
.tfa-booking-app h3 { font-family:Georgia,serif; font-weight:500; font-size:25px; }.booking-services { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:11px; margin-bottom:22px; }.booking-service { text-align:left; display:grid; gap:7px; padding:17px; border:1px solid var(--demo-line); border-radius:8px; background:#fff; color:#a2798b; cursor:pointer; }.booking-service :is(strong,b) { color:var(--demo-deep); font-size:15px; }.booking-service :is(small,span) { font-size:12px; }.booking-service[aria-pressed=true],.booking-service.is-selected { background:#fff0f5; border-color:var(--demo-accent); box-shadow:inset 0 0 0 1px var(--demo-accent); }.booking-slots { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin:18px 0; }.booking-slot { min-height:47px; color:var(--demo-accent); border:1px solid var(--demo-line); background:#fff; border-radius:6px; cursor:pointer; }.booking-slot[aria-pressed=true],.booking-slot.is-selected { color:#fff; background:var(--demo-accent); border-color:var(--demo-accent); }.booking-summary { margin-top:20px; padding:20px; border:1px solid var(--demo-line); border-radius:8px; background:#fff6f8; }.booking-list { display:grid; gap:9px; padding:0; list-style:none; }
/* NORDWERK inventory. */
.inventory-table { width:100%; border-collapse:collapse; color:#466d5e; font-size:13px; }.inventory-table th { padding:12px 10px; text-align:left; color:#7f9c90; background:#f1f8f4; font-size:11px; font-weight:700; }.inventory-table td { padding:15px 10px; border-bottom:1px solid var(--demo-line); vertical-align:middle; }.inventory-table tr.is-low { background:#fff9e9; }.inventory-table .is-low,.inventory-table tr.is-low .demo-pill { color:#9e782e; background:#fff0c7; }.inventory-quantity { display:inline-flex; align-items:center; gap:9px; }.inventory-quantity button { min-width:42px; min-height:42px; padding:6px; }.inventory-quantity :is(strong,output,span) { min-width:25px; text-align:center; font-size:16px; font-variant-numeric:tabular-nums; }.inventory-add { margin-top:23px; padding:20px; border:1px solid var(--demo-line); background:#f5faf7; border-radius:7px; }
@media(max-width:1100px){.tfa-examples-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.tfa-mail-app .demo-layout{grid-template-columns:minmax(150px,.8fr) minmax(0,1.5fr);}.mail-folders{grid-column:1/-1;display:flex;flex-wrap:wrap;}.booking-services{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:680px){
 .tfa-examples{padding-top:52px;scroll-margin-top:100px;}.tfa-examples-heading{grid-template-columns:1fr;gap:20px;margin-bottom:25px;}.tfa-examples-heading h2{font-size:34px;}.tfa-examples-grid{grid-template-columns:minmax(0,1fr);gap:22px;}.tfa-example-mini{height:272px;}.tfa-example-card-body{padding:24px;}.tfa-example-card h3{font-size:26px;}.tfa-example-card-body > p,body.tfa-commerce .tfa-build-home .tfa-example-card-body > p{font-size:14px;}
 .tfa-example-dialog{width:calc(100% - 16px);max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);}.tfa-example-dialog-header{padding:17px 17px 15px;gap:13px;}.tfa-demo-brand{font-size:12px;margin-bottom:9px;}.tfa-example-dialog-header h2{font-size:21px;}.tfa-example-dialog-header .tfa-examples-eyebrow{font-size:8px;}.tfa-demo-close{flex-basis:44px;width:44px;height:44px;min-height:44px;}.tfa-demo-disclaimer,body.tfa-commerce .tfa-build-home .tfa-demo-disclaimer{padding:13px 17px;font-size:11px;}.tfa-demo-content{padding:14px 12px 18px;}.tfa-demo-content :is(.tfa-demo-app,.tfa-audio-app){padding:17px 13px;}.tfa-example-dialog-footer{grid-template-columns:1fr;gap:15px;padding:20px 17px;}.tfa-example-dialog-footer > a{min-height:47px;}
 .demo-kpis{gap:8px;}.demo-kpi{padding:13px 10px;font-size:10px;}.demo-kpi :is(strong,b,output){font-size:23px;}.demo-layout,.tfa-mail-app .demo-layout{grid-template-columns:minmax(0,1fr);}.demo-toolbar{gap:9px;}.demo-toolbar > :is(input,select){min-width:0;width:100%;flex-basis:100%;}.demo-form-grid{grid-template-columns:minmax(0,1fr);}.demo-row{flex-wrap:wrap;padding:12px;}.demo-row-actions{flex-wrap:wrap;}.demo-panel{padding:15px 12px;}.tfa-demo-content :is(input,textarea,select){font-size:16px;}.mail-folders{gap:6px;}.mail-folders button{padding:9px 11px;font-size:12px;}.mail-preview,.mail-compose{padding:17px 13px;}.game-grid{gap:10px;}.game-cell{min-height:60px;border-radius:7px;}.booking-services{grid-template-columns:1fr;}.booking-slots{grid-template-columns:repeat(2,minmax(0,1fr));}.booking-summary{padding:16px;}.tfa-audio-readout{padding-top:24px;}.tfa-audio-metrics{gap:7px;}.tfa-audio-metric{padding:12px 8px;font-size:10px;}.tfa-audio-metric :is(strong,output){font-size:19px;}.tfa-audio-unit{font-size:17px;}.tfa-audio-calibration{padding:14px 12px;}.inventory-table{font-size:11px;}.inventory-table th,.inventory-table td{padding:10px 5px;}.inventory-quantity{gap:5px;}.inventory-quantity button{min-width:36px;min-height:42px;}.inventory-add{padding:15px 12px;}
}
@media(max-width:360px){.tfa-example-card-body{padding:22px 19px;}.tfa-example-mini{padding-inline:17px;}.tfa-mini-mail-layout{grid-template-columns:58px minmax(0,1fr);gap:9px;}.tfa-mini-mail-list{gap:6px;}.tfa-mini-mail-list > div{padding:10px 7px;}.tfa-audio-metrics,.demo-kpis{grid-template-columns:1fr;}.tfa-audio-metric,.demo-kpi{display:flex;justify-content:space-between;align-items:center;}.tfa-audio-value{font-size:57px;}.tfa-mini-brand > strong{font-size:12px;}}
/* Module-specific layouts and calibrated secondary scale. */
body.tfa-commerce:has(.tfa-example-dialog[open]) { overflow:hidden; }
.tfa-demo-content button { appearance:none; }
.tfa-demo-content button.demo-row-main { appearance:none; display:block; flex:1; width:100%; min-width:0; padding:0; margin:0; border:0; border-radius:0; background:transparent; color:inherit; box-shadow:none; font:inherit; line-height:inherit; text-align:left; cursor:pointer; }
.tfa-demo-content .booking-service { display:grid; align-content:start; justify-items:start; text-align:left; gap:7px; }
.tfa-demo-content .game-cell { font-size:27px; }
.tfa-demo-brand::before { display:none; }
.tfa-demo-brand .tfa-mini-logo { width:26px; height:26px; flex-basis:26px; border-radius:6px; }
.tfa-demo-brand .tfa-mini-logo svg { width:20px; height:20px; }
.tfa-demo-content input[type=checkbox] { display:inline-block; width:18px; min-width:18px; height:18px; min-height:18px; padding:0; margin:0 8px 0 0; vertical-align:middle; accent-color:var(--demo-accent); }
.demo-toolbar > .demo-field { flex:1; min-width:140px; }.mail-message-body { white-space:pre-wrap; overflow-wrap:anywhere; }.mail-list .is-unread .demo-row-main strong { font-weight:750; }.demo-status[data-error=true] { color:#a03f55; padding:10px 12px; border-left:3px solid #bd6879; background:#fff1f3; }
.tfa-mail-app .mail-layout { grid-template-columns:minmax(120px,.48fr) minmax(170px,.85fr) minmax(0,1.4fr); }.tfa-booking-app .booking-layout { grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); }.booking-service :is(strong,span,small) { display:block; }.game-grid[data-size="3"] { grid-template-columns:repeat(3,minmax(0,1fr)); }.game-grid[data-size="4"] { grid-template-columns:repeat(4,minmax(0,1fr)); }.game-stats.demo-kpis { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }.game-stats .demo-kpi { min-width:0; }
.inventory-table .demo-row { flex-wrap:wrap; }.inventory-quantity input { max-width:5rem; min-width:0; }.inventory-quantity { flex-wrap:wrap; }.inventory-table .demo-row.is-low { background:#fffbef; border-color:#e8d7a6; }.inventory-table .demo-row.is-low .demo-pill { color:#937025; background:#fff0c5; }
.tfa-audio-spl-scale { margin-top:17px; padding:14px 0 1px; opacity:.55; }.tfa-audio-spl-scale[data-active=true] { opacity:1; }.tfa-audio-spl-track { height:9px; overflow:hidden; border-radius:5px; background:#e2ecea; }.tfa-audio-spl-fill { height:100%; width:0; background:linear-gradient(90deg,#5daaa1,#56c2a0,#e4b261); border-radius:5px; }.tfa-audio-spl-ticks { display:flex; justify-content:space-between; margin-top:8px; color:#80938e; font-size:10px; font-variant-numeric:tabular-nums; }
@media(max-width:1000px){.tfa-mail-app .mail-layout{grid-template-columns:minmax(180px,.9fr) minmax(0,1.5fr);}.tfa-mail-app .mail-folders{grid-column:1/-1;display:flex;flex-wrap:wrap;}}
@media(max-width:680px){.tfa-mail-app .mail-layout,.tfa-booking-app .booking-layout{grid-template-columns:minmax(0,1fr);}.game-stats.demo-kpis{grid-template-columns:repeat(2,minmax(0,1fr));}.demo-toolbar>.demo-field{flex-basis:100%;min-width:0;}.inventory-quantity{gap:7px;}.inventory-quantity .demo-btn{padding:8px 10px;}.game-grid[data-size="4"]{gap:7px;}.game-grid[data-size="4"] .game-cell{min-height:48px;}}
.tfa-demo-content :is(.tfa-audio-reset,.tfa-audio-calibrate) { appearance:none; display:inline-flex; align-items:center; justify-content:center; min-height:45px; max-width:100%; padding:11px 17px; border:1px solid var(--demo-line); border-radius:5px; background:#fff; color:var(--demo-accent); font:inherit; font-size:14px; font-weight:650; line-height:1.5; text-align:center; cursor:pointer; box-shadow:none; }
.tfa-demo-content .tfa-audio-calibrate { color:#fff; background:var(--demo-accent); border-color:var(--demo-accent); margin-top:12px; }
.tfa-audio-offset-controls { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr) minmax(0,1fr); gap:9px; align-items:center; }
.tfa-demo-content .tfa-audio-offset-controls .tfa-audio-step { min-width:0; padding:11px 7px; font-size:12px; white-space:normal; }
.tfa-audio-offset-controls .tfa-audio-offset { min-width:0; text-align:center; }
.tfa-demo-content .tfa-audio-offset-controls .tfa-audio-reset { grid-column:1/-1; width:100%; }
.tfa-audio-meter-fill,.tfa-audio-spl-fill { display:block; }
.tfa-audio-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
.tfa-inventory-app .demo-kpis { grid-template-columns:repeat(4,minmax(0,1fr)); }
@media(max-width:680px){.tfa-inventory-app .demo-kpis{grid-template-columns:repeat(2,minmax(0,1fr));}.tfa-audio-offset-controls{gap:7px;}.tfa-demo-content .tfa-audio-offset-controls input{padding-inline:5px;font-size:14px;}}
@media(max-width:680px){.inventory-quantity.demo-row-actions{flex:1 1 100%;min-width:0;max-width:100%;}.tfa-inventory-app .demo-kpi,.tfa-game-app .demo-kpi{display:grid;min-width:0;justify-content:normal;}}
@media(prefers-reduced-motion:reduce){.tfa-examples *, .tfa-examples *::before,.tfa-examples *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important;}}
