/* Functional product scenes. One input changes the operation and its result. */
.fd-demo {
  --fd-ink: #20281d;
  --fd-muted: #67715e;
  --fd-border: #e2e7dc;
  --fd-soft: #f5f7f1;
  --fd-lime: var(--color-accent);
  --fd-green: #436b22;
  --fd-ease: cubic-bezier(.22, 1, .36, 1);
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: clip;
  border: 1px solid #dfe5d7;
  border-radius: 14px;
  background: radial-gradient(ellipse at 100% 0, #e8f4c83d, transparent 45%), #fff;
  box-shadow: 0 12px 36px #1d321008, 0 2px 6px #1d321004;
  color: var(--fd-ink);
  font: 400 12px/1.45 Geist, sans-serif;
  text-align: left;
  isolation: isolate;
}
.fd-demo *, .fd-demo *::before, .fd-demo *::after { box-sizing: border-box; }
.fd-demo :is(h3, h4, p, b, strong) { font-family: Geist, sans-serif; letter-spacing: normal; }
.fd-demo :is(h3, h4) { font-weight: 600; line-height: 1.4; text-wrap: initial; }
.fd-demo button, .fd-demo input, .fd-demo select { font: inherit; }
.fd-demo button { touch-action: manipulation; }
.fd-demo button:focus-visible, .fd-demo input:focus-visible, .fd-demo select:focus-visible, .fd-demo summary:focus-visible { outline: 2px solid #729723; outline-offset: 3px; }
.fd-demo button:disabled { cursor: not-allowed; opacity: .45; }
.fd-demo [hidden] { display: none !important; }
.fd-icon { display: block; width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.fd-demo .arrow { width: 14px; height: 14px; }
.fd-toolbar { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 13px 18px; border-bottom: 1px solid var(--fd-border); background: #ffffffb3; }
.fd-demo-label { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 12px; font-weight: 600; }
.fd-demo-label > .fd-icon { width: 16px; height: 16px; color: #74885e; }
.fd-demo-label small { font-size: 11px; font-weight: 400; color: var(--fd-muted); }
.fd-controls { display: flex; align-items: center; gap: 5px; margin-left: auto; }
.fd-controls button, .fd-stagebutton, .fd-control { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 32px; min-height: 32px; padding: 6px 9px; border: 1px solid var(--fd-border); border-radius: 7px; background: #fff; color: #57634b; font-size: 11px; font-weight: 500; line-height: 1.3; transition: border-color .25s, background .25s, color .25s, box-shadow .25s; }
.fd-controls button:hover, .fd-control:hover, .fd-stagebutton:hover { background: #f2f6e9; border-color: #c6d4b3; color: #283e18; }
.fd-controls button .fd-icon { width: 13px; height: 13px; }
.fd-stagecontrol { display: flex; align-items: center; gap: 6px; }
.fd-stagebutton { padding: 6px 7px; }
.fd-stagebutton[aria-pressed=true] { background: #f0f6e3; border-color: #c3d4a6; color: #3e5f23; }
.fd-progress { display: flex; align-items: center; gap: 4px; }
.fd-progress > * { width: 15px; height: 3px; border-radius: 3px; background: #e4e9dc; transition: background .3s, width .3s var(--fd-ease); }
.fd-progress > .is-complete, .fd-progress > .is-selected, .fd-progress > [aria-current=step] { background: #88b039; }
.fd-progress > .is-selected, .fd-progress > [aria-current=step] { width: 23px; }
.fd-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 41px; padding: 11px 18px; border-top: 1px solid var(--fd-border); background: #fafbf7; color: #69745e; font-size: 11px; line-height: 1.5; }
.fd-caption p { font-size: inherit; line-height: inherit; color: inherit; }
.fd-caption .fd-icon { width: 13px; height: 13px; }
.fd-kicker { display: flex; align-items: center; gap: 6px; margin: 0; color: #707b66; font-size: 11px; font-weight: 500; line-height: 1.4; }
.fd-kicker > span:first-child:not(:only-child) { font-variant-numeric: tabular-nums; }
.fd-muted { color: var(--fd-muted); }
.fd-badge, .fd-status, .fd-tag { display: inline-flex; align-items: center; gap: 4px; width: fit-content; max-width: 100%; padding: 3px 6px; border: 1px solid #e1e7d8; border-radius: 5px; color: #65735a; background: #f6f8f2; font-size: 10px; font-weight: 500; line-height: 1.35; white-space: nowrap; }
.fd-status--available, .fd-status.is-available, .fd-status[data-status=available], .fd-badge--success { color: #4f6d2b; background: #eff6e3; border-color: #dce8c9; }
.fd-status--sold, .fd-status.is-sold, .fd-status[data-status=sold] { color: #68735d; background: #eff1eb; border-color: #dfe4d8; }
.fd-status--rented, .fd-status.is-rented, .fd-status[data-status=rented] { color: #716182; background: #f2eef7; border-color: #e4dcec; }
.fd-status > .fd-icon, .fd-badge > .fd-icon { width: 11px; height: 11px; }
.fd-toggle { position: relative; width: 27px; height: 16px; flex: none; padding: 0; border: 0; border-radius: 20px; background: #d9dfd1; transition: background .25s; }
.fd-toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #23311326; transition: transform .25s var(--fd-ease); }
.fd-toggle[aria-pressed=true], .fd-toggle.is-on { background: #87aa3f; }
.fd-toggle[aria-pressed=true]::after, .fd-toggle.is-on::after { transform: translateX(11px); }
.fd-action { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 7px 10px; border: 1px solid #cfdfb1; border-radius: 7px; background: #eaf5d2; color: #3a5421; font-size: 11px; font-weight: 500; transition: background .25s, border-color .25s, transform .3s var(--fd-ease); }
.fd-action .fd-icon { width: 13px; height: 13px; }
.fd-action:hover { background: #e0efbf; border-color: #a9c37b; }
.fd-action:active { transform: translateY(1px); }
.fd-dot { display: inline-block; width: 5px; height: 5px; flex: none; border-radius: 50%; background: #89b23d; }
.fd-avatar { display: grid; place-items: center; width: 31px; height: 31px; flex: none; border: 1px solid #dbe4cf; border-radius: 50%; background: #edf3e3; color: #667b4e; font-size: 10px; font-weight: 600; }

/* Social source -> the relevant bio link -> a structured enquiry. */
.fd-demo[data-functional-demo=social] { margin-top: 30px; }
.fd-journey-options { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 20px 0; }
.fd-journey-options > div, .fd-option-group { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.fd-journey-options .fd-kicker { margin-right: 5px; }
.fd-journey-options button, .fd-source-choice, .fd-intent-choice { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 32px; padding: 6px 10px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: #6b775d; font-size: 11px; line-height: 1.4; transition: border-color .3s, background .3s, color .3s; }
.fd-journey-options button[aria-pressed=true], .fd-source-choice.is-selected, .fd-intent-choice.is-selected { border-color: #dce7cc; background: #eff5e4; color: #36501e; }
.fd-journey-options button:hover { color: #273d18; background: #f3f7eb; }
.fd-journey-options .fd-icon { width: 13px; height: 13px; }
.fd-flow-canvas { position: relative; display: grid; grid-template-columns: minmax(0, .82fr) 40px minmax(0, 1.12fr) 40px minmax(0, 1fr); gap: 0; align-items: center; min-height: 295px; padding: 23px 28px 22px; }
.fd-source-stack { display: grid; gap: 9px; min-width: 0; align-self: center; }
.fd-source-stack > .fd-kicker { padding-bottom: 2px; }
.fd-source-row { position: relative; display: flex; align-items: center; gap: 9px; min-height: 47px; padding: 10px 11px; border: 1px solid #e2e7dc; border-radius: 8px; background: #fff; color: #5f6c54; text-align: left; transition: border-color .35s, background .35s, box-shadow .35s, transform .35s var(--fd-ease); }
.fd-source-row > .fd-icon, .fd-source-logo { display: grid; place-items: center; width: 26px; height: 26px; flex: none; padding: 5px; border: 1px solid #e6eadd; border-radius: 6px; background: #f8faf3; color: #6b7c5d; }
.fd-source-row > div { min-width: 0; }
.fd-source-row b { display: block; color: #39482d; font-size: 11px; font-weight: 500; }
.fd-source-row small { display: block; margin-top: 1px; color: #849077; font-size: 10px; }
.fd-source-row.is-selected, .fd-source-row[aria-pressed=true], .fd-source-row[data-active=true] { border-color: #c5d89f; color: #547d27; background: #f9fcf2; box-shadow: 0 3px 12px #6d912c0a; }
.fd-source-row.is-selected > .fd-icon, .fd-source-row[aria-pressed=true] > .fd-icon { border-color: #d8e6bc; background: #eff5e3; color: #658b35; }
.fd-post-bars { display: flex; flex-direction: column; gap: 4px; margin-left: auto; width: 25px; flex: none; }
.fd-post-bars i, .fd-post-bars span { display: block; width: 100%; height: 3px; border-radius: 2px; background: #e8edde; }
.fd-post-bars :nth-child(2) { width: 73%; }
.fd-post-bars :nth-child(3) { width: 45%; }
.fd-bio-window, .fd-inbox-window { position: relative; min-width: 0; align-self: center; border: 1px solid #dce4d1; border-radius: 10px; background: #fff; box-shadow: 0 8px 24px #273d0d06; }
.fd-bio-address { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 31px; padding: 8px 10px; border-bottom: 1px solid #e8ecdf; border-radius: 10px 10px 0 0; background: #f9faf7; color: #839073; font-size: 10px; line-height: 1.3; }
.fd-bio-address .fd-icon { width: 11px; height: 11px; }
.fd-bio-header { display: flex; align-items: center; gap: 8px; padding: 13px 12px 10px; }
.fd-bio-header > div { min-width: 0; }
.fd-bio-header b { display: block; font-size: 12px; color: #2f4026; font-weight: 600; }
.fd-bio-header small { display: block; font-size: 10px; color: #849075; margin-top: 1px; }
.fd-bio-monogram { display: grid; place-items: center; width: 29px; height: 29px; flex: none; border-radius: 50%; background: #273420; color: #cbe98d; font-size: 10px; font-weight: 600; }
.fd-bio-links { display: grid; gap: 5px; padding: 0 10px 11px; }
.fd-bio-row { position: relative; display: flex; align-items: center; gap: 7px; width: 100%; min-height: 37px; padding: 8px 9px; border: 1px solid #e5eade; border-radius: 6px; background: #f9faf7; color: #65725a; font-size: 11px; line-height: 1.4; text-align: left; transition: background .35s, border-color .35s, color .35s, transform .35s var(--fd-ease), box-shadow .35s; }
.fd-bio-row .fd-icon { width: 14px; height: 14px; color: #7a8c67; }
.fd-bio-row > .fd-icon:last-child:not(:first-child), .fd-bio-row > .arrow:last-child { width: 11px; height: 11px; margin-left: auto; }
.fd-bio-row.is-selected, .fd-bio-row[aria-pressed=true], .fd-bio-row[data-active=true], .fd-bio-selected { border-color: #cdddac; background: #f0f6e4; color: #3d5c22; box-shadow: 0 2px 6px #82a74608; }
.fd-bio-row.is-selected .fd-icon, .fd-bio-row[aria-pressed=true] .fd-icon { color: #618a32; }
.fd-bio-row:hover { border-color: #b8cd95; background: #f0f7e1; }
.fd-inbox-heading { display: flex; align-items: center; justify-content: space-between; gap: 7px; padding: 11px 12px; border-bottom: 1px solid #e6ebdf; font-size: 11px; font-weight: 600; }
.fd-inbox-heading .fd-icon { width: 14px; height: 14px; color: #73875f; }
.fd-inbox-heading > span { display: inline-flex; align-items: center; gap: 6px; }
.fd-enquiry-fields { display: grid; gap: 8px; padding: 12px; }
.fd-enquiry-fields label, .fd-enquiry-field { display: grid; gap: 4px; color: #7a866d; font-size: 10px; }
.fd-enquiry-fields input, .fd-enquiry-fields textarea, .fd-enquiry-fields .fd-input-sim { display: block; width: 100%; min-height: 29px; padding: 7px 8px; border: 1px solid #e2e8d9; border-radius: 5px; background: #fbfcf9; color: #66715c; font-size: 10px; line-height: 1.4; }
.fd-enquiry-fields textarea { min-height: 43px; resize: none; }
.fd-enquiry-submit { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 30px; padding: 6px 9px; border: 1px solid #a9ce62; border-radius: 5px; background: var(--color-accent); color: #34471d; font-size: 10px; font-weight: 500; transition: background .3s, transform .3s var(--fd-ease), box-shadow .3s; }
.fd-enquiry-submit .fd-icon { width: 12px; height: 12px; }
.fd-enquiry-submit:hover { background: #c7ef5b; box-shadow: 0 3px 8px #7c9b2a17; }
.fd-enquiry-submit:active { transform: translateY(1px); }
.fd-inbox-record { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 0 12px 12px; padding: 10px; border: 1px solid #d5e4bc; border-radius: 7px; background: #f4f9eb; color: #4c662e; transition: opacity .35s, transform .5s var(--fd-ease), border-color .3s, background .3s; }
.fd-inbox-record > .fd-icon { width: 16px; height: 16px; flex: none; }
.fd-inbox-record b { display: block; color: #3e5926; font-size: 11px; font-weight: 500; }
.fd-inbox-record small { display: block; color: #7c8d69; font-size: 10px; }
.fd-inbox-record .fd-status { margin-left: auto; }
.fd-inbox-record time { margin-left: auto; color: #849477; font-size: 9px; }
.fd-notification { display: inline-flex; align-items: center; gap: 5px; color: #608039; font-size: 10px; }
.fd-route { position: relative; display: grid; place-items: center; width: 100%; min-width: 0; height: 40px; overflow: visible; }
.fd-route > svg { width: 100%; height: 40px; overflow: visible; fill: none; stroke: #dbe4ce; stroke-width: 1.2; }
.fd-route .fd-packet { stroke: #90b841; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 7 50; stroke-dashoffset: 57; opacity: 0; }
.fd-route::after { content: ''; position: absolute; right: 5px; top: 17px; width: 5px; height: 5px; border-top: 1px solid #a9bd89; border-right: 1px solid #a9bd89; transform: rotate(45deg); }
.fd-pointer { position: absolute; z-index: 3; left: 65%; top: 63%; width: 18px; height: 22px; fill: #303d24; stroke: #fff; stroke-width: 1.25; filter: drop-shadow(0 2px 2px #263c1426); pointer-events: none; opacity: 0; transform: translate(12px, 9px); transition: transform .45s var(--fd-ease), opacity .25s; }
.fd-flow-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 20px 15px; color: #6f7f61; font-size: 11px; }
.fd-flow-status > span { display: flex; align-items: center; gap: 6px; min-height: 16px; }
.fd-flow-status .fd-icon { width: 13px; height: 13px; }
.fd-pipeline { display: flex; align-items: center; gap: 5px; flex: none; }
.fd-pipeline > * { position: relative; width: 25px; height: 3px; border-radius: 3px; background: #e4eadb; transition: background .3s; }
.fd-pipeline > .is-complete, .fd-pipeline > .is-selected { background: #8db440; }
.fd-demo[data-phase="1"] .fd-source-row.is-selected { border-color: #9cbe64; box-shadow: 0 0 0 3px #b7d38b16; transform: translateX(2px); }
.fd-demo[data-phase="2"] .fd-route:first-of-type .fd-packet, .fd-demo[data-phase="2"] .fd-route .fd-packet { animation: fd-packet .65s var(--fd-ease) both; }
.fd-demo[data-phase="2"] .fd-bio-row.is-selected { background: #e5f1cc; border-color: #a8c776; transform: scale(.98); }
.fd-demo[data-phase="2"] .fd-pointer { opacity: 1; transform: translate(0, 0); }
.fd-demo[data-phase="3"] .fd-pointer { opacity: 1; transform: translate(13px, 32px); }
.fd-demo[data-phase="3"] .fd-route:last-of-type .fd-packet { animation: fd-packet .65s var(--fd-ease) both; }
.fd-demo[data-phase="3"] .fd-enquiry-fields :is(input, textarea, .fd-input-sim) { border-color: #c6dba8; background: #fbfdf7; }
.fd-demo[data-phase="3"] .fd-enquiry-submit { box-shadow: 0 0 0 3px #bceb3820; }
.fd-demo[data-phase="4"] .fd-enquiry-submit { background: #d8e8bf; border-color: #ccdeaf; color: #526b37; }
.fd-demo[data-phase="4"] .fd-inbox-record { animation: fd-result-in .5s var(--fd-ease) both; }
@keyframes fd-packet { 0% { opacity: 0; stroke-dashoffset: 57; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; stroke-dashoffset: 0; } }
@keyframes fd-result-in { from { opacity: .2; transform: translateY(9px) scale(.98); } to { opacity: 1; transform: none; } }

/* Availability changes once, then the public collection follows. */
.fd-management-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; align-items: start; padding: 20px 18px; }
.fd-listing-table { display: grid; min-width: 0; gap: 6px; }
.fd-listing-table > .fd-kicker, .fd-listing-preview > .fd-kicker { margin-bottom: 7px; }
.fd-listing-row { position: relative; display: flex; align-items: center; gap: 8px; width: 100%; min-height: 55px; padding: 8px; border: 1px solid #e5eade; border-radius: 7px; background: #fff; color: #58654e; text-align: left; transition: border-color .3s, background .3s, transform .4s var(--fd-ease), opacity .4s; }
.fd-listing-row.is-selected, .fd-listing-row[aria-pressed=true] { border-color: #c5d6a7; background: #f6faed; }
.fd-listing-row:hover { border-color: #bacd9b; background: #f7faef; }
.fd-thumb { display: grid; place-items: center; width: 30px; height: 32px; flex: none; overflow: hidden; border: 1px solid #e0e8d4; border-radius: 5px; background: #f0f4e8; color: #91a479; }
.fd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fd-thumb .fd-icon { width: 17px; height: 17px; }
.fd-listing-name { min-width: 0; flex: 1; }
.fd-listing-name b, .fd-listing-row > span > b { display: block; color: #3a4830; font-size: 10px; font-weight: 500; line-height: 1.5; }
.fd-listing-name small, .fd-listing-row > span > small { display: block; margin-top: 1px; color: #869477; font-size: 9px; line-height: 1.45; }
.fd-listing-row .fd-status { flex: none; padding: 3px 5px; font-size: 9px; }
.fd-listing-row .fd-toggle { width: 23px; height: 14px; }
.fd-listing-row .fd-toggle::after { width: 8px; height: 8px; }
.fd-listing-row .fd-toggle[aria-pressed=true]::after { transform: translateX(9px); }
.fd-selected-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; min-height: 39px; margin-top: 4px; padding-top: 5px; }
.fd-selected-toolbar > span { color: #839174; font-size: 10px; }
.fd-selected-toolbar .fd-action { min-height: 30px; padding: 6px 8px; font-size: 10px; }
.fd-listing-preview { min-width: 0; }
.fd-mini-bio { position: relative; overflow: hidden; border: 1px solid #dde5d2; border-radius: 9px; background: #fafcf6; padding: 11px; }
.fd-mini-bio > .fd-bio-header { padding: 0 0 10px; gap: 6px; }
.fd-mini-bio .fd-bio-header b { font-size: 10px; }
.fd-mini-bio .fd-bio-header small { font-size: 9px; }
.fd-mini-bio .fd-bio-monogram { width: 26px; height: 26px; font-size: 9px; }
.fd-count { display: flex; align-items: center; gap: 5px; min-height: 25px; margin-bottom: 7px; color: #768666; font-size: 10px; font-variant-numeric: tabular-nums; }
.fd-count b { color: #425c2b; font-weight: 600; }
.fd-public-listing, .fd-mini-listing { display: flex; align-items: center; gap: 7px; min-height: 42px; padding: 8px 0; border-top: 1px solid #e4eadc; color: #637253; font-size: 10px; line-height: 1.45; transition: opacity .35s, transform .4s var(--fd-ease), background .35s; }
.fd-public-listing > span, .fd-mini-listing > span { min-width: 0; }
.fd-public-listing b, .fd-mini-listing b { display: block; color: #4e633b; font-size: 10px; font-weight: 500; }
.fd-public-listing small, .fd-mini-listing small { color: #8a987d; font-size: 9px; }
.fd-public-listing > .fd-icon:last-child, .fd-mini-listing > .fd-icon:last-child { width: 12px; height: 12px; margin-left: auto; color: #92a47b; }
.fd-public-listing.is-sold, .fd-mini-listing.is-sold { opacity: .6; }
.fd-public-listing.is-updated, .fd-mini-listing.is-updated { animation: fd-highlight .75s var(--fd-ease); }
.fd-collection-label { display: block; padding-top: 7px; color: #7e8d6e; font-size: 10px; }
.fd-demo[data-functional-demo=listings][data-phase="2"] .fd-listing-row.is-selected { border-color: #9bbb6c; background: #eef6df; }
.fd-demo[data-functional-demo=listings][data-phase="3"] .fd-mini-bio { border-color: #bdd29a; }
@keyframes fd-highlight { from { background: #eaf5d5; } to { background: transparent; } }

/* Edit the actual controls, and see the same content on the published page. */
.fd-editor-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 22px; padding: 20px 20px 22px; }
.fd-editor-panel { position: relative; display: grid; gap: 10px; min-width: 0; }
.fd-editor-panel > label, .fd-editor-label { display: grid; gap: 5px; color: #77856b; font-size: 10px; }
.fd-editor-input, .fd-editor-select { display: block; width: 100%; min-height: 36px; padding: 9px 10px; border: 1px solid #dfe7d5; border-radius: 6px; background: #fff; color: #526345; font-size: 11px; line-height: 1.4; transition: border-color .25s, box-shadow .25s; }
.fd-editor-input:hover, .fd-editor-select:hover { border-color: #bccc9f; }
.fd-editor-input:focus, .fd-editor-select:focus { border-color: #93b25f; box-shadow: 0 0 0 3px #b6d58614; }
.fd-editor-list { display: grid; gap: 6px; }
.fd-editor-row { display: flex; align-items: center; gap: 7px; min-height: 40px; padding: 7px 8px; border: 1px solid #e2e9d8; border-radius: 6px; background: #fbfcf8; color: #69795c; font-size: 10px; transition: transform .35s var(--fd-ease), border-color .35s, background .35s, opacity .35s; }
.fd-editor-row > .fd-icon { width: 13px; height: 13px; color: #9aa98b; }
.fd-editor-row > span { min-width: 0; flex: 1; }
.fd-editor-row.is-selected { background: #f0f7e2; border-color: #cbdcb0; }
.fd-editor-row.is-hidden { opacity: .5; }
.fd-editor-tools { display: flex; align-items: center; gap: 3px; margin-left: auto; }
.fd-editor-tools button { display: grid; place-items: center; width: 24px; min-width: 24px; height: 24px; padding: 4px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: #8b9c7b; transition: background .25s, color .25s, border-color .25s; }
.fd-editor-tools button:hover { border-color: #d7e3c6; background: #eaf2df; color: #4f7030; }
.fd-editor-tools .fd-icon { width: 13px; height: 13px; }
.fd-editor-actions { display: flex; align-items: center; justify-content: space-between; gap: 7px; min-height: 32px; }
.fd-editor-actions small { color: #8b987d; font-size: 9px; }
.fd-sync-icon { position: absolute; left: calc(100% + 3px); top: 50%; display: grid; place-items: center; width: 16px; height: 23px; color: #a9bc8b; }
.fd-sync-icon .fd-icon { width: 15px; height: 15px; }
.fd-phone-preview { position: relative; min-width: 0; width: 100%; max-width: 205px; justify-self: center; border: 1px solid #d9e1ce; border-radius: 13px; background: #f8faf3; padding: 8px; box-shadow: 0 9px 25px #263b0e07; }
.fd-phone-preview > .fd-bio-address { margin: -8px -8px 0; border-radius: 12px 12px 0 0; font-size: 9px; min-height: 27px; }
.fd-preview-heading { padding: 15px 5px 14px; text-align: center; }
.fd-preview-heading .fd-bio-monogram, .fd-preview-heading .fd-avatar { margin: 0 auto 8px; }
.fd-editor-live-title { display: block; color: #374c27; font-size: 12px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.fd-preview-heading > small { display: block; margin-top: 3px; color: #81916f; font-size: 9px; }
.fd-preview-links { display: grid; gap: 6px; }
.fd-preview-link { display: flex; align-items: center; gap: 7px; min-height: 36px; padding: 8px; border: 1px solid #dfe8cf; border-radius: 6px; background: #fff; color: #5b7345; font-size: 10px; line-height: 1.4; transition: transform .35s var(--fd-ease), background .35s, opacity .35s; }
.fd-preview-link .fd-icon { width: 13px; height: 13px; color: #8ba66a; }
.fd-preview-link > .fd-icon:last-child:not(:first-child) { width: 10px; height: 10px; margin-left: auto; }
.fd-preview-link.is-selected { border-color: #c5dca3; background: #f2f8e7; }
.fd-save-toast { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 26px; padding-top: 8px; color: #7d9268; font-size: 9px; line-height: 1.4; transition: opacity .3s, transform .35s var(--fd-ease); }
.fd-save-toast .fd-icon { width: 11px; height: 11px; }
.fd-demo[data-functional-demo=editor][data-phase="2"] .fd-editor-row.is-selected { transform: translateY(-2px); border-color: #b8d090; }
.fd-demo[data-functional-demo=editor][data-phase="3"] .fd-preview-link.is-selected { background: #e6f2d0; }
.fd-demo[data-functional-demo=editor][data-phase="4"] .fd-save-toast { animation: fd-result-in .35s var(--fd-ease) both; }

/* Form fields appear in the builder and the recipient's form together. */
.fd-form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 22px; padding: 22px 20px; align-items: center; }
.fd-field-options { display: grid; gap: 7px; min-width: 0; }
.fd-field-options > .fd-kicker { margin-bottom: 6px; }
.fd-field-option { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 9px 10px; border: 1px solid #e2e8d9; border-radius: 7px; background: #fff; color: #718461; font-size: 11px; text-align: left; transition: border-color .35s, background .35s, box-shadow .35s; }
.fd-field-option > .fd-icon { width: 14px; height: 14px; color: #8da277; }
.fd-field-option > span:not(.fd-toggle) { min-width: 0; flex: 1; }
.fd-field-option > .fd-toggle, .fd-field-option > .fd-icon:last-child:not(:first-child) { margin-left: auto; }
.fd-field-option > .fd-icon:last-child:not(:first-child) { width: 12px; height: 12px; }
.fd-field-option[aria-pressed=true], .fd-field-option.is-selected { border-color: #ccddb2; background: #f6faee; color: #4e6a36; }
.fd-field-option:hover { border-color: #b6cd92; background: #f5f9ed; }
.fd-required { color: #96a287; font-size: 9px; line-height: 1.4; font-weight: 400; }
.fd-form-preview { position: relative; min-width: 0; padding: 13px; border: 1px solid #dde6d1; border-radius: 9px; background: #fcfdf9; box-shadow: 0 7px 20px #30480d04; }
.fd-form-preview > h4, .fd-form-preview > h3 { margin-bottom: 4px; color: #425d2f; font-size: 12px; }
.fd-form-preview > p { margin-bottom: 12px; color: #8a9b7a; font-size: 9px; }
.fd-form-fields { display: grid; gap: 8px; }
.fd-field-line { display: grid; gap: 4px; min-width: 0; transition: opacity .3s, transform .4s var(--fd-ease); }
.fd-field-label { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; color: #7b8e6a; font-size: 10px; }
.fd-input-sim { position: relative; display: flex; align-items: center; gap: 6px; min-height: 29px; padding: 7px 8px; border: 1px solid #e0e9d4; border-radius: 5px; background: #fff; color: #8b9c7a; font-size: 10px; line-height: 1.45; }
.fd-input-sim > .fd-icon { width: 12px; height: 12px; }
.fd-form-preview .fd-action, .fd-form-preview .fd-enquiry-submit { margin-top: 10px; }
.fd-form-confirmation { display: flex; align-items: flex-start; gap: 6px; margin-top: 9px; padding: 8px; border: 1px solid #d8e6c3; border-radius: 5px; background: #f0f7e4; color: #64824a; font-size: 10px; line-height: 1.5; }
.fd-form-confirmation > .fd-icon { width: 13px; height: 13px; margin-top: 1px; }
.fd-form-confirmation b { display: block; font-size: 10px; font-weight: 500; color: #557337; }
.fd-form-confirmation small { display: block; color: #869b72; font-size: 9px; }
.fd-demo[data-functional-demo=forms][data-phase="2"] .fd-field-option.is-selected { background: #edf6de; border-color: #b8ce95; box-shadow: 0 0 0 3px #b7d3870c; }
.fd-demo[data-functional-demo=forms][data-phase="3"] .fd-field-line.is-selected { animation: fd-result-in .4s var(--fd-ease) both; }
.fd-demo[data-functional-demo=forms][data-phase="4"] .fd-form-confirmation { animation: fd-result-in .4s var(--fd-ease) both; }

/* One incoming enquiry is routed to a named member of the team. */
.fd-routing-grid { position: relative; display: grid; justify-items: center; min-width: 0; padding: 20px 24px 17px; }
.fd-agency-hub { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; width: fit-content; max-width: 100%; min-height: 44px; padding: 9px 13px; border: 1px solid #dbe5cc; border-radius: 8px; background: #fafcf6; color: #6a8055; box-shadow: 0 3px 8px #30430b04; transition: background .35s, border-color .35s, box-shadow .35s; }
.fd-agency-hub > .fd-icon { width: 17px; height: 17px; }
.fd-agency-hub b { display: block; color: #4d6637; font-size: 11px; font-weight: 500; }
.fd-agency-hub small { display: block; color: #8b9e78; font-size: 9px; }
.fd-route-diagram { position: relative; width: 100%; height: 49px; margin: 0; overflow: visible; }
.fd-route-diagram svg { width: 100%; height: 100%; fill: none; overflow: visible; }
.fd-route-diagram path { stroke: #dbe5cf; stroke-width: 1; vector-effect: non-scaling-stroke; }
.fd-route-diagram .fd-packet { stroke: #8fb341; stroke-width: 2; stroke-dasharray: 9 200; stroke-dashoffset: 200; opacity: 0; }
.fd-agent-list, .fd-agent-nodes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; width: 100%; }
.fd-agent-node { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; min-width: 0; min-height: 94px; padding: 12px 7px 10px; border: 1px solid #e0e8d5; border-radius: 8px; background: #fff; color: #8ba277; text-align: center; transition: border-color .35s, background .35s, color .35s, transform .35s var(--fd-ease), box-shadow .35s; }
.fd-agent-node:hover { border-color: #bfceaa; background: #f9fbf5; }
.fd-agent-avatar { display: grid; place-items: center; width: 31px; height: 31px; flex: none; border: 1px solid #e0e8d6; border-radius: 50%; background: #f2f6eb; color: #7c9467; font-size: 10px; font-weight: 500; transition: background .35s, border-color .35s; }
.fd-agent-node:nth-child(2) .fd-agent-avatar { color: #8b7b99; background: #f4f0f8; border-color: #e8dfed; }
.fd-agent-node:nth-child(3) .fd-agent-avatar { color: #6c9690; background: #eef5f2; border-color: #dbe8e1; }
.fd-agent-meta { min-width: 0; }
.fd-agent-meta b { display: block; font-size: 10px; font-weight: 500; color: #526b3b; }
.fd-agent-meta small { display: block; margin-top: 2px; color: #8fa17e; font-size: 9px; }
.fd-agent-node.is-selected, .fd-agent-node[aria-pressed=true] { border-color: #bfd3a0; background: #f5faec; color: #67883e; box-shadow: 0 4px 14px #52751b07; }
.fd-agent-node.is-selected .fd-agent-avatar, .fd-agent-node[aria-pressed=true] .fd-agent-avatar { border-color: #d0e0b7; background: #e9f2dc; }
.fd-routing-counter { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; color: #97a48a; font-size: 9px; font-variant-numeric: tabular-nums; }
.fd-routing-counter b { color: #72914f; font-weight: 500; }
.fd-routing-result { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 53px; margin-top: 16px; padding: 10px 12px; border: 1px solid #dce8cd; border-radius: 7px; background: #f5f9ef; color: #7a9364; transition: background .35s, border-color .35s, transform .4s var(--fd-ease); }
.fd-routing-result > .fd-icon { width: 17px; height: 17px; color: #83a25e; }
.fd-routing-result b { display: block; color: #58743d; font-size: 11px; font-weight: 500; }
.fd-routing-result small { display: block; margin-top: 2px; color: #8ea17c; font-size: 9px; }
.fd-routing-result .fd-status { margin-left: auto; font-size: 9px; }
.fd-demo[data-functional-demo=agency][data-phase="1"] .fd-agency-hub { background: #f0f7e5; border-color: #bdd39e; box-shadow: 0 0 0 4px #b8d58a10; }
.fd-demo[data-functional-demo=agency][data-phase="2"] .fd-route-diagram .fd-packet.is-selected, .fd-demo[data-functional-demo=agency][data-phase="2"] .fd-route-diagram .fd-packet[data-active=true] { animation: fd-route-draw .7s var(--fd-ease) both; }
.fd-demo[data-functional-demo=agency][data-phase="3"] .fd-agent-node.is-selected { background: #edf6dc; border-color: #a9c779; transform: translateY(-2px); }
.fd-demo[data-functional-demo=agency][data-phase="4"] .fd-routing-result { animation: fd-result-in .45s var(--fd-ease) both; }
@keyframes fd-route-draw { 0% { opacity: 0; stroke-dashoffset: 200; } 10%, 85% { opacity: 1; } 100% { opacity: 0; stroke-dashoffset: 0; } }

/* A shared guide keeps four series, marker positions and values in one story. */
.fd-demo[data-functional-demo=analytics] { overflow: visible; }
.fd-demo[data-functional-demo=analytics] > .fd-toolbar { border-radius: 13px 13px 0 0; }
.fd-demo[data-functional-demo=analytics] > .fd-caption { border-radius: 0 0 13px 13px; }
.fd-analytics-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 19px 0; }
.fd-metric-controls, .fd-chart-controls, .fd-period-controls { display: inline-flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid #e4e9dc; border-radius: 8px; background: #f6f8f1; }
.fd-metric-controls button, .fd-chart-controls button, .fd-period-controls button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 30px; padding: 6px 10px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: #859575; font-size: 11px; line-height: 1.4; white-space: nowrap; transition: color .25s, background .25s, border-color .25s, box-shadow .25s; }
.fd-metric-controls button[aria-pressed=true], .fd-chart-controls button[aria-pressed=true], .fd-period-controls button[aria-pressed=true] { background: #fff; color: #4e6b35; border-color: #e0e8d4; box-shadow: 0 1px 3px #22300d06; }
.fd-metric-controls button:hover, .fd-chart-controls button:hover { color: #4e6b35; }
.fd-chart-date { display: inline-flex; align-items: center; gap: 5px; color: #8c9a7d; font-size: 10px; }
.fd-chart-date .fd-icon { width: 12px; height: 12px; }
.fd-stat-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 19px 20px 13px; }
.fd-stat { min-width: 0; }
.fd-stat + .fd-stat { padding-left: 19px; border-left: 1px solid #e6ebdf; }
.fd-stat > span, .fd-stat > small { display: block; color: #849674; font-size: 10px; line-height: 1.4; }
.fd-stat b, .fd-stat strong { display: block; margin-top: 5px; color: #314526; font-size: 26px; font-weight: 500; line-height: 1.15; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.fd-stat b small, .fd-stat strong small { color: #839873; font-size: 11px; letter-spacing: 0; font-weight: 400; }
.fd-stat > em { display: inline-flex; align-items: center; gap: 3px; margin-top: 4px; color: #89a965; font-size: 9px; font-style: normal; line-height: 1.4; }
.fd-stat > em .fd-icon { width: 10px; height: 10px; }
.fd-chart-wrap { position: relative; min-width: 0; width: 100%; padding: 0 13px; }
.fd-chart-wrap > svg { width: 100%; height: auto; aspect-ratio: 960 / 312; overflow: visible; touch-action: pan-y; }
.fd-chart-grid line, .fd-grid-line, .fd-chart-grid path { fill: none; stroke: #e9eee1; stroke-width: 1; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.fd-chart-axis { fill: #a0ae91; font: 400 11px Geist, sans-serif; }
.fd-chart-area { opacity: .055; }
.fd-chart-area--total { fill: #537235; }
.fd-chart-area--instagram { fill: #a6cf3f; }
.fd-chart-area--tiktok { fill: #ad98c7; }
.fd-chart-area--whatsapp { fill: #6ba89c; }
.fd-line { fill: none; stroke: #2f4424; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; transition: opacity .3s, stroke-width .3s, stroke .3s; }
.fd-line--total, .fd-line[data-source=all], .fd-line[data-source=total] { stroke: #34482a; }
.fd-line--instagram, .fd-line[data-source=instagram] { stroke: #a3c947; }
.fd-line--tiktok, .fd-line[data-source=tiktok] { stroke: #ac96c9; }
.fd-line--whatsapp, .fd-line[data-source=whatsapp] { stroke: #75aaa0; }
.fd-line.is-muted, .fd-chart-area.is-muted { opacity: .13; }
.fd-line.is-selected { stroke-width: 2.5; }
.fd-chart-guide { stroke: #b8c6a7; stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.fd-chart-marker { fill: #fff; stroke: #34482a; stroke-width: 2; vector-effect: non-scaling-stroke; }
.fd-chart-marker--instagram, .fd-chart-marker[data-source=instagram] { stroke: #a3c947; }
.fd-chart-marker--tiktok, .fd-chart-marker[data-source=tiktok] { stroke: #ac96c9; }
.fd-chart-marker--whatsapp, .fd-chart-marker[data-source=whatsapp] { stroke: #75aaa0; }
.fd-chart-marker.is-muted { opacity: .2; }
.fd-tooltip { position: absolute; z-index: 5; width: 178px; max-width: calc(100% - 20px); padding: 11px 12px; border: 1px solid #e0e6d8; border-radius: 8px; background: #fffffff5; box-shadow: 0 7px 20px #28380f0c, 0 1px 3px #28380f07; color: #6b7f58; font-size: 11px; line-height: 1.5; pointer-events: none; backdrop-filter: blur(8px); transition: opacity .25s, box-shadow .3s; }
.fd-tooltip > b, .fd-tooltip-date { display: block; margin-bottom: 7px; color: #526b3f; font-size: 11px; font-weight: 500; }
.fd-tooltip-row { display: flex; align-items: center; gap: 6px; padding-block: 2px; color: #859674; font-size: 10px; line-height: 1.4; }
.fd-tooltip-row > i, .fd-legend-dot { width: 5px; height: 5px; flex: none; border-radius: 50%; background: #364b2a; }
.fd-tooltip-row[data-source=instagram] > i, .fd-legend-dot--instagram { background: #a3c947; }
.fd-tooltip-row[data-source=tiktok] > i, .fd-legend-dot--tiktok { background: #ac96c9; }
.fd-tooltip-row[data-source=whatsapp] > i, .fd-legend-dot--whatsapp { background: #75aaa0; }
.fd-tooltip-row > b { margin-left: auto; color: #60774e; font-size: 11px; font-weight: 500; font-variant-numeric: tabular-nums; }
.fd-x-labels { display: flex; align-items: center; justify-content: space-between; gap: 5px; padding: 2px 24px 0; color: #96a688; font-size: 10px; line-height: 1.4; }
.fd-x-labels > button { border: 0; border-radius: 4px; background: transparent; color: inherit; font: inherit; min-width: 24px; padding: 5px 2px; transition: background .3s, color .3s; }
.fd-x-labels > button[aria-pressed=true], .fd-x-labels > button.is-selected { color: #57753d; background: #f2f7e9; }
.fd-source-breakdown { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 16px 20px; }
.fd-source-breakdown > button, .fd-source-row-button { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 5px; min-width: 0; min-height: 45px; padding: 8px; border: 1px solid #e7ecdf; border-radius: 6px; background: #fff; text-align: left; color: #82966e; transition: border-color .3s, background .3s; }
.fd-source-breakdown > button:hover { background: #f9fbf5; border-color: #d2dfbf; }
.fd-source-breakdown > button[aria-pressed=true] { background: #f7faef; border-color: #c5d9a5; }
.fd-source-breakdown > button > .fd-icon { width: 13px; height: 13px; }
.fd-source-breakdown > button > span { font-size: 10px; line-height: 1.4; }
.fd-source-breakdown > button > b { margin-left: auto; color: #5d7949; font-size: 11px; font-weight: 500; font-variant-numeric: tabular-nums; }
.fd-source-bar { grid-column: 1 / -1; position: relative; display: block; height: 3px; margin-top: 4px; overflow: hidden; border-radius: 3px; background: #edf1e6; }
.fd-source-bar > i, .fd-source-bar > span { display: block; height: 100%; width: var(--fd-share, 50%); border-radius: inherit; background: #b8d775; transition: width .6s var(--fd-ease); }
.fd-source-breakdown > [data-source=tiktok] .fd-source-bar > :first-child { background: #c3b1d7; }
.fd-source-breakdown > [data-source=whatsapp] .fd-source-bar > :first-child { background: #98bfb5; }
.fd-chart-selection { display: flex; align-items: center; gap: 6px; padding: 0 20px 13px; color: #7e946b; font-size: 10px; }
.fd-chart-selection .fd-icon { width: 12px; height: 12px; }
.fd-data-table { margin: 0 20px 16px; border-top: 1px solid #e6ecde; font-size: 10px; color: #829572; }
.fd-data-table summary { display: flex; align-items: center; gap: 5px; width: fit-content; padding-top: 10px; list-style: none; font-size: 10px; color: #7f936b; }
.fd-data-table summary::-webkit-details-marker { display: none; }
.fd-data-table summary::after { content: ''; width: 4px; height: 4px; margin: 0 0 3px 3px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); transition: transform .25s; }
.fd-data-table[open] summary::after { transform: rotate(225deg); margin-bottom: 0; }
.fd-data-table > div { overflow-x: auto; margin-top: 10px; }
.fd-data-table table { width: 100%; border-collapse: collapse; font-size: 10px; text-align: left; font-variant-numeric: tabular-nums; }
.fd-data-table th { font-weight: 500; color: #617c4b; background: #f7faf1; }
.fd-data-table th, .fd-data-table td { padding: 7px 8px; border-bottom: 1px solid #e9eee2; white-space: nowrap; }

/* Full-width workspaces retain the chart's native, fine-line proportions. */
.fd-demo[data-functional-demo=analytics] .fd-chart-wrap { min-height: 0; }
.fd-demo[data-functional-demo=analytics] .fd-chart-wrap > svg { max-height: 312px; }
.fd-demo[data-functional-demo=analytics] .fd-stat-strip { max-width: 580px; }
.fd-demo[data-functional-demo=analytics] .fd-tooltip { box-sizing: border-box; }
@container (max-width: 620px) {
  .fd-stat-strip { gap: 10px; }
  .fd-stat + .fd-stat { padding-left: 12px; }
  .fd-source-breakdown { gap: 6px; }
}

/* Keep the process legible when a scene lives beside marketing copy. */
.fd-demo { container-type: inline-size; }
@container (max-width: 650px) {
  .fd-flow-canvas { grid-template-columns: minmax(0, .85fr) 22px minmax(0, 1fr) 22px minmax(0, 1fr); padding: 20px 14px; }
  .fd-source-row { padding: 9px 7px; gap: 6px; }
  .fd-source-row > .fd-icon { width: 23px; height: 23px; }
  .fd-source-row small, .fd-post-bars { display: none; }
  .fd-bio-header { padding: 11px 9px 9px; gap: 5px; }
  .fd-bio-header b { font-size: 10px; }
  .fd-bio-header small { font-size: 9px; }
  .fd-bio-links { padding: 0 7px 8px; gap: 4px; }
  .fd-bio-row { min-height: 34px; padding: 7px; font-size: 10px; gap: 5px; }
  .fd-bio-row .fd-icon { width: 12px; height: 12px; }
  .fd-enquiry-fields { padding: 9px; gap: 6px; }
  .fd-inbox-heading { padding: 10px 9px; font-size: 10px; }
  .fd-inbox-record { margin: 0 9px 9px; padding: 8px; gap: 5px; }
  .fd-inbox-record .fd-status { display: none; }
  .fd-journey-options { padding: 12px 15px 0; gap: 5px; }
  .fd-journey-options .fd-kicker { display: none; }
  .fd-journey-options button { padding: 6px 8px; }
  .fd-flow-status { padding-inline: 15px; }
  .fd-pipeline > * { width: 17px; }
  .fd-management-grid { gap: 12px; padding: 18px 14px; }
  .fd-listing-row { padding: 7px 6px; gap: 6px; }
  .fd-listing-row .fd-toggle { display: none; }
  .fd-thumb { width: 27px; height: 29px; }
  .fd-editor-grid { gap: 19px; padding: 20px 15px; }
  .fd-form-grid { gap: 15px; padding: 20px 15px; }
  .fd-field-option { padding: 9px 8px; gap: 6px; }
  .fd-routing-grid { padding: 19px 18px 16px; }
  .fd-agent-list, .fd-agent-nodes { gap: 7px; }
  .fd-source-breakdown { gap: 7px; }
  .fd-tooltip { width: 178px; }
}

@media (max-width: 760px) {
  .fd-controls button, .fd-control, .fd-stagebutton { min-width: 36px; min-height: 36px; }
  .fd-demo button:not(.fd-toggle):not(.fd-editor-tools button) { touch-action: manipulation; }
  .fd-demo .fd-editor-input, .fd-demo .fd-editor-select { min-height: 40px; font-size: 16px; }
  .fd-demo .fd-x-labels { font-size: 11px; }
  .fd-demo .fd-x-labels > button { min-height: 36px; }
  .fd-source-breakdown > button { min-height: 49px; }
}


/* Still compositions retain their full meaning and every manual control. */
body[data-motion=paused] .fd-demo *, .fd-demo[data-fd-visible=false] * { animation-play-state: paused !important; }
body[data-motion=paused] .fd-demo *, body[data-motion=paused] .fd-demo *::before, body[data-motion=paused] .fd-demo *::after { transition-duration: .01ms !important; }
.fd-demo[data-fd-visible=false] .fd-packet { opacity: 0 !important; }
@media (prefers-reduced-motion: reduce) {
  .fd-demo *, .fd-demo *::before, .fd-demo *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .fd-demo .fd-pointer, .fd-demo .fd-packet { display: none !important; }
}

/* Exact scene contracts: compact interfaces, connected state, readable controls. */
.fd-toolbar { min-height: 48px; padding: 9px 17px; }
.fd-toolbar > strong { font-size: 11px; font-weight: 500; color: #4b5644; }
.fd-window-dots { display: flex; gap: 4px; }
.fd-window-dots i { width: 4px; height: 4px; border-radius: 50%; background: #d0d8c6; }
.fd-caption { display: block; margin: 0; font-size: 11px; color: #626b5a; }
.fd-pane-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 10px; font-weight: 500; color: #66705c; line-height: 1.5; }
.fd-bio-window > .fd-pane-label, .fd-inbox-window > .fd-pane-label { padding: 9px 12px; border-bottom: 1px solid #edf0e8; }
.fd-pipeline { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); align-items: stretch; gap: 0; padding: 0 17px 14px; }
.fd-pipeline > .fd-stagebutton { display: flex; flex-direction: column; gap: 7px; width: auto; height: auto; min-height: 42px; padding: 0 5px; background: transparent; border: 0; border-radius: 0; color: #6e7864; font-size: 10px; line-height: 1.4; text-align: center; }
.fd-pipeline > .fd-stagebutton::before { content: ''; position: absolute; top: 8px; left: 50%; width: 100%; height: 1px; background: #e0e7d7; z-index: -1; }
.fd-pipeline > .fd-stagebutton:last-child::before { display: none; }
.fd-pipeline > .fd-stagebutton[aria-pressed=true] { color: #35511f; }
.fd-step-dot { display: grid; place-items: center; width: 17px; height: 17px; border: 1px solid #dce5cf; border-radius: 50%; background: #fff; transition: background .25s,border-color .25s; }
.fd-step-dot .fd-icon { width: 9px; height: 9px; opacity: 0; }
.fd-step-dot[data-active=true] { border-color: #8bad49; box-shadow: 0 0 0 3px #bceb3818; }
.fd-step-dot[data-active=true]::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #8bad49; }
.fd-step-dot[data-active=true] .fd-icon { display: none; }
.fd-step-dot[data-complete=true] { background: #eaf4d7; border-color: #c4d99f; color: #5f7e32; }
.fd-step-dot[data-complete=true] .fd-icon { opacity: 1; }
.fd-flow-status { justify-content: flex-start; gap: 6px; }
.fd-status-light { width: 5px; height: 5px; min-height: 0!important; border-radius: 50%; background: #8ba947; }
.fd-flow-canvas { min-height: 300px; padding: 22px 35px 26px; }
.fd-social-event { display: flex; align-items: center; gap: 9px; padding: 12px; border: 1px solid #e2e8d9; background: #fff; border-radius: 8px; box-shadow: 0 6px 16px #263b0d04; }
.fd-social-event b { display: block; font-size: 11px; font-weight: 500; }
.fd-social-event small { display: block; font-size: 10px; color: #707b65; margin-top: 2px; }
.fd-channel-symbol { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #e5eadf; border-radius: 7px; color: #66823d; }
.fd-channel-symbol .fd-icon { width: 15px; height: 15px; }
[data-fd-source-icon] { display: none; }
.fd-social[data-source=instagram] [data-fd-source-icon=instagram], .fd-social[data-source=tiktok] [data-fd-source-icon=tiktok], .fd-social[data-source=whatsapp] [data-fd-source-icon=whatsapp] { display: block; }
.fd-event-pulse { margin-left: auto; width: 5px; height: 5px; background: #92b646; border-radius: 50%; }
.fd-social[data-phase="1"] .fd-event-pulse { box-shadow: 0 0 0 5px #bceb3828; }
.fd-post-card { position: relative; display: grid; gap: 17px; min-height: 128px; padding: 17px; border: 1px solid #e4e9db; border-radius: 8px; background: linear-gradient(145deg,#f8faef,#fff); }
.fd-post-title { max-width: 150px; font: 500 17px/1.2 Instrument,Geist,sans-serif; letter-spacing: -.025em; color: #3e4c31; }
.fd-post-bars { width: 70%; margin: 0; }
.fd-post-action { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #6a795b; font-size: 10px; }
.fd-post-action .fd-icon { width: 12px; height: 12px; }
.fd-open-event { display: flex; align-items: center; gap: 6px; padding: 8px 10px; font-size: 10px; color: #62774a; opacity: .2; transform: translateY(5px); transition: opacity .3s,transform .4s var(--fd-ease); }
.fd-open-event .fd-icon { width: 12px; height: 12px; }.fd-open-event b { margin-left: auto; font-size: 10px; }
.fd-social:not([data-phase="0"]) .fd-open-event { opacity: 1; transform: none; }
.fd-bio-identity { display: flex; align-items: center; gap: 9px; padding: 14px 12px; }
.fd-bio-identity > span, .fd-contact-avatar, .fd-mini-agent > span { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: #253321; color: #d8e8ba; font-size: 10px; }
.fd-bio-identity b { display: block; font-size: 11px; font-weight: 500; }.fd-bio-identity small { display: block; margin-top: 2px; color: #748066; font-size: 10px; }
.fd-bio-row.fd-bio-selected { background: #f9faf7; border-color: #e5eade; color: #65725a; box-shadow: none; }
.fd-social .fd-bio-row[data-selected=true] { background: #edf6db; border-color: #b6cf8b; color: #395b20; }
.fd-social[data-phase="2"] .fd-bio-row[data-selected=true] { transform: scale(.98); }
.fd-social[data-intent=seller] .fd-pointer { top: 65%; }
.fd-link-selection { margin: 0 12px 11px; color: #667b50; font-size: 10px; opacity: .3; transition: opacity .3s; }
.fd-social:is([data-phase="2"],[data-phase="3"],[data-phase="4"]) .fd-link-selection { opacity: 1; }
.fd-enquiry-fields { gap: 4px; }.fd-enquiry-fields .fd-input-sim { color: #425735; min-height: 29px; }
.fd-inbox-record { flex-wrap: nowrap; opacity: .12; transform: translateY(5px); }
.fd-inbox-record > div { min-width: 0; }.fd-inbox-record > div > span { display: block; font-size: 10px; line-height: 1.5; }
.fd-contact-avatar { width: 25px; height: 25px; background: #e0edc9; color: #597338; font-size: 9px; }
.fd-record-check { display: grid; place-items: center; width: 16px; height: 16px; flex: none; margin-left: auto; border-radius: 50%; background: #e2efcc; }.fd-record-check .fd-icon { width: 10px; height: 10px; }
.fd-social[data-phase="4"] .fd-inbox-record { opacity: 1; transform: none; }
.fd-inbox-total { display: flex; align-items: center; justify-content: space-between; padding: 0 12px 12px; color: #6a795a; font-size: 10px; }.fd-inbox-total b { color: #3f5e26; font-size: 18px; font-weight: 500; }
.fd-management-grid { grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 17px; padding: 21px 17px; }
.fd-listing-table > .fd-pane-label { margin-bottom: 4px; }.fd-count { min-height: 0; margin: 0; font-size: 10px; }
.fd-listing-row { min-height: 50px; gap: 5px; padding: 6px; }.fd-listing-row.is-selected { background: #fff; border-color: #e5eade; }
.fd-listing-row[data-selected=true] { background: #f4f9e9; border-color: #bdd29d; }
.fd-listing-select { display: flex; align-items: center; gap: 7px; flex: 1; min-width: 0; border: 0; padding: 0; background: transparent; text-align: left; }
.fd-listing-select .fd-thumb { object-fit: cover; width: 30px; height: 32px; }.fd-listing-select > span { min-width: 0; }
.fd-listing-select b { display: block; font-size: 10px; font-weight: 500; line-height: 1.4; }.fd-listing-select small { display: block; margin-top: 2px; color: #727e65; font-size: 9px; }
.fd-visibility { position: relative; display: grid; place-items: center; width: 26px; height: 30px; flex: none; }
.fd-visibility input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.fd-visibility > span { width: 21px; height: 13px; border-radius: 20px; background: #dce2d3; transition: background .2s; pointer-events: none; }
.fd-visibility > span::after { content: ''; display: block; width: 9px; height: 9px; margin: 2px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px #0001; transition: transform .2s; }
.fd-visibility input:checked + span { background: #88a843; }.fd-visibility input:checked + span::after { transform: translateX(8px); }.fd-visibility input:focus-visible + span { outline: 2px solid #729723; outline-offset: 3px; }
.fd-selected-toolbar button, .fd-editor-save { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 30px; padding: 6px 10px; border: 1px solid #c9dab0; border-radius: 5px; background: #eff6e2; color: #4b662e; font-size: 10px; }
.fd-mini-title { display: flex; align-items: center; justify-content: center; gap: 5px; color: #78856a; font-size: 10px; padding-bottom: 10px; border-bottom: 1px solid #e4ebd9; }.fd-mini-title .fd-icon { width: 12px; height: 12px; }
.fd-mini-agent { display: grid; justify-items: center; gap: 5px; padding: 13px 2px; }.fd-mini-agent > b { font-size: 11px; font-weight: 500; }.fd-mini-agent > small { font-size: 10px; color: #68795b; }
.fd-listing-preview { display: flex; align-items: center; gap: 6px; min-height: 40px; padding: 7px 0; border-top: 1px solid #e6ebdf; }.fd-listing-preview > span > .fd-icon { width: 13px; height: 13px; color: #7e9661; }.fd-listing-preview > div { flex: 1; min-width: 0; }.fd-listing-preview b { display: block; font-size: 10px; font-weight: 500; }.fd-listing-preview small { display: block; color: #728265; font-size: 9px; }.fd-listing-preview > .fd-icon { width: 11px; height: 11px; }
.fd-listing-preview[data-sold=true] small { color: #8a746d; }.fd-listing-preview[data-selected=true] { color: #4a672e; }
.fd-sync-state { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 9px; font-size: 9px; color: #657c4b; }.fd-sync-state .fd-icon { width: 11px; height: 11px; }
.fd-editor-row > .fd-drag-grip { flex: none; width: 12px; }.fd-drag-grip .fd-icon { width: 12px; height: 12px; }.fd-editor-row .fd-row-state { flex: none; color: #6c7c5d; font-size: 9px; }
.fd-editor-row.is-selected { background: #fbfcf8; border-color: #e2e9d8; }.fd-editor-row[data-selected=true] { background: #eef6df; border-color: #bfd49c; }.fd-editor-row[data-visible=false] { opacity: .5; }
.fd-editor-fields { display: grid; gap: 5px; }.fd-editor-fields > label { margin-top: 5px; color: #68785a; font-size: 10px; }.fd-editor-fields :is(input[type=text],input:not([type]),select) { width: 100%; min-width: 0; min-height: 32px; padding: 6px 9px; border: 1px solid #dce5cf; border-radius: 5px; color: #425a31; background: #fff; font-size: 11px; }
.fd-editor-tools { justify-content: space-between; margin: 2px 0 5px; }.fd-editor-tools button { display: inline-flex; gap: 4px; width: auto; height: auto; min-height: 30px; color: #62774e; font-size: 10px; }.fd-editor-tools label { display: flex; align-items: center; gap: 4px; font-size: 10px; color: #62774e; }.fd-demo input[type=checkbox] { accent-color: #779b37; }
.fd-preview-list { display: grid; gap: 6px; }.fd-phone-preview { max-width: 220px; padding: 12px; }.fd-preview-link[data-selected=true] { border-color: #bdd49a; background: #f0f7e4; }.fd-save-toast { color: #5c7543; }
.fd-form-grid { align-items: start; gap: 18px; padding: 20px 17px; }.fd-field-option { color: #5c704c; font-size: 11px; }
.fd-field-option.fd-required { font-size: 10px; }.fd-field-option.fd-required > span { flex: none; margin-left: auto; font-size: 9px; color: #6e7b60; }
.fd-form-operation { display: grid; grid-template-columns: 21px 1fr; gap: 7px; align-items: center; padding: 13px 9px 0; color: #778e5f; }.fd-form-operation > span { display: grid; place-items: center; width: 19px; height: 19px; border: 1px solid #dae5cc; border-radius: 50%; }.fd-form-operation .fd-icon { width: 11px; height: 11px; }.fd-form-operation b { font-size: 10px; font-weight: 400; }.fd-form-operation > i { display: none; }
.fd-form-preview > h3 { margin: 9px 0 12px; font-size: 12px; }.fd-field-line { margin-top: 8px; }.fd-field-line > span { font-size: 10px; color: #66785a; }.fd-input-sim { color: #576e45; }
.fd-route-diagram { display: grid; justify-items: center; height: auto; padding: 15px 0 0; }.fd-route-diagram .fd-branch-map { display: block; width: 100%; height: 50px; }.fd-route-diagram .fd-branch-active { stroke: #92b64b; stroke-width: 1.5; stroke-dasharray: 350; stroke-dashoffset: 350; transition: stroke-dashoffset .55s var(--fd-ease); }
.fd-agency:is([data-phase="3"],[data-phase="4"]) .fd-branch-active { stroke-dashoffset: 0; }
.fd-incoming { display: flex; align-items: center; gap: 8px; width: 100%; min-width: 0; padding: 9px 12px; border: 1px solid #e0e8d6; border-radius: 7px; background: #fff; }.fd-incoming-icon .fd-icon { width: 16px; height: 16px; color: #84a44e; }.fd-incoming > div { flex: 1; min-width: 0; }.fd-incoming b { display: block; font-size: 11px; font-weight: 500; }.fd-incoming small { display: block; margin-top: 2px; color: #748465; font-size: 10px; }
.fd-agency-hub { min-height: 36px; font-size: 10px; letter-spacing: .06em; }.fd-agent-node { min-height: 104px; gap: 4px; }.fd-agent-node > b { font-size: 10px; font-weight: 500; color: #4d6638; }.fd-agent-node > small { font-size: 9px; color: #6c7e5b; }
.fd-agent-active { display: flex; align-items: center; gap: 3px; font-size: 9px; opacity: 0; }.fd-agent-active .fd-icon { width: 9px; height: 9px; }.fd-agent-node[aria-pressed=true] .fd-agent-active { opacity: 1; }
.fd-routing-result { margin-top: 13px; padding: 10px; }.fd-routing-result > div { flex: 1; min-width: 0; }.fd-routing-result > div > .fd-pane-label { font-size: 9px; }.fd-routing-assignment { display: flex; align-items: center; gap: 4px; font-size: 10px; }.fd-routing-assignment > .fd-icon { width: 12px; height: 12px; }
.fd-analytics .fd-stat-strip { max-width: none; grid-template-columns: 1fr 1fr 1fr auto; gap: 20px; padding: 22px 24px 10px; }.fd-stat-strip > div { min-width: 0; }.fd-stat-strip > div > span { display: block; font-size: 10px; color: #6c7a61; }.fd-stat-strip > div > b { display: block; margin-top: 5px; font-size: 26px; line-height: 1.15; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -.035em; color: #35482a; }.fd-stat-strip b small { font-size: 13px; letter-spacing: 0; }.fd-sample-period { font-size: 10px; text-align: right; color: #728264; align-self: center; }
.fd-channel-controls { display: flex; gap: 3px; flex-wrap: wrap; }.fd-channel-controls button { min-height: 30px; padding: 5px 9px; border: 1px solid transparent; border-radius: 5px; background: transparent; font-size: 11px; color: #6d7e5e; }.fd-channel-controls button[aria-pressed=true] { background: #f0f6e6; border-color: #d4e3bd; color: #49662d; }
.fd-gridline { stroke: #edf0e8; stroke-width: 1; vector-effect: non-scaling-stroke; }.fd-line { stroke: unset; stroke-width: 1.6; }.fd-line-all { stroke: #45533c; }.fd-line-instagram { stroke: #8db634; }.fd-line-tiktok { stroke: #9c87da; }.fd-line-whatsapp { stroke: #52aaa0; }
.fd-area { opacity: .7; transition: opacity .3s; }.fd-line[data-selected=false],.fd-marker[data-selected=false] { opacity: .13; }.fd-area[data-selected=false] { opacity: .1; }
.fd-guide { stroke: #d6dfcb; stroke-width: 1; vector-effect: non-scaling-stroke; }.fd-marker { fill: #fff; stroke-width: 1.7; vector-effect: non-scaling-stroke; }.fd-chart-wrap > svg:focus-visible { outline: 2px solid #729723; outline-offset: 3px; }
.fd-tooltip-row { color: #6a775f; font-size: 11px; }.fd-tooltip-row > strong { margin-left: auto; font-weight: 500; color: #34472b; }.fd-chart-readout { padding: 9px 24px 0; color: #6d7c60; font-size: 10px; }.fd-x-labels { color: #738068; font-size: 11px; }
.fd-source-breakdown > button { grid-template-columns: 1fr auto; gap: 9px; padding: 11px 12px; }.fd-source-name { display: flex; align-items: center; gap: 6px; }.fd-source-name .fd-icon { width: 13px; height: 13px; }.fd-source-track { display: block; grid-column: 1/-1; grid-row: 2; height: 3px; border-radius: 3px; overflow: hidden; background: #edf1e7; }.fd-source-track > i { display: block; height: 100%; border-radius: inherit; transition: width .45s var(--fd-ease); }.fd-source-breakdown > button > b { grid-column: 2; grid-row: 1; }.fd-source-breakdown > button > .fd-icon { display: none; }
.fd-data-table { color: #637456; }.fd-data-table summary { font-size: 11px; color: #667a56; }.fd-data-table summary > .fd-icon { display: none; }
.fd-external-note { margin-top: 12px; padding: 9px 0 0; border-top: 1px solid #e1e8d7; font-size: 10px; color: #62774e; }.fd-external-note a { display: block; margin-top: 4px; text-decoration: underline; text-underline-offset: 3px; }
.fd-demo[data-autoplay=false] *, .fd-demo[data-autoplay=false] *::before, .fd-demo[data-autoplay=false] *::after { animation: none!important; }
@container(max-width:650px) {
  .fd-toolbar { gap: 7px; padding-inline: 14px; }.fd-window-dots { display: none; }.fd-toolbar > strong { font-size: 10px; }
  .fd-flow-canvas { grid-template-columns: minmax(0,.85fr) 20px minmax(0,1fr) 20px minmax(0,1fr); padding-inline: 15px; }
  .fd-social-event { padding: 8px; gap: 5px; }.fd-channel-symbol { width: 23px; height: 23px; }.fd-social-event small { display: none; }.fd-post-card { padding: 12px; }.fd-post-title { font-size: 14px; }
  .fd-listing-row .fd-status { font-size: 8px; padding: 2px 4px; }.fd-listing-select { gap: 5px; }.fd-listing-select b { font-size: 10px; }.fd-visibility { width: 23px; }
  .fd-pipeline { padding-inline: 13px; }.fd-pipeline > .fd-stagebutton { font-size: 9px; min-width: 0; padding-inline: 3px; }
}
@container(max-width:470px) {
  .fd-toolbar { min-height: 48px; }.fd-controls button { min-height: 32px; min-width: 32px; }.fd-toolbar > strong { max-width: 62%; font-size: 11px; }
  .fd-demo-label { font-size: 10px; }.fd-journey-options { gap: 7px; }.fd-journey-options button { font-size: 11px; min-height: 34px; }
  .fd-flow-canvas { grid-template-columns: 1fr; gap: 0; min-height: 0; padding: 20px 23px; }.fd-source-stack { grid-template-columns: 1fr 1fr; gap: 8px; }.fd-source-stack > .fd-pane-label { grid-column: 1/-1; }.fd-social-event { padding: 10px; }.fd-social-event small { display: block; font-size: 10px; }.fd-post-card { min-height: 108px; padding: 11px; gap: 8px; }.fd-post-title { font-size: 16px; }.fd-post-action { font-size: 9px; }.fd-open-event { grid-column: 1/-1; padding: 0 3px; }.fd-event-pulse { display: none; }
  .fd-route { height: 30px; }.fd-route > svg { width: 45px; height: 30px; transform: rotate(90deg); }.fd-route::after { right: calc(50% - 2px); top: 22px; transform: rotate(135deg); }
  .fd-bio-identity { padding: 10px 12px; }.fd-bio-row { min-height: 36px; font-size: 11px; }.fd-bio-links { padding-inline: 10px; }.fd-bio-address { font-size: 10px; }.fd-bio-identity b { font-size: 12px; }.fd-bio-identity small { font-size: 10px; }.fd-link-selection { font-size: 11px; }.fd-inbox-record { margin-top: 4px; }.fd-inbox-record b { font-size: 12px; }.fd-inbox-record small,.fd-inbox-record > div > span { font-size: 10px; }.fd-enquiry-fields { grid-template-columns: auto 1fr; align-items: center; gap: 7px; padding: 12px; }.fd-enquiry-submit { grid-column: 1/-1; min-height: 34px; font-size: 11px; }.fd-field-label { font-size: 11px; }
  .fd-pipeline { padding: 3px 8px 13px; }.fd-pipeline > .fd-stagebutton { min-height: 48px; font-size: 9px; }.fd-step-dot { width: 19px; height: 19px; }.fd-pipeline > .fd-stagebutton::before { top: 9px; }.fd-flow-status { font-size: 11px; }
  .fd-management-grid,.fd-editor-grid,.fd-form-grid { grid-template-columns: 1fr; gap: 18px; padding: 18px; }.fd-listing-row { min-height: 51px; padding: 7px; }.fd-listing-select b { font-size: 11px; }.fd-listing-select small { font-size: 10px; }.fd-listing-row .fd-status { font-size: 10px; }.fd-mini-bio { padding: 13px; }.fd-mini-agent { padding: 11px; }.fd-listing-preview { min-height: 37px; }.fd-listing-preview b { font-size: 11px; }.fd-listing-preview small { font-size: 10px; }.fd-selected-toolbar button { min-height: 34px; font-size: 11px; }.fd-selected-toolbar > span { font-size: 11px; }
  .fd-editor-row { flex-wrap: nowrap; min-height: 38px; font-size: 11px; }.fd-editor-fields :is(input[type=text],input:not([type]),select) { min-height: 38px; font-size: 16px; }.fd-editor-fields > label { font-size: 11px; }.fd-editor-tools button { width: auto; min-height: 34px; }.fd-editor-tools label { font-size: 11px; }.fd-editor-save { min-height: 36px; font-size: 11px; }.fd-phone-preview { width: 100%; max-width: none; padding: 13px; }.fd-preview-link { min-height: 39px; font-size: 11px; padding: 9px 12px; }.fd-save-toast { font-size: 10px; }.fd-external-note { font-size: 11px; }
  .fd-field-options { grid-template-columns: 1fr 1fr; }.fd-field-options > .fd-pane-label,.fd-form-operation { grid-column: 1/-1; }.fd-field-option { min-height: 39px; font-size: 11px; padding: 8px; }.fd-field-option.fd-required { font-size: 10px; }.fd-field-option.fd-required > span { font-size: 9px; }.fd-form-operation { grid-template-columns: 19px 1fr 19px 1fr 19px 1fr; padding: 4px 0; gap: 5px; }.fd-form-operation b { font-size: 9px; }.fd-form-preview { padding: 13px; }.fd-form-preview > h3 { font-size: 14px; }.fd-field-line { margin-top: 8px; }.fd-field-line > span { font-size: 11px; }.fd-input-sim { min-height: 31px; font-size: 11px; }.fd-form-confirmation { font-size: 11px; }
  .fd-routing-grid { padding: 17px 13px; }.fd-incoming { padding: 10px; }.fd-incoming .fd-status { display: none; }.fd-incoming small { font-size: 10px; }.fd-route-diagram { padding-top: 13px; }.fd-route-diagram .fd-branch-map { height: 43px; }.fd-agent-node { min-height: 110px; padding: 10px 4px; }.fd-agent-node > b { font-size: 10px; }.fd-agent-node > small { font-size: 9px; }.fd-routing-result { flex-wrap: wrap; }.fd-routing-result b { font-size: 12px; }.fd-routing-assignment { font-size: 10px; }.fd-routing-result .fd-pane-label { font-size: 9px; }
  .fd-analytics .fd-stat-strip { grid-template-columns: 1fr 1fr 1fr; gap: 9px; padding: 18px 16px 9px; }.fd-stat-strip > div > b { font-size: 25px; }.fd-stat-strip > div > span { font-size: 10px; }.fd-sample-period { display: none; }.fd-chart-wrap > svg { aspect-ratio: 960/450; min-height: 150px; }.fd-chart-readout { padding-inline: 16px; font-size: 11px; }.fd-channel-controls button { font-size: 11px; min-height: 32px; padding: 5px 7px; }.fd-channel-controls { width: 100%; }.fd-source-breakdown { grid-template-columns: 1fr; padding: 13px 16px; }.fd-source-breakdown > button { grid-template-columns: 1fr 80px 30px; min-height: 38px; padding: 9px; }.fd-source-breakdown > button > b { grid-column: 3; grid-row: 1; }.fd-source-track { grid-column: 2; grid-row: 1; }.fd-source-breakdown > button > span { font-size: 11px; }.fd-tooltip { width: 166px; }.fd-tooltip-row { font-size: 10px; }
}

/* Confirmation pass: compact phone compositions and real text contrast. */
.fd-source-breakdown > button, .fd-mini-title, .fd-sample-period, .fd-x-labels { color: #626f56; }
.fd-demo[data-functional-demo=analytics] .fd-stat-strip { max-width: none; }
.fd-listing-select b { font-size: 11px; }.fd-listing-select small { font-size: 10px; }
@container(max-width:470px) {
  .fd-flow-canvas { grid-template-columns: minmax(0,1fr) 16px minmax(0,1fr); align-items: start; padding: 16px 12px 20px; }
  .fd-source-stack { display: flex; grid-column: 1/-1; grid-row: 1; align-items: center; gap: 8px; margin-bottom: 18px; }
  .fd-source-stack > .fd-pane-label,.fd-post-card { display: none; }.fd-social-event { flex: 1; min-width: 0; padding: 10px 8px; }.fd-social-event small { font-size: 9px; }.fd-open-event { flex: none; font-size: 9px; padding: 5px 0; gap: 4px; }.fd-open-event .fd-icon { width: 11px; height: 11px; }.fd-open-event b { margin-left: 1px; }
  .fd-flow-canvas > .fd-route:nth-child(2) { display: none; }
  .fd-bio-window { grid-column: 1; grid-row: 2; width: 100%; align-self: stretch; }
  .fd-flow-canvas > .fd-route:nth-child(4) { display: grid; grid-column: 2; grid-row: 2; height: 40px; align-self: center; }.fd-flow-canvas > .fd-route:nth-child(4) > svg { width: 100%; height: 40px; transform: none; }.fd-flow-canvas > .fd-route:nth-child(4)::after { right: 1px; top: 17px; transform: rotate(45deg); }
  .fd-inbox-window { grid-column: 3; grid-row: 2; width: 100%; align-self: stretch; }
  .fd-bio-window > .fd-pane-label,.fd-inbox-window > .fd-pane-label { padding: 8px; font-size: 10px; }.fd-bio-address { font-size: 9px; padding: 7px 4px; gap: 3px; }.fd-bio-address .fd-icon { width: 10px; height: 10px; }
  .fd-bio-identity { flex-direction: column; align-items: center; text-align: center; gap: 5px; padding: 11px 6px; }.fd-bio-identity b { font-size: 11px; }.fd-bio-identity small { font-size: 9px; line-height: 1.4; }
  .fd-bio-links { padding: 0 7px 8px; }.fd-bio-row { min-height: 39px; padding: 7px 6px; gap: 5px; font-size: 10px; }.fd-bio-row .fd-icon { width: 11px; height: 11px; }.fd-bio-row > .fd-icon:last-child { display: none; }.fd-link-selection { margin-inline: 7px; font-size: 9px; }
  .fd-enquiry-fields { grid-template-columns: 1fr; padding: 9px 8px; gap: 4px; }.fd-enquiry-fields .fd-field-label { font-size: 9px; }.fd-enquiry-fields .fd-input-sim { min-height: 29px; font-size: 10px; padding: 6px; }.fd-enquiry-submit { min-height: 33px; padding: 6px; font-size: 10px; }
  .fd-inbox-record { flex-wrap: wrap; gap: 5px; padding: 7px; margin: 4px 8px 8px; }.fd-contact-avatar { width: 20px; height: 20px; }.fd-inbox-record > div { flex: 1; min-width: 64px; }.fd-inbox-record b { font-size: 10px; }.fd-inbox-record > div > span,.fd-inbox-record small { font-size: 9px; }.fd-record-check { display: none; }.fd-inbox-total { padding-inline: 8px; font-size: 9px; }.fd-inbox-total b { font-size: 16px; }
  .fd-management-grid { grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 10px; padding: 17px 12px; }.fd-listing-row { flex-wrap: nowrap; min-height: 53px; gap: 4px; padding: 5px; }.fd-listing-select { flex-wrap: wrap; gap: 4px; }.fd-listing-select .fd-thumb { width: 23px; height: 25px; }.fd-listing-select b { font-size: 10px; }.fd-listing-select small { font-size: 9px; }.fd-listing-row .fd-status { margin: 0; font-size: 8px; padding: 2px 3px; }.fd-visibility { width: 19px; }.fd-visibility > span { width: 17px; height: 11px; }.fd-visibility > span::after { width: 7px; height: 7px; }.fd-visibility input:checked + span::after { transform: translateX(6px); }.fd-mini-bio { padding: 8px; }.fd-mini-title { font-size: 9px; }.fd-mini-agent > b { font-size: 10px; text-align: center; }.fd-mini-agent { padding: 10px 0; }.fd-listing-preview { min-height: 44px; gap: 4px; }.fd-listing-preview b { font-size: 10px; }.fd-listing-preview small { font-size: 9px; }.fd-listing-preview > .fd-icon { display: none; }.fd-listing-preview > span .fd-icon { width: 11px; height: 11px; }.fd-selected-toolbar > span { display: none; }.fd-selected-toolbar button { width: 100%; font-size: 10px; }.fd-sync-state { font-size: 9px; text-align: center; }
  .fd-editor-list { display: none; }.fd-editor-grid { padding: 17px; gap: 16px; }.fd-editor-fields { gap: 4px; }.fd-phone-preview .fd-mini-agent { padding: 10px 0; }.fd-phone-preview .fd-mini-title { font-size: 10px; }.fd-preview-link { min-height: 35px; }.fd-save-toast { padding-top: 6px; }
  .fd-form-grid { padding: 17px; gap: 15px; }.fd-form-preview { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: 9px; padding: 12px; }.fd-form-preview > .fd-pane-label,.fd-form-preview > h3,.fd-form-preview > .fd-enquiry-submit,.fd-form-preview > .fd-form-confirmation { grid-column: 1/-1; }.fd-form-preview > h3 { margin: 8px 0 3px; }.fd-field-line { margin-top: 7px; }.fd-field-line > span { font-size: 10px; }.fd-input-sim { font-size: 10px; padding: 7px 6px; }.fd-field-option.fd-required > span { font-size: 8px; }.fd-field-option.fd-required { gap: 5px; }.fd-field-option.fd-required > .fd-icon { width: 10px; height: 10px; }.fd-form-confirmation { font-size: 10px; }
}
.fd-demo[data-functional-demo=analytics] .fd-chart-wrap > svg { display: block; max-height: none; }
.fd-x-labels { padding-inline: 2.5%; }
@container(max-width:470px) { .fd-listing-select { flex-wrap: nowrap; } }

/* Compact edition: ink surfaces, brand lime actions, vivid source colors. */
.fd-demo {
  --fd-ink: #232530; --fd-muted: #646875; --fd-border: #e4e5eb;
  --fd-soft: #f6f6f9; --fd-green: #40531c;
  max-width: 880px; margin-inline: auto; border-color: #e2e3e9;
  border-radius: 12px; background: #fff; box-shadow: 0 8px 25px #1c1d2806;
  color: var(--fd-ink);
}
.workspace { max-width: 880px; margin-inline: auto; }
main > .section:has(.fd-demo) { padding-block: 64px; }
.fd-toolbar { min-height: 38px; padding: 5px 15px; background: #fafafd; border-color: #e7e7ee; }
.fd-toolbar > strong { color: #343642; }
.fd-window-dots { display: none; }
.fd-controls button { min-width: 27px; min-height: 27px; padding: 4px 7px; color: #646471; border-color: #e3e3eb; }
.fd-controls button:hover { background: #efebfa; color: #6742be; border-color: #d4c5f5; }
.fd-caption { min-height: 32px; padding: 7px 15px; background: #fafafd; border-color: #e7e7ee; color: #666773; font-size: 11px; }
.fd-pane-label,.fd-mini-title,.fd-sample-period,.fd-x-labels,.fd-chart-readout,.fd-data-table summary { color: #676975; }
.fd-pipeline { padding: 0 14px 9px; gap: 5px; }
.fd-pipeline > .fd-stagebutton { flex-direction: row; gap: 5px; min-height: 29px; padding: 3px 2px; color: #6b6a77; font-size: 10px; }
.fd-pipeline > .fd-stagebutton::before { display: none; }
.fd-step-dot { width: 14px; height: 14px; flex: none; border-color: #dedde7; }
.fd-step-dot[data-complete=true] { background: #f0e9ff; border-color: #ddcef9; color: #8453de; }
.fd-step-dot[data-active=true] { background: var(--color-accent); border-color: #add52e; box-shadow: none; }
.fd-step-dot[data-active=true]::after { width: 4px; height: 4px; background: #354119; }
.fd-pipeline > .fd-stagebutton[aria-pressed=true] { color: #282d1c; }
.fd-flow-status,.fd-link-selection { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.fd-source-options button,.fd-intent-options button,.fd-channel-controls button,.fd-metric-controls button { color: #626572; }
.fd-journey-options { padding: 10px 16px 0; }
.fd-journey-options button[aria-pressed=true] { background: var(--color-accent); color: #29331a; border-color: #b0d934; }
.fd-journey-options button:hover { background: #f0eafa; color: #6940b8; }
.fd-flow-canvas { min-height: 0; grid-template-columns: minmax(0,.88fr) 26px minmax(0,1fr) 26px minmax(0,1fr); padding: 15px 20px 17px; }
.fd-source-stack { gap: 6px; }
.fd-social-event { padding: 9px; border-color: #e2e2eb; box-shadow: none; }
.fd-social-event b { color: #343542; }.fd-social-event small { color: #70717e; }
.fd-channel-symbol { border-color: #e5dcf6; background: #f4effe; color: #8651de; }
.fd-social[data-source=whatsapp] .fd-channel-symbol { background: #edf3ff; color: #3b70dd; border-color: #d5e2ff; }
.fd-event-pulse { background: #a1cd32; }
.fd-post-card { min-height: 102px; gap: 10px; padding: 13px; border-color: #272936; background: #232531; }
.fd-post-title { color: #fff; font-size: 17px; }.fd-post-action { color: #d1d5e4; }
.fd-post-bars i { background: #ffffff25; }.fd-post-bars i:first-child { background: var(--color-accent); }
.fd-open-event { padding: 6px 8px; color: #7252b2; }
.fd-route > svg { stroke: #dedbea; }.fd-route .fd-packet { stroke: #9561ed; }.fd-route::after { border-color: #bba4df; }
.fd-bio-window,.fd-inbox-window { border-color: #e1dfeb; border-radius: 9px; box-shadow: none; }
.fd-bio-window > .fd-pane-label { display: none; }
.fd-bio-address { min-height: 28px; padding: 6px 9px; background: #f4effd; border-color: #e8e0f5; color: #80649f; }
.fd-bio-identity { padding: 10px 11px; gap: 8px; }.fd-bio-identity small { display: none; }.fd-bio-identity b { color: #282a37; }
.fd-bio-identity > span { width: 25px; height: 25px; background: #292734; color: #e3d3ff; }
.fd-bio-links { padding: 0 9px 10px; gap: 5px; }.fd-bio-row { min-height: 34px; padding: 7px 8px; color: #696775; border-color: #e7e3ef; background: #faf9fc; }
.fd-bio-row.fd-bio-selected { color: #696775; border-color: #e7e3ef; background: #faf9fc; }
.fd-bio-row .fd-icon { color: #8b6cb2; }.fd-social .fd-bio-row[data-selected=true] { border-color: #acd031; background: var(--color-accent); color: #303a1c; }
.fd-social .fd-bio-row[data-selected=true] .fd-icon { color: #4c6024; }
.fd-inbox-window { min-height: 226px; background: #fcfdff; border-color: #dce5f6; }
.fd-inbox-window > .fd-pane-label { min-height: 30px; padding: 7px 10px; border-color: #e6ecf7; color: #607193; background: #f4f7fe; }
.fd-enquiry-fields { grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 7px 6px; padding: 12px 10px; transition: opacity .25s; }
.fd-enquiry-fields .fd-field-label { font-size: 10px; color: #727789; }
.fd-enquiry-fields .fd-input-sim { min-height: 30px; padding: 6px; border-color: #e2e7f0; color: #3f485f; background: #fff; }
.fd-enquiry-submit { grid-column: 1/-1; min-height: 31px; border-color: #acd32d; background: var(--color-accent); color: #2d381a; }
.fd-social[data-phase="4"] .fd-enquiry-fields { opacity: 0; visibility: hidden; }
.fd-social[data-phase="4"] .fd-enquiry-submit { background: var(--color-accent); border-color: #acd32d; color: #2d381a; }
.fd-inbox-record { position: absolute; left: 10px; right: 10px; top: 63px; margin: 0; padding: 12px 10px; min-height: 83px; border-color: #d5e3fd; background: #ecf3ff; visibility: hidden; opacity: 0; }
.fd-social[data-phase="4"] .fd-inbox-record { visibility: visible; opacity: 1; }
.fd-inbox-record b { color: #365c9f; }.fd-inbox-record > div > span,.fd-inbox-record small { color: #5a6f94; }
.fd-contact-avatar { background: #d8e7ff; color: #4672bc; }.fd-record-check { background: var(--color-accent); color: #3c4a20; }
.fd-inbox-total { position: absolute; left: 10px; right: 10px; bottom: 11px; padding: 0; color: #6d7790; }.fd-inbox-total b { color: #3e6dc3; font-size: 20px; }
.fd-management-grid,.fd-editor-grid,.fd-form-grid { padding: 14px 16px; gap: 14px; }
.fd-listing-row { min-height: 44px; padding: 5px 6px; border-color: #e6e5ec; }.fd-listing-row.is-selected { border-color: #e6e5ec; }.fd-listing-row[data-selected=true] { background: #f4f8e8; border-color: #cbdb9f; }
.fd-listing-select b { color: #333540; }.fd-listing-select small { color: #777685; }.fd-count { color: #72717e; }.fd-count b { color: #424632; }
.fd-visibility input:checked + span { background: #8960d6; }
.fd-status { background: #f1f5e6; color: #647237; border-color: #e4e9d7; }.fd-status[data-sold=true],.fd-status.is-sold { background: #f1ebfc; color: #8061aa; border-color: #e5d8f5; }
.fd-selected-toolbar { min-height: 32px; margin-top: 1px; padding-top: 3px; }.fd-selected-toolbar > span { color: #797783; }
.fd-selected-toolbar button,.fd-editor-save { min-height: 29px; background: var(--color-accent); border-color: #acd52c; color: #303b1c; }
.fd-mini-bio { padding: 10px; border-color: #e5dcf4; background: #f8f4ff; }.fd-listings .fd-mini-agent { display: none; }.fd-mini-title { padding-bottom: 7px; border-color: #e5ddec; color: #7d699b; }
.fd-listing-preview { min-height: 36px; padding-block: 6px; border-color: #ebe4f5; }.fd-listing-preview b { color: #524365; }.fd-listing-preview small { color: #857197; }.fd-listing-preview[data-sold=true] small { color: #9267a4; }.fd-listing-preview > span > .fd-icon { color: #9b78be; }
.fd-sync-state { margin-top: 7px; color: #80669a; }
.fd-editor-list,.fd-form-operation { display: none; }
.fd-editor-panel > .fd-pane-label { display: none; }
.fd-editor-fields > label { color: #727080; }.fd-editor-fields :is(input:not([type]),input[type=text],select) { border-color: #dedbe8; color: #40374f; }
.fd-editor-tools button,.fd-editor-tools label { color: #77628e; }
.fd-phone-preview { padding: 10px; border-color: #2a2939; background: #262634; box-shadow: none; }
.fd-phone-preview .fd-mini-title { color: #bbb7ce; border-color: #454253; }.fd-phone-preview .fd-mini-agent { padding: 11px 2px; gap: 4px; }.fd-phone-preview .fd-mini-agent > span { width: 25px; height: 25px; background: #8765c3; color: #f4eaff; }.fd-phone-preview .fd-mini-agent > b { color: #fff; }.fd-phone-preview .fd-mini-agent > small { display: none; }
.fd-preview-link { color: #d8d3e9; border-color: #565064; background: #343240; }.fd-preview-link .fd-icon { color: #ad97ce; }.fd-preview-link[data-selected=true] { color: #30371d; background: var(--color-accent); border-color: var(--color-accent); }.fd-preview-link[data-selected=true] .fd-icon { color: #4b5429; }.fd-save-toast { color: #c4b8de; font-size: 10px; }.fd-external-note { color: #c4b8de; border-color: #4b435b; }
.fd-field-option { min-height: 35px; padding: 7px 9px; border-color: #e6e1ee; color: #70657e; }.fd-field-option:has(input:checked) { background: #f5efff; border-color: #dfcff6; color: #7955a3; }.fd-field-option.fd-required > span { color: #8c7c9b; }.fd-demo input[type=checkbox] { accent-color: #9463df; }
.fd-form-preview { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 0 8px; padding: 10px; border-color: #e0def0; background: #f8f7fd; box-shadow: none; }
.fd-form-preview > .fd-pane-label,.fd-form-preview > h3,.fd-form-preview > .fd-enquiry-submit,.fd-form-preview > .fd-form-confirmation { grid-column: 1/-1; }
.fd-form-preview > h3 { margin: 7px 0 3px; color: #4f4266; }.fd-field-line { margin-top: 7px; }.fd-field-line > span { color: #7f718f; }.fd-input-sim { border-color: #e1dbec; color: #6a5b7b; background: #fff; }
.fd-form-confirmation { min-height: 30px; padding: 7px; color: #6b4f91; border-color: #e1d3f5; background: #eee6fc; }
.fd-routing-grid { padding: 14px 16px; }.fd-incoming { padding: 8px 10px; border-color: #e5e1ee; }.fd-incoming b { color: #454051; }.fd-incoming small { color: #847a91; }.fd-incoming-icon .fd-icon { color: #9262d6; }
.fd-route-diagram { padding-top: 10px; }.fd-agency-hub { min-height: 31px; padding: 6px 11px; background: #282735; border-color: #282735; color: #e7dcff; }.fd-agency-hub .fd-icon { color: var(--color-accent); }.fd-agency[data-phase="1"] .fd-agency-hub { background: #3e3157; border-color: #5e4286; box-shadow: none; }
.fd-route-diagram .fd-branch-map { height: 32px; }.fd-route-diagram path { stroke: #e1d6f0; }.fd-route-diagram .fd-branch-active { stroke: #9061dc; }
.fd-agent-node { min-height: 84px; gap: 3px; padding: 9px 6px; border-color: #e8e1f0; color: #926cbb; }.fd-agent-node[aria-pressed=true] { border-color: #d1b8f2; background: #f4ecff; box-shadow: none; }.fd-agent-node > b { color: #625172; }.fd-agent-node > small { color: #8c7b9b; }.fd-agent-node .fd-agent-avatar { color: #8a62bc; background: #eee2fc; border-color: #e4d2f8; }.fd-agent-node:nth-child(2) .fd-agent-avatar { color: #3b77c2; background: #e6f0ff; border-color: #d7e6fc; }.fd-agent-node:nth-child(3) .fd-agent-avatar { color: #647b24; background: #edf4d7; border-color: #dce9b6; }
.fd-routing-result { min-height: 45px; margin-top: 9px; padding: 8px 10px; border-color: #ded4f1; background: #f4edfe; color: #8862ad; }.fd-routing-result b { color: #6d4c92; }.fd-routing-result small { color: #9278ab; }.fd-routing-result > div > .fd-pane-label { color: #8a70a2; }
.fd-analytics .fd-toolbar { background: #fff; }.fd-analytics .fd-toolbar .fd-demo-label { color: #787482; font-weight: 400; font-size: 10px; }
.fd-analytics-toolbar { padding: 9px 16px 0; gap: 8px; }.fd-metric-controls { background: #f6f4f9; border-color: #e5e1ed; padding: 2px; }.fd-metric-controls button { min-height: 27px; }.fd-metric-controls button[aria-pressed=true] { color: #6f47ae; border-color: #ded3ef; background: #fff; }
.fd-channel-controls button { min-height: 28px; }.fd-channel-controls button[aria-pressed=true] { color: #6e43b2; background: #f2eafa; border-color: #e2d1fa; }
.fd-analytics .fd-stat-strip { padding: 11px 19px 6px; gap: 18px; }.fd-stat-strip > div > span { color: #7b7687; }.fd-stat-strip > div > b { color: #2d2a37; font-size: 25px; margin-top: 3px; }.fd-stat-strip > div:nth-child(2) > b { color: #8751d4; }.fd-stat-strip > div:nth-child(3) > b { color: #3c77c9; }.fd-sample-period { color: #86808f; }
.fd-demo[data-functional-demo=analytics] .fd-chart-wrap > svg { aspect-ratio: 960/224; min-height: 0; }
.fd-gridline { stroke: #eeebf3; }.fd-line { stroke-width: 1.7; }.fd-line-all { stroke: #252735; }.fd-line-instagram { stroke: #65a30d; }.fd-line-tiktok { stroke: #8b5cf6; }.fd-line-whatsapp { stroke: #3b82f6; }.fd-area { opacity: .85; }.fd-guide { stroke: #ddd4ea; }
.fd-x-labels { padding-top: 0; color: #7c7487; }.fd-tooltip { background: #fff; border-color: #e6dff0; box-shadow: 0 7px 22px #36214e10; }.fd-tooltip > b { color: #5d476e; }.fd-tooltip-row { color: #85728f; }.fd-tooltip-row > strong { color: #513e63; }
.fd-chart-readout { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.fd-source-breakdown { display: flex; padding: 9px 18px 6px; gap: 10px; }
.fd-source-breakdown > button { display: flex; align-items: center; gap: 7px; flex: 1; min-height: 31px; padding: 5px 6px; border-color: transparent; background: transparent; border-radius: 5px; color: #7c688e; }
.fd-source-breakdown > button:hover { background: #f8f4fd; border-color: #eadff7; }.fd-source-breakdown > button[aria-pressed=true] { background: #f2eafa; border-color: #e3d5f6; }.fd-source-breakdown > button > b { margin-left: auto; color: #6b4d89; }.fd-source-track { display: none; }
.fd-data-table { margin: 0 18px 9px; border-color: #e8e0f0; }.fd-data-table summary { padding-top: 7px; color: #81708f; }
@container(max-width:650px) {
  .fd-toolbar { padding-inline: 12px; }.fd-flow-canvas { grid-template-columns: minmax(0,.9fr) 16px minmax(0,1fr) 16px minmax(0,1fr); padding-inline: 14px; }
  .fd-pipeline > .fd-stagebutton { font-size: 9px; gap: 4px; }.fd-step-dot { width: 12px; height: 12px; }.fd-management-grid,.fd-editor-grid,.fd-form-grid { padding: 13px; gap: 12px; }
}
@container(max-width:470px) {
  .fd-demo { border-radius: 11px; }.fd-toolbar { min-height: 38px; gap: 5px; }.fd-toolbar > strong { max-width: 65%; font-size: 11px; }.fd-controls button { min-height: 29px; min-width: 29px; }
  .fd-caption { padding: 7px 12px; font-size: 10px; }.fd-journey-options { padding: 9px 12px 0; gap: 5px; }.fd-journey-options button { min-height: 31px; padding: 5px 7px; }
  .fd-flow-canvas { grid-template-columns: minmax(0,1fr) 16px minmax(0,1fr); padding: 13px 12px 14px; }.fd-source-stack { margin-bottom: 12px; }.fd-social-event { padding: 8px; }.fd-social-event small { font-size: 9px; }
  .fd-bio-window { grid-column: 1; grid-row: 2; }.fd-inbox-window { grid-column: 3; grid-row: 2; min-height: 232px; }.fd-bio-identity { flex-direction: row; text-align: left; padding: 10px 8px; gap: 6px; }.fd-bio-identity > span { width: 23px; height: 23px; font-size: 9px; }.fd-bio-identity b { font-size: 11px; }.fd-bio-links { padding-inline: 7px; }.fd-bio-row { min-height: 37px; padding: 6px; font-size: 10px; }.fd-bio-address { min-height: 28px; font-size: 9px; }
  .fd-enquiry-fields { grid-template-columns: 1fr; padding: 9px 8px; gap: 3px; }.fd-enquiry-fields .fd-field-label { font-size: 9px; }.fd-enquiry-fields .fd-input-sim { min-height: 27px; font-size: 10px; }.fd-enquiry-submit { min-height: 31px; font-size: 10px; }.fd-inbox-record { top: 64px; left: 8px; right: 8px; padding: 10px 8px; min-height: 92px; }.fd-inbox-record > div > span,.fd-inbox-record small { font-size: 9px; }.fd-inbox-total { left: 8px; right: 8px; bottom: 10px; }
  .fd-pipeline { padding: 0 8px 8px; gap: 2px; }.fd-pipeline > .fd-stagebutton { flex-direction: column; min-height: 36px; gap: 3px; font-size: 9px; line-height: 1.3; padding-inline: 2px; }.fd-step-dot { width: 13px; height: 13px; }
  .fd-management-grid { padding: 13px 11px; gap: 9px; }.fd-listing-row { min-height: 46px; }.fd-listing-select b { font-size: 10px; }.fd-listings .fd-mini-agent { display: none; }.fd-listing-preview { min-height: 38px; }.fd-mini-bio { padding: 8px; }.fd-selected-toolbar button { min-height: 30px; }
  .fd-editor-grid { gap: 12px; padding: 13px; }.fd-editor-fields :is(input:not([type]),input[type=text],select) { min-height: 36px; font-size: 16px; }.fd-editor-fields { gap: 3px; }.fd-phone-preview .fd-mini-agent { display: none; }.fd-phone-preview .fd-mini-title { padding-bottom: 8px; margin-bottom: 8px; }.fd-preview-link { min-height: 34px; }.fd-save-toast { padding-top: 7px; }
  .fd-form-grid { padding: 13px; gap: 12px; }.fd-field-options .fd-required { display: none; }.fd-field-option { min-height: 34px; }.fd-form-preview { padding: 10px; }.fd-form-preview > h3 { font-size: 13px; }.fd-field-line > span { font-size: 10px; }.fd-input-sim { font-size: 10px; min-height: 29px; }.fd-form-confirmation { font-size: 10px; }
  .fd-routing-grid { padding: 13px 12px; }.fd-agent-node { min-height: 86px; }.fd-route-diagram .fd-branch-map { height: 31px; }.fd-routing-result { padding: 8px; }
  .fd-analytics-toolbar { padding: 8px 12px 0; }.fd-channel-controls { gap: 0; }.fd-channel-controls button { padding: 5px 6px; min-height: 29px; }.fd-analytics .fd-stat-strip { padding: 12px 14px 7px; gap: 8px; }.fd-stat-strip > div > b { font-size: 23px; }.fd-demo[data-functional-demo=analytics] .fd-chart-wrap > svg { aspect-ratio: 960/330; min-height: 115px; }.fd-tooltip { width: 155px; padding: 8px 9px; }.fd-tooltip-row { font-size: 10px; }
  .fd-source-breakdown { padding: 8px 11px 6px; gap: 2px; }.fd-source-breakdown > button { flex-wrap: wrap; justify-content: center; gap: 4px; padding: 5px 3px; min-height: 40px; }.fd-source-breakdown > button > b { margin: 0; font-size: 10px; }.fd-source-name { gap: 3px; font-size: 10px; }.fd-source-name .fd-icon { width: 11px; height: 11px; }.fd-data-table { margin-inline: 13px; margin-bottom: 8px; }.fd-data-table summary { min-height: 28px; padding-top: 5px; }
}
/* Final contrast and source identity. */
.fd-bio-row:hover { background: #f2ebfc; border-color: #d9c4f2; }
.fd-social .fd-inbox-record { background: #315fc7; border-color: #315fc7; }
.fd-social .fd-inbox-record b { color: #fff; }
.fd-social .fd-inbox-record > div > span,.fd-social .fd-inbox-record small { color: #e0e9ff; }
.fd-social .fd-contact-avatar { background: #ffffff24; color: #fff; }
.fd-source-name::before { content: ''; width: 5px; height: 5px; flex: none; border-radius: 50%; }
.fd-source-breakdown [data-fd-channel=instagram] .fd-source-name::before { background: #65a30d; }
.fd-source-breakdown [data-fd-channel=tiktok] .fd-source-name::before { background: #8b5cf6; }
.fd-source-breakdown [data-fd-channel=whatsapp] .fd-source-name::before { background: #3b82f6; }
.fd-source-name .fd-icon { display: none; }
.fd-agent-node > small,.fd-routing-result small,.fd-routing-result > div > .fd-pane-label,
.fd-field-option.fd-required > span,.fd-incoming small,.fd-sample-period,
.fd-stat-strip > div > span,.fd-x-labels,.fd-tooltip-row,
.fd-listing-select small,.fd-listing-preview small,.fd-listing-preview[data-sold=true] small,
.fd-enquiry-fields .fd-field-label,.fd-inbox-total,.fd-field-line > span { color: #6f637c; }
.fd-mini-title { color: #78628f; }
