/* form by XONIK app (its own address): the approved app look. Night navy rail and buttons, cream
   workspace, white cards with soft corners, Archivo headings (no serif), the green dot for "live"
   and the main create action. Loaded only where the product runs on its own (data-fx-product). */
html[data-fx-product] {
  --xonika-primary: #0b1626; --xonika-primary-hover: #24385a; --xonika-primary-soft: #e4e8ee; --xonika-primary-ink: #ffffff;
  --xonika-accent-gold: #14a86f; --xonika-brand-primary: #0b1626;
  --xonika-font-serif: 'Plus Jakarta Sans', system-ui, sans-serif; --xonika-font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --xonika-sidebar-item-active-border: #14a86f; --xonika-sidebar-item-active-bg: #1b2a40;
  --xonika-border: #e4e7ec; --xonika-border-subtle: #f2f4f7; --xonika-radius-lg: 14px; --xonika-radius-xl: 18px;
  --fxa-green: #14a86f; --fxa-green-soft: #ddf3e9; --fxa-green-ink: #0b7a4f; --fxa-night: #0b1626;
}
/* Titles: Archivo, firm and tight, not the serif */
html[data-fx-product] .section-title, html[data-fx-product] .page-header-title, html[data-fx-product] .drawer-hero__title, html[data-fx-product] .my-day-heading,
html[data-fx-product] #workspace-breadcrumb-title, html[data-fx-product] .nav-more__head strong {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important; font-weight: 700 !important; letter-spacing: -.015em !important;
}
html[data-fx-product] .section-title, html[data-fx-product] .page-header-title { font-size: 28px !important; line-height: 34px; }
html[data-fx-product] #workspace-breadcrumb-title { font-size: 20px !important; }
html[data-fx-product] .nav-more-title, html[data-fx-product] .record-action span { color: var(--fxa-green-ink) !important; }

/* Buttons: navy primary, quiet secondary, soft corners */
html[data-fx-product] .xonika-btn { border-radius: 10px; font-weight: 600; }
html[data-fx-product] .xonika-btn--primary { background: var(--fxa-night); border-color: var(--fxa-night); color: #fff; }
html[data-fx-product] .xonika-btn--primary:hover { background: #24385a; border-color: #24385a; color: #fff; }
html[data-fx-product] .xonika-btn--secondary { background: #fff; border-color: var(--xonika-border); color: var(--fxa-night); }
html[data-fx-product] .xonika-btn--secondary:hover { border-color: var(--fxa-night); }
/* The one main action in the top bar ("Create") in the green of the dot */
html[data-fx-product] #create-menu-btn {
  background: var(--fxa-green) !important; border-color: var(--fxa-green) !important; color: #fff !important; box-shadow: 0 6px 18px rgba(20,168,111,.35);
}

/* Cards and numbers */
html[data-fx-product] .xonika-card, html[data-fx-product] .section-kpi-card, html[data-fx-product] .fb-card, html[data-fx-product] .addon-card {
  border-radius: 16px; border-color: var(--xonika-border); box-shadow: none;
}
html[data-fx-product] .section-kpi-label { font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: .04em; color: #667085; }
html[data-fx-product] .section-kpi-val { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; letter-spacing: -.015em; }

/* Tables: a quiet head, roomy rows */
html[data-fx-product] .xonika-table-container { border-radius: 14px; border: 1px solid var(--xonika-border); background: #fff; overflow: auto; }
html[data-fx-product] .xonika-table th { background: #f2f4f7; color: #344054; font-weight: 600; font-size: 12px; text-transform: none; letter-spacing: 0; }
html[data-fx-product] .xonika-table td { border-color: #f2f4f7; }

/* Tabs: the dark pill for the one that is open */
html[data-fx-product] .fb-tab { border-radius: 8px; font-weight: 500; }
html[data-fx-product] .fb-tab.is-active { background: var(--fxa-night); color: #fff; border-color: var(--fxa-night); }

/* Chips: "Live" in green */
html[data-fx-product] .status-pill--published, html[data-fx-product] .badge-published { background: var(--fxa-green-soft); color: var(--fxa-green-ink); }

/* The numbers in one row */
html[data-fx-product] .section-kpi-row { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
/* The sidebar: quiet icons; the green dot marks where you are */
html[data-fx-product] .xonika-sidebar .app-tab-btn svg, html[data-fx-product] .xonika-sidebar .sidebar-nav svg { color: #8d9bb0 !important; stroke: currentColor; }
html[data-fx-product] .xonika-sidebar .app-tab-btn.active { border-left-color: var(--fxa-green) !important; }
html[data-fx-product] .xonika-sidebar .app-tab-btn.active svg { color: var(--fxa-green) !important; }

/* All forms as cards (99-forms-gallery.js) */
.fx-forms { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin: 4px 0 24px; }
.fx-fc { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--xonika-border, #e4e7ec); border-radius: 14px; overflow: hidden; text-align: left; color: inherit; font: inherit; cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; padding: 0; }
.fx-fc:hover { box-shadow: 0 14px 30px rgba(11,22,38,.10); border-color: #c7ccd4; }
.fx-fc:focus-visible { outline: 3px solid #14a86f; outline-offset: 2px; }
.fx-fc-top { height: 104px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; }
.fx-fc-top .q { font-weight: 600; font-size: 13px; line-height: 17px; max-width: 85%; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.fx-fc-b { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; border-top: 1px solid #f2f4f7; }
.fx-fc-b b { font-size: 15px; line-height: 20px; }
.fx-fc-b small { color: #667085; font-size: 12px; }
.fx-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11px; font-weight: 600; background: rgba(255,255,255,.85); color: #344054; }
.fx-chip.live { background: #ddf3e9; color: #0b7a4f; }
.fx-chip.live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #14a86f; }
/* A card's buttons: one even row under its name, always in place (never laid over the preview, never appearing or
   moving under the mouse), wrapping to a second row on a narrow card */
.fx-fc-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; padding: 2px 12px 12px; margin-top: auto; }
.fx-fc-acts a, .fx-fc-acts span { height: 28px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--xonika-border, #e4e7ec); background: #fff; color: #344054; font-size: 12.5px; font-weight: 600; line-height: 1; white-space: nowrap; display: inline-flex; flex: 1 1 auto; align-items: center; justify-content: center; text-decoration: none; transition: background-color .15s, border-color .15s, color .15s; }
.fx-fc-acts a:hover, .fx-fc-acts span:hover { background: #f2f4f7; border-color: #c7ccd4; color: #0b1626; }
.fx-fc-acts .fx-ro { color: #667085; background: #f9fafb; cursor: default; }
.fx-fc.new { border-style: dashed; align-items: center; justify-content: center; min-height: 178px; font-weight: 600; color: #0b1626; background: transparent; }
.fx-fc.new span { font-size: 28px; line-height: 1; margin-bottom: 6px; color: #14a86f; }
.fx-forms-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 14px; }
.fx-forms-bar .spacer { flex: 1; }
.fx-seg { display: inline-flex; gap: 2px; background: #fff; border: 1px solid var(--xonika-border, #e4e7ec); border-radius: 10px; padding: 3px; }
.fx-seg button { border: 0; background: transparent; height: 28px; padding: 0 12px; border-radius: 7px; font: 600 13px 'Plus Jakarta Sans', sans-serif; color: #344054; cursor: pointer; }
.fx-seg button[aria-pressed="true"] { background: #0b1626; color: #fff; }
@media (prefers-reduced-motion: reduce) { .fx-fc { transition: none; } }

/* First run (99-product-mode.js): how to start, AI from a sentence, the first steps */
.fxw { position: fixed; inset: 0; z-index: 9000; background: #f5f6f8; overflow: auto; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; color: #0b1626; animation: fxw-in .35s ease both; }
@keyframes fxw-in { from { opacity: 0; } to { opacity: 1; } }
.fxw-top { position: sticky; top: 0; display: flex; align-items: center; gap: 12px; padding: 14px 28px; background: #fff; border-bottom: 1px solid #e4e7ec; }
.fxw-top b { font-size: 16px; }
.fxw-spacer { flex: 1; }
.fxw-chip { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #ddf3e9; color: #0b7a4f; }
.fxw-skip { height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid #e4e7ec; background: #fff; font: 600 14px 'Plus Jakarta Sans', sans-serif; color: #0b1626; cursor: pointer; }
.fxw-skip:hover { border-color: #0b1626; }
.fxw-in { max-width: 1100px; margin: 0 auto; padding: 44px 28px 60px; display: flex; flex-direction: column; gap: 24px; }
.fxw-in h1 { font-size: 34px; line-height: 40px; letter-spacing: -.02em; font-weight: 700; margin: 0; }
.fxw-sub { margin: -16px 0 0; color: #344054; }
.fxw-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1180px) { .fxw-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fxw-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; text-align: left; padding: 24px; border-radius: 16px; border: 1px solid #e4e7ec; background: #fff; color: #0b1626; font: inherit; cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; }
.fxw-card:hover { box-shadow: 0 16px 34px rgba(11,22,38,.10); border-color: #0b1626; }
.fxw-card:focus-visible, .fxw-go:focus-visible, .fxw-skip:focus-visible { outline: 3px solid #14a86f; outline-offset: 2px; }
.fxw-card.hot { border-color: #0b1626; box-shadow: 0 0 0 3px #e4e8ee; }
.fxw-card b { font-size: 17px; }
.fxw-card span:not(.fxw-ic) { font-size: 14px; color: #344054; line-height: 1.45; }
.fxw-ic { width: 44px; height: 44px; border-radius: 12px; background: #0b1626; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px rgba(20,168,111,.18), 0 6px 18px rgba(20,168,111,.35); }
.fxw-ic svg { width: 20px; height: 20px; }
.fxw-card.hot .fxw-ic { background: #14a86f; color: #fff; box-shadow: none; }
.fxw-ai { background: #fff; border: 1px solid #e4e7ec; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.fxw-ai label { font-weight: 600; font-size: 14px; }
.fxw-ai textarea { width: 100%; border: 1px solid #c7ccd4; border-radius: 12px; padding: 12px 14px; font: 400 15px 'Plus Jakarta Sans', sans-serif; resize: vertical; min-height: 84px; }
.fxw-ai textarea:focus { outline: none; border-color: #0b1626; box-shadow: 0 0 0 4px rgba(20,168,111,.18); }
.fxw-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fxw-go { height: 40px; padding: 0 18px; border-radius: 10px; border: 0; background: #0b1626; color: #fff; font: 600 14px 'Plus Jakarta Sans', sans-serif; cursor: pointer; }
.fxw-go:disabled { opacity: .7; cursor: wait; }
.fxw-note { font-size: 13px; color: #667085; }
.fxw-steps { display: flex; flex-direction: column; gap: 10px; }
.fxw-bar { height: 8px; max-width: 320px; border-radius: 999px; background: #f2f4f7; overflow: hidden; }
.fxw-bar i { display: block; height: 100%; background: #0b1626; border-radius: 999px; }
.fxw-steps ol { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; counter-reset: none; }
.fxw-steps li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; border: 1px solid #e4e7ec; background: #fff; font-size: 14px; }
.fxw-steps li::before { content: ''; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #848fa0; flex: none; }
.fxw-steps li.done::before { background: #0b1626 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='white' stroke-width='3'/%3E%3C/svg%3E") center/12px no-repeat; border-color: #0b1626; }
.fxw-steps li small { margin-left: auto; color: #667085; font-size: 12px; }
@media (max-width: 900px) { .fxw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fxw-steps ol { grid-template-columns: minmax(0, 1fr); } .fxw-chip { display: none; } .fxw-in h1 { font-size: 28px; line-height: 34px; } }
@media (max-width: 520px) { .fxw-grid { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .fxw, .fxw-card { animation: none; transition: none; } }

/* ---------------------------------------------------------------- the builder (99-forms-workspace.js)
   Like the leading form builders: a top bar (Forms › name, Content Workflow Connect Share Results, Publish),
   the pages list on the left, the question on a canvas in the middle (edited in place), its settings on the right. */
html[data-fx-product] #modal-new-form { background: #f5f6f8; backdrop-filter: none; animation: none; }
html[data-fx-product] #modal-new-form > .modal-content.fws {
  width: 100vw; max-width: none !important; height: 100vh; max-height: none; padding: 0 16px 16px; border: 0; box-shadow: none; animation: none;
  background: #f5f6f8; display: grid !important; gap: 16px; overflow: hidden; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; color: #0b1626;
  grid-template-columns: 272px minmax(0, 1fr) 312px; grid-template-rows: auto minmax(0, 1fr); grid-template-areas: "top top top" "pages stage right";
}
html[data-fx-product] #modal-new-form > .modal-content.fws.fws-noside { grid-template-columns: 272px minmax(0, 1fr) 0; }
#modal-new-form .fws.fws-noside > .fws-right { display: none; }
html[data-fx-product] #modal-new-form > .modal-content.fws[data-fws-tab="workflow"] { grid-template-columns: minmax(0, 1fr) 380px; grid-template-areas: "top top" "map right"; }
#modal-new-form .fws > .modal-header { grid-area: top !important; margin: 0 -16px; padding: 0; background: #fff; border-bottom: 1px solid #e4e7ec; }
.fws > .modal-header > .modal-title, .fws > .modal-header > .close-btn, .fws > .fbu-bar, #modal-new-form .fws > .fbu-side { display: none !important; }
#modal-new-form .fws > .fws-pages { grid-area: pages; }
#modal-new-form .fws > .fws-stage { grid-area: stage; }
#modal-new-form .fws > .fws-right { grid-area: right; }
#modal-new-form .fws > .fws-map { grid-area: map; display: none; }
#modal-new-form .fws[data-fws-tab="workflow"] > .fws-map { display: block; }
#modal-new-form .fws[data-fws-tab="workflow"] > .fws-pages, #modal-new-form .fws[data-fws-tab="workflow"] > .fws-stage { display: none; }
.fws .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The top bar */
.fws-top { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; min-height: 56px; padding: 6px 20px; background: #fff; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
.fws-top--page { border: 1px solid #e4e7ec; border-radius: 12px; margin-bottom: 16px; }
.fws-crumb { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; color: #667085; }
.fws-crumb button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; font: 500 14px 'Plus Jakarta Sans', sans-serif; color: #344054; cursor: pointer; padding: 6px 4px; border-radius: 6px; }
.fws-crumb button:hover { color: #0b1626; background: #f5f6f8; }
.fws-crumb svg { width: 18px; height: 18px; }
.fws-crumb b { color: #0b1626; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }
.fws-chip { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11px; font-weight: 600; background: #f2f4f7; color: #344054; white-space: nowrap; }
.fws-chip.live { background: #ddf3e9; color: #0b7a4f; }
.fws-chip.live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #14a86f; }
.fws-tabs { display: flex; gap: 4px; align-items: stretch; height: 56px; margin: -6px 0; }
.fws-tabs button { position: relative; border: 0; background: transparent; padding: 0 14px; color: #344054; font: 500 14px 'Plus Jakarta Sans', sans-serif; cursor: pointer; }
.fws-tabs button small { font-size: 11px; color: #667085; }
.fws-tabs button:hover:not(:disabled) { color: #0b1626; }
.fws-tabs button[aria-pressed="true"] { color: #0b1626; font-weight: 600; }
.fws-tabs button[aria-pressed="true"]::after { content: ''; position: absolute; left: 10px; right: 10px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: #0b1626; }
.fws-tabs button:disabled { opacity: .45; cursor: not-allowed; }
.fws-right { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.fws-top .fws-right { flex-direction: row; }
.fws-spacer { flex: 1; }
.fws-btn { height: 36px; padding: 0 14px; border-radius: 8px; border: 1px solid #e4e7ec; background: #fff; color: #0b1626 !important; font: 600 14px 'Plus Jakarta Sans', sans-serif; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; white-space: nowrap; }
.fws-btn svg { width: 14px; height: 14px; }
.fws-btn.sm { height: 30px; padding: 0 11px; font-size: 13px; }
.fws-btn:hover { border-color: #0b1626; }
.fws-btn.go { background: #14a86f; border-color: #14a86f; color: #fff !important; }
.fws-btn.go:hover { background: #0f945f; }
.fws-btn.dark { background: #0b1626; border-color: #0b1626; color: #fff !important; }
.fws-btn.dark:hover { background: #24385a; }
.fws-icon { width: 36px; height: 36px; border-radius: 8px; border: 0; background: transparent; color: #344054; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; font-size: 16px; }
.fws-icon.sm { width: 28px; height: 28px; border: 1px solid #e4e7ec; font-size: 15px; }
.fws-icon svg { width: 18px; height: 18px; }
.fws-icon:hover { background: #f5f6f8; color: #0b1626; }
.fws-icon[aria-pressed="true"] { background: #eef0f3; color: #0b1626; }
.fws-crumb button:focus-visible, .fws-tabs button:focus-visible, .fws-btn:focus-visible, .fws-icon:focus-visible, .fq-item:focus-visible, .fac-k:focus-visible, .fws-node:focus-visible, .fws-tool:focus-visible { outline: 3px solid #14a86f; outline-offset: 2px; }
.fws-more { position: relative; }
.fws-menu { position: absolute; right: 0; top: 42px; z-index: 20; min-width: 240px; background: #fff; border: 1px solid #e4e7ec; border-radius: 12px; box-shadow: 0 18px 40px rgba(11,22,38,.16); padding: 6px; display: flex; flex-direction: column; }
.fws-menu[hidden] { display: none; }
.fws-menu button, .fws-menu a { height: 36px; border: 0; background: transparent; text-align: left; padding: 0 10px; border-radius: 8px; font: 500 14px 'Plus Jakarta Sans', sans-serif; color: #0b1626 !important; cursor: pointer; text-decoration: none; display: flex; align-items: center; }
.fws-menu button:hover, .fws-menu a:hover { background: #f5f6f8; }

/* The pages list */
.fws-pages { display: flex; flex-direction: column; gap: 12px; min-height: 0; overflow-y: auto; padding-top: 16px; }
.fws-pcard { background: #fff; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.fws-ph { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 8px; }
.fws-ph b { font-size: 15px; }
.fws-ph small { font-size: 12px; color: #667085; }
.fq-list { display: flex; flex-direction: column; gap: 2px; }
/* Questions on the same page (one question at a time): joined by a line, with a button to join or split */
.fq-row { position: relative; }
.fq-row .fq-item { padding-right: 30px; }
.fq-join { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border: 0; border-radius: 6px; background: transparent; color: #8a96a8; font-size: 14px; line-height: 1; cursor: pointer; opacity: 0; }
.fq-row:hover .fq-join, .fq-join:focus-visible, .fq-join.on { opacity: 1; }
.fq-join:hover { background: #e4e8ee; color: #0b1626; }
.fq-join.on { color: #0b7a4f; }
.fq-join:focus-visible { outline: 3px solid #14a86f; outline-offset: 1px; }
.fq-joined { margin-top: -2px; }
.fq-joined::before { content: ''; position: absolute; left: 21px; top: -8px; height: 12px; border-left: 2px solid #14a86f; }
.fq-joined .fq-item { border-top-left-radius: 0; border-top-right-radius: 0; }
.fq-item { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 4px 8px; border: 0; border-radius: 8px; background: transparent; font: 500 14px 'Plus Jakarta Sans', sans-serif; color: #0b1626; cursor: pointer; text-align: left; width: 100%; }
.fq-item span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.fq-item:hover { background: #f5f6f8; }
.fq-item.on { background: #eef0f3; font-weight: 600; }
.fq-item.over { box-shadow: inset 0 2px 0 #14a86f; }
.fq-item.dragging { opacity: .4; }
.fq-tile { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 8px; border-radius: 6px; flex: none; font: 700 11px 'Plus Jakarta Sans', sans-serif; }
.fq-tile i { font-style: normal; font: 700 10px 'IBM Plex Mono', monospace; }
.fq-tile b { font-weight: 700; }
.g-c { background: #fde2e7; color: #9b1c3d; } .g-h { background: #ece4fd; color: #4b2a99; } .g-r { background: #d9f2e3; color: #0b6b3f; }
.g-t { background: #dde9fb; color: #1d4ea8; } .g-o { background: #fbe9c8; color: #8a5200; } .g-s { background: #e6e8ec; color: #344054; }
.g-hub { background: #0b1626; color: #fff; } .g-sheet { background: #d9f2e3; color: #0b6b3f; }
.fws-addrow { margin-top: 6px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: #344054; font: 500 14px 'Plus Jakarta Sans', sans-serif; cursor: pointer; }
.fws-addrow:hover { background: #f5f6f8; color: #0b1626; }
.fws-welcome { margin-top: 6px; display: flex; align-items: center; justify-content: space-between; height: 40px; padding: 0 12px; border: 1px dashed #c7ccd4; border-radius: 10px; background: #f7f8fa; font: 500 14px 'Plus Jakarta Sans', sans-serif; color: #0b1626; cursor: pointer; }
.fws-ask { margin-top: auto; display: flex; gap: 6px; align-items: center; background: #fff; border: 1px solid #d8c9f3; border-radius: 12px; padding: 6px 6px 6px 12px; box-shadow: 0 0 0 3px #f1ebfd; }
.fws-ask input { flex: 1; border: 0; height: 32px; font: 400 14px 'Plus Jakarta Sans', sans-serif; outline: none; background: transparent; min-width: 0; }

/* The stage: toolbar and canvas */
.fws-stage { display: flex; flex-direction: column; gap: 12px; min-width: 0; min-height: 0; padding-top: 16px; }
.fws-tools { display: flex; align-items: center; gap: 4px; background: #fff; border-radius: 12px; padding: 6px; }
.fws-tool { height: 36px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; display: inline-flex; align-items: center; gap: 8px; font: 500 14px 'Plus Jakarta Sans', sans-serif; color: #0b1626; cursor: pointer; }
.fws-tool svg { width: 18px; height: 18px; }
.fws-tool:hover { background: #f5f6f8; }
.fws[data-fws-drawer="design"] [data-fws="drawer-design"], .fws[data-fws-drawer="settings"] [data-fws="drawer-settings"] { background: #eef0f3; }
.fws-tools .fws-btn.dark svg { width: 16px; height: 16px; }
.fws-sep { width: 1px; height: 22px; background: #e4e7ec; margin: 0 6px; }
.fws-canvas-wrap { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; overflow: auto; padding: 8px; }
.fws-canvas { width: 100%; max-width: 900px; min-height: min(520px, 100%); border-radius: 12px; border: 1px solid #e4e7ec; box-shadow: 0 10px 30px rgba(11,22,38,.06); display: flex; align-items: center; justify-content: center; transition: max-width .25s; overflow: auto; }
.fws-stage.phone .fws-canvas { max-width: 380px; min-height: min(680px, 100%); border-radius: 28px; border: 8px solid #0b1626; }
.fwc-in { width: 100%; max-width: 640px; padding: 48px 56px; display: flex; flex-direction: column; gap: 10px; color: var(--fq); }
.fws-stage.phone .fwc-in { padding: 36px 24px; }
.fwc-in.center { align-items: center; text-align: center; }
.fwc-head { display: flex; gap: 10px; align-items: flex-start; }
.fwc-n { display: inline-flex; align-items: center; gap: 4px; font: 600 14px 'Plus Jakarta Sans', sans-serif; color: var(--fb); margin-top: 7px; white-space: nowrap; }
.fwc-qwrap { display: flex; align-items: flex-start; gap: 4px; flex: 1; min-width: 0; }
.fwc-qwrap .fwc-title { flex: 0 1 auto; }
.fwc-title { font: 400 24px/32px 'Plus Jakarta Sans', sans-serif; color: var(--fq); flex: 1; min-width: 0; }
.fwc-title.big { font-size: 30px; line-height: 38px; }
.fwc-req { font-size: 24px; color: var(--fq); }
.fwc-desc { font: italic 400 16px/24px 'Plus Jakarta Sans', sans-serif; color: var(--fa); opacity: .8; }
.fwc-head + .fwc-desc { margin-left: 36px; }
.fwc-body { display: flex; flex-direction: column; gap: 8px; margin: 18px 0 0 36px; }
.fwc-in.center .fwc-body { margin-left: 0; }
.fwc-ed { outline: none; border-radius: 4px; cursor: text; }
.fwc-ed:hover { box-shadow: 0 0 0 1px rgba(11,22,38,.15); }
.fwc-ed:focus { box-shadow: 0 0 0 2px #14a86f; }
.fwc-ed:empty::before { content: attr(data-ph); opacity: .45; }
.fwc-ed.inline { display: inline-block; min-width: 40px; }
.fwc-line { border-bottom: 1px solid var(--fb); color: var(--fa); opacity: .55; font: 400 22px/40px 'Plus Jakarta Sans', sans-serif; min-height: 40px; }
.fwc-sub { font-size: 13px; color: var(--fa); margin-top: 6px; }
.fwc-hint { font-size: 12px; color: var(--fa); opacity: .8; margin: 4px 0 0; }
.fwc-opt { display: flex; align-items: center; gap: 10px; max-width: 360px; min-height: 40px; padding: 4px 10px; border: 1px solid var(--fb); border-radius: 6px; background: color-mix(in srgb, var(--fb) 8%, transparent); color: var(--fq); font-size: 16px; }
.fwc-opt i { font: 600 11px 'Plus Jakarta Sans', sans-serif; font-style: normal; border: 1px solid var(--fb); border-radius: 3px; padding: 1px 5px; background: #fff; color: var(--fb); }
.fwc-add { align-self: flex-start; border: 0; background: none; color: var(--fb); font: 600 14px 'Plus Jakarta Sans', sans-serif; cursor: pointer; padding: 4px 0; text-decoration: underline; }
.fwc-pics { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.fwc-pic { border: 1px solid var(--fb); border-radius: 8px; padding: 8px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.fwc-pic span { height: 90px; border-radius: 6px; background: color-mix(in srgb, var(--fb) 12%, transparent); }
.fwc-pic i { font-style: normal; font-size: 11px; font-weight: 700; }
.fwc-scale { display: flex; gap: 6px; flex-wrap: wrap; }
.fwc-scale span { flex: 1; min-width: 34px; height: 48px; border: 1px solid var(--fb); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-weight: 600; color: var(--fq); background: color-mix(in srgb, var(--fb) 8%, transparent); }
.fwc-ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--fa); }
.fwc-stars { display: flex; gap: 10px; font-size: 40px; color: color-mix(in srgb, var(--fb) 45%, transparent); }
.fwc-matrix { border-collapse: collapse; font-size: 13px; color: var(--fq); }
/* G23: the survey kinds on the canvas */
.fwc-slider { display: grid; gap: 8px; max-width: 520px; color: var(--fq); }
.fwc-slider b { justify-self: center; font-size: 26px; font-weight: 600; }
.fwc-track { height: 6px; border-radius: 999px; background: color-mix(in srgb, var(--fb) 22%, transparent); position: relative; }
.fwc-track i { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--fb); box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.fwc-slider .fwc-ends { font-size: 13px; opacity: .75; }
.fwc-sum { display: grid; grid-template-columns: minmax(0, 1fr) 100px; gap: 10px; align-items: center; max-width: 520px; padding: 6px 0; color: var(--fq); border-bottom: 1px solid color-mix(in srgb, var(--fq) 12%, transparent); }
.fwc-num { text-align: right; padding: 6px 10px; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--fq) 20%, transparent); }
.fwc-matrix td span.fwc-dd { display: inline-block; width: auto; height: auto; min-width: 70px; padding: 4px 8px; border-radius: 6px; border: 1px solid color-mix(in srgb, var(--fq) 20%, transparent); font-size: 12px; opacity: .8; }
.fwc-matrix td span.fwc-dot { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--fq) 35%, transparent); }
.fwc-pic img { width: 100%; height: 110px; object-fit: cover; border-radius: 8px; }
.fwc-matrix th, .fwc-matrix td { padding: 8px 10px; text-align: center; font-weight: 500; }
.fwc-matrix td span { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--fb); }
.fwc-date { display: flex; align-items: center; gap: 8px; font-size: 22px; color: var(--fa); }
.fwc-date span { border-bottom: 1px solid var(--fb); padding: 4px 8px; opacity: .6; }
.fwc-box { border: 1px dashed var(--fb); border-radius: 8px; padding: 28px; text-align: center; color: var(--fa); display: flex; flex-direction: column; gap: 4px; }
.fwc-box.tall { padding: 60px 28px; }
.fwc-box small { font-size: 12px; opacity: .8; }
.fwc-btn { align-self: flex-start; margin: 22px 0 0 36px; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 6px; background: var(--fb); color: var(--fbi); font: 700 16px 'Plus Jakarta Sans', sans-serif; }
.fwc-in.center .fwc-btn { align-self: center; margin-left: 0; }
.fwc-note { color: var(--fa); font-size: 14px; }

/* The panel on the right: the picked question's settings, or Design, Settings and the tools */
.fws-right { display: flex; flex-direction: column; min-height: 0; margin-top: 16px; background: #fff; border-radius: 12px; overflow: hidden; }
.fws-dhead { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 16px; border-bottom: 1px solid #eef0f3; }
.fws-dhead[hidden] { display: none; }
.fws-dhead b { font-size: 15px; margin-right: auto; }
#modal-new-form .fws-right > form { flex: 1; overflow-y: auto; padding: 16px; min-height: 0; }
#modal-new-form .fws-right > .fbu-side { display: none; flex: 1; overflow-y: auto; padding: 16px; position: static; max-height: none; border: 0; }
.fws[data-fws-drawer="tool"] .fws-right > form { display: none; }
.fws[data-fws-drawer="tool"] .fws-right > .fbu-side { display: block !important; }
.fws [data-fws-sec="actions"] { display: none !important; }
.fws:not([data-fws-drawer="design"]):not([data-fws-drawer="settings"]) [data-fws-sec]:not([data-fws-sec="content"]) { display: none !important; }
.fws:not([data-fws-drawer="design"]):not([data-fws-drawer="settings"])[data-fws-mode="screens"] [data-fws-sec="screens"] { display: block !important; }
.fws:not([data-fws-drawer="design"]):not([data-fws-drawer="settings"])[data-fws-mode="screens"] [data-fws-sec="content"] { display: none !important; }
.fws[data-fws-drawer="design"] [data-fws-sec]:not([data-fws-sec="design"]) { display: none !important; }
.fws[data-fws-drawer="settings"] [data-fws-sec="content"], .fws[data-fws-drawer="settings"] [data-fws-sec="design"] { display: none !important; }
html[data-fx-product] #modal-new-form > .modal-content.fws[data-fws-tab="create"][data-fws-drawer="design"], html[data-fx-product] #modal-new-form > .modal-content.fws[data-fws-tab="create"][data-fws-drawer="settings"] { grid-template-columns: 272px minmax(0, 1fr) 440px; }
.fws details.form-screens { border: 0; padding: 0; margin: 0 0 16px; }
.fws details.form-screens > summary { display: none; }
.fws [data-fws-sec="screens"] > div { grid-template-columns: minmax(0, 1fr) !important; }
.fws [data-fws-sec="content"] > :not(#form-questions) { display: none !important; }
.fws #form-questions > .form-question:not(.fq-open) { display: none !important; }
.fws .form-question.fq-open { display: flex !important; flex-direction: column; align-items: stretch; gap: 10px; border: 0; padding: 0; background: transparent; box-shadow: none; }
.fws .form-question.fq-open > .fbu-drag, .fws .form-question.fq-open > [data-q="label"], .fws .form-question.fq-open > [data-q="description"] { display: none !important; }
.fws .fws-h { font: 600 13px 'Plus Jakarta Sans', sans-serif; color: #0b1626; margin-top: 8px; padding-top: 12px; border-top: 1px solid #eef0f3; }
.fws .form-question.fq-open > .fws-h:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.fws .form-question .form-question__row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fws .form-question .form-question__row > label:has([data-q="required"]) { width: 100%; justify-content: space-between; flex-direction: row-reverse; font-size: 14px; }
.fws .form-question .form-question__row > .form-select { max-width: none !important; width: 100%; }
.fws .form-question .form-input, .fws .form-question .form-select, .fws .form-question .form-textarea { border-color: #e4e7ec; border-radius: 8px; font-size: 14px; }
.fws .form-question .xonika-btn--sm { height: 30px; padding: 0 10px; font-size: 12px; }
.fws .form-question__when, .fws .fx-calcs { border: 1px solid #eef0f3; border-radius: 10px; padding: 10px; background: #f7f8fa; }
.fws .form-label { color: #0b1626; }
.fws .form-input:focus, .fws .form-select:focus, .fws .form-textarea:focus { border-color: #0b1626; box-shadow: 0 0 0 3px rgba(20,168,111,.18); outline: none; }
.fws input[type="checkbox"] { accent-color: #0b1626; }
.qn { min-width: 28px; height: 28px; border-radius: 8px; background: #0b1626; color: #fff; font: 700 12px 'Plus Jakarta Sans', sans-serif; display: inline-flex; align-items: center; justify-content: center; flex: none; padding: 0 6px; }
.qn.soft { background: #f2f4f7; color: #344054; }

/* Design: Themes, Customise, Brand kit */
.fws-dtabs { display: flex; gap: 2px; background: #f5f6f8; border-radius: 10px; padding: 3px; margin-bottom: 14px; }
.fws-dtabs button { flex: 1; height: 32px; border: 0; border-radius: 8px; background: transparent; font: 500 13px 'Plus Jakarta Sans', sans-serif; color: #344054; cursor: pointer; }
.fws-dtabs button[aria-pressed="true"] { background: #0b1626; color: #fff; font-weight: 600; }
.fws .fd-wrap[data-fws-dtab="themes"] > [data-fws-d]:not([data-fws-d="themes"]),
.fws .fd-wrap[data-fws-dtab="customise"] > [data-fws-d]:not([data-fws-d="customise"]),
.fws .fd-wrap[data-fws-dtab="kit"] > [data-fws-d]:not([data-fws-d="kit"]) { display: none !important; }
.fws .fd-wrap[data-fws-dtab="kit"] > #fd-kit { display: block !important; }
.fws #fd-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }

/* Add content */
.fac { position: fixed; inset: 0; z-index: 1300; background: rgba(11,22,38,.45); display: flex; align-items: flex-start; justify-content: center; padding: 16px; overflow-y: auto; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
.fac-in { width: min(980px, 100%); background: #fff; border-radius: 16px; box-shadow: 0 30px 80px rgba(11,22,38,.3); overflow: hidden; margin-top: 2vh; }
.fac-tabs { display: flex; align-items: center; gap: 22px; padding: 6px 16px 0 28px; border-bottom: 1px solid #eef0f3; }
.fac-tabs > button[role="tab"] { border: 0; background: none; height: 48px; font: 500 15px 'Plus Jakarta Sans', sans-serif; color: #344054; cursor: pointer; position: relative; padding: 0; }
.fac-tabs > button[aria-selected="true"] { color: #0b1626; font-weight: 600; }
.fac-tabs > button[aria-selected="true"]::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: #0b1626; border-radius: 0 0 3px 3px; }
.fac-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; padding: 24px 28px 28px; background: #fafbfc; }
.fac-left { display: flex; flex-direction: column; gap: 6px; }
.fac-s input { width: 100%; height: 38px; border: 1px solid #e4e7ec; border-radius: 8px; padding: 0 12px; font: 400 14px 'Plus Jakarta Sans', sans-serif; background: #fff; }
.fac-s input:focus { outline: none; border-color: #0b1626; box-shadow: 0 0 0 3px rgba(20,168,111,.18); }
.fac-h { font-size: 14px; margin: 14px 0 4px; }
.fac-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 24px; align-content: start; }
.fac-g { display: flex; flex-direction: column; gap: 2px; }
.fac-g > b { font-size: 14px; margin-bottom: 6px; }
.fac-k { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 4px 8px; border: 0; border-radius: 8px; background: transparent; font: 400 14px 'Plus Jakarta Sans', sans-serif; color: #0b1626; cursor: pointer; text-align: left; }
.fac-k:hover { background: #f2f4f7; }
.fac-k.boxed { border: 1px solid #e4e7ec; background: #fff; }
.fac-k .fq-tile { width: 28px; height: 28px; padding: 0; justify-content: center; }

/* The preview of the whole form */
.fpv { position: fixed; inset: 0; z-index: 1300; background: #0b1626; display: flex; flex-direction: column; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
.fpv-top { display: flex; align-items: center; gap: 10px; padding: 10px 16px; color: #fff; }
.fpv-stage { flex: 1; display: flex; justify-content: center; padding: 0 16px 8px; min-height: 0; }
.fpv-stage iframe { width: 100%; height: 100%; border: 0; border-radius: 12px; background: #fff; transition: max-width .25s; }
.fpv.phone .fpv-stage iframe { max-width: 390px; border-radius: 28px; }
.fpv-note { color: #c9d3dd; text-align: center; font-size: 12px; margin: 0 0 10px; }

/* Workflow: the map and the picked question's logic */
.fws-map { overflow: auto; padding: 28px 32px; min-height: 0; margin-top: 16px; border-radius: 12px; background-color: #fff; background-image: radial-gradient(#dcdfe5 1px, transparent 1px); background-size: 20px 20px; }
.fws-map-in { display: flex; flex-direction: column; width: max-content; min-width: 100%; }
.fws-mrow { display: flex; align-items: center; }
.fws-node { display: flex; align-items: center; gap: 10px; width: 300px; padding: 10px 12px; border: 1px solid #e4e7ec; border-radius: 12px; background: #fff; font: 500 13px 'Plus Jakarta Sans', sans-serif; color: #0b1626; text-align: left; cursor: pointer; flex: none; }
.fws-node span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fws-node:hover { border-color: #0b1626; }
.fws-node.sel { border-color: #0b1626; box-shadow: 0 0 0 3px #ddf3e9; }
.fws-node.to, .fws-node.end { width: 230px; }
.fws-node.end .qn, .fws-node.to .qn { background: #f2f4f7; color: #344054; }
.fws-node:not([data-fws-node]) { cursor: default; }
.fws-vl { width: 2px; height: 26px; background: #848fa0; margin-left: 150px; display: block; }
.fws-line { height: 2px; width: 32px; background: #14a86f; flex: none; }
.fws-rule { background: #fdf3e1; color: #8a5200; border-radius: 999px; font: 600 12px 'Plus Jakarta Sans', sans-serif; padding: 5px 11px; white-space: nowrap; margin-left: 14px; max-width: 360px; overflow: hidden; text-overflow: ellipsis; }
.fws-rule.go { margin-left: 0; background: #ddf3e9; color: #0b7a4f; }
.fws-rule.calc { background: #e4e8ee; color: #24385a; }
.fws-map-tip { font-size: 12px; color: #667085; margin: 22px 0 0; }
.fws[data-fws-tab="workflow"] .form-question.fq-open > :not(.form-question__when):not(.fx-calcs):not([data-fx="scores"]):not(.fws-h) { display: none !important; }
.fws[data-fws-tab="workflow"] .form-question.fq-open > .fws-h:not(:has(+ .form-question__when)) { display: none; }

@media (max-width: 1100px) {
  html[data-fx-product] #modal-new-form > .modal-content.fws, #modal-new-form .fws[data-fws-tab] { grid-template-columns: minmax(0, 1fr) !important; grid-template-rows: auto auto auto auto !important; grid-template-areas: "top" "stage" "right" "pages" !important; overflow: auto; }
  #modal-new-form .fws[data-fws-tab="workflow"] { grid-template-areas: "top" "map" "right" !important; }
  .fws-top { grid-template-columns: minmax(0, 1fr) auto; }
  .fws-tabs { grid-column: 1 / -1; order: 9; overflow-x: auto; height: 44px; margin: 0; }
  .fws-canvas-wrap { padding: 0; }
  .fwc-in { padding: 32px 22px; }
  .fwc-body, .fwc-btn, .fwc-head + .fwc-desc { margin-left: 0; }
  .fws > .fws-right { min-height: 300px; }
  .fws-top > .fws-right { margin-top: 0; min-height: 0; background: transparent; flex-direction: row; overflow: visible; }
  .fac-body { grid-template-columns: minmax(0, 1fr); }
  .fac-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------- the answers page */
html[data-fx-product] .fws-results-on > :not(#form-submissions-container) { display: none !important; }
html[data-fx-product] .fws-results-on > #form-submissions-container { margin-top: 0 !important; background: transparent; border: 0; padding: 0; box-shadow: none; }
html[data-fx-product] #form-submissions-container > .xonika-card__header { background: #fff; border: 1px solid #e4e7ec; border-radius: 16px; padding: 18px 22px; margin-bottom: 18px; flex-wrap: wrap; gap: 12px; }
html[data-fx-product] #submissions-form-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 26px; line-height: 32px; font-weight: 700; letter-spacing: -.015em; }
html[data-fx-product] #form-submissions-container > .xonika-card__header > div:last-child { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fws-r-acts { display: inline-flex; gap: 8px; flex-wrap: wrap; }
html[data-fx-product] .fws-r-back { order: -1; }
html[data-fx-product] .fb-tabs { display: flex; flex-wrap: wrap; gap: 2px; background: #fff; border: 1px solid #e4e7ec; border-radius: 12px; padding: 4px; margin-bottom: 18px; width: fit-content; max-width: 100%; }
html[data-fx-product] .fb-tab { border: 0 !important; background: transparent; height: 34px; padding: 0 13px; color: #344054; font: 500 14px 'Plus Jakarta Sans', sans-serif; }
html[data-fx-product] .fb-tab:hover { background: #f3eee4; color: #0b1626; }
html[data-fx-product] .fb-tab.is-active { background: #0b1626; color: #fff; font-weight: 600; }
html[data-fx-product] .form-funnel { background: #fff; border: 1px solid #e4e7ec; border-radius: 16px; padding: 18px 22px; margin-bottom: 18px; display: grid; gap: 10px; }
html[data-fx-product] .form-funnel p { margin: 0 0 4px; font-size: 15px; }
html[data-fx-product] .form-funnel__row { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 13px; }
html[data-fx-product] .form-funnel__row > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-fx-product] .form-funnel__bar { height: 10px; border-radius: 999px; background: #f2f4f7; overflow: hidden; }
html[data-fx-product] .form-funnel__bar > div { height: 100%; border-radius: 999px; background: #0b1626; }
html[data-fx-product] .form-funnel__row small { color: #667085; }
html[data-fx-product] [data-fb-pane] .fb-bar { background: #fff; border: 1px solid #e4e7ec; border-radius: 14px; padding: 10px 12px; }
@media (max-width: 700px) { html[data-fx-product] .form-funnel__row { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
.fws-r-acts a { text-decoration: none; }
html[data-fx-product] .fb-tab { padding: 0 11px; }
/* The product's accent is the green of the dot (tabs underlined, highlights), and button-links are not underlined */
html[data-fx-product] { --xonika-accent: #14a86f; --primary: #0b1626; }
html[data-fx-product] a.xonika-btn { text-decoration: none; }

/* ---------------------------------------------------------------- the app shell (99-fx-shell.js)
   A top bar, a row of tabs, and on the forms screen a sidebar beside the list, as the leading form tool. */
html[data-fxs] #app-sidebar, html[data-fxs] #app-header { display: none !important; }
html[data-fxs] #main-app-view:not([style*="none"]) { display: grid !important; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr); grid-template-areas: "top" "tabs" "main"; height: 100vh; background: #f5f6f8; }
html[data-fxs][data-fxs-forms] #main-app-view { grid-template-columns: 272px minmax(0, 1fr); grid-template-areas: "top top" "tabs tabs" "side main"; }
html[data-fxs] #main-content { grid-area: main; height: auto; min-height: 0; overflow-y: auto; background: #f5f6f8; }
html[data-fxs][data-fxs-forms] #main-content { margin: 0 16px 16px 0; background: #fff; border-radius: 0 12px 12px 0; }
html[data-fxs] .app-panel { padding-top: 8px; }
.fxs-top { grid-area: top; display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 20px; background: #fff; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
.fxs-org { display: flex; align-items: center; gap: 10px; min-width: 0; }
.fxs-mark { font: 700 26px/30px 'IBM Plex Sans', system-ui, sans-serif; letter-spacing: -.05em; color: #0b1626 !important; text-decoration: none; display: inline-flex; align-items: baseline; padding: 4px 8px; border-radius: 8px; background: #f5f6f8; }
.fxs-mark i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #14a86f; margin-left: 2px; }
.fxs-orgsel select { border: 0 !important; background-color: transparent !important; box-shadow: none !important; height: 34px !important; min-height: 0 !important; padding: 0 26px 0 4px !important; font: 600 15px 'Plus Jakarta Sans', sans-serif; color: #0b1626; max-width: 260px; cursor: pointer; }
.fxs-grow { flex: 1; }
.fxs-tl { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; font: 500 14px 'Plus Jakarta Sans', sans-serif; color: #0b1626; cursor: pointer; }
.fxs-tl svg, .fxs-ib svg { width: 18px; height: 18px; }
.fxs-tl:hover, .fxs-ib:hover { background: #f5f6f8; }
.fxs-plans { height: 36px; padding: 0 16px; border: 0; border-radius: 8px; background: #14a86f; color: #fff; font: 600 14px 'Plus Jakarta Sans', sans-serif; cursor: pointer; }
.fxs-plans:hover { background: #0f945f; }
.fxs-ib { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: #0b1626; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.fxs-bell .notification-bell { width: 36px; height: 36px; border-radius: 50%; }
.fxs-meb { position: relative; }
.fxs-av { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #e4e8ee; color: #0b1626; font: 700 12px 'Plus Jakarta Sans', sans-serif; cursor: pointer; }
.fxs-me { position: absolute; right: 0; top: 44px; z-index: 60; width: 230px; background: #fff; border: 1px solid #e4e7ec; border-radius: 12px; box-shadow: 0 18px 40px rgba(11,22,38,.18); padding: 10px; display: flex; flex-direction: column; gap: 2px; }
.fxs-me[hidden] { display: none; }
.fxs-me > b { font-size: 14px; padding: 2px 8px; }
.fxs-me > span { font-size: 12px; color: #667085; padding: 0 8px 8px; border-bottom: 1px solid #eef0f3; margin-bottom: 4px; }
.fxs-me button { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 8px; border: 0; border-radius: 8px; background: transparent; font: 500 14px 'Plus Jakarta Sans', sans-serif; color: #0b1626; cursor: pointer; text-align: left; }
.fxs-me button svg { width: 16px; height: 16px; }
.fxs-me button:hover { background: #f5f6f8; }
.fxs-tabs { grid-area: tabs; display: flex; gap: 4px; align-items: center; margin: 0 16px; padding: 8px; background: #fafbfc; border-radius: 12px 12px 0 0; border-bottom: 1px solid #e8ebef; overflow-x: auto; }
.fxs-tabs button { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; font: 500 14px 'Plus Jakarta Sans', sans-serif; color: #344054; cursor: pointer; white-space: nowrap; }
.fxs-tabs button svg { width: 18px; height: 18px; }
.fxs-tabs button:hover { color: #0b1626; }
.fxs-tabs button.on { background: #eef0f3; color: #0b1626; font-weight: 600; }
.fxs-tabs button.on::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -9px; height: 2px; background: #0b1626; }
.fxs-badge { min-width: 18px; height: 18px; border-radius: 999px; background: #0b1626; color: #fff; font: 700 10px 'Plus Jakarta Sans', sans-serif; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
.fxs-badge[hidden] { display: none; }
.fxs-top button:focus-visible, .fxs-tabs button:focus-visible, .fxs-side button:focus-visible, .fxs-mark:focus-visible { outline: 3px solid #14a86f; outline-offset: 2px; }

/* The sidebar on the forms screen */
.fxs-side { display: none; grid-area: side; flex-direction: column; gap: 10px; margin: 0 0 16px 16px; padding: 16px; background: #fafbfc; border-right: 1px solid #e8ebef; border-radius: 0 0 0 12px; min-height: 0; overflow: hidden; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
html[data-fxs-forms] .fxs-side { display: flex; }
.fxs-create { display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border: 0; border-radius: 8px; background: #0b1626; color: #fff; font: 600 14px 'Plus Jakarta Sans', sans-serif; cursor: pointer; flex: none; }
.fxs-create svg { width: 16px; height: 16px; }
.fxs-create:hover { background: #24385a; }
.fxs-search { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border: 1px solid #e4e7ec; border-radius: 8px; background: #fff; flex: none; }
.fxs-search svg { width: 16px; height: 16px; color: #667085; flex: none; }
.fxs-search input { border: 0; outline: none; flex: 1; min-width: 0; font: 400 14px 'Plus Jakarta Sans', sans-serif; background: transparent; }
.fxs-search:focus-within { border-color: #0b1626; }
.fxs-scroll { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; margin: 4px -4px 0; padding: 0 4px; }
.fxs-sl { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: 8px; border: 0; background: transparent; color: #344054; font: 500 14px 'Plus Jakarta Sans', sans-serif; cursor: pointer; text-align: left; width: 100%; flex: none; }
.fxs-sl svg { width: 18px; height: 18px; flex: none; }
.fxs-sl span:not(.n) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fxs-sl .n { margin-left: auto; font-size: 12px; color: #667085; }
.fxs-sl:hover { background: #f2f4f7; color: #0b1626; }
.fxs-sl.on { background: #eef0f3; color: #0b1626; font-weight: 600; }
.fxs-h { display: flex; align-items: center; justify-content: space-between; margin: 14px 2px 4px 10px; font: 600 13px 'Plus Jakarta Sans', sans-serif; color: #0b1626; }
.fxs-plus { width: 28px; height: 28px; border: 1px solid #e4e7ec; border-radius: 8px; background: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: #0b1626; }
.fxs-plus svg { width: 14px; height: 14px; }
.fxs-none { font-size: 13px; color: #667085; margin: 2px 10px; }
.fxs-use { flex: none; border-top: 1px solid #e8ebef; padding-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.fxs-use > span { font-size: 13px; color: #344054; }
.fxs-use b { font-size: 18px; color: #0b1626; }
.fxs-use small { font-size: 12px; color: #667085; }
.fxs-up { align-self: flex-start; margin-top: 6px; height: 30px; padding: 0 10px; border: 1px solid #e4e7ec; border-radius: 8px; background: #fff; font: 500 13px 'Plus Jakarta Sans', sans-serif; color: #0b1626; cursor: pointer; }
.fxs-ask { flex: none; display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #d8c9f3; border-radius: 12px; padding: 6px 6px 6px 10px; box-shadow: 0 0 0 3px #f1ebfd; }
.fxs-ask > span svg { width: 16px; height: 16px; color: #6a43c9; }
.fxs-ask input { flex: 1; min-width: 0; border: 0; outline: none; height: 30px; font: 400 14px 'Plus Jakarta Sans', sans-serif; background: transparent; }
.fxs-ask button { width: 28px; height: 28px; border: 1px solid #e4e7ec; border-radius: 8px; background: #fff; cursor: pointer; }

/* The forms screen: title, sort and List/Grid, the AI strip, the rows */
html[data-fxs] #panel-forms .section-subtitle, html[data-fxs] #panel-forms .section-kpi-row, html[data-fxs] #forms-folder-bar, html[data-fxs] #panel-forms .section-header-actions { display: none !important; }
html[data-fxs] #panel-forms .section-header-block { margin-bottom: 8px; }
html[data-fxs] #panel-forms .section-title { font-size: 26px !important; font-weight: 700 !important; }
.fx-chipsel select { height: 34px; border: 1px solid #e4e7ec !important; border-radius: 8px; background-color: #fff; padding: 0 30px 0 12px !important; font: 500 13px 'Plus Jakarta Sans', sans-serif; color: #0b1626; }
.fx-aistrip { display: flex; align-items: center; gap: 10px; margin: 6px 0 20px; padding: 14px 16px; border-radius: 12px; background: #f7f5fd; border: 1px solid #ebe3fb; }
.fx-aistar { width: 32px; height: 32px; border-radius: 8px; background: #ece4fd; color: #6a43c9; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.fx-aistrip input { flex: 1; min-width: 0; height: 38px; border: 1px solid #e4e7ec; border-radius: 8px; padding: 0 12px; font: 400 14px 'Plus Jakarta Sans', sans-serif; background: #fff; }
.fx-aistrip input:focus { outline: none; border-color: #0b1626; }
.fx-aigo { height: 38px; padding: 0 14px; border: 1px solid #e4e7ec; border-radius: 8px; background: #fff; font: 600 14px 'Plus Jakarta Sans', sans-serif; color: #0b1626; cursor: pointer; white-space: nowrap; }
.fx-aigo:hover { border-color: #0b1626; }
.fx-rows { display: flex; flex-direction: column; gap: 8px; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
.fx-rh, .fx-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px 100px 100px 130px 48px; align-items: center; gap: 12px; padding: 0 14px; }
.fx-rh { font-size: 13px; color: #344054; padding-bottom: 2px; }
.fx-apps { display: flex; gap: 4px; flex-wrap: wrap; }
.fx-app { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: #eef0f3; color: #0b1626; font-size: 12px; font-weight: 700; position: relative; }
.fx-app.crm { background: #ddf3e9; color: #0b7a4f; }
.fx-app.bad::after { content: ''; position: absolute; top: -3px; right: -3px; width: 8px; height: 8px; border-radius: 50%; background: #c8371d; border: 2px solid #fff; }
.fx-row { min-height: 52px; border: 1px solid #e4e7ec; border-radius: 10px; background: #fff; cursor: pointer; font-size: 14px; color: #0b1626; transition: border-color .15s, box-shadow .15s; }
.fx-row:hover { border-color: #c7ccd4; box-shadow: 0 6px 16px rgba(11,22,38,.06); }
.fx-row:focus-visible { outline: 3px solid #14a86f; outline-offset: 2px; }
.fx-rn { display: flex; align-items: center; gap: 12px; min-width: 0; }
.fx-rn b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-rt { width: 30px; height: 30px; border-radius: 6px; flex: none; }
.fx-rn .fx-chip { flex: none; }
.fx-synced { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid #b9e3cc; background: #ecf8f1; color: #0b7a4f; font-size: 13px; font-weight: 500; }
.fx-dash { color: #848fa0; }
.fx-ru { color: #344054; }
.fx-ra { position: relative; justify-self: end; }
.fx-dots { width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; font-size: 18px; color: #344054; cursor: pointer; }
.fx-dots:hover { background: #f5f6f8; }
.fx-rmenu { position: absolute; right: 0; top: 36px; z-index: 30; min-width: 180px; background: #fff; border: 1px solid #e4e7ec; border-radius: 12px; box-shadow: 0 18px 40px rgba(11,22,38,.16); padding: 6px; display: flex; flex-direction: column; }
.fx-rmenu[hidden] { display: none; }
.fx-rmenu button, .fx-rmenu a { height: 34px; border: 0; background: transparent; text-align: left; padding: 0 10px; border-radius: 8px; font: 500 14px 'Plus Jakarta Sans', sans-serif; color: #0b1626 !important; cursor: pointer; text-decoration: none; display: flex; align-items: center; }
.fx-rmenu button:hover, .fx-rmenu a:hover { background: #f5f6f8; }
.fx-rmenu .bad { color: #a3261b !important; }
.fx-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 48px 16px; border: 1px dashed #d0d5dd; border-radius: 12px; color: #344054; }
.fx-fc-top { justify-content: space-between; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* A form's results fill the screen under its own top bar */
html[data-fxs][data-fxs-results] #main-app-view { grid-template-rows: 0 0 minmax(0, 1fr); }
html[data-fxs][data-fxs-results] .fxs-top, html[data-fxs][data-fxs-results] .fxs-tabs { visibility: hidden; height: 0; padding: 0; overflow: hidden; }
html[data-fxs][data-fxs-results] #main-content { padding: 0 16px 16px; }
html[data-fxs][data-fxs-results] .fws-top--page { margin: 0 -16px 16px; border-radius: 0; border: 0; border-bottom: 1px solid #e4e7ec; }

@media (max-width: 860px) {
  html[data-fxs][data-fxs-forms] #main-app-view { grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "tabs" "main"; }
  html[data-fxs-forms] .fxs-side { display: none; }
  html[data-fxs][data-fxs-forms] #main-content { margin: 0 12px 12px; border-radius: 0 0 12px 12px; }
  html[data-fxs] #forms-folder-bar { display: block !important; }
  .fxs-top { padding: 0 12px; gap: 6px; }
  .fxs-tl span, .fxs-orgsel { display: none; }
  .fxs-tabs { margin: 0 12px; }
  .fx-rh { display: none; }
  .fx-row { grid-template-columns: minmax(0, 1fr) auto 40px; padding: 10px 12px; }
  .fx-row > :nth-child(2), .fx-row > :nth-child(4), .fx-row > :nth-child(5) { display: none; }
}

/* ---------------------------------------------------------------- Share: menu | the chosen way | social and link preview */
html[data-fx-product] #modal-form-share { background: #f5f6f8; backdrop-filter: none; animation: none; padding: 0; }
html[data-fx-product] #modal-form-share > .modal-content.fws-share { width: 100vw; max-width: none !important; height: 100vh; max-height: none; padding: 0; border: 0; box-shadow: none; animation: none; background: #f5f6f8; display: flex; flex-direction: column; overflow: hidden; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
.fws-share > .fws-top { border-bottom: 1px solid #e4e7ec; flex: none; }
.fws-share > .modal-header, .fws-share > .fs-tabs { display: none !important; }
.fws-share > #form-share-note { margin: 12px 16px 0 !important; padding: 10px 14px; border-radius: 10px; background: #e9f5fb; color: #15516d !important; flex: none; }
.fws-sh-cols { flex: 1; min-height: 0; display: grid; grid-template-columns: 240px minmax(0, 1fr) 340px; gap: 16px; padding: 16px; }
.fws-sh-menu { background: #fff; border-radius: 12px; padding: 8px; display: flex; flex-direction: column; gap: 2px; align-self: start; }
.fws-sh-menu button { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; font: 500 14px 'Plus Jakarta Sans', sans-serif; color: #344054; cursor: pointer; text-align: left; }
.fws-sh-menu button svg { width: 18px; height: 18px; }
.fws-sh-menu button:hover { background: #f5f6f8; color: #0b1626; }
.fws-sh-menu button[aria-pressed="true"] { background: #eef0f3; color: #0b1626; font-weight: 600; }
.fws-sh-main { min-width: 0; overflow-y: auto; }
.fws-sh-cols[data-fws-show="link"] .fws-sh-main > .fs-pane:not([data-fs-pane="link"]),
.fws-sh-cols[data-fws-show="email"] .fws-sh-main > .fs-pane:not([data-fs-pane="email"]),
.fws-sh-cols[data-fws-show="embed"] .fws-sh-main > .fs-pane:not([data-fs-pane="embed"]),
.fws-sh-cols[data-fws-show="chat"] .fws-sh-main > .fs-pane:not([data-fs-pane="chat"]) { display: none !important; }
/* WhatsApp and text: the page is wide enough for the phone, so the side column steps aside */
.fws-sh-cols[data-fws-show="chat"] { grid-template-columns: 240px minmax(0, 1fr); }
.fws-sh-cols[data-fws-show="chat"] .fws-sh-side { display: none; }
.fws-share .fs-pane { display: block; background: #fff; border-radius: 12px; padding: 20px; border: 0; }
.fws-share .fs-pane--chat { padding: 0; background: transparent; }
.fws-sh-side { display: flex; flex-direction: column; gap: 16px; overflow-y: auto; min-height: 0; }
.fws-sh-side .fs-pane { display: block !important; }
.fws-sh-side .fs-split { display: flex; flex-direction: column-reverse; gap: 14px; }
.fws-sh-pt { display: block; font-size: 15px; margin-bottom: 12px; }
.fws-share .fs-code { background: #0b1626; color: #c9d3dd; border-color: #0b1626; font-family: 'IBM Plex Mono', monospace; font-size: 12px; }
@media (max-width: 1000px) { .fws-sh-cols { grid-template-columns: minmax(0, 1fr); overflow-y: auto; } .fws-sh-menu { flex-direction: row; overflow-x: auto; } }

/* ---------------------------------------------------------------- Results: Smart insights, Form performance, Response summary, Responses */
html[data-fx-product] .fws-results-on #form-submissions-container > .xonika-card__header { display: none !important; }
html[data-fx-product] .fws-results-on #form-submissions-container > [data-form-funnel] { display: none; }
.fws-rtabs { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.fws-rgroup { display: flex; flex-wrap: wrap; gap: 6px; align-items: stretch; border-bottom: 1px solid #e4e7ec; }
.fws-rt { position: relative; height: 44px; padding: 0 12px; border: 0; background: transparent; color: #344054; font: 500 14px 'Plus Jakarta Sans', sans-serif; cursor: pointer; white-space: nowrap; }
.fws-rt small { display: inline-flex; min-width: 20px; height: 18px; padding: 0 6px; border-radius: 999px; background: #e9f5fb; color: #15516d; font-size: 11px; align-items: center; justify-content: center; margin-left: 4px; }
.fws-rt:hover { color: #0b1626; }
.fws-rt.on { color: #0b1626; font-weight: 600; }
.fws-rt.on::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: #0b1626; }
.fws-rt:focus-visible, .fws-rp:focus-visible { outline: 3px solid #14a86f; outline-offset: 2px; }
.fws-rtabs .fws-menu { top: 44px; left: 0; right: auto; }
.fws-rsub { display: flex; gap: 6px; flex-wrap: wrap; }
.fws-rp { height: 30px; padding: 0 12px; border: 1px solid #e4e7ec; border-radius: 999px; background: #fff; font: 500 13px 'Plus Jakarta Sans', sans-serif; color: #344054; cursor: pointer; }
.fws-rp small { color: #667085; margin-left: 2px; }
.fws-rp.on { background: #0b1626; border-color: #0b1626; color: #fff; }
.fws-rp.on small { color: #c9d3dd; }
.fws-perf-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.fws-perf-h h2 { font: 600 22px 'Plus Jakarta Sans', sans-serif; margin: 0 0 4px; }
.fws-perf-h p { margin: 0; color: #667085; font-size: 14px; }
.fws-sel select { height: 36px; border: 1px solid #e4e7ec; border-radius: 8px; padding: 0 30px 0 12px; font: 500 14px 'Plus Jakarta Sans', sans-serif; background-color: #fff; }
.fws-h3 { font: 600 16px 'Plus Jakarta Sans', sans-serif; margin: 24px 0 12px; }
.fws-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.fws-kpis.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.fws-kpi { background: #fff; border: 1px solid #e8ebef; border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 22px; }
.fws-kpi span { font-size: 13px; color: #344054; }
.fws-kpi b { font: 500 30px/36px 'Plus Jakarta Sans', sans-serif; color: #0b1626; font-variant-numeric: tabular-nums; }
.fws-kpi small { font-size: 12px; color: #667085; }
.fws-funnel-slot:empty { display: none; }
.fws-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.fws-table th { text-align: left; font-weight: 500; color: #667085; font-size: 12px; padding: 8px 10px; border-bottom: 1px solid #eef0f3; }
.fws-table td { padding: 10px; border-bottom: 1px solid #eef0f3; }
@media (max-width: 900px) { .fws-kpis, .fws-kpis.five { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Insights and Connect */
.fws-sum .section-kpi-row { display: none !important; }
.fws-ins { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.fws-conn { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.fws-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.fws-panel { background: #fff; border: 1px solid #e4e7ec; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.fws-panel.center { align-items: center; text-align: center; }
.fws-panel > b, .fws-ph b { font-size: 16px; color: #0b1626; }
.fws-panel p { margin: 0; }
.fws-panel small { font-size: 12px; color: #667085; }
.fws-ph { display: flex; align-items: center; gap: 10px; }
.fws-spark { width: 32px; height: 32px; border-radius: 8px; background: #e8f7f0; color: #0b7a4f; display: flex; align-items: center; justify-content: center; }
.fws-theme { display: grid; grid-template-columns: minmax(0, 1fr) 120px 80px 28px; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid #f2f4f7; font-size: 13px; }
.fws-bar { height: 8px; border-radius: 999px; background: #f2f4f7; overflow: hidden; }
.fws-bar i { display: block; height: 100%; border-radius: 999px; background: #0b1626; }
.fws-bar i.bad, .fws-bar i.warn { background: #a8520a; }
.fws-fc { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #f2f4f7; color: #344054; white-space: nowrap; justify-self: start; }
.fws-fc.ok { background: #ddf3e9; color: #0b7a4f; }
.fws-fc.bad, .fws-fc.warn { background: #fdf0dc; color: #8a4708; }
.fws-fc.bad { background: #fde7e9; color: #a3162b; }
/* G10: each answer read by AI */
.fxr-feel { display: flex; gap: 2px; height: 12px; margin: 12px 0 8px; border-radius: 999px; overflow: hidden; }
.fxr-feel i { display: block; min-width: 4px; background: #98a2b3; }
.fxr-feel i.ok { background: #12a46b; }
.fxr-feel i.bad { background: #d1364b; }
.fxr-feel i.warn { background: #e0912b; }
.fxr-topics { margin-top: 12px; }
.fxr-topic { display: grid; grid-template-columns: minmax(0, 1fr) 120px 32px auto auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid #f2f4f7; font-size: 13px; }
.fxr-topic span { color: #475467; text-align: right; font-variant-numeric: tabular-nums; }
.fxr-mini { border: 0; background: none; color: #475467; font-size: 12px; cursor: pointer; padding: 2px 4px; border-radius: 6px; }
.fxr-mini:hover { background: #f2f4f7; color: #0b1626; }
.fxr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 14px; }
.fws-chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.fws-nps { font: 700 56px/60px 'Plus Jakarta Sans', sans-serif; letter-spacing: -.02em; color: #0b1626; }
.fws-ask { display: flex; gap: 8px; }
.fws-ask input { flex: 1; height: 40px; border: 1px solid #d0d5dd; border-radius: 10px; padding: 0 12px; font: 400 14px 'Plus Jakarta Sans', sans-serif; }
.fws-ask input:focus { outline: none; border-color: #0b1626; box-shadow: 0 0 0 3px rgba(20,168,111,.18); }
.fws-quote { border-radius: 10px; background: #f5f6f8; padding: 12px 14px; font-size: 14px; display: flex; flex-direction: column; gap: 4px; }
.fws-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.fws-conn .fc-item { background: #fff; border: 1px solid #e4e7ec; border-radius: 16px; }
.fws-conn .fc-add { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 8px 0 4px; }
.fws-conn .fc-addbtn { justify-content: flex-start; width: 100%; border-radius: 12px; padding: 9px 10px; min-width: 0; }
.fws-conn .fc-addbtn > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.fws-conn .fc-groups > .calls-help { margin: 0 0 4px; }
.fws-conn .fc-group { padding-top: 12px; }
.fws-conn .fc-gtitle { display: block; font-size: 13px; color: #0b1626; }
.fws-conn .fc-group .calls-help { font-size: 12.5px; margin: 2px 0 0; }
@media (max-width: 900px) { .fws-ins { grid-template-columns: minmax(0, 1fr); } .fws-theme { grid-template-columns: minmax(0, 1fr) 80px; } .fws-theme .fws-fc, .fws-theme small { display: none; } }
/* The template gallery: kinds | list | preview, beside the rail */
.fwt { position: fixed; inset: 0; z-index: 1200; background: #f5f6f8; display: grid; grid-template-columns: 240px minmax(0, 1fr); font-family: 'Plus Jakarta Sans', system-ui, sans-serif; color: #0b1626; animation: fxw-in .25s ease both; }
.fwt-side { background: #fff; border-right: 1px solid #e4e7ec; padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.fwt-t { font-size: 16px; padding: 4px 10px 12px; }
.fwt-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.fwt-top { display: flex; align-items: center; gap: 10px; padding: 12px 24px; background: #fff; border-bottom: 1px solid #e4e7ec; }
.fwt-s input { width: min(460px, 50vw); height: 38px; border: 1px solid #d0d5dd; border-radius: 10px; padding: 0 12px; font: 400 14px 'Plus Jakarta Sans', sans-serif; }
.fwt-s input:focus { outline: none; border-color: #0b1626; box-shadow: 0 0 0 3px rgba(20,168,111,.18); }
.fwt-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; padding: 24px; overflow: auto; align-items: start; }
.fwt-list { display: flex; flex-direction: column; gap: 10px; }
.fwt-item { display: flex; gap: 14px; align-items: center; padding: 14px; border: 1px solid #e4e7ec; border-radius: 16px; background: #fff; text-align: left; cursor: pointer; font: inherit; color: inherit; transition: border-color .15s, transform .15s; }
.fwt-item:hover { border-color: #c7ccd4; }
.fwt-item.on { border: 2px solid #0b1626; padding: 13px; }
.fwt-item:focus-visible, .fwt .fxs-sl:focus-visible { outline: 3px solid #14a86f; outline-offset: 2px; }
.fwt-sw { width: 64px; height: 52px; border-radius: 10px; flex: none; }
.fwt-it { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fwt-it b { font-size: 15px; }
.fwt-it small { font-size: 12px; color: #667085; }
.fwt-pv { background: #fff; border: 1px solid #e4e7ec; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 0; }
.fwt-pvh { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.fwt-pvh b { font-size: 20px; }
.fwt-stage { background: #f5f6f8; border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.fwt-n { font: 600 12px 'IBM Plex Mono', monospace; color: #24385a; }
.fwt-q { font-size: 22px; line-height: 28px; }
.fwt-scale { display: flex; gap: 5px; flex-wrap: wrap; }
.fwt-scale span { min-width: 34px; height: 34px; border-radius: 8px; border: 1px solid #d0d5dd; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; }
.fwt-o { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px; border: 1px solid #d0d5dd; border-radius: 10px; background: #fff; font-size: 15px; }
.fwt-o i { font-style: normal; font-size: 11px; font-weight: 700; background: #f2f4f7; border-radius: 6px; padding: 2px 7px; }
.fwt-line { color: #848fa0; }
.fwt-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fwt-two small, .fwt-qs small { font-size: 11px; font-weight: 600; letter-spacing: .08em; color: #667085; }
.fwt-two p { margin: 4px 0 0; font-size: 14px; }
.fwt-qs ol { margin: 6px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.fwt-qs li span { color: #667085; font-size: 12px; margin-left: 4px; }
.fwt-qs li.more { list-style: none; color: #667085; margin-left: -20px; }
.fwt-acts { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 900px) { .fwt { inset: 0 0 60px 0; grid-template-columns: minmax(0, 1fr); } .fwt-side { display: none; } .fwt-body { grid-template-columns: minmax(0, 1fr); } .fwt-pv { position: static; } }
/* Plan and usage */
html[data-fxs] #admin-plan-view > :not(.fwp) { display: none !important; }
.fwp { display: flex; flex-direction: column; gap: 16px; max-width: 1040px; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
.fwp-head h2 { font-size: 26px; margin: 0; letter-spacing: -.015em; }
.fwp-now { flex-direction: row !important; align-items: center; flex-wrap: wrap; gap: 14px; }
.fwp-now > div { display: flex; flex-direction: column; gap: 2px; }
.fwp-level { font-size: 24px; color: #0b1626; }
.fwp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.fwp-use { display: flex; flex-direction: column; gap: 8px; }
.fwp-ur { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.fwp-ur span { margin-left: auto; color: #344054; }
.fwp-levels { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.fwp-levels .fws-panel.on { border: 2px solid #0b1626; }
.fwp-price { font: 700 32px/38px 'Plus Jakarta Sans', sans-serif; letter-spacing: -.015em; color: #0b1626; }
.fwp-price.sm { font-size: 22px; }
.fws-linkbtn { border: 0; background: none; padding: 0; color: #8a2016; font: 600 13px 'Plus Jakarta Sans', sans-serif; cursor: pointer; text-decoration: underline; }
@media (max-width: 700px) { .fwp-grid { grid-template-columns: minmax(0, 1fr); } }
html[data-fxs] .settings-nav__item[hidden], html[data-fxs] .settings-nav__title[hidden] { display: none !important; }
html[data-fxs] .settings-nav__group .fxs-off, html[data-fxs] .settings-nav__group.fxs-off { display: none !important; }
/* The AI form agent */
.fwa { grid-template-columns: minmax(0, 1fr); }
.fwa-t { font-size: 16px; }
.fwa-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 400px; }
.fwa-chat { display: flex; flex-direction: column; min-height: 0; padding: 24px; gap: 14px; }
.fwa-msgs { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.fwa-u { background: #0b1626; color: #fff; border-radius: 16px 16px 4px 16px; padding: 12px 14px; font-size: 14px; align-self: flex-end; max-width: 80%; }
.fwa-a { background: #fff; border: 1px solid #e4e7ec; border-radius: 16px 16px 16px 4px; padding: 14px; font-size: 14px; max-width: 92%; display: flex; flex-direction: column; gap: 10px; }
.fwa-a.fwa-err { border-color: #f2c4bc; background: #fbe5e1; color: #8a2016; }
.fwa-wait { color: #667085; }
.fwa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fwa-grid div { display: flex; flex-direction: column; gap: 4px; }
.fwa-grid small { font-size: 11px; font-weight: 600; letter-spacing: .08em; color: #667085; }
.fwa-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.fwa-in { display: flex; gap: 8px; background: #fff; border: 1px solid #e4e7ec; border-radius: 14px; padding: 8px 8px 8px 16px; }
.fwa-in input { flex: 1; border: 0; height: 40px; font: 400 15px 'Plus Jakarta Sans', sans-serif; outline: none; background: transparent; }
.fwa-in:focus-within { border-color: #0b1626; box-shadow: 0 0 0 3px rgba(20,168,111,.18); }
.fwa-side { border-left: 1px solid #e4e7ec; background: #fff; padding: 20px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }
.fwa-side > b { font-size: 16px; }
.fwa-sug { display: flex; gap: 12px; padding: 12px; border: 1px solid #e4e7ec; border-radius: 12px; }
.fwa-sug > div { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.fwa-sug span { color: #344054; }
.fwa-ic { width: 32px; height: 32px; border-radius: 8px; background: #fdf0dc; color: #a8520a; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.fwa-may { margin-top: auto; background: #0b1626; color: #fff; border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.fwa-may span { color: #c9d3dd; }
@media (max-width: 900px) { .fwa-body { grid-template-columns: minmax(0, 1fr); } .fwa-side { border-left: 0; border-top: 1px solid #e4e7ec; } }

/* ---------------------------------------------------------------- form by XONIK's own look on that structure
   Night navy, cream and the green dot: the brand's colours for the kinds of question, the AI boxes and the tabs. */
.g-c { background: #fdf3e1; color: #8a5200; } .g-h { background: #e4e8ee; color: #24385a; } .g-r { background: #ddf3e9; color: #0b7a4f; }
.g-t { background: #e3ecf8; color: #004aad; } .g-o { background: #fde9df; color: #a8441f; } .g-s { background: #f2f4f7; color: #344054; }
.fxs-mark { background: #0b1626; color: #fff !important; }
.fxs-tabs { background: #fff; border-bottom: 1px solid #eef0f3; }
.fxs-tabs button.on { background: #0b1626; color: #fff; }
.fxs-tabs button.on::after { left: 50%; right: auto; width: 6px; height: 6px; margin-left: -3px; bottom: -11px; border-radius: 50%; background: #14a86f; }
.fxs-tabs button.on svg { color: #6fd3a8; }
.fxs-ask, .fws-ask { border-color: #0b1626; box-shadow: 0 0 0 3px #ddf3e9; }
.fxs-ask > span svg { color: #14a86f; }
.fx-aistrip { background: #0b1626; border-color: #0b1626; }
.fx-aistar { background: #14a86f; color: #fff; }
.fx-aistrip input { border-color: #24385a; background: #14233a; color: #fff; }
.fx-aistrip input::placeholder { color: #93a1b3; }
.fx-aistrip .fx-aigo { background: #14a86f; border-color: #14a86f; color: #fff; }
.fws-tabs button[aria-pressed="true"]::after { left: 50%; right: auto; width: 6px; height: 6px; margin-left: -3px; top: auto; bottom: 6px; border-radius: 50%; background: #14a86f; }
.fws-rt.on::after { height: 3px; background: #14a86f; border-radius: 3px 3px 0 0; }
.fxs-create { background: #14a86f; }
.fxs-create:hover { background: #0f945f; }
.fws-btn.dark { background: #14a86f; border-color: #14a86f; }
.fws-btn.dark:hover { background: #0f945f; }
.fws-btn.go { background: #0b1626; border-color: #0b1626; }
.fws-btn.go:hover { background: #24385a; }
/* Automations: ready-made recipes for answers */
.fxa-recipes { margin: 4px 0 20px; display: flex; flex-direction: column; gap: 10px; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
.fxa-h { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.fxa-h b { font-size: 16px; color: #0b1626; }
.fxa-h span { font-size: 13px; color: #667085; }
.fxa-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.fxa-card { display: flex; flex-direction: column; gap: 6px; text-align: left; padding: 16px; border: 1px solid #e4e7ec; border-radius: 12px; background: #fff; cursor: pointer; font: inherit; color: #0b1626; transition: border-color .15s, transform .15s; }
.fxa-card:hover { border-color: #0b1626; }
.fxa-card b { font-size: 14px; }
.fxa-card span { font-size: 13px; color: #344054; }
.fxa-card.more { background: #0b1626; border-color: #0b1626; color: #fff; }
.fxa-card.more span { color: #c9d3dd; }
.fxa-card:focus-visible { outline: 3px solid #14a86f; outline-offset: 2px; }
html[data-fxs] #btn-ready-journeys, html[data-fxs] #subtab-automation-agents-btn { display: none !important; }
.fws-linkbtn2 { border: 0; background: none; padding: 0; font: 600 14px 'Plus Jakarta Sans', sans-serif; color: #0b1626; cursor: pointer; text-decoration: underline; }

/* Contacts (99-fx-contacts.js): who answered, which forms, how many answers */
html[data-fxs] #crm-contacts-view > :not(.fxc) { display: none !important; }
html[data-fxs] #panel-crm .section-kpi-row { display: none !important; }
.fxc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; font-family: "Plus Jakarta Sans", system-ui, sans-serif; }
.fxc-side { display: flex; flex-direction: column; gap: 2px; background: #fafbfc; border: 1px solid #e8ebef; border-radius: 12px; padding: 10px; align-self: start; }
.fxc-main { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.fxc-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fxc-tools .fxs-search { width: min(420px, 100%); }
.fxc-rows { display: flex; flex-direction: column; gap: 6px; }
.fxc-rh, .fxc-row { display: grid; grid-template-columns: minmax(160px, 1.2fr) minmax(160px, 1.2fr) 130px minmax(100px, .8fr) minmax(140px, 1.2fr) 80px 110px; gap: 12px; align-items: center; padding: 0 14px; }
.fxc-rh { font-size: 13px; color: #344054; }
.fxc-row { min-height: 50px; background: #fff; border: 1px solid #e4e7ec; border-radius: 10px; cursor: pointer; font-size: 14px; }
.fxc-row:hover { border-color: #c7ccd4; }
.fxc-row:focus-visible { outline: 3px solid #14a86f; outline-offset: 2px; }
.fxc-row > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fxc-n { display: flex; align-items: center; gap: 10px; }
.fxc-n b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.fxc-av { width: 28px; height: 28px; border-radius: 50%; background: #fdf3e1; color: #8a5200; font: 700 11px "Plus Jakarta Sans", sans-serif; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.fxc-e, .fxc-w { color: #344054; }
.fxc-f { display: flex; gap: 4px; align-items: center; }
.fxc-chip { display: inline-block; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; height: 22px; line-height: 22px; padding: 0 8px; border-radius: 999px; background: #e4e8ee; color: #24385a; font-size: 12px; }
.fxc-more { font-size: 12px; color: #667085; }
.fxc-pages { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #344054; }
@media (max-width: 900px) { .fxc { grid-template-columns: minmax(0, 1fr); } .fxc-rh { display: none; } .fxc-row { grid-template-columns: minmax(0, 1fr) auto; padding: 10px 12px; } .fxc-row > :not(.fxc-n):not(:nth-child(6)) { display: none; } }

/* A contact in form by XONIK: their details, answers and notes; the CRM's deals, leads, territory and sales roles stay out */
html[data-fxs] #drawer-contact-details .drawer-meta-item:has(#drawer-contact-role-select),
html[data-fxs] #drawer-contact-details .drawer-meta-item:has(#drawer-contact-lifecycle-select),
html[data-fxs] #drawer-contact-details .record-col--side > .drawer-section:has(> .drawer-section-title),
html[data-fxs] #drawer-contact-details .record-col--side > .drawer-section.ld-rec,
html[data-fxs] #drawer-contact-details .record-col--side > .drawer-section.so-rec { display: none !important; }
html[data-fxs] #drawer-contact-details .record-col--side > .drawer-section:has(.files-panel__head):not(.ld-rec) { display: block !important; }

/* Getting started (99-fx-onboarding.js): the first steps, the tours and Help */
.fxo-list { margin: 0 0 18px; border: 1px solid #e4e7ec; border-radius: 14px; background: #fff; padding: 14px 16px; font-family: "Plus Jakarta Sans", system-ui, sans-serif; }
.fxo-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fxo-dot { width: 10px; height: 10px; border-radius: 50%; background: #14a86f; box-shadow: 0 0 0 4px #ddf3e9; }
.fxo-head b { font-size: 15px; color: #0b1626; }
.fxo-n { font-size: 13px; color: #667085; }
.fxo-bar { width: 140px; height: 6px; border-radius: 999px; background: #f2f4f7; overflow: hidden; }
.fxo-bar i { display: block; height: 100%; background: #14a86f; border-radius: 999px; }
.fxo-steps { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 8px; }
.fxo-steps li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid #eef0f3; border-radius: 10px; }
.fxo-steps li > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fxo-steps li b { font-size: 14px; color: #0b1626; }
.fxo-steps li span:not(.fxo-ck):not(.fxo-ok) { font-size: 12px; color: #667085; }
.fxo-ck { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #c7ccd4; display: inline-flex; align-items: center; justify-content: center; font: 700 12px "Plus Jakarta Sans", sans-serif; color: #667085; flex: none; }
.fxo-steps li.done { background: #fafbfc; }
.fxo-steps li.done .fxo-ck { background: #14a86f; border-color: #14a86f; color: #fff; }
.fxo-steps li.done b { color: #667085; text-decoration: line-through; }
.fxo-ok { font-size: 12px; font-weight: 600; color: #0b7a4f; }
.fxo-tour { position: fixed; inset: 0; z-index: 3000; }
.fxo-hole { position: fixed; border-radius: 12px; box-shadow: 0 0 0 9999px rgba(11,22,38,.55); transition: all .25s ease; pointer-events: none; outline: 2px solid #14a86f; }
.fxo-pop { position: fixed; background: #fff; border-radius: 14px; padding: 16px; box-shadow: 0 24px 60px rgba(11,22,38,.35); display: flex; flex-direction: column; gap: 6px; font-family: "Plus Jakarta Sans", system-ui, sans-serif; color: #0b1626; }
.fxo-pop small { font-size: 12px; color: #0b7a4f; font-weight: 600; }
.fxo-pop b { font-size: 16px; }
.fxo-pop p { margin: 0; font-size: 14px; line-height: 1.5; color: #344054; }
.fxo-pa { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.fxo-help { position: fixed; z-index: 2500; width: 230px; background: #fff; border: 1px solid #e4e7ec; border-radius: 12px; box-shadow: 0 18px 40px rgba(11,22,38,.18); padding: 6px; display: flex; flex-direction: column; font-family: "Plus Jakarta Sans", system-ui, sans-serif; }
.fxo-help button, .fxo-help a { height: 36px; border: 0; background: transparent; text-align: left; padding: 0 10px; border-radius: 8px; font: 500 14px "Plus Jakarta Sans", sans-serif; color: #0b1626 !important; cursor: pointer; text-decoration: none; display: flex; align-items: center; }
.fxo-help button:hover, .fxo-help a:hover { background: #f5f6f8; }
@media (prefers-reduced-motion: reduce) { .fxo-hole { transition: none; } }

.fxb-mode select { width: 100%; height: 40px; border: 0; border-radius: 12px; background-color: #fff; padding: 0 30px 0 12px; font: 600 14px "Plus Jakarta Sans", sans-serif; color: #0b1626; cursor: pointer; }
.fxb-mode select:focus-visible { outline: 3px solid #14a86f; }

/* The template gallery with the library: kinds, industries by group, a count */
.fwt-side { overflow-y: auto; }
.fwt-side .fxs-h { margin: 14px 2px 4px 10px; }
.fwt-grp span:first-child { font-weight: 600; }
.fwt-ind { padding-left: 22px; font-size: 13px; height: 32px; }
.fwt-count { font-size: 13px; color: #667085; white-space: nowrap; }
.fwt-list > .fws-btn { margin-top: 6px; align-self: center; }
@media (max-width: 1000px) { .fws-sh-cols[data-fws-show="chat"] { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- Pages: landing pages that hold a form */
html[data-fxs-pages] #panel-marketing > :not(#mkt-website-view) { display: none !important; }
html[data-fxs-pages] #mkt-website-view { display: block !important; }
.fxp { max-width: 1240px; margin: 0 auto; padding: 8px 0 40px; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
.fxp-loading { padding: 60px; text-align: center; color: #667085; }
.fxp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.fxp-head h2 { font: 600 28px/1.1 'Plus Jakarta Sans', sans-serif; margin: 0 0 6px; color: #0b1626; }
.fxp-head p { margin: 0; color: #344054; max-width: 68ch; font-size: 15px; }
.fxp-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.fxp-kpis div { background: #fff; border: 1px solid #e8ebef; border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; }
.fxp-kpis span { font-size: 13px; color: #667085; }
.fxp-kpis b { font: 500 26px 'Plus Jakarta Sans', sans-serif; color: #0b1626; font-variant-numeric: tabular-nums; }
.fxp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.fxp-card { background: #fff; border: 1px solid #e8ebef; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.fxp-card:hover { box-shadow: 0 18px 40px -24px rgba(11, 22, 38, .45); }
.fxp-thumb { position: relative; height: 168px; border: 0; padding: 0; cursor: pointer; background: radial-gradient(120% 120% at 0% 0%, #1d2a3c, #0b1220 65%) center/cover; display: block; width: 100%; }
.fxp-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8, 14, 24, .7), rgba(8, 14, 24, .2)); }
.fxp-mock { position: absolute; z-index: 1; right: 16px; top: 18px; bottom: 18px; width: 42%; background: #fff; border-radius: 10px; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .6); display: flex; flex-direction: column; gap: 8px; padding: 12px; }
.fxp-mock i { height: 6px; border-radius: 4px; background: #dfe5ec; } .fxp-mock i:first-child { width: 70%; background: #0b1626; }
.fxp-mock b { margin-top: auto; width: 46%; height: 14px; border-radius: 6px; background: #14a86f; }
.fxp-badge { position: absolute; z-index: 1; left: 12px; bottom: 12px; padding: 3px 10px; border-radius: 999px; font: 600 12px 'Plus Jakarta Sans', sans-serif; background: rgba(255, 255, 255, .9); color: #344054; }
.fxp-badge.on { background: #14a86f; color: #fff; }
.fxp-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.fxp-body h3 { margin: 0; font: 600 16px 'Plus Jakarta Sans', sans-serif; color: #0b1626; }
.fxp-forms { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.fxp-forms span { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: #e9f5fb; color: #15516d; }
.fxp-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.fxp-nums div { background: #f7f8fa; border-radius: 8px; padding: 8px 10px; }
.fxp-nums dt { font-size: 11px; color: #667085; } .fxp-nums dd { margin: 2px 0 0; font: 600 16px 'Plus Jakarta Sans', sans-serif; color: #0b1626; font-variant-numeric: tabular-nums; }
.fxp-acts { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: auto; }
.fxp-hint { font-size: 12px; color: #667085; }
.fxp-empty { background: #fff; border: 1px solid #e8ebef; border-radius: 18px; padding: 40px 24px; text-align: center; display: grid; justify-items: center; gap: 10px; }
.fxp-empty h3 { margin: 6px 0 0; font: 600 22px 'Plus Jakarta Sans', sans-serif; color: #0b1626; } .fxp-empty p { margin: 0 0 8px; color: #344054; max-width: 52ch; }
.fxp-empty-art { position: relative; width: 420px; max-width: 100%; height: 190px; }
.fxp-shot { position: absolute; width: 230px; height: 150px; border-radius: 14px; background: #0b1220 center/cover; box-shadow: 0 20px 40px -20px rgba(11, 22, 38, .55); overflow: hidden; animation: fxp-float 6s ease-in-out infinite; }
.fxp-shot::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8, 14, 24, .7), rgba(8, 14, 24, .15)); }
.fxp-shot i { position: absolute; z-index: 1; left: 14px; top: 18px; width: 90px; height: 8px; border-radius: 4px; background: #fff; }
.fxp-shot b { position: absolute; z-index: 1; right: 12px; top: 14px; bottom: 14px; width: 80px; border-radius: 8px; background: #fff; }
.fxp-shot.s0 { left: 0; top: 30px; transform: rotate(-5deg); } .fxp-shot.s1 { left: 95px; top: 0; z-index: 2; animation-delay: -2s; } .fxp-shot.s2 { right: 0; top: 36px; transform: rotate(5deg); animation-delay: -4s; }
@keyframes fxp-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@media (prefers-reduced-motion: reduce) { .fxp-shot { animation: none; } .fxp-card { transition: none; } }
.fxp-foot { margin-top: 18px; font-size: 13px; color: #667085; }
.fxp-new { display: grid; gap: 14px; }
.fxp-tpls { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.fxp-tpl { position: relative; display: flex; flex-direction: column; gap: 4px; border: 2px solid #e8ebef; border-radius: 14px; padding: 8px; cursor: pointer; background: #fff; }
.fxp-tpl input { position: absolute; opacity: 0; }
.fxp-tpl:has(input:checked) { border-color: #14a86f; box-shadow: 0 0 0 3px #d8f3e6; }
.fxp-tpl:has(input:focus-visible) { outline: 3px solid #14a86f; outline-offset: 2px; }
.fxp-tpl-img { position: relative; height: 104px; border-radius: 9px; background: radial-gradient(120% 120% at 0% 0%, #1d2a3c, #0b1220 65%) center/cover; overflow: hidden; margin-bottom: 4px; }
.fxp-tpl-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8, 14, 24, .65), rgba(8, 14, 24, .15)); }
.fxp-tpl-img .fxp-mock { top: 12px; bottom: 12px; right: 10px; padding: 8px; gap: 5px; }
.fxp-tpl b { font-size: 14px; color: #0b1626; } .fxp-tpl small { font-size: 12px; color: #667085; line-height: 1.4; }
@media (max-width: 860px) { .fxp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fxp-kpis div:last-child { grid-column: 1 / -1; } }

/* The canvas: a question asked by video shows its video first */
.fwc-in.has-video { max-width: 720px; }
.fwc-video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; margin-bottom: 8px; background: #0b1626 radial-gradient(120% 90% at 30% 20%, #1d3350 0%, #0b1626 70%); box-shadow: 0 18px 40px -20px rgba(11, 22, 38, .55); }
.fwc-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fwc-video__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center; background: var(--fb, #0b1626); box-shadow: 0 10px 26px rgba(0, 0, 0, .35); }
.fwc-video__play svg { width: 26px; height: 26px; margin-left: 3px; fill: var(--fbi, #fff); }
.fwc-video__tag { position: absolute; left: 12px; top: 12px; padding: 4px 9px; border-radius: 999px; background: rgba(11, 22, 38, .62); color: #fff; font: 600 11px/1.2 'Plus Jakarta Sans', system-ui, sans-serif; }

/* Workspaces in the forms sidebar and above the list (99-forms-teams.js) */
.fwk-sl .fwk-dot { width: 18px; height: 18px; border-radius: 5px; flex: none; display: inline-flex; align-items: center; justify-content: center; color: #fff; font: 700 10px/1 'Plus Jakarta Sans', sans-serif; font-style: normal; }
.fwk-sl .fwk-role { height: 18px; padding: 0 6px; font-size: 10.5px; }
.fwk-sl.on .fwk-role { box-shadow: 0 0 0 1px rgba(11,22,38,.06); }
.fwk-head, .fwk-dlg, .fwk-bar, .fpr { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
html[data-fxs] .fwk-head { border-color: #e8ebef; }
html[data-fxs] #forms-folder-bar .fwk-bar { margin: 0 0 10px; }
@media (max-width: 860px) { html[data-fxs] .fwk-pick { max-width: none; } }
.fws-btn[disabled], .fws-menu button[disabled], .fws-tabs button[disabled] { opacity: .45; cursor: not-allowed; }

/* ================================================================ the app's design system (2026-11-19)
   One font (Plus Jakarta Sans, as the website), one type scale, calm colours: a cool light background,
   white surfaces, near-black ink for the main actions, the green only for "live", success and plans.
   The top bar and the tabs stay put while the page scrolls; pages sit in one centred column. */
html[data-fx-product] {
  --fx-bg: #f5f6f8; --fx-surface: #fff; --fx-line: #e4e7ec; --fx-line-2: #eef0f3;
  --fx-ink: #0b1626; --fx-ink-2: #344054; --fx-muted: #667085;
  --fx-accent: #14a86f; --fx-accent-ink: #0b7a4f; --fx-accent-soft: #e8f7f0;
  --fx-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --xonika-border: var(--fx-line); --xonika-border-subtle: var(--fx-line-2);
  --xonika-font-serif: var(--fx-font); --xonika-font-display: var(--fx-font); --xonika-font-sans: var(--fx-font);
}
html[data-fx-product] body, html[data-fx-product] button, html[data-fx-product] input, html[data-fx-product] select, html[data-fx-product] textarea { font-family: var(--fx-font); }
html[data-fx-product] body { font-size: 14px; line-height: 1.5; color: var(--fx-ink); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

/* The frame: top bar and tabs fixed above the page, full width, one hairline under each */
html[data-fx-product], html[data-fx-product] body, html[data-fxs] #main-app-view:not([style*="none"]), html[data-fxs] #main-content, html[data-fxs] .xonika-content-scroll { background: var(--fx-bg) !important; }
.fxs-top { height: 56px; padding: 0 24px; border-bottom: 1px solid var(--fx-line); }
.fxs-tl { color: var(--fx-ink-2); font-weight: 500; }
.fxs-tl:hover, .fxs-ib:hover, .fxs-me button:hover { background: var(--fx-line-2); }
.fxs-plans { background: var(--fx-accent-soft); color: var(--fx-accent-ink); font-weight: 600; box-shadow: inset 0 0 0 1px rgba(20,168,111,.28); }
.fxs-plans:hover { background: #d9f1e6; }
.fxs-plans { white-space: nowrap; }
.fxs-av { background: var(--fx-ink); color: #fff; }
.fxs-tabs { margin: 0; padding: 0 20px; height: 48px; gap: 2px; background: #fff; border-radius: 0; border-bottom: 1px solid var(--fx-line); }
.fxs-tabs button { height: 48px; padding: 0 12px; border-radius: 0; color: var(--fx-muted); font-weight: 500; font-size: 14px; }
.fxs-tabs button:hover { color: var(--fx-ink); background: transparent; }
.fxs-tabs button.on { background: transparent; color: var(--fx-ink); font-weight: 600; }
.fxs-tabs button.on::after { left: 10px !important; right: 10px !important; width: auto !important; bottom: 0 !important; height: 2px !important; border-radius: 2px 2px 0 0 !important; background: var(--fx-ink) !important; transform: none !important; }
.fxs-tabs button svg { width: 17px; height: 17px; opacity: .85; }
.fxs-side { background: #fff; border-right: 1px solid var(--fx-line); margin: 0; border-radius: 0; }
html[data-fxs][data-fxs-forms] #main-content { margin: 0; border-radius: 0; background: var(--fx-bg); }

/* Pages: one centred column with room to breathe */
html[data-fxs] .app-panel { max-width: 1240px; margin: 0 auto; padding: 28px 32px 56px !important; box-sizing: border-box; }
html[data-fx-product] .section-header-block { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin: 0 0 22px; padding: 0; border: 0; }
html[data-fx-product] .section-title, html[data-fx-product] .page-header-title { font: 700 26px/32px var(--fx-font) !important; letter-spacing: -.02em !important; margin: 0; color: var(--fx-ink); }
html[data-fx-product] .section-subtitle { font-size: 15px; line-height: 22px; color: var(--fx-muted); margin: 6px 0 0; max-width: 720px; }
html[data-fx-product] .section-header-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
html[data-fx-product] .section-header-block > div:first-child { flex: 1 1 560px; min-width: 0; }

/* Buttons: one height, one radius; ink for the main action, white for the rest */
html[data-fx-product] .xonika-btn { height: 38px; padding: 0 16px; border-radius: 10px; font: 600 14px var(--fx-font); letter-spacing: 0; box-shadow: none; }
html[data-fx-product] .xonika-btn--sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
html[data-fx-product] .xonika-btn--primary { background: var(--fx-ink); border: 1px solid var(--fx-ink); color: #fff; }
html[data-fx-product] .xonika-btn--primary:hover { background: #1d2b40; border-color: #1d2b40; }
html[data-fx-product] .xonika-btn--secondary, html[data-fx-product] .fws-btn:not(.go):not(.dark):not(.danger) { background: #fff; border: 1px solid var(--fx-line); color: var(--fx-ink); }
html[data-fx-product] .xonika-btn--secondary:hover, html[data-fx-product] .fws-btn:not(.go):not(.dark):not(.danger):hover { border-color: #c7ccd4; background: #fafbfc; }
/* The main action of a screen (.fws-btn.go): ink, white words */
html[data-fx-product] .fws-btn.go { background: var(--fx-ink); border: 1px solid var(--fx-ink); color: #fff; }
html[data-fx-product] .fws-btn.go:hover { background: #1d2b40; border-color: #1d2b40; color: #fff; }
html[data-fx-product] .fws-btn.dark { background: var(--fx-ink); border: 1px solid var(--fx-ink); color: #fff; }
html[data-fx-product] .fws-btn.dark:hover { background: #1d2b40; border-color: #1d2b40; color: #fff; }
html[data-fx-product] .form-input, html[data-fx-product] .form-select, html[data-fx-product] .fxs-search { border-color: var(--fx-line); border-radius: 10px; }
html[data-fx-product] .form-input:focus, html[data-fx-product] .form-select:focus, html[data-fx-product] .fxs-search:focus-within { border-color: var(--fx-ink); box-shadow: 0 0 0 3px rgba(11,22,38,.08); outline: none; }

/* The reminder to confirm the email: a calm strip inside the page column, never cut off */
html[data-fx-product] #email-verify-banner:not([hidden]) {
  display: flex !important; align-items: center; gap: 12px; flex-wrap: wrap; box-sizing: border-box;
  max-width: 1176px; margin: 20px auto 0 !important; width: calc(100% - 64px);
  padding: 10px 12px 10px 14px; border: 1px solid #f1dcae; border-radius: 12px; background: #fff8eb; color: #5c3f00; font-size: 14px; line-height: 20px;
}
html[data-fx-product] #email-verify-banner::before { content: ''; flex: none; width: 18px; height: 18px; background: no-repeat center/18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a06400' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
html[data-fx-product] #email-verify-banner > span { flex: 1 1 320px; min-width: 0; }
html[data-fx-product] #email-verify-banner .xonika-btn { margin-left: auto; background: #fff; border-color: #ecd3a0; }

/* Contacts: filters on the left, the list on the right, both starting at the same line */
.fxc { grid-template-columns: 232px minmax(0, 1fr); gap: 20px; align-items: start; }
.fxc-side { background: #fff; border: 1px solid var(--fx-line); border-radius: 14px; padding: 8px; position: sticky; top: 0; }
.fxc-side .fxs-sl { height: 36px; color: var(--fx-ink-2); font-size: 14px; }
.fxc-side .fxs-sl.on { background: var(--fx-line-2); color: var(--fx-ink); font-weight: 600; }
.fxc-side .fxs-sl .n { color: var(--fx-muted); font-size: 12px; font-weight: 600; }
.fxc-side .fxs-h { padding: 14px 10px 6px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--fx-muted); }
.fxc-tools { gap: 10px; }
.fxc-tools .fxs-search { width: min(460px, 100%); height: 40px; background: #fff; }
.fxc-row { border-color: var(--fx-line); border-radius: 12px; }
.fxc-row:hover { border-color: #c7ccd4; box-shadow: 0 6px 18px -12px rgba(11,22,38,.25); }
.fxc-rh { font-size: 12px; font-weight: 600; color: var(--fx-muted); text-transform: uppercase; letter-spacing: .05em; }
.fxc-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 56px 24px; background: #fff; border: 1px solid var(--fx-line); border-radius: 16px; }
.fxc-empty .fxc-ei { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--fx-accent-soft); color: var(--fx-accent-ink); margin-bottom: 4px; }
.fxc-empty .fxc-ei svg { width: 26px; height: 26px; }
.fxc-empty h3 { margin: 0; font: 700 18px/24px var(--fx-font); letter-spacing: -.01em; color: var(--fx-ink); }
.fxc-empty p { margin: 0; max-width: 460px; color: var(--fx-muted); font-size: 14px; line-height: 21px; }
.fxc-empty .fxc-ea { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
@media (max-width: 860px) {
  html[data-fxs] .app-panel { padding: 20px 16px 40px !important; }
  html[data-fx-product] #email-verify-banner:not([hidden]) { width: calc(100% - 32px); margin-top: 14px !important; }
  .fxc { grid-template-columns: minmax(0, 1fr); }
  .fxc-side { position: static; flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .fxc-side .fxs-sl { width: auto; }
  .fxc-side .fxs-h { width: 100%; padding-top: 8px; }
  .fxs-top { padding: 0 14px; gap: 6px; } .fxs-tabs { padding: 0 8px; }
  .fxs-plans { padding: 0 10px; font-size: 13px; height: 32px; }
  html[data-fx-product] .section-header-block { flex-direction: column; align-items: stretch; gap: 14px; }
  html[data-fx-product] .section-header-block > div:first-child { flex: none; }
  html[data-fx-product] .section-title { font-size: 24px !important; line-height: 30px; }
}

/* ================================================================ every screen on the design system (2026-11-19)
   The suite's warm tokens (cream pages, sand lines, amber, Archivo, the serif) mapped onto the system, so every
   part the form product reuses reads the same; then dialogs, editors and each screen's own fixes. */
html[data-fx-product] {
  --xonika-bg-main: var(--fx-bg); --xonika-canvas: var(--fx-bg); --xonika-surface-card: #fff; --xonika-surface: #fff; --xonika-surface-elevated: #fff;
  --xonika-surface-cream: #f7f8fa; --xonika-surface-subtle: #f7f8fa; --xonika-surface-alt: #f7f8fa;
  --xonika-line: var(--fx-line); --xonika-line-subtle: var(--fx-line-2); --xonika-line-strong: #d0d5dd;
  --xonika-ink: var(--fx-ink); --xonika-ink-muted: var(--fx-ink-2); --xonika-ink-faint: var(--fx-muted);
  --xonika-text-primary: var(--fx-ink); --xonika-text-secondary: var(--fx-ink-2); --xonika-text-muted: var(--fx-muted);
  --xonika-border-focus: var(--fx-ink); --xonika-link: var(--fx-ink);
  --xonika-neutral-text: var(--fx-ink-2); --xonika-neutral-bg: #f2f4f7; --xonika-neutral-border: var(--fx-line);
  --xonika-primary-soft: #eef0f3; --xonika-accent-ochre: var(--fx-ink-2); --xonika-accent-amber: #b54708;
  --xonika-gradient-primary: linear-gradient(135deg, #0b1626 0%, #1d2b40 100%); --xonika-gradient-accent: linear-gradient(135deg, #0b1626 0%, #1d2b40 100%);
  --xonika-success-text: var(--fx-accent-ink); --xonika-success-bg: var(--fx-accent-soft); --xonika-success-border: #b7e4cf;
  --xonika-warning-text: #5c3f00; --xonika-warning-bg: #fff8eb; --xonika-warning-border: #f1dcae;
  --xonika-error-text: #b42318; --xonika-error-bg: #fef3f2; --xonika-error-border: #fecdca;
  --xonika-info-text: var(--fx-ink-2); --xonika-info-bg: #f2f4f7; --xonika-info-border: var(--fx-line);
  --xonika-shadow-sm: 0 1px 2px rgba(11,22,38,.05); --xonika-shadow-md: 0 4px 12px -4px rgba(11,22,38,.10);
  --xonika-shadow-lg: 0 12px 28px -12px rgba(11,22,38,.18); --xonika-shadow-xl: 0 24px 64px -16px rgba(11,22,38,.28);
  --xonika-radius-lg: 14px; --xonika-radius-xl: 16px; --xonika-control-height: 38px; --xonika-control-compact-height: 32px;
}

/* ---------------------------------------------------------------- dialogs: centred, a proper width, never cut off */
html[data-fx-product] .modal-overlay:not(.record-page) {
  align-items: center; justify-content: center; padding: 24px; background: rgba(11,22,38,.42); backdrop-filter: none; -webkit-backdrop-filter: none;
}
html[data-fx-product] .modal-overlay:not(.record-page) > .modal-content {
  height: auto; max-height: calc(100vh - 48px); border: 1px solid var(--fx-line); border-radius: 16px; box-shadow: 0 24px 64px -16px rgba(11,22,38,.32);
  padding: 24px; animation: fx-dlg-in .18s ease-out both; box-sizing: border-box; color: var(--fx-ink);
}
@keyframes fx-dlg-in { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: none; } }
html[data-fx-product] .modal-overlay .modal-header { gap: 16px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--fx-line-2); }
html[data-fx-product] .modal-overlay .modal-title { font: 700 18px/24px var(--fx-font); letter-spacing: -.01em; color: var(--fx-ink); }
html[data-fx-product] .close-btn { width: 36px; height: 36px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; color: var(--fx-muted); font-size: 22px; }
html[data-fx-product] .close-btn:hover { background: var(--fx-line-2); color: var(--fx-ink); }
html[data-fx-product] .close-btn:focus-visible { outline: 3px solid rgba(20,168,111,.45); outline-offset: 1px; }
@media (prefers-reduced-motion: reduce) { html[data-fx-product] .modal-overlay > .modal-content { animation: none; } }

/* ---------------------------------------------------------------- big editors: full screen, a fixed top bar, the canvas
   filling the space, settings in a 400px right column that scrolls on its own, a footer bar */
html[data-fx-product] .modal-overlay.fx-full, html[data-fx-product] #modal-workflow-builder, html[data-fx-product] #modal-new-form, html[data-fx-product] #modal-form-share, html[data-fx-product] #modal-email-designer { padding: 0; background: var(--fx-bg); align-items: stretch; justify-content: stretch; }
html[data-fx-product] .modal-overlay.fx-full > .modal-content, html[data-fx-product] #modal-workflow-builder > .modal-content, html[data-fx-product] #modal-new-form > .modal-content, html[data-fx-product] #modal-form-share > .modal-content, html[data-fx-product] #modal-email-designer > .modal-content {
  width: 100vw; max-width: none !important; height: 100vh; max-height: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; animation: none; background: var(--fx-bg);
}

/* The workflow editor (22-calls.js, 99-nexus-canvas.js) */
html[data-fx-product] .wfb-modal { display: flex; flex-direction: column; overflow: hidden; }
html[data-fx-product] .wfb-modal > .modal-header {
  flex: none; margin: 0; min-height: 64px; padding: 12px 24px 12px 16px; background: #fff; border-bottom: 1px solid var(--fx-line); gap: 16px 24px; flex-wrap: wrap; box-sizing: border-box;
}
html[data-fx-product] .wfb-modal > .modal-header > .calls-row { align-items: center; gap: 8px 16px; flex-wrap: wrap; min-width: 0; }
html[data-fx-product] .wfb-modal > .modal-header { justify-content: flex-start; }
html[data-fx-product] .wfb-modal > .modal-header > .calls-row { flex: 1 1 auto !important; }
html[data-fx-product] .wfb-modal > .modal-header > div:last-child { display: contents !important; }
html[data-fx-product] .wfb-modal > .modal-header .close-btn { order: -1; margin-right: -8px; }
html[data-fx-product] #wfb-name { height: 38px; width: min(360px, 100%); font-weight: 600; font-size: 15px; }
html[data-fx-product] .wfb-modal > #wfb-error:not(:empty) { margin: 12px 24px 0 !important; padding: 10px 14px; border: 1px solid var(--xonika-error-border); border-radius: 10px; background: var(--xonika-error-bg); font-size: 14px !important; }
html[data-fx-product] .wfb-modal > #wfb-error:empty { display: none; }
html[data-fx-product] .wfb-modal > #wfb-draft-banner { margin: 12px 24px 0 !important; }
html[data-fx-product] .wfb-modal > .wfb-grid { flex: 1 1 auto; min-height: 0; grid-template-columns: minmax(0, 1fr) 400px; gap: 0; }
html[data-fx-product] .wfb-canvas {
  max-height: none; height: auto; min-height: 0; border: 0; border-radius: 0; padding: 32px 24px 48px; gap: 0;
  background-color: var(--fx-bg); background-image: radial-gradient(#d5d9e0 1px, transparent 1px); background-size: 20px 20px;
}
html[data-fx-product] .wfb-canvas.nx-canvas { height: auto; padding: 0; background-image: radial-gradient(#d5d9e0 1px, transparent 1px); }
html[data-fx-product] .wfb-panel { max-height: none; min-height: 0; overflow-y: auto; border: 0; border-left: 1px solid var(--fx-line); border-radius: 0; background: #fff; padding: 20px 24px 40px; box-sizing: border-box; }
html[data-fx-product] .wfb-panel-title { font: 600 15px/20px var(--fx-font); color: var(--fx-ink); margin: 0 0 12px !important; }
html[data-fx-product] .wfb-panel .wfb-panel-title:not(:first-child) { margin-top: 24px !important; padding-top: 20px; border-top: 1px solid var(--fx-line-2); }
html[data-fx-product] .wfb-panel .form-label { display: block; margin: 12px 0 6px; font-size: 13px; font-weight: 600; color: var(--fx-ink-2); }
html[data-fx-product] .wfb-panel .form-input, html[data-fx-product] .wfb-panel .form-select { width: 100%; max-width: none !important; }
html[data-fx-product] .wfb-panel .xonika-btn { margin-top: 8px; }
html[data-fx-product] .wfb-panel .calls-help, html[data-fx-product] .wfb-panel small { font-size: 13px; line-height: 18px; color: var(--fx-muted); }
html[data-fx-product] .wfb-panel .calls-check, html[data-fx-product] .wfb-modal .calls-check { display: flex; align-items: flex-start; gap: 10px; min-height: 0; margin: 10px 0; font-size: 14px; line-height: 20px; color: var(--fx-ink-2); }
html[data-fx-product] .wfb-panel .calls-check input[type="checkbox"], html[data-fx-product] .wfb-panel .calls-check input[type="radio"] { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--fx-ink); }
/* The cards */
html[data-fx-product] .wfb-card { max-width: 360px; border: 1px solid var(--fx-line); border-radius: 12px; padding: 12px 14px; gap: 12px; box-shadow: 0 1px 2px rgba(11,22,38,.04); transition: border-color .15s, box-shadow .15s; }
html[data-fx-product] .wfb-card:hover { border-color: #c7ccd4; box-shadow: 0 6px 18px -12px rgba(11,22,38,.25); }
html[data-fx-product] .wfb-card.is-selected { border-color: var(--fx-ink); box-shadow: 0 0 0 1px var(--fx-ink); }
html[data-fx-product] .wfb-card--trigger { border-left: 1px solid var(--fx-line); }
html[data-fx-product] .wfb-card--trigger.is-selected { border-color: var(--fx-ink); }
html[data-fx-product] .wfb-card--branch { border-left: 3px solid #98a2b3; }
html[data-fx-product] .wfb-card:focus-visible { outline: 3px solid rgba(20,168,111,.45); outline-offset: 2px; }
html[data-fx-product] .wfb-icon { flex: none; width: 32px; height: 32px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: #f2f4f7; color: var(--fx-ink-2); font-size: 15px; filter: grayscale(1); }
html[data-fx-product] .wfb-card--trigger .wfb-icon { background: var(--fx-ink); color: #fff; filter: grayscale(1) brightness(3); }
html[data-fx-product] .wfb-label { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--fx-ink); }
html[data-fx-product] .wfb-sum { font-size: 13px; line-height: 18px; color: var(--fx-muted); margin-top: 2px; }
html[data-fx-product] .wfb-count { color: var(--fx-accent-ink); font-size: 12px; }
html[data-fx-product] .wfb-add-wrap::before, html[data-fx-product] .wfb-add-wrap::after { height: 14px; background: #d0d5dd; }
html[data-fx-product] .wfb-add { width: 28px; height: 28px; border-color: #d0d5dd; color: var(--fx-ink-2); }
html[data-fx-product] .wfb-add:hover, html[data-fx-product] .wfb-add:focus-visible { background: var(--fx-ink); border-color: var(--fx-ink); color: #fff; }
html[data-fx-product] .wfb-menu { border-color: var(--fx-line); border-radius: 12px; box-shadow: 0 18px 40px rgba(11,22,38,.16); padding: 6px; }
html[data-fx-product] .wfb-menu button { padding: 8px 10px; font-size: 13px; border-radius: 8px; color: var(--fx-ink); }
html[data-fx-product] .wfb-menu button:hover, html[data-fx-product] .wfb-menu button:focus-visible { background: #f2f4f7; }
html[data-fx-product] .wfb-side { border-color: #d0d5dd; border-radius: 12px; padding: 12px; background: rgba(255,255,255,.5); }
html[data-fx-product] .wfb-side-label--no { background: #f2f4f7; color: var(--fx-ink-2); }
html[data-fx-product] .wfb-end { margin-top: 0; padding: 4px 14px; font-size: 12px; font-weight: 600; color: var(--fx-muted); border-color: var(--fx-line); }
html[data-fx-product] .wfb-journey { background: #fff; border: 1px solid var(--fx-line); border-radius: 12px; padding: 10px 14px; font-size: 13px; width: 100%; max-width: 720px; box-sizing: border-box; }
html[data-fx-product] .nx-edge { stroke: #c4cad3; }
html[data-fx-product] .nx-label { color: var(--fx-ink-2); border-color: var(--fx-line); }
html[data-fx-product] .nx-tools { top: 12px; left: 12px; border-color: var(--fx-line); border-radius: 10px; padding: 4px 6px; gap: 4px; box-shadow: 0 1px 2px rgba(11,22,38,.05); }
html[data-fx-product] .nx-node.nx-carried { box-shadow: inset 3px 0 0 #b54708; }
/* The footer: try it with a record */
html[data-fx-product] .wfb-try { flex: none; margin: 0; padding: 12px 24px; gap: 8px 12px; background: #fff; border-top: 1px solid var(--fx-line); max-height: 40vh; overflow-y: auto; box-sizing: border-box; }
html[data-fx-product] .wfb-try > .form-label { font-size: 13px; font-weight: 600; color: var(--fx-ink-2); }
html[data-fx-product] .wfb-try > select { width: 280px; height: 32px; }
html[data-fx-product] .wfb-try > #wfb-try-out:empty { display: none; }
html[data-fx-product] .wfb-try > #wfb-try-out { margin: 4px 0 0 !important; font-size: 13px; }

/* A switch for On / Off, and a neutral segmented control (used by the workflow editor and others) */
html[data-fx-product] .wfb-on { display: inline-flex !important; align-items: center !important; gap: 8px !important; margin: 0 !important; font-size: 14px; font-weight: 600; color: var(--fx-ink); cursor: pointer; user-select: none; }
html[data-fx-product] .wfb-on input, html[data-fx-product] input.fx-switch {
  -webkit-appearance: none; appearance: none; flex: none; position: relative; width: 36px; height: 20px; margin: 0 !important; border-radius: 999px; background: #d0d5dd; cursor: pointer; transition: background .15s;
}
html[data-fx-product] .wfb-on input::before, html[data-fx-product] input.fx-switch::before { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(11,22,38,.25); transition: transform .15s; }
html[data-fx-product] .wfb-on input:checked, html[data-fx-product] input.fx-switch:checked { background: var(--fx-accent); }
html[data-fx-product] .wfb-on input:checked::before, html[data-fx-product] input.fx-switch:checked::before { transform: translateX(16px); }
html[data-fx-product] .wfb-on input:focus-visible, html[data-fx-product] input.fx-switch:focus-visible { outline: 3px solid rgba(20,168,111,.35); outline-offset: 2px; }
html[data-fx-product] .nx-switch { display: inline-flex; gap: 2px; padding: 3px; border: 0; border-radius: 10px; background: #eef0f3; overflow: visible; }
html[data-fx-product] .nx-switch .xonika-btn { height: 30px; padding: 0 14px; border: 0; border-radius: 8px; background: transparent; color: var(--fx-muted); font-size: 13px; font-weight: 600; box-shadow: none; }
html[data-fx-product] .nx-switch .xonika-btn:hover { color: var(--fx-ink); background: transparent; }
html[data-fx-product] .nx-switch [aria-pressed="true"], html[data-fx-product] .nx-switch [aria-pressed="true"]:hover { background: #fff; color: var(--fx-ink); box-shadow: 0 1px 2px rgba(11,22,38,.10), 0 0 0 1px rgba(11,22,38,.04); }

@media (max-width: 860px) {
  html[data-fx-product] .modal-overlay:not(.record-page) { padding: 12px; align-items: flex-end; }
  html[data-fx-product] .modal-overlay:not(.record-page) > .modal-content { max-height: calc(100vh - 24px); padding: 20px 16px; border-radius: 16px; }
  html[data-fx-product] .modal-overlay.fx-full, html[data-fx-product] #modal-workflow-builder, html[data-fx-product] #modal-new-form, html[data-fx-product] #modal-form-share, html[data-fx-product] #modal-email-designer { padding: 0; align-items: stretch; }
  html[data-fx-product] .modal-overlay.fx-full > .modal-content, html[data-fx-product] #modal-workflow-builder > .modal-content, html[data-fx-product] #modal-new-form > .modal-content, html[data-fx-product] #modal-form-share > .modal-content, html[data-fx-product] #modal-email-designer > .modal-content { max-height: none; padding: 0; border-radius: 0; }
  html[data-fx-product] .wfb-modal { overflow-y: auto; }
  html[data-fx-product] .wfb-modal > .modal-header { padding: 10px 12px; position: sticky; top: 0; z-index: 8; }
  html[data-fx-product] .wfb-modal > .modal-header { gap: 10px 12px; }
  html[data-fx-product] .wfb-modal > .modal-header > .calls-row { display: contents; }
  html[data-fx-product] #wfb-name { flex: 1 1 calc(100% - 60px); width: auto !important; min-width: 0 !important; }
  html[data-fx-product] #wfb-save { margin-left: auto; }
  html[data-fx-product] .wfb-modal > .wfb-grid { display: block; flex: none; }
  html[data-fx-product] .wfb-canvas { padding: 20px 12px 28px; min-height: 260px; }
  html[data-fx-product] .wfb-canvas.nx-canvas { height: 60vh; }
  html[data-fx-product] .wfb-panel { border-left: 0; border-top: 1px solid var(--fx-line); padding: 16px; }
  html[data-fx-product] .wfb-try { padding: 12px; max-height: none; }
  html[data-fx-product] .wfb-try > select { width: 100%; max-width: none !important; }
}
html[data-fx-product] .nx-tools .xonika-btn { height: 28px; padding: 0 10px; font-size: 13px; border-radius: 7px; }
html[data-fx-product] .nx-tools .calls-help { margin: 0; min-width: 40px; text-align: center; font-size: 12px; font-weight: 600; }

/* ---------------------------------------------------------------- Automations (99-fx-automations.js): ready-made cards flat
   (the sign-in card's .fxa-card glow in auth.css was landing on them) */
html[data-fx-product] .fxa-recipes { gap: 12px; margin: 0 0 24px; }
html[data-fx-product] .fxa-h b { font-size: 15px; font-weight: 600; }
html[data-fx-product] .fxa-h span { color: var(--fx-muted); }
html[data-fx-product] .fxa-grid .fxa-card { box-shadow: none; animation: none; border-radius: 14px; padding: 16px; gap: 6px; background: #fff; border: 1px solid var(--fx-line); color: var(--fx-ink); min-height: 0; transition: border-color .15s, box-shadow .15s, transform .15s; }
html[data-fx-product] .fxa-grid .fxa-card:hover { border-color: #c7ccd4; box-shadow: 0 8px 22px -14px rgba(11,22,38,.35); }
html[data-fx-product] .fxa-grid .fxa-card b { font-size: 14px; line-height: 20px; font-weight: 600; }
html[data-fx-product] .fxa-grid .fxa-card span { font-size: 13px; line-height: 18px; color: var(--fx-muted); }
html[data-fx-product] .fxa-grid .fxa-card.more { background: #fff; border: 1px dashed #c7ccd4; color: var(--fx-ink); }
html[data-fx-product] .fxa-grid .fxa-card.more b::after { content: ' →'; }
html[data-fx-product] .fxa-grid .fxa-card.more span { color: var(--fx-muted); }

/* ---------------------------------------------------------------- shared parts, on every screen */
/* Number cards */
html[data-fx-product] .section-kpi-row { gap: 12px; margin: 0 0 24px; }
html[data-fx-product] .section-kpi-card { border-radius: 14px; padding: 16px 20px; gap: 4px; box-shadow: none; border-color: var(--fx-line); }
html[data-fx-product] .section-kpi-card:hover { transform: none; box-shadow: none; border-color: var(--fx-line); }
html[data-fx-product] .section-kpi-label { font: 600 12px/16px var(--fx-font); letter-spacing: .05em; text-transform: uppercase; color: var(--fx-muted); }
html[data-fx-product] .section-kpi-val { font: 700 26px/32px var(--fx-font); letter-spacing: -.02em; color: var(--fx-ink); }
html[data-fx-product] .section-kpi-sub { font-size: 13px; line-height: 18px; color: var(--fx-muted); }
/* Tables: a quiet uppercase head on #f7f8fa, rows of about 50px with a hairline between */
html[data-fx-product] .xonika-table-container { border: 1px solid var(--fx-line); border-radius: 14px; background: #fff; box-shadow: none; }
html[data-fx-product] .xonika-table { width: 100%; border-collapse: collapse; }
html[data-fx-product] .xonika-table th { height: 40px; padding: 0 16px; background: #f7f8fa; color: var(--fx-muted); font: 600 12px/16px var(--fx-font); text-transform: uppercase; letter-spacing: .05em; border-bottom: 1px solid var(--fx-line); white-space: nowrap; text-align: left; }
html[data-fx-product] .xonika-table td { height: 50px; padding: 12px 16px; font-size: 14px; line-height: 20px; color: var(--fx-ink-2); border-bottom: 1px solid var(--fx-line-2); box-sizing: border-box; }
html[data-fx-product] .xonika-table tbody tr:last-child td { border-bottom: 0; }
html[data-fx-product] .xonika-table tbody tr:hover td, html[data-fx-product] .clickable-row:hover td { background: #fafbfc; }
html[data-fx-product] .xonika-table td[colspan] { height: auto; padding: 40px 24px; text-align: center; color: var(--fx-muted) !important; font-size: 14px; background: #fff !important; }
/* Sub-tabs inside a page: one neutral segmented control */
html[data-fx-product] [data-subtab-bar] { display: inline-flex !important; gap: 2px !important; padding: 3px; margin: 0 0 16px !important; background: #eef0f3; border-radius: 10px; flex-wrap: wrap; max-width: 100%; box-sizing: border-box; }
html[data-fx-product] [data-subtab-bar] > [role="tab"] { height: 32px; padding: 0 14px; border: 0 !important; border-radius: 8px; background: transparent !important; color: var(--fx-muted) !important; font: 600 13px var(--fx-font); box-shadow: none !important; }
html[data-fx-product] [data-subtab-bar] > [role="tab"]:hover { color: var(--fx-ink) !important; }
html[data-fx-product] [data-subtab-bar] > [role="tab"][aria-selected="true"] { background: #fff !important; color: var(--fx-ink) !important; box-shadow: 0 1px 2px rgba(11,22,38,.10), 0 0 0 1px rgba(11,22,38,.04) !important; }
/* Underlined tab rows (fb-tabs) */
html[data-fx-product] .fb-tabs { gap: 4px; background: transparent; border: 0; border-bottom: 1px solid var(--fx-line); border-radius: 0; padding: 0; width: auto; margin: 0 0 20px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
html[data-fx-product] .fb-tab { height: 40px; padding: 0 12px; border: 0; border-bottom: 2px solid transparent !important; border-radius: 0 !important; background: transparent !important; color: var(--fx-muted) !important; font: 500 14px var(--fx-font); white-space: nowrap; margin-bottom: -1px; }
html[data-fx-product] .fb-tab:hover { color: var(--fx-ink) !important; }
html[data-fx-product] .fb-tab.is-active, html[data-fx-product] .fb-tab[aria-selected="true"] { color: var(--fx-ink) !important; font-weight: 600; border-bottom-color: var(--fx-ink) !important; }
/* Cards */
html[data-fx-product] .xonika-card, html[data-fx-product] .fb-card { border: 1px solid var(--fx-line); border-radius: 14px; background: #fff; box-shadow: none; }
/* Ghost buttons: no fill until hover */
html[data-fx-product] .xonika-btn--ghost { background: transparent; border: 1px solid transparent; color: var(--fx-ink-2); }
html[data-fx-product] .xonika-btn--ghost:hover { background: var(--fx-line-2); color: var(--fx-ink); }
html[data-fx-product] .xonika-btn--danger { background: #fff; border: 1px solid #fecdca; color: #b42318; }
html[data-fx-product] .xonika-btn--danger:hover { background: #fef3f2; border-color: #fda29b; }
html[data-fx-product] .xonika-btn:focus-visible { outline: 3px solid rgba(20,168,111,.4); outline-offset: 2px; }
/* Fields */
html[data-fx-product] .form-input, html[data-fx-product] .form-select, html[data-fx-product] .form-textarea, html[data-fx-product] textarea.form-input { min-height: 38px; font-size: 14px; color: var(--fx-ink); background-color: #fff; border: 1px solid var(--fx-line); border-radius: 10px; box-sizing: border-box; }
html[data-fx-product] .form-input--sm, html[data-fx-product] .form-select.form-input--sm { min-height: 32px; height: 32px; font-size: 13px; border-radius: 8px; }
html[data-fx-product] .form-input::placeholder, html[data-fx-product] textarea::placeholder { color: #98a2b3; }
html[data-fx-product] .form-label { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--fx-ink-2); margin-bottom: 6px; }
html[data-fx-product] .form-group { margin-bottom: 16px; }
html[data-fx-product] input[type="checkbox"], html[data-fx-product] input[type="radio"] { accent-color: var(--fx-ink); }
html[data-fx-product] .calls-help { color: var(--fx-muted); font-size: 13px; line-height: 18px; }
/* Badges */
html[data-fx-product] .xonika-badge { height: 22px; padding: 0 8px; border-radius: 999px; font: 600 12px/22px var(--fx-font); }
/* Dialog footers (wdDialog) and bodies */
html[data-fx-product] .modal-overlay .modal-footer { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; margin: 20px -24px -24px; padding: 16px 24px; border-top: 1px solid var(--fx-line-2); background: #fff; position: sticky; bottom: -24px; border-radius: 0 0 16px 16px; }
html[data-fx-product] .modal-overlay .modal-body { font-size: 14px; line-height: 20px; color: var(--fx-ink-2); }
/* Notices */
html[data-fx-product] .xonika-alert { border-radius: 12px; font-size: 14px; line-height: 20px; padding: 12px 14px; }
html[data-fx-product] .cc-announce { border-radius: 12px; }
@media (max-width: 860px) {
  html[data-fx-product] .modal-overlay .modal-footer { margin: 16px -16px -20px; padding: 12px 16px; bottom: -20px; }
  html[data-fx-product] .xonika-table-container { overflow-x: auto; }
}
/* The page column: the panel carries the padding (28/32), the scroll area none, an empty alert slot no gap */
html[data-fxs] .xonika-content-scroll { padding: 0 !important; }
html[data-fx-product] #global-alert-container:empty { margin: 0 !important; }

/* ---------------------------------------------------------------- Forms home (99-forms-gallery.js, 99-fx-shell.js)
   The AI bar first, then sort and List/Grid right above the list, the list one card with a quiet head */
html[data-fxs] #fx-forms-wrap { display: flex; flex-direction: column; }
html[data-fxs] #fx-forms-wrap > .fx-aistrip { order: -1; }
html[data-fx-product] .fx-aistrip { gap: 10px; margin: 0 0 24px; padding: 8px 8px 8px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--fx-line); transition: border-color .15s, box-shadow .15s; }
html[data-fx-product] .fx-aistrip:focus-within { border-color: var(--fx-ink); box-shadow: 0 0 0 3px rgba(11,22,38,.08); }
html[data-fx-product] .fx-aistrip .fx-aistar { width: 32px; height: 32px; border-radius: 9px; background: var(--fx-accent-soft); color: var(--fx-accent-ink); font-size: 15px; }
html[data-fx-product] .fx-aistrip input { height: 38px; border: 0 !important; background: transparent !important; color: var(--fx-ink); padding: 0 4px; font-size: 14px; min-width: 0 !important; width: auto !important; }
html[data-fx-product] .fx-aistrip input::placeholder { color: #98a2b3; }
html[data-fx-product] .fx-aistrip input:focus { box-shadow: none; }
html[data-fx-product] .fx-aistrip .fx-aigo { height: 38px; padding: 0 16px; border-radius: 10px; background: var(--fx-accent); border-color: var(--fx-accent); color: #fff; }
html[data-fx-product] .fx-aistrip .fx-aigo:hover { background: #0f945f; border-color: #0f945f; }
html[data-fx-product] .fx-forms-bar { margin: 0 0 12px; gap: 8px; }
html[data-fx-product] .fx-chipsel select { height: 32px; border-radius: 8px; font-size: 13px; color: var(--fx-ink); }
html[data-fx-product] .fx-seg { border-color: transparent; background: #eef0f3; padding: 3px; gap: 2px; }
html[data-fx-product] .fx-seg button { height: 26px; color: var(--fx-muted); }
html[data-fx-product] .fx-seg button[aria-pressed="true"] { background: #fff; color: var(--fx-ink); box-shadow: 0 1px 2px rgba(11,22,38,.10); }
/* The list */
html[data-fx-product] .fx-rows { gap: 0; border: 1px solid var(--fx-line); border-radius: 14px; background: #fff; }
html[data-fx-product] .fx-rh { height: 40px; padding: 0 16px; background: #f7f8fa; border-bottom: 1px solid var(--fx-line); border-radius: 14px 14px 0 0; font: 600 12px/16px var(--fx-font); letter-spacing: .05em; text-transform: uppercase; color: var(--fx-muted); }
html[data-fx-product] .fx-row { min-height: 56px; padding: 0 16px; border: 0; border-bottom: 1px solid var(--fx-line-2); border-radius: 0; color: var(--fx-ink-2); }
html[data-fx-product] .fx-row:last-child { border-bottom: 0; border-radius: 0 0 14px 14px; }
html[data-fx-product] .fx-row:hover { background: #fafbfc; box-shadow: none; border-color: var(--fx-line-2); }
html[data-fx-product] .fx-row:focus-visible { outline-offset: -3px; }
html[data-fx-product] .fx-rn b { font-weight: 600; color: var(--fx-ink); }
html[data-fx-product] .fx-rt { width: 32px; height: 32px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(11,22,38,.06); }
html[data-fx-product] .fx-chip { height: 22px; padding: 0 8px; font-size: 12px; background: #f2f4f7; color: var(--fx-ink-2); }
html[data-fx-product] .fx-chip.live { background: var(--fx-accent-soft); color: var(--fx-accent-ink); }
html[data-fx-product] .fx-fc-top .fx-chip:not(.live) { background: rgba(255,255,255,.9); }
html[data-fx-product] .fx-ru, html[data-fx-product] .fx-dash { color: var(--fx-muted); }
html[data-fx-product] .fx-empty { border: 1px solid var(--fx-line); background: #fff; border-radius: 16px; padding: 56px 24px; color: var(--fx-muted); text-align: center; }
/* Grid cards */
html[data-fx-product] .fx-forms { gap: 16px; margin: 0 0 24px; }
html[data-fx-product] .fx-fc { border-color: var(--fx-line); border-radius: 14px; }
html[data-fx-product] .fx-fc:hover { box-shadow: 0 12px 28px -16px rgba(11,22,38,.30); }
html[data-fx-product] .fx-fc-b { border-top-color: var(--fx-line-2); }
html[data-fx-product] .fx-fc-b b { font-weight: 600; font-size: 14px; color: var(--fx-ink); }
html[data-fx-product] .fx-fc-b small { color: var(--fx-muted); }
html[data-fx-product] .fx-fc.new { border-color: #c7ccd4; color: var(--fx-ink); }
/* The getting-started card */
html[data-fx-product] .fxo-list { padding: 16px 20px 20px; margin: 0 0 24px; border-color: var(--fx-line); }
html[data-fx-product] .fxo-head { gap: 12px; }
html[data-fx-product] .fxo-head > .fws-btn:first-of-type { margin-left: auto; }
html[data-fx-product] .fxo-steps { gap: 12px; margin-top: 16px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
html[data-fx-product] .fxo-steps li { padding: 12px 14px; border-color: var(--fx-line); border-radius: 12px; align-items: center; }
html[data-fx-product] .fxo-steps li b { font-weight: 600; line-height: 20px; }
html[data-fx-product] .fxo-steps li span:not(.fxo-ck):not(.fxo-ok) { font-size: 13px; line-height: 18px; color: var(--fx-muted); }
html[data-fx-product] .fxo-steps li.done { background: #f7f8fa; border-color: var(--fx-line-2); }
html[data-fx-product] .fxo-steps li .fws-btn { flex: none; }
/* The sidebar */
html[data-fx-product] .fxs-side { gap: 12px; padding: 16px; }
html[data-fx-product] .fxs-create { height: 40px; border-radius: 10px; }
html[data-fx-product] .fxs-sl { color: var(--fx-ink-2); }
html[data-fx-product] .fxs-sl:hover { background: #f2f4f7; color: var(--fx-ink); }
html[data-fx-product] .fxs-sl .n { color: var(--fx-muted); font-weight: 600; }
html[data-fx-product] .fxs-h { margin: 16px 2px 4px 10px; font: 700 11px/16px var(--fx-font); letter-spacing: .06em; text-transform: uppercase; color: var(--fx-muted); }
html[data-fx-product] .fxs-plus { border-color: var(--fx-line); color: var(--fx-ink-2); }
html[data-fx-product] .fxs-plus:hover { border-color: #c7ccd4; background: #fafbfc; }
html[data-fx-product] .fxs-none { color: var(--fx-muted); }
html[data-fx-product] .fxs-use { border-top-color: var(--fx-line); padding-top: 16px; gap: 2px; }
html[data-fx-product] .fxs-use > span { font: 600 11px/16px var(--fx-font); letter-spacing: .06em; text-transform: uppercase; color: var(--fx-muted); }
html[data-fx-product] .fxs-use b { font-size: 22px; line-height: 28px; font-weight: 700; }
html[data-fx-product] .fxs-use small { font-size: 12px; line-height: 17px; color: var(--fx-muted); }
html[data-fx-product] .fxs-up { margin-top: 8px; height: 32px; padding: 0 12px; border-color: var(--fx-line); border-radius: 8px; font-weight: 600; background: var(--fx-accent-soft); color: var(--fx-accent-ink); border-color: transparent; }
html[data-fx-product] .fxs-ask { border-color: var(--fx-line); box-shadow: none; border-radius: 12px; padding: 4px 4px 4px 10px; }
html[data-fx-product] .fxs-ask:focus-within { border-color: var(--fx-ink); box-shadow: 0 0 0 3px rgba(11,22,38,.08); }
html[data-fx-product] .fxs-ask > span svg { color: var(--fx-accent-ink); }
html[data-fx-product] .fxs-ask button { border: 0; background: var(--fx-ink); color: #fff; border-radius: 8px; width: 30px; height: 30px; }
@media (max-width: 860px) {
  html[data-fx-product] .fx-rows > .fx-rh + .fx-row { border-radius: 14px 14px 0 0; }
  html[data-fx-product] .fx-rows > .fx-row:only-of-type { border-radius: 14px; }
  html[data-fx-product] .fx-row { padding: 10px 12px; gap: 10px; }
  html[data-fx-product] .fx-aistrip { flex-wrap: wrap; padding: 8px; }
  html[data-fx-product] .fx-aistrip input { flex: 1 1 calc(100% - 52px); }
  html[data-fx-product] .fx-aistrip .fx-aigo { flex: 1 1 100%; }
  html[data-fx-product] .fxo-list { padding: 14px 14px 16px; }
  html[data-fx-product] .fxo-head > .fws-btn:first-of-type { margin-left: 0; }
  html[data-fx-product] .fxo-steps { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  html[data-fx-product] .fxo-steps li.done span:not(.fxo-ck):not(.fxo-ok) { display: none; }
  html[data-fx-product] .fxo-steps li { padding: 10px 12px; }
  html[data-fxs] #forms-folder-bar .fwk-bar { flex-wrap: wrap; gap: 8px; }
}

/* ---------------------------------------------------------------- the builder (99-forms-workspace.js): calmer edges, the
   question's settings with room between controls, the action buttons on one line */
html[data-fx-product] .fxb-mode select { font-size: 13px; border: 1px solid var(--fx-line); text-overflow: ellipsis; }
html[data-fx-product] .fws-pcard { border: 1px solid var(--fx-line); border-radius: 14px; padding: 12px; }
html[data-fx-product] .fws-ph b { font-size: 14px; font-weight: 600; }
html[data-fx-product] .fws-ph small { color: var(--fx-muted); font-weight: 600; }
html[data-fx-product] .fq-item { color: var(--fx-ink-2); }
html[data-fx-product] .fq-item.on { background: #eef0f3; color: var(--fx-ink); }
html[data-fx-product] .fws-addrow { color: var(--fx-ink-2); font-weight: 600; }
html[data-fx-product] .fws-addrow:hover { background: #f2f4f7; }
html[data-fx-product] .fws-welcome { border-color: #d0d5dd; background: #f7f8fa; }
html[data-fx-product] .fws-pages > .fws-ask { border-color: var(--fx-line); box-shadow: none; border-radius: 12px; }
html[data-fx-product] .fws-pages > .fws-ask:focus-within { border-color: var(--fx-ink); box-shadow: 0 0 0 3px rgba(11,22,38,.08); }
html[data-fx-product] .fws-ask .fws-icon.sm { border: 0; background: var(--fx-ink); color: #fff; border-radius: 8px; width: 30px; height: 30px; }
html[data-fx-product] .fws-tools { border: 1px solid var(--fx-line); border-radius: 12px; padding: 6px; gap: 6px; }
html[data-fx-product] .fws-canvas { border-color: var(--fx-line); box-shadow: 0 1px 2px rgba(11,22,38,.04), 0 12px 32px -20px rgba(11,22,38,.18); }
html[data-fx-product] .fws > .fws-right { border: 1px solid var(--fx-line); border-radius: 14px; }
html[data-fx-product] #modal-new-form .fws-right > form { padding: 16px 16px 24px; }
html[data-fx-product] .fws .form-question.fq-open > .form-question__row:has(> .xonika-btn--sm) { column-gap: 6px !important; }
html[data-fx-product] .fws .fws-h { font: 700 11px/16px var(--fx-font); letter-spacing: .06em; text-transform: uppercase; color: var(--fx-muted); margin-top: 16px; padding-top: 16px; }
html[data-fx-product] .fws .form-question.fq-open { gap: 8px; }
html[data-fx-product] .fws .form-question .form-input, html[data-fx-product] .fws .form-question .form-select, html[data-fx-product] .fws .form-question .form-textarea { border-color: var(--fx-line); }
html[data-fx-product] .fws .form-question .calls-help { margin: 0; font-size: 12px; line-height: 17px; }
html[data-fx-product] .fws .form-question__row { gap: 8px 12px !important; }
html[data-fx-product] .fws .cal-check { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 14px; line-height: 20px; color: var(--fx-ink-2); }
html[data-fx-product] .fws .cal-check input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; }
html[data-fx-product] .fws .form-question__row > .xonika-btn--sm { height: 30px; padding: 0 8px; font-size: 12px; border-radius: 8px; }
html[data-fx-product] .fws .form-question.fq-open > .form-question__row:has(> .spacer) > .xonika-btn--sm:last-child { margin-left: auto; color: #b42318; border-color: #fecdca; }
html[data-fx-product] .fws .form-question.fq-open > .form-question__row:has(> .spacer) > .xonika-btn--sm:last-child:hover { background: #fef3f2; }
html[data-fx-product] .fws details.fk-more > summary { font-size: 13px; font-weight: 600; color: var(--fx-ink-2); cursor: pointer; padding: 4px 0; }
html[data-fx-product] .fws .form-question__when, html[data-fx-product] .fws .fx-calcs { border-color: var(--fx-line); background: #f7f8fa; border-radius: 12px; padding: 12px; }
html[data-fx-product] .fws .form-input:focus, html[data-fx-product] .fws .form-select:focus, html[data-fx-product] .fws .form-textarea:focus { box-shadow: 0 0 0 3px rgba(11,22,38,.08); }
html[data-fx-product] .fws-dhead { padding: 12px 12px 12px 20px; border-bottom-color: var(--fx-line-2); }
html[data-fx-product] .fws-dhead b { font-size: 15px; font-weight: 600; }
html[data-fx-product] .fws-dtabs { background: #eef0f3; }
html[data-fx-product] .fws-dtabs button { color: var(--fx-muted); font-weight: 600; }
html[data-fx-product] .fws-dtabs button[aria-pressed="true"] { background: #fff; color: var(--fx-ink); box-shadow: 0 1px 2px rgba(11,22,38,.10); }
html[data-fx-product] .fws-tabs button { color: var(--fx-muted); }
html[data-fx-product] .fws-tabs button[aria-pressed="true"] { color: var(--fx-ink); }
html[data-fx-product] .fws-tabs button[aria-pressed="true"]::after { top: auto; bottom: 0; left: 10px; right: 10px; width: auto; margin: 0; height: 2px; border-radius: 2px 2px 0 0; background: var(--fx-ink); }
html[data-fx-product] .fws-rt.on::after { height: 2px; background: var(--fx-ink); border-radius: 2px 2px 0 0; }
html[data-fx-product] .fws-icon.sm { border-color: var(--fx-line); }
html[data-fx-product] .fws-menu { border-color: var(--fx-line); }
html[data-fx-product] .fws .form-question.fq-open > .form-question__row:has(> .xonika-btn--sm) > .spacer { display: none; }
html[data-fx-product] .fws .form-question__row > .xonika-btn--sm { padding: 0 7px; }
/* The right panel shares its class with the top bar's right group: keep it a full-width column */
html[data-fx-product] #modal-new-form .fws > .fws-right { align-items: stretch; justify-content: flex-start; gap: 0; }
html[data-fx-product] #modal-new-form .fws > .fws-right > .fws-dhead { width: auto; }
html[data-fx-product] .fws-top > .fws-right { margin-top: 0; min-height: 0; background: transparent; flex-direction: row; overflow: visible; border: 0; border-radius: 0; align-items: center; }
@media (max-width: 1100px) {
  html[data-fx-product] .fws-crumb { overflow: hidden; }
  html[data-fx-product] .fws-tools { flex-wrap: wrap; }
  html[data-fx-product] .fws-tools > .fws-spacer { display: none; }
  html[data-fx-product] #modal-new-form .fws > .fws-stage, html[data-fx-product] #modal-new-form .fws > .fws-pages, html[data-fx-product] #modal-new-form .fws > .fws-right { min-height: auto; overflow: visible; }
  html[data-fx-product] #modal-new-form .fws > .fws-pages { overflow: visible; }
  html[data-fx-product] .fws-stage > .fws-canvas-wrap { flex: none; min-height: 460px; }
  html[data-fx-product] #modal-new-form .fws-right > form, html[data-fx-product] #modal-new-form .fws-right > .fbu-side { flex: none; overflow: visible; }
}
@media (max-width: 560px) {
  html[data-fx-product] .fws-top { padding: 6px 12px; gap: 8px; }
  html[data-fx-product] .fws-crumb .fws-chip, html[data-fx-product] .fws-crumb > svg { display: none; }
  html[data-fx-product] .fws-top > .fws-right { gap: 6px; }
  html[data-fx-product] .fws-top > .fws-right .fws-btn { padding: 0 12px; }
  html[data-fx-product] .fws-tabs button { padding: 0 10px; }
}
@media (max-width: 1100px) { html[data-fx-product] #modal-new-form .fws > .modal-header { position: sticky; top: 0; z-index: 12; } }

/* ---------------------------------------------------------------- a form's Connect, Share, Results pages: the same full-width
   top bar as the builder, kept in view, the page below in the centred column */
html[data-fxs][data-fxs-results] #main-content { padding: 0 !important; }
html[data-fxs][data-fxs-results] #panel-forms.fws-results-on { max-width: none; padding: 0 0 56px !important; }
html[data-fxs][data-fxs-results] #form-submissions-container { border: 0; border-radius: 0; background: transparent; box-shadow: none; padding: 0; }
html[data-fxs][data-fxs-results] #form-submissions-container > .fws-top--page { position: sticky; top: 0; z-index: 30; margin: 0 0 28px; min-height: 56px; padding: 6px 24px; border: 0; border-bottom: 1px solid var(--fx-line); border-radius: 0; background: #fff; }
html[data-fxs][data-fxs-results] #form-submissions-container > :not(.fws-top) { max-width: 1240px; margin-left: auto; margin-right: auto; padding-left: 32px; padding-right: 32px; box-sizing: border-box; }
@media (max-width: 860px) {
  html[data-fxs][data-fxs-results] #form-submissions-container > .fws-top--page { padding: 6px 12px; margin-bottom: 20px; }
  html[data-fxs][data-fxs-results] #form-submissions-container > :not(.fws-top) { padding-left: 16px; padding-right: 16px; }
}

/* ---------------------------------------------------------------- fields written as <label>Name<input></label>, card titles, action rows */
html[data-fx-product] label.form-label:has(> .form-input, > .form-select, > textarea) { display: block; margin: 0 0 14px; }
html[data-fx-product] label.form-label > .form-input, html[data-fx-product] label.form-label > .form-select, html[data-fx-product] label.form-label > textarea { display: block; width: 100%; margin-top: 6px; font-weight: 400; }
html[data-fx-product] .rep-sub { margin: 0 0 4px; font: 600 15px/20px var(--fx-font); color: var(--fx-ink); }
html[data-fx-product] .rep-sub + .calls-help { margin: 0 0 14px; }
html[data-fx-product] .dr-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
html[data-fx-product] .fb-card { padding: 20px; }
html[data-fx-product] .fb-card > .fb-card { padding: 16px; }
html[data-fx-product] .fc-new { margin: 12px 0 16px; background: #f7f8fa; }
html[data-fx-product] .fc-addbtn { padding: 10px 12px; border-color: var(--fx-line); font-weight: 600; font-size: 14px; }
html[data-fx-product] .fc-addbtn:hover { border-color: #c7ccd4; transform: none; box-shadow: 0 6px 18px -12px rgba(11,22,38,.25); }
html[data-fx-product] .fc-icon { background: #f2f4f7; color: var(--fx-ink-2); }
html[data-fx-product] .fc-row { border-color: var(--fx-line); }
html[data-fx-product] .fws-panel { border-color: var(--fx-line); gap: 12px; }
html[data-fx-product] .fws-panel > b, html[data-fx-product] .fws-panel .fws-ph b { font-size: 15px; font-weight: 600; line-height: 20px; }
html[data-fx-product] .fws-panel .calls-help, html[data-fx-product] .fws-panel p { font-size: 13px; line-height: 19px; color: var(--fx-muted); }
html[data-fx-product] .fws-kpi { border-color: var(--fx-line); border-radius: 14px; gap: 6px; padding: 16px 20px; }
html[data-fx-product] .fws-kpi span { font: 600 12px/16px var(--fx-font); letter-spacing: .05em; text-transform: uppercase; color: var(--fx-muted); }
html[data-fx-product] .fws-kpi b { font: 700 26px/32px var(--fx-font); letter-spacing: -.02em; }
html[data-fx-product] .fws-table th { font: 600 12px/16px var(--fx-font); letter-spacing: .05em; text-transform: uppercase; color: var(--fx-muted); background: #f7f8fa; padding: 12px 16px; border-bottom-color: var(--fx-line); }
html[data-fx-product] .fws-table td { padding: 14px 16px; color: var(--fx-ink-2); }

/* ---------------------------------------------------------------- Share (99-forms-share.js) */
html[data-fx-product] .fws-share > #form-share-note { margin: 16px 24px 0 !important; padding: 10px 14px; border: 1px solid var(--fx-line); border-radius: 12px; background: #fff; color: var(--fx-ink-2) !important; font-size: 14px; line-height: 20px; }
html[data-fx-product] .fws-share > #form-share-note:empty { display: none; }
html[data-fx-product] .fws-sh-cols { gap: 20px; padding: 20px 24px 24px; grid-template-columns: 240px minmax(0, 1fr) 360px; }
html[data-fx-product] .fws-sh-menu, html[data-fx-product] .fws-share .fs-pane { border: 1px solid var(--fx-line); border-radius: 14px; }
html[data-fx-product] .fws-share .fs-pane--chat { border: 0; }
html[data-fx-product] .fws-share .fs-pane { padding: 20px 24px; }
html[data-fx-product] .fws-sh-menu button { color: var(--fx-ink-2); }
html[data-fx-product] .fws-sh-side .fs-split { align-items: stretch; }
html[data-fx-product] .fws-sh-side .fs-grid { width: 100%; }
html[data-fx-product] .fws-sh-pt, html[data-fx-product] .fws-share .fs-pane > b:first-child { font-size: 15px; font-weight: 600; line-height: 20px; }
html[data-fx-product] .fws-share .fs-code { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; border-radius: 10px; }
html[data-fx-product] .fws-share .fs-grid { gap: 12px; }
html[data-fx-product] .fws-rt small { background: #f2f4f7; color: var(--fx-ink-2); font-weight: 600; }
html[data-fx-product] .fws-perf-h h2 { font: 700 22px/28px var(--fx-font); letter-spacing: -.015em; }
html[data-fx-product] .fws-h3 { font: 600 16px/22px var(--fx-font); margin: 28px 0 12px; }
@media (max-width: 1000px) { html[data-fx-product] .fws-sh-cols { padding: 16px; gap: 16px; grid-template-columns: minmax(0, 1fr); } html[data-fx-product] .fws-share > #form-share-note { margin: 12px 16px 0 !important; } }

/* ---------------------------------------------------------------- WhatsApp and text (99-forms-chat.js): the system's lines, font and greys */
html[data-fx-product] .fch-hero h3, html[data-fx-product] .fch-h, html[data-fx-product] .fch-kpis b { font-family: var(--fx-font); }
html[data-fx-product] .fch-hero h3 { font-weight: 700; font-size: 20px; line-height: 26px; letter-spacing: -.01em; }
html[data-fx-product] .fch-h { font-weight: 600; font-size: 15px; line-height: 20px; }
html[data-fx-product] .fch-hero p, html[data-fx-product] .fch-kwsay, html[data-fx-product] .fch-sendout { color: var(--fx-ink-2); }
html[data-fx-product] .fch-card, html[data-fx-product] .fch-link, html[data-fx-product] .fch-kpis div, html[data-fx-product] .fch-chip { border-color: var(--fx-line); }
html[data-fx-product] .fch-card { padding: 20px; gap: 12px; }
html[data-fx-product] .fch-block { background: #f7f8fa; }
html[data-fx-product] .fch-chip, html[data-fx-product] .fch-block small, html[data-fx-product] .fch-link small, html[data-fx-product] .fch-kpis span, html[data-fx-product] .fch-table small, html[data-fx-product] .fch-loading { color: var(--fx-muted); }
html[data-fx-product] .fch-kpis div { gap: 6px; padding: 14px 16px; }
html[data-fx-product] .fch-kpis span { font: 600 12px/16px var(--fx-font); letter-spacing: .05em; text-transform: uppercase; }
html[data-fx-product] .fch-kpis b { font-weight: 700; font-size: 24px; line-height: 30px; }
html[data-fx-product] .fch-kwin, html[data-fx-product] .fch-kwtag { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace !important; }
html[data-fx-product] .fch-table th { color: var(--fx-muted); font: 600 12px/16px var(--fx-font); letter-spacing: .05em; text-transform: uppercase; border-bottom-color: var(--fx-line); padding: 10px 8px; }
html[data-fx-product] .fch-table td { border-bottom-color: var(--fx-line-2); padding: 10px 8px; }
html[data-fx-product] .fch-st.live { background: var(--fx-accent-soft); color: var(--fx-accent-ink); }
html[data-fx-product] .fch-warn { background: #fff8eb; border: 1px solid #f1dcae; color: #5c3f00; }
html[data-fx-product] .fch-ph-top, html[data-fx-product] .fch-input { background: #f7f8fa; border-color: var(--fx-line); }
html[data-fx-product] .fch-msgs { background-color: #eef0f3; }
html[data-fx-product] .fch-input input { border-color: var(--fx-line); }
html[data-fx-product] .fch-input input:disabled { background: #f2f4f7; }
/* Results: the tab rows stay in view under the top bar */
html[data-fxs][data-fxs-results] .fws-rtabs { position: sticky; top: 56px; z-index: 20; background: var(--fx-bg); margin: -28px auto 24px; padding-top: 12px; }
html[data-fx-product] .fws-rgroup { gap: 4px; border-bottom-color: var(--fx-line); overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
html[data-fx-product] .fws-rt { color: var(--fx-muted); }
html[data-fx-product] .fws-rt.on { color: var(--fx-ink); }
html[data-fx-product] .fws-rp { border-color: var(--fx-line); color: var(--fx-ink-2); }
html[data-fx-product] .form-funnel__row small { white-space: nowrap; }
/* Response summary: "Answers per day" one card (title, bars, dates); the PDF action a plain row; the question cards fill the row */
html[data-fx-product] [data-fb-pane] .fb-bar { border-color: var(--fx-line); padding: 10px 12px; margin: 0 0 12px; gap: 8px 12px; }
html[data-fx-product] [data-fb-pane] .fb-bar:has(> [data-fr-sumpdf]) { background: transparent; border: 0; padding: 0; margin: 0 0 12px; }
html[data-fx-product] .fws-sum > .rep-sub, html[data-fx-product] .rep-sub:has(+ .fb-cols) { margin: 0; padding: 18px 20px 4px; background: #fff; border: 1px solid var(--fx-line); border-bottom: 0; border-radius: 14px 14px 0 0; }
html[data-fx-product] .rep-sub + .fb-cols { margin: 0; padding: 12px 20px 0; background: #fff; border: 1px solid var(--fx-line); border-top: 0; border-bottom: 0; height: 120px; border-radius: 0; }
html[data-fx-product] .fb-cols + .fb-bar.calls-help, html[data-fx-product] [data-fb-pane] .fb-cols + .fb-bar.calls-help { margin: 0 0 24px; padding: 8px 20px 14px; background: #fff; border: 1px solid var(--fx-line); border-top: 1px solid var(--fx-line-2); border-radius: 0 0 14px 14px; font-size: 12px; color: var(--fx-muted); }
html[data-fx-product] .fb-cols__bar > div { background: var(--fx-ink); border-radius: 4px 4px 0 0; }
html[data-fx-product] .fb-summary { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; margin-top: 0; }
html[data-fx-product] .form-funnel { border-color: var(--fx-line); border-radius: 14px; padding: 18px 20px; margin-bottom: 16px; }
html[data-fx-product] .form-funnel p { font-size: 14px; color: var(--fx-ink-2); }
/* Responses: the views, filters and bulk-action bars and the table read as one card */
html[data-fx-product] [data-fb-pane] .fb-bar.fr-views { margin: 0; border-bottom: 0; border-radius: 14px 14px 0 0; }
html[data-fx-product] [data-fb-pane] .fb-bar.fr-views ~ .fb-bar { margin: 0; border-top: 1px solid var(--fx-line-2); border-bottom: 0; border-radius: 0; }
html[data-fx-product] [data-fb-pane] .fb-bar.fr-views ~ .xonika-table-container { margin-top: 0; border-radius: 0 0 14px 14px; border-top: 1px solid var(--fx-line); }
html[data-fx-product] [data-fb-pane] .fb-bar.fr-views ~ .fb-bar:not(.fr-views) > :first-child:is(span, b) { font-size: 14px; color: var(--fx-ink-2); }
/* A table without its container still sits in a white card */
html[data-fx-product] table.xonika-table:not(.xonika-table-container *) { border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--fx-line); border-radius: 14px; overflow: hidden; margin: 0 0 12px; }
html[data-fx-product] table.xonika-table:not(.xonika-table-container *) + .calls-help, html[data-fx-product] .xonika-table-container + .calls-help { margin-top: 8px; }
/* A pane that only says "nothing yet": a centred empty state with an icon tile */
html[data-fx-product] [data-fb-pane] > p.calls-help:only-child, html[data-fx-product] .fws-empty {
  display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0; padding: 56px 24px; text-align: center;
  background: #fff; border: 1px solid var(--fx-line); border-radius: 16px; color: var(--fx-muted); font-size: 14px; line-height: 21px;
}
html[data-fx-product] [data-fb-pane] > p.calls-help:only-child::before {
  content: ''; width: 56px; height: 56px; border-radius: 16px; background: var(--fx-accent-soft) no-repeat center/26px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7a4f' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19V5M4 19h16M8 15l3-4 3 2 5-6'/%3E%3C/svg%3E");
}
/* Number rows inside a results pane stay (the forms home hides its own) */
html[data-fxs] #panel-forms [data-fb-pane] .section-kpi-row:not(.fws-sum *) { display: grid !important; margin: 8px 0 24px; }
html[data-fx-product] [data-fb-pane] > .rep-sub:not(:first-child) { margin-top: 28px; }
html[data-fx-product] [data-fb-pane] > .rep-sub + .calls-help { margin: 0 0 8px; }

/* ---------------------------------------------------------------- Research (99-forms-research.js): the system font, lines and
   greys; amber kept for warnings only; one height for buttons; room between the report's blocks */
html[data-fx-product] .frs { --frs-line: var(--fx-line); --frs-soft: #f7f8fa; --frs-muted: var(--fx-muted); --frs-amber: #6172f3; --frs-green: var(--fx-accent-ink); font-family: var(--fx-font); }
html[data-fx-product] .frs :is(h1, h2, h3, h4, h5, b, strong, p, span, small, label, button, a, dt, dd, li, input, select, textarea, blockquote, footer, .frs-btn, .frs-pill, .frs-linkbtn, .frs-back) { font-family: var(--fx-font); }
html[data-fx-product] .frs .frs-sec h3, html[data-fx-product] .frs .frs-rhead h3, html[data-fx-product] .frs .frs-reel h3, html[data-fx-product] .frs .frs-empty h3 { font-size: 18px; line-height: 24px; font-weight: 700; letter-spacing: -.01em; }
html[data-fx-product] .frs .frs-panel > h3, html[data-fx-product] .frs .frs-h3, html[data-fx-product] .frs .frs-theme h4 { font-size: 16px; line-height: 22px; font-weight: 600; }
html[data-fx-product] .frs .frs-top__row h2 { font-weight: 700; font-size: 26px; line-height: 32px; letter-spacing: -.02em; }
html[data-fx-product] .frs .frs-btn { min-height: 38px; padding: 0 16px; border-radius: 10px; font-size: 14px; }
html[data-fx-product] .frs .frs-btn.sm { min-height: 32px; padding: 0 12px; border-radius: 8px; font-size: 13px; }
html[data-fx-product] .frs .frs-btn:hover { transform: none; box-shadow: none; border-color: #c7ccd4; }
html[data-fx-product] .frs .frs-btn.go { background: var(--fx-ink); border-color: var(--fx-ink); color: #fff; }
html[data-fx-product] .frs .frs-btn.go:hover { background: #1d2b40; }
html[data-fx-product] .frs .frs-panel, html[data-fx-product] .frs .frs-theme, html[data-fx-product] .frs .frs-card { border-radius: 16px; box-shadow: none; }
html[data-fx-product] .frs .frs-card:hover { box-shadow: 0 14px 30px -20px rgba(11,22,38,.35); }
html[data-fx-product] .frs .frs-reel, html[data-fx-product] .frs .frs-hero, html[data-fx-product] .frs .frs-start { box-shadow: none; }
html[data-fx-product] .frs .frs-theme > p, html[data-fx-product] .frs .frs-theme blockquote p { font-size: 14px; color: var(--fx-ink-2); }
html[data-fx-product] .frs .frs-pill.is-draft { background: #f2f4f7; color: var(--fx-ink-2); }
html[data-fx-product] .frs .frs-gift { background: var(--fx-accent-soft); color: var(--fx-accent-ink); }
html[data-fx-product] .frs .frs-note { border-color: #f1dcae; background: #fff8eb; color: #5c3f00; }
html[data-fx-product] .frs .frs-card__top { background: radial-gradient(130% 120% at 100% 0%, rgba(20,168,111,.22), transparent 50%), linear-gradient(135deg, #12284a, #07101d); }
html[data-fx-product] .frs .frs-tabs small { background: #f2f4f7; color: var(--fx-ink-2); }
html[data-fx-product] .frs .frs-linkbox code { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; }
html[data-fx-product] div:has(> .frs-reel), html[data-fx-product] div:has(> .frs-panel + .frs-themes) { display: flex; flex-direction: column; gap: 20px; }
html[data-fx-product] .frs-reel .frs-sec.row { margin-bottom: 16px; }
html[data-fx-product] .frs .frs-reel__cap b, html[data-fx-product] .frs .frs-clip b { color: #6fd3a8; }
html[data-fx-product] .frs .frs-reel__cap b { font-family: var(--fx-font); font-weight: 700; font-size: 12px; }
html[data-fx-product] .frs .frs-clip.is-on { border-color: #6fd3a8; box-shadow: 0 0 0 2px rgba(111,211,168,.35); }
html[data-fx-product] .fws-panel .fws-ask, html[data-fx-product] .fws-ins .fws-ask { border: 0; box-shadow: none; padding: 0; background: transparent; }
html[data-fx-product] .fws-tabs button { white-space: nowrap; }
/* A dashboard in the shared dialog gets the room of a page */
html[data-fx-product] #modal-desk > .modal-content[data-wide] { max-width: min(1120px, 100%) !important; width: 100%; }

/* ---------------------------------------------------------------- one empty state for every screen: icon tile, 18px title, a line, actions */
html[data-fx-product] .fx-empty-state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 56px 24px !important; background: #fff; border: 1px solid var(--fx-line); border-radius: 16px; }
html[data-fx-product] .fx-empty-state .fx-ei { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--fx-accent-soft); color: var(--fx-accent-ink); margin-bottom: 4px; }
html[data-fx-product] .fx-empty-state .fx-ei svg { width: 26px; height: 26px; }
html[data-fx-product] .fx-empty-state h3 { margin: 0 !important; font: 700 18px/24px var(--fx-font); letter-spacing: -.01em; color: var(--fx-ink); }
html[data-fx-product] .fx-empty-state p { margin: 0 !important; max-width: 480px; color: var(--fx-muted); font-size: 14px; line-height: 21px; }
html[data-fx-product] .fx-empty-state .fx-ea { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* ---------------------------------------------------------------- Payments (99-forms-payments.js) */
html[data-fx-product] .fpy { max-width: none; padding: 0; gap: 20px; }
html[data-fx-product] .fpy-head { align-items: flex-end; gap: 16px 24px; }
html[data-fx-product] .fpy-head h2 { font: 700 26px/32px var(--fx-font); letter-spacing: -.02em; color: var(--fx-ink); }
html[data-fx-product] .fpy-head p { margin: 6px 0 0; font-size: 15px; line-height: 22px; color: var(--fx-muted); max-width: 720px; }
html[data-fx-product] .fpy-bar { padding: 10px 12px; background: #fff; border: 1px solid var(--fx-line); border-radius: 14px; gap: 8px; }
html[data-fx-product] .fpy-gwc { border-color: var(--fx-line); border-radius: 14px; }
html[data-fx-product] .fpy-gwc:hover { transform: none; box-shadow: 0 8px 22px -14px rgba(11,22,38,.3); }
html[data-fx-product] .fpy-gwc.on { border-color: var(--fx-ink); box-shadow: 0 0 0 1px var(--fx-ink); }
html[data-fx-product] .fpy-gwc b { font-weight: 600; font-size: 14px; } html[data-fx-product] .fpy-gwc strong { font-size: 24px; font-weight: 700; }
html[data-fx-product] .fpy-wrap { border-color: var(--fx-line); }
html[data-fx-product] .fpy-tbl th { height: 40px; padding: 0 16px; background: #f7f8fa; color: var(--fx-muted); font: 600 12px/16px var(--fx-font); letter-spacing: .05em; border-bottom-color: var(--fx-line); }
html[data-fx-product] .fpy-tbl td { height: 50px; padding: 12px 16px; border-bottom-color: var(--fx-line-2); }
html[data-fx-product] .fpy-st.pending { color: #b54708; }

/* ---------------------------------------------------------------- Pages (99-forms-pages.js) */
html[data-fx-product] .fxp { padding: 0 0 40px; }
html[data-fx-product] .fxp-head { margin-bottom: 24px; gap: 16px 24px; }
html[data-fx-product] .fxp-head h2 { font: 700 26px/32px var(--fx-font); letter-spacing: -.02em; margin: 0; }
html[data-fx-product] .fxp-head p { margin: 6px 0 0; color: var(--fx-muted); font-size: 15px; line-height: 22px; max-width: 720px; }
html[data-fx-product] .fxp-kpis div { border-color: var(--fx-line); border-radius: 14px; gap: 4px; padding: 16px 20px; }
html[data-fx-product] .fxp-kpis span { font: 600 12px/16px var(--fx-font); letter-spacing: .05em; text-transform: uppercase; color: var(--fx-muted); }
html[data-fx-product] .fxp-kpis b { font-weight: 700; font-size: 26px; line-height: 32px; letter-spacing: -.02em; }
html[data-fx-product] .fxp-card, html[data-fx-product] .fxp-empty { border-color: var(--fx-line); }
html[data-fx-product] .fxp-empty { border-radius: 16px; padding: 48px 24px; }
html[data-fx-product] .fxp-empty h3 { font: 700 18px/24px var(--fx-font); letter-spacing: -.01em; margin: 4px 0 0; }
html[data-fx-product] .fxp-empty p { color: var(--fx-muted); font-size: 14px; line-height: 21px; }
html[data-fx-product] .fxp-forms span { background: #f2f4f7; color: var(--fx-ink-2); font-weight: 600; }
html[data-fx-product] .fxp-body h3 { font-size: 15px; line-height: 20px; }

/* ---------------------------------------------------------------- toasts (showAlert): a small card at the bottom right, never a strip */
html[data-fx-product] #global-alert-container { position: fixed; right: 24px; bottom: 24px; z-index: 6000; width: min(420px, calc(100vw - 32px)); margin: 0 !important; padding: 0; pointer-events: none; }
html[data-fx-product] #global-alert-container .xonika-alert {
  pointer-events: auto; margin: 0; display: flex; align-items: flex-start; gap: 12px; padding: 12px 12px 12px 14px; background: #fff; color: var(--fx-ink);
  border: 1px solid var(--fx-line); border-radius: 12px; box-shadow: 0 16px 40px -16px rgba(11,22,38,.35); font-size: 14px; line-height: 20px; animation: fx-toast-in .2s ease-out both;
}
html[data-fx-product] #global-alert-container .xonika-alert::before { content: ''; flex: none; width: 8px; height: 8px; margin: 6px 0 0; border-radius: 50%; background: var(--fx-ink-2); box-shadow: 0 0 0 4px #eef0f3; }
html[data-fx-product] #global-alert-container .xonika-alert[data-type="success"]::before { background: var(--fx-accent); box-shadow: 0 0 0 4px var(--fx-accent-soft); }
html[data-fx-product] #global-alert-container .xonika-alert--warning::before { background: #dc8a00; box-shadow: 0 0 0 4px #fff8eb; }
html[data-fx-product] #global-alert-container .xonika-alert--error { border-color: #fecdca; }
html[data-fx-product] #global-alert-container .xonika-alert--error::before { background: #d92d20; box-shadow: 0 0 0 4px #fef3f2; }
html[data-fx-product] #global-alert-container .xonika-alert > button { width: 24px; height: 24px; border-radius: 6px !important; color: var(--fx-muted); flex: none; }
html[data-fx-product] #global-alert-container .xonika-alert > button:hover { background: #f2f4f7 !important; color: var(--fx-ink); }
@keyframes fx-toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { html[data-fx-product] #global-alert-container { right: 16px; bottom: 16px; } }
@media (prefers-reduced-motion: reduce) { html[data-fx-product] #global-alert-container .xonika-alert { animation: none; } }

/* ---------------------------------------------------------------- the page editor (Pages): full screen like the builder —
   a fixed top bar (back, name, actions), its tabs under it, the preview filling the space, the fields in a 420px right column */
html[data-fx-product] .ws-editor { position: fixed; inset: 0; z-index: 900; display: grid; grid-template-rows: auto auto minmax(0, 1fr); background: var(--fx-bg); }
html[data-fx-product] .ws-editor__bar { min-height: 64px; padding: 12px 24px 12px 16px; gap: 12px 24px; background: #fff; border-bottom: 1px solid var(--fx-line); box-sizing: border-box; }
html[data-fx-product] .ws-editor__title { display: flex; align-items: center; gap: 10px; min-width: 0; }
html[data-fx-product] .ws-editor__title strong { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-fx-product] .ws-editor__actions { gap: 8px; align-items: center; }
html[data-fx-product] .ws-editor > .ws-tabs { margin: 0; padding: 0 24px; gap: 4px; background: #fff; border-bottom: 1px solid var(--fx-line); flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
html[data-fx-product] .ws-editor > .ws-tabs > .xonika-btn { height: 44px; padding: 0 12px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: var(--fx-muted); font-weight: 500; font-size: 14px; }
html[data-fx-product] .ws-editor > .ws-tabs > .xonika-btn:hover { color: var(--fx-ink); background: transparent; }
html[data-fx-product] .ws-editor > .ws-tabs > .xonika-btn--primary { color: var(--fx-ink); font-weight: 600; border-bottom-color: var(--fx-ink); }
html[data-fx-product] .ws-editor__body { grid-template-columns: minmax(0, 1fr) 420px; gap: 0; min-height: 0; align-items: stretch; }
html[data-fx-product] .ws-editor__form { order: 2; max-height: none; min-height: 0; overflow-y: auto; padding: 20px 24px 40px; background: #fff; border-left: 1px solid var(--fx-line); box-sizing: border-box; }
html[data-fx-product] .ws-editor__preview { order: 1; position: static; display: flex; flex-direction: column; min-height: 0; padding: 16px 24px 24px; }
html[data-fx-product] .ws-preview-bar { margin-bottom: 12px; }
html[data-fx-product] .ws-preview { flex: 1; height: auto; min-height: 0; border-color: var(--fx-line); border-radius: 14px; box-shadow: 0 12px 32px -20px rgba(11,22,38,.2); }
html[data-fx-product] .ws-block { border-color: var(--fx-line); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
@media (max-width: 1000px) {
  html[data-fx-product] .ws-editor { display: block; overflow-y: auto; }
  html[data-fx-product] .ws-editor__bar { position: sticky; top: 0; z-index: 3; padding: 10px 12px; }
  html[data-fx-product] .ws-editor > .ws-tabs { padding: 0 8px; }
  html[data-fx-product] .ws-editor__body { display: flex; flex-direction: column; }
  html[data-fx-product] .ws-editor__form { border-left: 0; border-top: 1px solid var(--fx-line); padding: 16px; overflow: visible; }
  html[data-fx-product] .ws-editor__preview { padding: 12px; }
  html[data-fx-product] .ws-preview { height: 70vh; flex: none; }
}
html[data-fx-product] .frs .frs-hero .frs-btn.go, html[data-fx-product] .frs .frs-empty .frs-btn.go { background: var(--fx-accent); border-color: var(--fx-accent); color: #fff; }
html[data-fx-product] .frs .frs-hero .frs-btn.go:hover, html[data-fx-product] .frs .frs-empty .frs-btn.go:hover { background: #0f945f; }
html[data-fx-product] .frs .frs-hero h2 { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.12; font-weight: 700; }
html[data-fx-product] .frs .frs-kpis div { gap: 4px; padding: 16px 20px; }
html[data-fx-product] .frs .frs-kpis span { font: 600 12px/16px var(--fx-font); letter-spacing: .05em; text-transform: uppercase; color: var(--fx-muted); }
html[data-fx-product] .frs .frs-kpis b { font-weight: 700; font-size: 26px; line-height: 32px; letter-spacing: -.02em; }
html[data-fx-product] .frs .frs-card__top h3 { font-size: 17px; line-height: 22px; font-weight: 700; }
html[data-fx-product] .frs .frs-tabs { position: sticky; top: 0; z-index: 6; background: var(--fx-bg); border-bottom-color: var(--fx-line); }
html[data-fx-product] .frs .frs-warn { background: #fff8eb; border-color: #f1dcae; color: #5c3f00; }

/* ---------------------------------------------------------------- suite pages the form product shows (Approvals, Integrations,
   Settings): the same page header as every other screen, tabs as a segmented control, the empty state centred */
html[data-fx-product] .page-header-block { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin: 0 0 24px; padding: 0; border: 0; }
html[data-fx-product] .page-header-block > div:first-child { flex: 1 1 560px; min-width: 0; }
html[data-fx-product] .page-header-subtitle { font-size: 15px; line-height: 22px; color: var(--fx-muted); margin: 6px 0 0; max-width: 720px; }
html[data-fx-product] .page-header-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; width: auto; }
html[data-fx-product] #panel-approvals .ws-tabs { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; }
html[data-fx-product] #panel-approvals .ws-tabs > [role="tab"] { height: 32px; border-radius: 8px; }
html[data-fx-product] #panel-approvals .ws-tabs > [role="tab"][aria-selected="false"] { background: transparent; border-color: transparent; color: var(--fx-muted); }
html[data-fx-product] #panel-approvals .ws-tabs > [role="tab"][aria-selected="false"]:hover { background: var(--fx-line-2); color: var(--fx-ink); }
html[data-fx-product] #panel-approvals .ws-tabs > [role="tab"][aria-selected="true"] { background: #fff; border: 1px solid var(--fx-line); color: var(--fx-ink); box-shadow: 0 1px 2px rgba(11,22,38,.06); }
html[data-fx-product] .appr-card { border-color: var(--fx-line); border-radius: 14px; padding: 16px 20px; }
html[data-fx-product] .appr-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 56px 24px; border: 1px solid var(--fx-line); border-radius: 16px; color: var(--fx-muted); font-size: 14px; }
html[data-fx-product] .appr-empty::before { content: ''; width: 56px; height: 56px; border-radius: 16px; background: var(--fx-accent-soft) no-repeat center/26px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7a4f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8.5 12 2.5 2.5 4.5-5'/%3E%3C/svg%3E"); }
@media (max-width: 860px) { html[data-fx-product] .page-header-block > div:first-child { flex: none; } }
/* Settings and Integrations: the menu and the page in the same centred column, starting on the same line */
html[data-fxs] .xonika-content-scroll.in-settings { max-width: 1240px; margin: 0 auto; padding: 28px 32px 56px !important; box-sizing: border-box; grid-template-columns: 232px minmax(0, 1fr); gap: 24px; }
html[data-fxs] .xonika-content-scroll.in-settings > .app-panel { padding: 0 !important; max-width: none; margin: 0; }
html[data-fx-product] .settings-nav { top: 0; gap: 16px; padding: 12px 8px; border: 1px solid var(--fx-line); border-radius: 14px; box-shadow: none; }
html[data-fx-product] .settings-nav__title { color: var(--fx-muted) !important; font: 700 11px/16px var(--fx-font); letter-spacing: .06em; margin: 0 0 4px 10px; }
html[data-fx-product] .settings-nav__item, html[data-fx-product] .settings-nav .xonika-btn { height: 36px; padding: 0 10px !important; border-left: 0 !important; border-radius: 8px !important; color: var(--fx-ink-2) !important; font-size: 14px; display: flex; align-items: center; justify-content: flex-start; text-align: left; }
html[data-fx-product] .settings-nav [hidden], html[data-fx-product] .settings-nav .fxs-off { display: none !important; }
html[data-fx-product] .settings-nav__item:hover, html[data-fx-product] .settings-nav .xonika-btn:hover { background: #f2f4f7 !important; color: var(--fx-ink) !important; }
html[data-fx-product] .settings-nav .xonika-btn--primary, html[data-fx-product] .settings-nav__item.active { background: #eef0f3 !important; color: var(--fx-ink) !important; font-weight: 600; }
html[data-fx-product] .xonika-card { padding: 20px 24px; }
html[data-fx-product] .xonika-card + .xonika-card { margin-top: 16px; }
html[data-fx-product] .xonika-card__title { font: 600 16px/22px var(--fx-font); letter-spacing: -.005em; color: var(--fx-ink); }
html[data-fx-product] .xonika-card__header { gap: 12px; }
html[data-fx-product] .xonika-card h4 { font: 600 14px/20px var(--fx-font); color: var(--fx-ink); margin: 16px 0 4px; }
@media (max-width: 860px) {
  html[data-fxs] .xonika-content-scroll.in-settings { padding: 20px 16px 40px !important; grid-template-columns: minmax(0, 1fr); gap: 16px; }
  html[data-fx-product] .settings-nav { position: static; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 4px; padding: 6px; }
  html[data-fx-product] .settings-nav__group { flex-direction: row; gap: 2px; flex: none; }
  html[data-fx-product] .settings-nav__title { display: none; }
  html[data-fx-product] .settings-nav__item, html[data-fx-product] .settings-nav .xonika-btn { width: auto; white-space: nowrap; }
}
html[data-fx-product] .settings-nav__title { text-align: left; }
/* Plan and billing (the "View plans" page) */
html[data-fx-product] .fwp { max-width: none; gap: 16px; }
html[data-fx-product] .fwp-head h2 { font: 700 22px/28px var(--fx-font); letter-spacing: -.015em; }
html[data-fx-product] .fwp-levels { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
html[data-fx-product] .fwp-levels .fws-panel { padding: 20px; }
html[data-fx-product] .fwp-levels .fws-panel.on { border: 1px solid var(--fx-ink); box-shadow: 0 0 0 1px var(--fx-ink); }
html[data-fx-product] .fwp-price { font-size: 28px; line-height: 34px; }
html[data-fx-product] .fwp-ur span { color: var(--fx-muted); }
html[data-fx-product] .settings-nav { top: 24px; }
@media (max-width: 860px) { html[data-fx-product] .section-kpi-row { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
/* Brand kit and colour fields */
html[data-fx-product] input.form-input[type="color"] { height: 38px; padding: 4px; cursor: pointer; }
html[data-fx-product] input.form-input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
html[data-fx-product] input.form-input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 6px; }
html[data-fx-product] #modal-desk .fd-grid { align-items: end; gap: 0 12px; }
html[data-fx-product] #modal-desk .desk-inline { display: flex; gap: 8px; align-items: center; }
html[data-fx-product] #modal-desk .desk-inline > .form-input { flex: 1; min-width: 0; }

/* ---------------------------------------------------------------- the notifications menu and the avatar menu */
html[data-fx-product] .notification-dropdown { width: 380px; max-width: calc(100vw - 24px); border: 1px solid var(--fx-line); border-radius: 14px; box-shadow: 0 18px 44px -12px rgba(11,22,38,.25); padding: 0; overflow: hidden; background: #fff; }
html[data-fx-product] .notification-dropdown__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 16px; border-bottom: 1px solid var(--fx-line-2); background: #fff; }
html[data-fx-product] .notification-dropdown__header > span:first-child { font: 600 15px/20px var(--fx-font); color: var(--fx-ink); }
html[data-fx-product] .notification-dropdown__header .xonika-btn { height: 30px; padding: 0 10px; font-size: 12px; border: 0; background: transparent; color: var(--fx-ink-2); }
html[data-fx-product] .notification-dropdown__header .xonika-btn:hover { background: #f2f4f7; color: var(--fx-ink); }
html[data-fx-product] .notification-dropdown__list { max-height: min(460px, 70vh); overflow-y: auto; }
html[data-fx-product] .notification-item { position: relative; padding: 12px 16px 12px 28px; border-bottom: 1px solid var(--fx-line-2); cursor: pointer; background: #fff; }
html[data-fx-product] .notification-item:last-child { border-bottom: 0; }
html[data-fx-product] .notification-item:hover { background: #fafbfc; }
html[data-fx-product] .notification-item.unread::before { content: ''; position: absolute; left: 12px; top: 18px; width: 7px; height: 7px; border-radius: 50%; background: var(--fx-accent); }
html[data-fx-product] .notification-item.unread { background: #fff; }
html[data-fx-product] .notification-item__title { font: 600 14px/20px var(--fx-font); color: var(--fx-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
html[data-fx-product] .notification-item > div[style] { font-size: 13px !important; line-height: 18px; color: var(--fx-ink-2) !important; }
html[data-fx-product] .notification-item__time { margin-top: 4px; font-size: 12px; color: var(--fx-muted); }
html[data-fx-product] .fxs-me { width: 260px; padding: 8px; border-color: var(--fx-line); border-radius: 14px; box-shadow: 0 18px 44px -12px rgba(11,22,38,.25); gap: 2px; }
html[data-fx-product] .fxs-me > b { padding: 8px 10px 0; font-size: 14px; line-height: 20px; }
html[data-fx-product] .fxs-me > span { padding: 0 10px 10px; margin-bottom: 4px; color: var(--fx-muted); border-bottom-color: var(--fx-line-2); overflow: hidden; text-overflow: ellipsis; }
html[data-fx-product] .fxs-me button { height: 36px; padding: 0 10px; color: var(--fx-ink-2); }
html[data-fx-product] .fxs-me button svg { color: var(--fx-muted); }
html[data-fx-product] .fxs-me button:hover { color: var(--fx-ink); }
html[data-fx-product] .fxo-help { border-color: var(--fx-line); border-radius: 14px; }
/* Research parts that also sit inside the builder's Settings (the guide, the modes) */
html[data-fx-product] :is([class^="frs-"], [class*=" frs-"]), html[data-fx-product] :is([class^="frs-"], [class*=" frs-"]) :is(h3, h4, b, span, p, label, button) { font-family: var(--fx-font); }
html[data-fx-product] .frs-warn { background: #fff8eb; border-color: #f1dcae; color: #5c3f00; }
html[data-fx-product] .frs-topic { border-color: var(--fx-line); border-radius: 12px; }
html[data-fx-product] .frs-topic__n { font-weight: 700; }

/* The email designer (23-email-designer-and-a-b.js): full screen — close and name on the left, the action on the right,
   the preview filling the space, the blocks in a 420px right column that scrolls on its own */
html[data-fx-product] .ed-modal { display: flex; flex-direction: column; overflow: hidden; }
html[data-fx-product] .ed-modal > .modal-header { flex: none; justify-content: flex-start; gap: 12px; margin: 0; min-height: 64px; padding: 12px 24px 12px 16px; background: #fff; border-bottom: 1px solid var(--fx-line); box-sizing: border-box; }
html[data-fx-product] .ed-modal > .modal-header > div:last-child { display: contents !important; }
html[data-fx-product] .ed-modal > .modal-header .close-btn { order: -1; }
html[data-fx-product] .ed-modal > .modal-header .modal-title { flex: 1; font-size: 16px; line-height: 22px; }
html[data-fx-product] .ed-grid { flex: 1; min-height: 0; grid-template-columns: minmax(0, 1fr) 420px; gap: 0; }
html[data-fx-product] .ed-left { order: 2; max-height: none; min-height: 0; overflow-y: auto; padding: 20px 24px 40px; background: #fff; border-left: 1px solid var(--fx-line); }
html[data-fx-product] .ed-right { order: 1; min-height: 0; background: var(--fx-bg); border-radius: 0; padding: 16px 24px 24px; align-items: stretch; }
html[data-fx-product] .ed-preview { flex: 1; height: auto; min-height: 0; border: 1px solid var(--fx-line); border-radius: 14px; align-self: center; }
@media (max-width: 860px) {
  html[data-fx-product] .ed-modal { overflow-y: auto; }
  html[data-fx-product] .ed-modal > .modal-header { position: sticky; top: 0; z-index: 3; padding: 10px 12px; flex-wrap: wrap; }
  html[data-fx-product] .ed-grid { display: flex; flex-direction: column; flex: none; }
  html[data-fx-product] .ed-left { border-left: 0; border-top: 1px solid var(--fx-line); overflow: visible; padding: 16px; }
  html[data-fx-product] .ed-right { padding: 12px; }
  html[data-fx-product] .ed-preview { height: 70vh; flex: none; width: 100%; }
}
html[data-fx-product] .wfb-panel fieldset { margin: 16px 0 0; padding: 8px 14px 14px; border: 1px solid var(--fx-line); border-radius: 12px; }
html[data-fx-product] .wfb-panel fieldset > legend { padding: 0 6px; font: 700 11px/16px var(--fx-font); letter-spacing: .06em; text-transform: uppercase; color: var(--fx-muted); }
html[data-fx-product] .wfb-panel details > summary { font-size: 13px; font-weight: 600; color: var(--fx-ink-2); cursor: pointer; margin-top: 12px; }
html[data-fx-product] .wfb-panel .wfb-panel-title + .xonika-btn, html[data-fx-product] .wfb-panel [data-insert] { margin-top: 4px; }
html[data-fx-product] #modal-desk .section-kpi-row { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important; }
@media (max-width: 1000px) {
  html[data-fx-product] .fws-sh-main, html[data-fx-product] .fws-sh-side { overflow: visible; }
  html[data-fx-product] .fws-sh-menu { flex-wrap: nowrap; scrollbar-width: none; }
  html[data-fx-product] .fws-sh-menu button { flex: none; white-space: nowrap; }
}
@media (max-width: 860px) {
  /* The suite makes every field full width on a phone; inside a row of field + button that pushes the button off screen */
  html[data-fx-product] :is(div, span, form, label)[style*="display: flex"] > :is(.form-input, .form-select), html[data-fx-product] :is(.fb-bar, .desk-inline, .fpy-bar, .calls-row) > :is(.form-input, .form-select) { min-width: 0 !important; width: auto !important; flex: 1 1 140px; }
}

/* ================================================================ forms home (2026-11-19, redesigned)
   Cards that show each form as it looks; one way to create (the sidebar's Create form); the start
   screen with photos for a new account; Get started as one slim line. */
html[data-fx-product] .fxs-ask { display: none !important; }
html[data-fx-product] .fx-forms-bar { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 0; background: none; border: 0; }
html[data-fx-product] .fx-forms { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; margin: 0 0 32px; }
html[data-fx-product] .fx-fc { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--fx-line); border-radius: 16px; overflow: hidden; cursor: pointer; transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .25s; box-shadow: 0 1px 2px rgba(11,22,38,.04); }
html[data-fx-product] .fx-fc:hover, html[data-fx-product] .fx-fc:focus-visible { border-color: #d0d5dd; box-shadow: 0 18px 36px -18px rgba(11,22,38,.35); outline: none; }
html[data-fx-product] .fx-fc-top { position: relative; height: 200px; padding: 42px 18px 14px; display: flex; flex-direction: column; justify-content: flex-start; border-bottom: 1px solid var(--fx-line-2); overflow: hidden; }
html[data-fx-product] .fx-fc-top .fx-chip { position: absolute; top: 12px; left: 12px; z-index: 1; }
html[data-fx-product] .fx-fc-pv { display: flex; flex-direction: column; gap: 7px; transform-origin: left center; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
html[data-fx-product] .fx-fc-pv .q { font-size: 15px; line-height: 20px; font-weight: 600; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 2px; }
html[data-fx-product] .fx-fc-pv .o { display: flex; align-items: center; gap: 7px; height: 26px; padding: 0 8px 0 4px; border: 1px solid; border-radius: 6px; font-size: 12px; max-width: 86%; background: rgba(255,255,255,.35); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-fx-product] .fx-fc-pv .o i { font-style: normal; font-size: 10px; font-weight: 700; width: 17px; height: 17px; border-radius: 4px; display: inline-grid; place-items: center; flex: none; }
html[data-fx-product] .fx-fc-pv .l { width: 72%; height: 0; border-bottom: 1.5px solid; margin: 6px 0 2px; }
html[data-fx-product] .fx-fc-pv .b { align-self: flex-start; margin-top: 4px; font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 6px; }
html[data-fx-product] .fx-fc-b { padding: 14px 16px 6px; display: flex; flex-direction: column; gap: 3px; }
html[data-fx-product] .fx-fc-b b { font-size: 15px; line-height: 20px; font-weight: 600; color: var(--fx-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-fx-product] .fx-fc-b small { font-size: 13px; color: var(--fx-muted); }
html[data-fx-product] .fx-fc-acts > span, html[data-fx-product] .fx-fc-acts > a { border-color: var(--fx-line); color: var(--fx-ink-2); }
html[data-fx-product] .fx-fc-acts > span:hover, html[data-fx-product] .fx-fc-acts > a:hover { background: var(--fx-line-2); color: var(--fx-ink); }
html[data-fx-product] .fx-fc.new { min-height: 260px; align-items: center; justify-content: center; flex-direction: column; gap: 10px; border: 1.5px dashed #c7ccd4; background: transparent; box-shadow: none; color: var(--fx-ink-2); font-weight: 600; font-size: 14px; }
html[data-fx-product] .fx-fc.new span { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--fx-line); font-size: 22px; color: var(--fx-ink); }
html[data-fx-product] .fx-fc.new:hover { border-color: var(--fx-ink); color: var(--fx-ink); transform: none; box-shadow: none; }
html[data-fx-product] .fx-chip { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: rgba(255,255,255,.92); color: var(--fx-ink-2); box-shadow: 0 1px 2px rgba(11,22,38,.08); }
html[data-fx-product] .fx-chip.live { color: var(--fx-accent-ink); }
html[data-fx-product] .fx-chip.live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--fx-accent); }

/* The start screen of a new account */
.fxh { display: flex; flex-direction: column; gap: 28px; padding: 8px 0 40px; animation: fxhIn .5s cubic-bezier(.2,.7,.2,1) both; }
.fxh-head { max-width: 640px; }
.fxh-kick { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fx-accent-ink); }
.fxh-head h2 { margin: 6px 0 8px; font: 700 34px/40px var(--fx-font); letter-spacing: -.025em; color: var(--fx-ink); }
.fxh-head p { margin: 0; font-size: 16px; line-height: 24px; color: var(--fx-muted); }
.fxh-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1180px) { .fxh-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fxh-tile { position: relative; display: flex; flex-direction: column; text-align: left; padding: 0; border: 1px solid var(--fx-line); border-radius: 18px; background: #fff; overflow: hidden; cursor: pointer; font: inherit; color: inherit; box-shadow: 0 1px 2px rgba(11,22,38,.04); transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s; }
.fxh-tile:hover, .fxh-tile:focus-visible { border-color: #d0d5dd; box-shadow: 0 24px 44px -22px rgba(11,22,38,.4); outline: none; }
.fxh-ph { display: block; height: 170px; background: #e4e7ec center/cover no-repeat; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.fxh-tb { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 22px; background: #fff; position: relative; }
.fxh-tb b { font-size: 17px; line-height: 22px; font-weight: 700; letter-spacing: -.01em; color: var(--fx-ink); }
.fxh-tb span { font-size: 14px; line-height: 21px; color: var(--fx-muted); }
.fxh-go { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--fx-ink); font-weight: 700; box-shadow: 0 6px 16px rgba(11,22,38,.18); opacity: 0; transform: translateY(-4px); transition: opacity .25s, transform .25s; }
.fxh-tile:hover .fxh-go, .fxh-tile:focus-visible .fxh-go { opacity: 1; transform: none; }
@keyframes fxhIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Get started: one slim line until opened */
html[data-fx-product] .fxo-list { background: #fff; border: 1px solid var(--fx-line); border-radius: 14px; padding: 10px 12px 10px 16px; margin: 0 0 20px; box-shadow: none; }
html[data-fx-product] .fxo-list .fxo-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
html[data-fx-product] .fxo-list .fxo-head b { font-size: 14px; font-weight: 600; }
html[data-fx-product] .fxo-list .fxo-n { font-size: 13px; color: var(--fx-muted); }
html[data-fx-product] .fxo-list .fxo-bar { width: 140px; height: 6px; border-radius: 999px; background: var(--fx-line-2); overflow: hidden; }
html[data-fx-product] .fxo-list .fxo-bar i { display: block; height: 100%; background: var(--fx-accent); border-radius: 999px; }
html[data-fx-product] .fxo-list .fxo-steps { margin-top: 12px; }

@media (max-width: 900px) {
  .fxh-tiles { grid-template-columns: minmax(0, 1fr); }
  .fxh-ph { height: 130px; }
  .fxh-head h2 { font-size: 28px; line-height: 34px; }
  html[data-fx-product] .fx-forms { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 14px; }
  html[data-fx-product] .fxo-list .fxo-bar { width: 90px; }
}

html[data-fx-first] #panel-forms > .section-header-block, html[data-fx-first] #forms-folder-bar { display: none !important; }

/* ================================================================ first-run set-up (2026-11-19)
   99-fx-welcome.js: four short steps, full screen, a photo beside each step. early.js marks
   <html data-fx-ob> before anything is drawn, so the app is never seen underneath. */
html[data-fx-ob] body { overflow: hidden; background: #fff !important; }
html[data-fx-ob][data-fx-product]:has(#auth-view:not([style*="none"])), html[data-fx-ob][data-fx-product] body:has(#auth-view:not([style*="none"])) { background: #fff !important; }
html[data-fx-ob] body > :not(.fxob) { visibility: hidden !important; }
html[data-fx-ob] body::before { content: ''; position: fixed; z-index: 1; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #0b1626; animation: fxobDot 1s ease-in-out infinite alternate; }
html[data-fx-ob]:has(.fxob) body::before { display: none; }
@keyframes fxobDot { from { opacity: .2; transform: scale(.8); } to { opacity: .9; transform: scale(1.4); } }

.fxob { --ob-line: #e4e7ec; --ob-line2: #eef0f3; --ob-ink: #0b1626; --ob-ink2: #344054; --ob-muted: #667085; --ob-green: #0b7a4f;
  position: fixed; inset: 0; z-index: 10050; display: grid; grid-template-columns: minmax(360px, 40%) minmax(0, 1fr); background: #fff; visibility: visible !important;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ob-ink); -webkit-font-smoothing: antialiased; animation: fxobFade .45s ease both; transition: opacity .3s ease; }
.fxob.out { opacity: 0; pointer-events: none; }
.fxob *, .fxob *::before, .fxob *::after { box-sizing: border-box; }
@keyframes fxobFade { from { opacity: 0; } to { opacity: 1; } }

/* The photo side: stacked photos that cross-fade, a shade, a card of what has been chosen, a caption */
.fxob-art { position: relative; margin: 16px 0 16px 16px; border-radius: 24px; overflow: hidden; background: #0b1626; box-shadow: 0 30px 60px -30px rgba(11,22,38,.55); }
.fxob-ph { position: absolute; inset: 0; background: center/cover no-repeat; opacity: 0; transform: scale(1.08); transition: opacity .8s ease, transform 7s cubic-bezier(.2,.7,.2,1); }
.fxob-ph.on { opacity: 1; transform: scale(1); }
.fxob-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,22,38,.05) 30%, rgba(11,22,38,.78) 100%); }
.fxob-float { position: absolute; left: 28px; right: 28px; bottom: 104px; max-width: 340px; display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; border-radius: 18px;
  background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 24px 50px -20px rgba(11,22,38,.55), inset 0 0 0 1px rgba(255,255,255,.6);
  animation: fxobRise .6s .15s cubic-bezier(.2,.7,.2,1) both; }
@keyframes fxobRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.fxob-fk { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ob-muted); }
.fxob-fr { display: flex; flex-direction: column; gap: 2px; }
.fxob-fr small { font-size: 12px; color: var(--ob-muted); }
.fxob-fr b { font-size: 14px; font-weight: 600; line-height: 19px; }
.fxob-dim { color: #98a2b3; font-weight: 500; }
.fxob-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fxob-chips i { font-style: normal; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--ob-line2); color: var(--ob-ink2); }
.fxob-sw { display: flex; align-items: center; gap: 10px; }
.fxob-sw span { width: 40px; height: 40px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(11,22,38,.12); }
.fxob-sw img { height: 40px; max-width: 120px; object-fit: contain; border-radius: 8px; background: #fff; padding: 4px; box-shadow: inset 0 0 0 1px rgba(11,22,38,.08); }
.fxob-cap { position: absolute; left: 28px; right: 28px; bottom: 30px; margin: 0; color: #fff; font-size: 19px; line-height: 26px; font-weight: 600; letter-spacing: -.01em; text-shadow: 0 2px 12px rgba(0,0,0,.25); }

/* The working side: top bar with the steps, the step, and Back / Continue at the bottom */
.fxob-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.fxob-top { display: flex; align-items: center; gap: 20px; height: 72px; padding: 0 32px; flex: none; }
.fxob-logo { display: inline-flex; flex-direction: column; gap: 3px; color: var(--ob-ink); flex: none; }
.fxob-logo .fx-word { font-family: 'IBM Plex Sans', 'Plus Jakarta Sans', sans-serif; display: inline-flex; align-items: baseline; font-size: 24px; line-height: 22px; font-weight: 700; letter-spacing: -.05em; }
.fxob-logo .fx-word i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #14a86f; margin-left: 2px; }
.fxob-logo .fx-by { font: 600 8px/1 'IBM Plex Mono', monospace; letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.fxob-prog { display: flex; align-items: center; gap: 6px; margin: 0 auto; padding: 0; list-style: none; }
.fxob-prog li { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ob-muted); transition: background .3s, color .3s; }
.fxob-prog li + li::before { content: ''; width: 18px; height: 1px; background: var(--ob-line); margin: 0 4px 0 -8px; }
.fxob-pn { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; border: 1.5px solid #d0d5dd; color: var(--ob-muted); background: #fff; transition: all .3s; }
.fxob-prog li.on { color: var(--ob-ink); background: var(--ob-line2); }
.fxob-prog li.on .fxob-pn { background: var(--ob-ink); border-color: var(--ob-ink); color: #fff; }
.fxob-prog li.done { color: var(--ob-ink2); }
.fxob-prog li.done .fxob-pn { background: #e8f7f0; border-color: #14a86f; color: var(--ob-green); }
.fxob-skip { flex: none; border: 0; background: none; font: 600 14px var(--fx-font, inherit); color: var(--ob-muted); cursor: pointer; padding: 8px 10px; border-radius: 8px; }
.fxob-skip:hover { color: var(--ob-ink); background: var(--ob-line2); }
.fxob-bar { height: 3px; background: var(--ob-line2); flex: none; }
.fxob-bar i { display: block; height: 100%; width: 0; background: var(--ob-ink); border-radius: 0 3px 3px 0; transition: width .5s cubic-bezier(.2,.7,.2,1); }
.fxob-scroll { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.fxob-body { max-width: 720px; margin: 0 auto; padding: 44px 40px 40px; }
.fxob-step { animation: fxobIn .45s cubic-bezier(.2,.7,.2,1) both; }
.fxob-step.back { animation-name: fxobInBack; }
@keyframes fxobIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes fxobInBack { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
.fxob-kick { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ob-green); }
.fxob h1 { margin: 0 0 10px; font: 700 34px/40px 'Plus Jakarta Sans', system-ui, sans-serif; letter-spacing: -.025em; color: var(--ob-ink); outline: none; }
.fxob-sub { margin: 0 0 32px; font-size: 16px; line-height: 24px; color: var(--ob-muted); max-width: 560px; }
.fxob-field { position: relative; margin: 0 0 26px; padding: 0; border: 0; min-width: 0; }
.fxob-field > label, .fxob-field > legend { display: block; margin: 0 0 10px; padding: 0; font-size: 14px; font-weight: 600; color: var(--ob-ink); }
.fxob-field > label small { font-weight: 500; color: var(--ob-muted); }
.fxob input[type="text"], .fxob input[type="url"], .fxob textarea { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--ob-line); border-radius: 12px; background: #fff; font: 500 15px 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--ob-ink); transition: border-color .2s, box-shadow .2s; }
.fxob textarea { height: auto; padding: 12px 14px; line-height: 22px; resize: vertical; }
.fxob input:focus, .fxob textarea:focus { outline: none; border-color: var(--ob-ink); box-shadow: 0 0 0 4px rgba(11,22,38,.08); }
.fxob input::placeholder, .fxob textarea::placeholder { color: #98a2b3; }
.fxob-combo { position: relative; }
.fxob-combo input[type="text"] { padding-left: 44px; padding-right: 40px; height: 52px; font-size: 16px; }
.fxob-sic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--ob-muted); pointer-events: none; }
.fxob-sic svg, .fxob-gi svg { width: 100%; height: 100%; }
.fxob-tick { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #e8f7f0; color: var(--ob-green); font-size: 12px; font-weight: 700; animation: fxobPop .3s cubic-bezier(.2,.7,.2,1.4) both; }
@keyframes fxobPop { from { transform: translateY(-50%) scale(.4); opacity: 0; } to { transform: translateY(-50%) scale(1); opacity: 1; } }
.fxob-list { position: absolute; z-index: 5; left: 0; right: 0; top: auto; margin: 6px 0 0; padding: 6px; list-style: none; max-height: 300px; overflow: auto; background: #fff; border: 1px solid var(--ob-line); border-radius: 14px; box-shadow: 0 24px 48px -20px rgba(11,22,38,.35); }
.fxob-list li { padding: 9px 12px; border-radius: 9px; font-size: 14px; color: var(--ob-ink2); cursor: pointer; }
.fxob-list li[role="option"]:hover, .fxob-list li.act { background: var(--ob-line2); color: var(--ob-ink); }
.fxob-list li[aria-selected="true"] { font-weight: 600; color: var(--ob-ink); }
.fxob-list li[aria-selected="true"]::after { content: ' ✓'; color: var(--ob-green); }
.fxob-list .fxob-og { position: sticky; top: -6px; padding: 10px 12px 6px; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ob-muted); background: #fff; cursor: default; }
.fxob-list .fxob-none { color: var(--ob-muted); cursor: default; }
.fxob-err { margin: 8px 0 0; min-height: 0; font-size: 13px; font-weight: 500; color: #b42318; }
.fxob-err:empty { display: none; }
.fxob-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.fxob-pill { position: relative; cursor: pointer; }
.fxob-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fxob-pill span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1px solid var(--ob-line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 500; color: var(--ob-ink2); transition: all .2s; }
.fxob-pill:hover span { border-color: #c7ccd4; color: var(--ob-ink); }
.fxob-pill input:checked + span { background: var(--ob-ink); border-color: var(--ob-ink); color: #fff; box-shadow: 0 8px 18px -10px rgba(11,22,38,.6); }
.fxob-pill input:focus-visible + span { outline: 3px solid rgba(11,22,38,.25); outline-offset: 2px; }

/* What forms are for: tiles with icons, several may be chosen */
.fxob-goals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fxob-goal { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 18px; min-height: 124px; border: 1px solid var(--ob-line); border-radius: 16px; background: #fff; cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .25s; }
.fxob-goal:hover { border-color: #c7ccd4; box-shadow: 0 14px 28px -18px rgba(11,22,38,.4); }
.fxob-goal input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fxob-gi { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--ob-line2); color: var(--ob-ink); flex: none; transition: background .25s, color .25s; }
.fxob-gn { font-size: 15px; font-weight: 600; line-height: 20px; }
.fxob-gc { position: absolute; top: 14px; right: 14px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; border: 1.5px solid #d0d5dd; color: transparent; transition: all .2s; }
.fxob-goal:has(input:checked) { border-color: var(--ob-ink); box-shadow: 0 0 0 1px var(--ob-ink), 0 16px 30px -20px rgba(11,22,38,.55); }
.fxob-goal:has(input:checked) .fxob-gi { background: var(--ob-ink); color: #fff; }
.fxob-goal:has(input:checked) .fxob-gc { background: var(--ob-ink); border-color: var(--ob-ink); color: #fff; }
.fxob-goal:has(input:focus-visible) { outline: 3px solid rgba(11,22,38,.25); outline-offset: 2px; }

/* The brand: website, two colours, a logo, and a live form in that brand */
.fxob-brand { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.fxob-row { display: flex; gap: 8px; align-items: center; }
.fxob-row input { flex: 1; min-width: 0; }
.fxob-btn { flex: none; height: 48px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--ob-line); background: #fff; font: 600 14px 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--ob-ink); cursor: pointer; transition: border-color .2s, background .2s; }
.fxob-btn:hover { border-color: #c7ccd4; background: #fafbfc; }
.fxob-btn.dark { background: var(--ob-ink); border-color: var(--ob-ink); color: #fff; height: 40px; }
.fxob-btn.dark:hover { background: #1d2b40; }
.fxob-btn:disabled { opacity: .6; cursor: progress; }
.fxob-note { margin: 8px 0 0; font-size: 13px; line-height: 19px; color: var(--ob-muted); }
.fxob-note.bad { color: #b42318; }
.fxob-colors { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0 0 22px; }
.fxob-color { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--ob-line); border-radius: 14px; cursor: pointer; background: #fff; }
.fxob-color:hover { border-color: #c7ccd4; }
.fxob-color input { width: 40px; height: 40px; padding: 0; border: 0; border-radius: 10px; background: none; cursor: pointer; flex: none; }
.fxob-color input::-webkit-color-swatch-wrapper { padding: 0; }
.fxob-color input::-webkit-color-swatch { border: 1px solid rgba(11,22,38,.15); border-radius: 10px; }
.fxob-color span { display: flex; flex-direction: column; min-width: 0; }
.fxob-color b { font-size: 14px; font-weight: 600; }
.fxob-color small { font-size: 12px; color: var(--ob-muted); }
.fxob-br { position: sticky; top: 0; display: flex; flex-direction: column; gap: 10px; }
.fxob-pv { display: flex; flex-direction: column; gap: 9px; padding: 22px 20px; border-radius: 20px; box-shadow: 0 30px 50px -28px rgba(11,22,38,.5), 0 0 0 1px rgba(11,22,38,.08); transition: background .4s, color .4s; }
.fxob-pvl { height: 40px; display: flex; align-items: center; margin-bottom: 10px; }
.fxob-pvl img { max-height: 40px; max-width: 150px; object-fit: contain; }
.fxob-pvm { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: 16px; }
.fxob-pvn { font-size: 12px; font-weight: 700; }
.fxob-pvq { font-size: 18px; line-height: 24px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 4px; }
.fxob-pvo { display: flex; align-items: center; gap: 9px; height: 36px; padding: 0 10px 0 6px; border: 1px solid; border-radius: 9px; font-size: 13.5px; font-weight: 500; }
.fxob-pvo i { font-style: normal; width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid; border-radius: 6px; font-size: 11px; font-weight: 700; background: rgba(255,255,255,.6); }
.fxob-pvb { align-self: flex-start; margin-top: 6px; padding: 9px 18px; border-radius: 9px; font-size: 14px; font-weight: 700; }

/* The first form: recommended templates, AI, blank */
.fxob-tpls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 18px; }
.fxob-tpl, .fxh-recs .fxob-tpl { position: relative; display: flex; flex-direction: column; text-align: left; padding: 0; border: 1px solid var(--fx-line, #e4e7ec); border-radius: 16px; background: #fff; overflow: hidden; cursor: pointer; font: inherit; color: inherit;
  box-shadow: 0 1px 2px rgba(11,22,38,.04); transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .25s; animation: fxobRise .45s cubic-bezier(.2,.7,.2,1) both; }
.fxob-tpl:nth-child(2) { animation-delay: .04s; } .fxob-tpl:nth-child(3) { animation-delay: .08s; } .fxob-tpl:nth-child(4) { animation-delay: .12s; } .fxob-tpl:nth-child(5) { animation-delay: .16s; } .fxob-tpl:nth-child(6) { animation-delay: .2s; }
.fxob-tpl:hover, .fxob-tpl:focus-visible { border-color: #d0d5dd; box-shadow: 0 18px 36px -18px rgba(11,22,38,.38); outline: none; }
.fxob-tpl.busy { opacity: .7; pointer-events: none; }
.fxob-tpl-top { position: relative; display: flex; flex-direction: column; height: 150px; padding: 40px 16px 12px; overflow: hidden; border-bottom: 1px solid #eef0f3; }
.fxob-tpl-top .fx-chip { position: absolute; top: 11px; left: 11px; max-width: calc(100% - 22px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; line-height: 22px; }
.fxob-tpl .fx-fc-pv { transform-origin: left top; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.fxob-tpl .fx-fc-pv .q { font-size: 14px; line-height: 19px; }
.fxob-tpl-b { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px 4px; }
.fxob-tpl-b b { font-size: 14px; line-height: 19px; font-weight: 600; color: #0b1626; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fxob-tpl-b small { font-size: 12.5px; color: #667085; }
.fxob-tpl-go { padding: 6px 14px 13px; font-size: 13px; font-weight: 600; color: #0b1626; opacity: .55; transition: opacity .2s; }
.fxob-tpl:hover .fxob-tpl-go, .fxob-tpl:focus-visible .fxob-tpl-go { opacity: 1; }
.fxob-sk { display: block; height: 238px; border-radius: 16px; background: linear-gradient(90deg, #f2f4f7 0%, #f9fafb 50%, #f2f4f7 100%); background-size: 200% 100%; animation: fxobSk 1.2s linear infinite; }
@keyframes fxobSk { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.fxob-more { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 14px; }
.fxob-ai { display: flex; gap: 14px; padding: 16px; border: 1px solid var(--ob-line); border-radius: 16px; background: linear-gradient(180deg, #fafbfc, #fff); }
.fxob-ai-in { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.fxob-ai label { display: flex; flex-direction: column; gap: 2px; }
.fxob-ai label b, .fxob-blank b { font-size: 15px; font-weight: 600; }
.fxob-ai label small, .fxob-blank small { font-size: 13px; color: var(--ob-muted); line-height: 18px; }
.fxob-ai textarea { font-size: 14px; }
.fxob-blank { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; border: 1.5px dashed #c7ccd4; border-radius: 16px; background: #fff; text-align: left; cursor: pointer; font: inherit; color: inherit; transition: border-color .2s, transform .25s; }
.fxob-blank span:last-child { display: flex; flex-direction: column; gap: 2px; }
.fxob-blank:hover { border-color: var(--ob-ink); }

/* Back and Continue */
.fxob-foot { display: flex; align-items: center; gap: 10px; height: 76px; padding: 0 32px; border-top: 1px solid var(--ob-line2); background: rgba(255,255,255,.96); flex: none; }
.fxob-back, .fxob-link { border: 0; background: none; height: 44px; padding: 0 12px; border-radius: 10px; font: 600 14px 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--ob-ink2); cursor: pointer; }
@media (hover: hover) { .fxob-back:hover, .fxob-link:hover { background: var(--ob-line2); color: var(--ob-ink); } }
.fxob-count { font-size: 13px; color: var(--ob-muted); }
.fxob-sp { flex: 1; }
.fxob-next { height: 46px; padding: 0 26px; border: 0; border-radius: 12px; background: var(--ob-ink); color: #fff; font: 600 15px 'Plus Jakarta Sans', system-ui, sans-serif; cursor: pointer; box-shadow: 0 10px 22px -12px rgba(11,22,38,.7); transition: background .2s, transform .2s; }
.fxob-next::after { content: ' →'; }
.fxob-next:hover { background: #1d2b40; }
.fxob-next:disabled { opacity: .6; cursor: progress; transform: none; }
.fxob [hidden] { display: none !important; }

/* Phones and small windows: the photo above the step, steps as a bar, buttons at the bottom */
@media (max-width: 1180px) { .fxob-prog li:not(.on) .fxob-pl { display: none; } .fxob-prog li:not(.on) { padding-right: 6px; } }
@media (max-width: 900px) {
  .fxob { grid-template-columns: minmax(0, 1fr); }
  .fxob-art { display: none; }
  .fxob-top { height: 60px; padding: 0 16px; gap: 10px; }
  .fxob-prog { display: none; }
  .fxob-skip { margin-left: auto; }
  .fxob-body { padding: 16px 16px 28px; }
  .fxob-body::before { content: ''; display: block; height: 128px; margin: 0 0 22px; border-radius: 18px; background: #0b1626 center/cover no-repeat; box-shadow: 0 18px 34px -22px rgba(11,22,38,.6); animation: fxobFade .5s ease both; }
  .fxob-main[data-step="1"] .fxob-body::before { background-image: linear-gradient(180deg, transparent 40%, rgba(11,22,38,.35)), url('/public/site/form/studio.jpg'); }
  .fxob-main[data-step="2"] .fxob-body::before { background-image: linear-gradient(180deg, transparent 40%, rgba(11,22,38,.35)), url('/public/site/form/team.jpg'); }
  .fxob-main[data-step="3"] .fxob-body::before { background-image: linear-gradient(180deg, transparent 40%, rgba(11,22,38,.35)), url('/public/site/form/neon.jpg'); }
  .fxob-main[data-step="4"] .fxob-body::before { background-image: linear-gradient(180deg, transparent 40%, rgba(11,22,38,.35)), url('/public/site/form/lake.jpg'); }
  .fxob h1 { font-size: 26px; line-height: 32px; }
  .fxob-sub { font-size: 15px; line-height: 22px; margin-bottom: 24px; }
  .fxob-goals { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .fxob-goal { min-height: 112px; padding: 14px; gap: 12px; }
  .fxob-gn { font-size: 14px; line-height: 19px; padding-right: 8px; }
  .fxob-brand { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .fxob-br { position: static; }
  .fxob-colors { grid-template-columns: minmax(0, 1fr); }
  .fxob-tpls { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .fxob-tpl-top { height: 132px; padding: 38px 12px 10px; }
  .fxob-more { grid-template-columns: minmax(0, 1fr); }
  .fxob-foot { height: 68px; padding: 0 12px; gap: 6px; }
  .fxob-count { display: none; }
  .fxob-next { padding: 0 20px; }
  .fxob-row { flex-wrap: wrap; }
  .fxob-row input { flex: 1 1 100%; }
  .fxob-row .fxob-btn { flex: 1 1 auto; }
}
@media (max-width: 520px) { .fxob-tpls { grid-template-columns: minmax(0, 1fr); } .fxob-tpl-top { height: 124px; } }
@media (prefers-reduced-motion: reduce) { .fxob, .fxob *, .fxob *::before { animation: none !important; transition: none !important; } }

/* The start screen: templates picked for the organization */
.fxh-picked:empty { display: none; }
.fxh-rh { display: flex; align-items: center; gap: 12px; margin: 4px 0 14px; }
.fxh-rh b { font-size: 18px; font-weight: 700; letter-spacing: -.01em; color: var(--fx-ink); margin-right: auto; }
.fxh-recs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .fxh-recs { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; } }
/* The template gallery, opened on the organization's industry */
.fwt-top .fwt-s { flex: 1 1 260px; min-width: 0; }
.fwt-top .fwt-s input { width: 100%; max-width: 460px; }
.fwt-top > * { flex-shrink: 0; }
.fwt-top > .fwt-s { flex-shrink: 1; }
.fwt-mine { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 6px 0 12px; border-radius: 999px; background: #e8f7f0; color: #0b7a4f; font-size: 13px; font-weight: 600; white-space: nowrap; }
@media (max-width: 1100px) { .fwt-top { flex-wrap: wrap; } }
.fwt-mine button { border: 0; background: #fff; color: #0b1626; font-family: inherit; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; cursor: pointer; box-shadow: 0 1px 2px rgba(11,22,38,.12); }
/* Settings › Organization: the set-up answers */
.fxob-org { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px 20px; }
.fxob-or { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--fx-ink, #0b1626); }
.fxob-or small { font-size: 12px; color: var(--fx-muted, #667085); }

/* contact info question: the parts it asks for, as a Show / Required table (2026-11-19) */
html[data-fx-product] table.fk-parts { width: 100%; border-collapse: collapse; margin: 4px 0 2px; font-size: 14px; border: 1px solid var(--fx-line); border-radius: 10px; overflow: hidden; }
html[data-fx-product] table.fk-parts th, html[data-fx-product] table.fk-parts td { padding: 8px 12px; text-align: left; border-top: 1px solid var(--fx-line); font-weight: 400; color: var(--fx-ink-2, #344054); }
html[data-fx-product] table.fk-parts thead th { border-top: 0; background: #f9fafb; font-size: 12px; font-weight: 600; color: var(--fx-muted, #667085); }
html[data-fx-product] table.fk-parts td, html[data-fx-product] table.fk-parts thead th:not(:first-child) { width: 76px; text-align: center; }
html[data-fx-product] table.fk-parts input { width: 16px; height: 16px; margin: 0; accent-color: var(--fx-ink, #0b1626); }
html[data-fx-product] table.fk-parts input:disabled { opacity: .35; }

/* Integrations: only the apps a form uses, grouped by what they do */
#panel-integrations.fxi-on > :not(.page-header-block):not(#fxi):not(#integrations-server-note) { display: none !important; }
.fxi { display: flex; flex-direction: column; gap: 28px; padding-bottom: 32px; }
.fxi-nav { position: sticky; top: 0; z-index: 5; display: flex; gap: 6px; flex-wrap: wrap; padding: 10px 0; background: var(--fx-bg, #f5f6f8); }
.fxi-nav a { padding: 6px 12px; border: 1px solid var(--fx-line); border-radius: 999px; background: #fff; color: var(--fx-ink-2); font-size: 13px; font-weight: 600; text-decoration: none; }
.fxi-nav a:hover { border-color: #c7ccd4; color: var(--fx-ink); }
.fxi-sec { scroll-margin-top: 64px; }
.fxi-sec > header { margin-bottom: 12px; }
.fxi-sec h3 { margin: 0; font: 700 18px/1.3 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--fx-ink); letter-spacing: -.01em; }
.fxi-sec > header p { margin: 4px 0 0; max-width: 72ch; color: var(--fx-muted); font-size: 14px; line-height: 1.5; }
.fxi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.fxi-live { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
.fxi-live > .xonika-card { margin: 0; border-radius: 14px !important; }
.fxi-card { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--fx-line); border-radius: 16px; background: #fff;
  box-shadow: 0 1px 2px rgba(16,24,40,.04); transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease; }
.fxi-card:hover { border-color: #d0d5dd; box-shadow: 0 12px 28px -16px rgba(11,22,38,.28); }
.fxi-card.is-on { border-color: #b7e4cf; background: linear-gradient(180deg, #f6fdf9 0, #fff 64px); }
.fxi-top { display: flex; align-items: center; gap: 12px; }
.fxi-top h4 { margin: 0; font: 700 15px/1.3 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--fx-ink); }
.fxi-top small { display: block; margin-top: 2px; color: var(--fx-muted); font-size: 12px; }
.fxi-card > p { flex: 1; margin: 0; color: var(--fx-ink-2); font-size: 13.5px; line-height: 1.5; }
.fxi-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-height: 34px; }
.fxi-btn { height: 34px; padding: 0 14px; border: 1px solid var(--fx-line); border-radius: 10px; background: #fff; color: var(--fx-ink); font: 600 13px 'Plus Jakarta Sans', system-ui, sans-serif; cursor: pointer; }
.fxi-btn:hover { border-color: #c7ccd4; background: #f9fafb; }
.fxi-btn.go { background: var(--fx-ink); border-color: var(--fx-ink); color: #fff; }
.fxi-btn.go:hover { background: #1d2939; }
.fxi-link { border: 0; background: none; padding: 0; color: var(--fx-ink-2); font: 600 13px 'Plus Jakarta Sans', system-ui, sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fxi-state { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--fx-muted); }
.fxi-state::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #d0d5dd; }
.fxi-state.ok { color: #067647; } .fxi-state.ok::before { background: #17b26a; }
.fxi-state.bad { color: #b42318; } .fxi-state.bad::before { background: #f04438; }
.fxi-state.wait { font-weight: 500; }
.fxi-acct { color: var(--fx-muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.fxi-more { margin: 0; }
@media (max-width: 640px) { .fxi-grid, .fxi-live { grid-template-columns: minmax(0, 1fr); } .fxi-nav { overflow-x: auto; flex-wrap: nowrap; } .fxi-nav a { white-space: nowrap; } }

/* Results and Surveys pages (99-fx-pages): their number cards are not the forms list's */
html[data-fxs] #fxp-view .section-kpi-row { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 16px 0 20px; }
html[data-fx-product] .fxp-body { border-color: var(--fx-line); box-shadow: 0 1px 2px rgba(16,24,40,.04); padding: 20px 22px; }
html[data-fx-product] .fxp-body .fb-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
html[data-fx-product] .fxp-sub { font: 700 16px/1.3 var(--fx-font); color: var(--fx-ink); }
/* Settings in form by XONIK: no suite-wide counts on every page, no currency rates for deals, no suite bins;
   Invite and New team only on People and roles and Teams */
html[data-fx-product] #admin-kpis, html[data-fx-product] #org-rates-card, html[data-fx-product] #recycle-others { display: none !important; }
html[data-fx-product] #open-invite-member-modal, html[data-fx-product] #open-new-team-modal { display: none; }
html[data-fx-product][data-fx-set="members"] #open-invite-member-modal, html[data-fx-product][data-fx-set="teams"] #open-new-team-modal { display: inline-flex; }

/* A browser extension floats its own booking button over every site. Not on our pages: meetings are Zevyo */
[class$="lifecycle-optibutton_singleton"] { display: none !important; }

/* Every dropdown, everywhere: one arrow, clear of the edge (a select with no class of its own gets this too) */
select:not([multiple]):not([size]) { -webkit-appearance: none; appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236D685E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 12px center !important; background-size: 12px 12px !important; text-overflow: ellipsis; }
select:not([multiple]):not([size])::-ms-expand { display: none; }
