/* Apex public UI. Keep the customer canvas and administration layout independent. */
body.sf-site {
  --apx-bg: #f0f4fa;
  --apx-surface: #ffffff;
  --apx-soft: #f5f8fd;
  --apx-line: #dfe7f3;
  --apx-ink: #1b2b47;
  --apx-muted: #667890;
  --apx-brand: var(--accent, #3269ed);
  --apx-shadow: 0 3px 6px rgb(28 57 101 / 2%), 0 14px 40px rgb(28 57 101 / 6%);
  --apx-focus: 0 0 0 4px rgb(50 105 237 / 14%);
  --qy-surface: var(--apx-surface);
  --qy-surface-line: var(--apx-line);
  --qy-surface-shadow: var(--apx-shadow);
  --ink: var(--apx-ink);
  --muted: var(--apx-muted);
  --panel: var(--apx-surface);
  --line: var(--apx-line);
  --bg: var(--apx-bg);
  --qy-copy: var(--apx-muted);
  --text-primary: var(--apx-ink);
  color: var(--apx-ink) !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif !important;
}
body.sf-site:not(.has-wallpaper) {
  background: radial-gradient(ellipse at 78% 0, #e2ecff 0, transparent 33rem), var(--apx-bg) !important;
}
body.dark.sf-site {
  --apx-bg: #101925;
  --apx-surface: #1a2739;
  --apx-soft: #202f44;
  --apx-line: #34465f;
  --apx-ink: #edf3ff;
  --apx-muted: #a8b8d0;
  --apx-shadow: 0 8px 32px rgb(0 0 0 / 16%);
}
body.dark.sf-site:not(.has-wallpaper) {
  background: radial-gradient(ellipse at 78% 0, #192e50 0, transparent 33rem), var(--apx-bg) !important;
}
body.sf-site #app :is(.sf-main, .of-main) { max-width: 1280px !important; }
body.sf-site #app > .of-main:not(.of-demo-intro) { width: 100%; padding: 32px 28px 40px !important; }
body.sf-site #app .sf-main > :is(.qh-hero, .sf-how, .sf-faq, .sf-contact-band) { margin-top: 32px !important; margin-bottom: 32px !important; }
body.sf-site #app .apx-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 0 40px; }
body.sf-site #app .apx-shortcut { display: flex; align-items: center; text-align: left; min-height: 112px; gap: 14px; padding: 22px 18px; border: 1px solid var(--apx-line); background: var(--apx-surface); border-radius: 18px !important; box-shadow: var(--apx-shadow); color: var(--apx-ink); }
body.sf-site #app .apx-shortcut-icon { display: grid; place-items: center; width: 42px; height: 46px; border-radius: 13px; flex-shrink: 0; background: #edf3ff; color: #3978e7; }
body.sf-site #app .apx-shortcut-icon .icon { width: 23px; height: 23px; }
body.sf-site #app .apx-tone-indigo .apx-shortcut-icon { background: #eef0ff; color: #6472df; }
body.sf-site #app .apx-tone-sky .apx-shortcut-icon { background: #eaf6fe; color: #328fbc; }
body.sf-site #app .apx-tone-violet .apx-shortcut-icon { background: #f3efff; color: #8970cf; }
body.sf-site #app .apx-shortcut-copy { min-width: 0; }
body.sf-site #app .apx-shortcut-copy strong { display: block; font-size: 16px; font-weight: 650; margin-bottom: 5px; }
body.sf-site #app .apx-shortcut-copy small { display: block; font-size: 11px; color: var(--apx-muted); line-height: 1.7; }
body.sf-site #app .apx-shortcut-arrow { display: none; color: var(--apx-muted); }
body.sf-site #app .apx-section-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 0 0 22px; padding: 0 4px; }
body.sf-site #app .apx-section-intro span { font-size: 11px; letter-spacing: .15em; color: var(--apx-brand); }
body.sf-site #app .apx-section-intro h2 { font-size: clamp(26px, 2.5vw, 34px); line-height: 1.4; color: var(--apx-ink); margin: 10px 0 0; }
body.sf-site #app .apx-section-intro p { color: var(--apx-muted); font-size: 14px; line-height: 1.8; margin: 0; }
body.dark.sf-site #app .apx-shortcut-icon { background: var(--apx-soft); color: #a8c9ff; }
body.sf-site #app .sf-nav.qn-nav {
  height: 78px !important;
  min-height: 78px !important;
  padding: 0 24px !important;
  margin-top: 18px !important;
  top: 14px !important;
  border-color: var(--apx-line) !important;
  background: color-mix(in srgb, var(--apx-surface) 94%, transparent) !important;
  box-shadow: var(--apx-shadow) !important;
  border-radius: 22px !important;
}
body.sf-site #app .qn-nav .sf-brand { column-gap: 12px !important; margin-right: 8px !important; }
body.sf-site #app .qn-nav .sf-brand strong { color: var(--apx-ink) !important; font-size: 24px !important; }
body.sf-site #app .qn-nav .sf-brand > span { color: var(--apx-muted) !important; font-size: 9px !important; }
body.sf-site #app .qn-nav > nav > button { color: var(--apx-muted) !important; min-height: 40px; }
body.sf-site #app .qn-nav > nav > button.active {
  color: var(--apx-brand) !important;
  background: color-mix(in srgb, var(--apx-brand) 9%, var(--apx-surface)) !important;
  border-color: color-mix(in srgb, var(--apx-brand) 14%, var(--apx-surface)) !important;
}
body.sf-site #app :is(.qh-primary, .sf-primary, .sh-actions .primary, .of-contact-form > .primary) {
  background: linear-gradient(135deg, var(--apx-brand), color-mix(in srgb, var(--apx-brand) 82%, #173a85)) !important;
  color: #fff !important;
  border: 1px solid transparent !important;
  box-shadow: 0 5px 14px color-mix(in srgb, var(--apx-brand) 18%, transparent) !important;
  border-radius: 12px !important;
  min-height: 44px;
  font-weight: 650 !important;
}
body.sf-site #app .qn-nav .sf-primary { min-height: 40px; height: 40px !important; }
body.sf-site #app :is(.qh-secondary, .sf-outline) {
  background: var(--apx-surface) !important;
  border: 1px solid var(--apx-line) !important;
  color: var(--apx-ink) !important;
  border-radius: 12px !important;
  min-height: 44px;
}
body.sf-site #app :is(.qh-copy h1, .of-page-head h1) {
  color: var(--apx-ink) !important;
  font-weight: 750 !important;
  letter-spacing: -.045em !important;
  text-wrap: balance;
}
body.sf-site #app .qh-copy h1 { line-height: 1.22; margin: 24px 0; }
body.sf-site #app .qh-copy > p { font-size: 16px; line-height: 1.9; color: var(--apx-muted) !important; }
body.sf-site #app .qh-eyebrow { font-size: 11px; letter-spacing: .12em; color: var(--apx-brand); }
body.sf-site #app .qh-eyebrow > span { background: var(--apx-brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--apx-brand) 10%, transparent); }
body.sf-site #app .qh-visual {
  background: linear-gradient(145deg, #f2f7ff, #e0ebff) !important;
  border: 1px solid #d5e3fa !important;
  box-shadow: inset 0 1px 0 #fff;
}
body.dark.sf-site #app .qh-visual { background: linear-gradient(145deg, #213653, #1c2c44) !important; border-color: #3c5275 !important; box-shadow: none; }
body.sf-site #app .qh-note { background: var(--apx-surface) !important; border-color: var(--apx-line) !important; color: var(--apx-ink) !important; box-shadow: var(--apx-shadow); }
body.sf-site #app .qh-note small { color: var(--apx-muted) !important; }
body.sf-site #app .qh-foot { gap: 16px; line-height: 1.8; }
body.sf-site #app :is(.sf-section-heading h2, .sf-how h2, .sf-contact-band h2) { font-size: clamp(25px, 2.5vw, 34px) !important; line-height: 1.4; color: var(--apx-ink) !important; letter-spacing: -.03em; }
body.sf-site #app :is(.sf-section-heading > span, .sf-how > div > span, .sf-contact-band > div > span) { font-size: 11px !important; letter-spacing: .15em; color: var(--apx-brand) !important; }
body.sf-site #app :is(.sf-section-heading p, .sf-how p, .sf-contact-band p) { font-size: 14px !important; line-height: 1.85; color: var(--apx-muted) !important; }
body.sf-site #app .sf-how article { padding: 20px 0; gap: 18px; }
body.sf-site #app .sf-how article > span { width: 42px; height: 42px; background: var(--apx-soft); border: 1px solid var(--apx-line); border-radius: 13px; color: var(--apx-brand); }
body.sf-site #app .sf-how article h3 { font-size: 16px; color: var(--apx-ink); margin: 0 0 8px; }
body.sf-site #app .sf-faq details { padding: 16px 0; border-bottom: 1px solid var(--apx-line); }
body.sf-site #app .sf-faq summary { font-size: 15px; font-weight: 550; line-height: 1.6; color: var(--apx-ink); cursor: pointer; }
body.sf-site #app .sf-faq details[open] summary { color: var(--apx-brand); }
body.sf-site #app .sf-faq details[open] summary .icon { transform: rotate(45deg); }
body.sf-site #app .sf-faq details > p { font-size: 14px; line-height: 1.9; padding: 12px 28px 0 0; color: var(--apx-muted); }
body.sf-site #app .of-page-head {
  padding: 36px !important;
  margin: 0 0 28px !important;
  border: 1px solid var(--apx-line);
  background: var(--apx-surface);
  border-radius: 24px;
  box-shadow: var(--apx-shadow);
}
body.sf-site #app .of-page-head h1 { font-size: clamp(28px, 3.2vw, 42px) !important; line-height: 1.35; margin: 16px 0; }
body.sf-site #app .of-page-head > p { max-width: 680px; font-size: 15px; line-height: 1.85; color: var(--apx-muted); }
body.sf-site #app :is(.sh-stage, .sf-products) { max-width: none; padding: 32px 0 !important; }
body.sf-site #app .sh-stage { padding: 32px !important; border: 1px solid var(--apx-line) !important; border-radius: 24px !important; background: var(--apx-surface) !important; box-shadow: var(--apx-shadow); }
body.sf-site #app .sh-primary { background: var(--apx-brand) !important; color: #fff !important; border-color: transparent !important; border-radius: 10px !important; }
body.sf-site #app .sh-cover > span { color: #294876 !important; }
body.sf-site #app .sh-card .sh-meta { border-color: var(--apx-line) !important; }
body.sf-site #app :is(.sh-card, .of-product-card, .ed-card, .of-contact-form, .of-docs-grid > article, .of-docs-grid > aside, .of-contact-grid > section, .ed-product-bar, .ed-terms, .of-contact-cta) {
  background: var(--apx-surface) !important;
  border: 1px solid var(--apx-line) !important;
  border-radius: 20px !important;
  box-shadow: var(--apx-shadow) !important;
  color: var(--apx-ink) !important;
  min-width: 0;
}
body.sf-site #app .sh-card { overflow: hidden; transition: transform .2s ease, box-shadow .2s ease !important; }
body.sf-site #app :is(.sh-body, .of-product-body) { padding: 24px !important; }
body.sf-site #app :is(.sh-body h3, .of-product-body h3) { font-size: 20px; line-height: 1.4; color: var(--apx-ink) !important; }
body.sf-site #app :is(.sh-body p, .of-product-body p, .ed-intro) { font-size: 14px !important; line-height: 1.8; color: var(--apx-muted) !important; }
body.sf-site #app :is(.sh-toolbar, .of-product-filters) { padding: 16px; background: var(--apx-surface) !important; border: 1px solid var(--apx-line); border-radius: 18px; margin-bottom: 22px; gap: 14px; }
body.sf-site #app .sh-tabs { background: var(--apx-soft) !important; border-radius: 12px; padding: 4px; }
body.sf-site #app .sh-tabs button { min-height: 38px; color: var(--apx-muted) !important; }
body.sf-site #app .sh-tabs button.active { background: var(--apx-surface) !important; color: var(--apx-brand) !important; box-shadow: 0 2px 7px rgb(30 60 110 / 9%); }
body.sf-site #app .ed-card { padding: 28px !important; }
body.sf-site #app .ed-card-featured { border-color: color-mix(in srgb, var(--apx-brand) 45%, var(--apx-line)) !important; box-shadow: 0 8px 28px color-mix(in srgb, var(--apx-brand) 12%, transparent) !important; }
body.sf-site #app :is(.of-docs-grid > article, .of-contact-form, .of-contact-grid > section) { padding: 30px !important; }
body.sf-site #app .of-docs-grid > aside { padding: 12px !important; }
body.sf-site #app .of-docs-grid > aside button { min-height: 44px; padding: 12px 14px; border-radius: 10px; color: var(--apx-muted); }
body.sf-site #app .of-docs-grid > aside button.active { color: var(--apx-brand) !important; background: var(--apx-soft) !important; }
body.sf-site #app :is(.of-docs-grid article p, .of-contact-grid > section p, .of-contact-grid > section li) { font-size: 15px; line-height: 1.9; color: var(--apx-muted) !important; }
body.sf-site #app :is(.field input:not([type="checkbox"]):not([type="radio"]), .field textarea, .field select, .sh-search, .sh-tools select) {
  background: var(--apx-soft) !important;
  border: 1px solid var(--apx-line) !important;
  border-radius: 11px !important;
  color: var(--apx-ink) !important;
  min-height: 44px;
}
body.sf-site #app .sh-search input { background: transparent !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; }
body.sf-site #app .field > span { color: var(--apx-ink); font-size: 13px; font-weight: 600; }
body.sf-site #app .field :is(input, textarea, select):focus { border-color: var(--apx-brand) !important; box-shadow: var(--apx-focus) !important; }
body.sf-site #app .sf-editor-container { background: var(--apx-soft); padding: 8px; box-shadow: var(--apx-shadow) !important; border-radius: 24px !important; }
body.sf-site #app .sf-editor { border: 1px solid var(--apx-line); border-radius: 18px; overflow: hidden; }
body.sf-site #app :is(.sf-editor-top, .sf-editor-library, .sf-stage-toolbar, .sf-editor-status) { background: var(--apx-surface) !important; border-color: var(--apx-line) !important; }
body.sf-site #app .sf-stage-canvas { background: var(--apx-soft) !important; }
body.sf-site #app .sf-editor-top { min-height: 60px; }
body.sf-site #app .sf-editor-top strong { color: var(--apx-ink) !important; font-size: 12px; }
body.sf-site #app .sf-editor-tools { min-width: 0; max-width: 100%; padding: 8px !important; margin-bottom: 0 !important; flex-shrink: 1; }
body.sf-site #app .sf-stage-toolbar { height: auto !important; min-height: 46px; }
body.sf-site #app .sf-how article { border-color: var(--apx-line) !important; }
body.dark.sf-site #app .apex-hero-mark > rect:first-child { fill: #263b58; stroke: #40597d; }
body.sf-site #app .sf-library-grid > button { border: 1px solid var(--apx-line); background: var(--apx-soft) !important; color: var(--apx-ink) !important; border-radius: 11px !important; }
body.sf-site #app .sf-inspector :is(input, textarea, select) { color: var(--apx-ink) !important; background: var(--apx-soft) !important; }
body.sf-site #app > .sf-footer { margin-top: auto !important; margin-bottom: 24px !important; }
body.sf-site #app .sf-footer :is(strong, .sf-brand strong) { color: var(--apx-ink) !important; }
body.sf-site #app .sf-footer :is(p, small, nav button) { color: var(--apx-muted) !important; font-size: 13px; line-height: 1.8; }
body.sf-site #app .sf-footer nav button { min-height: 36px; padding-left: 0; }
body.sf-site #app :is(button, a, summary):focus-visible { outline: 3px solid var(--apx-brand) !important; outline-offset: 3px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  body.sf-site #app :is(.sh-card, .of-product-card):hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgb(28 57 101 / 12%) !important; }
  body.sf-site #app :is(.qh-primary, .qh-secondary, .sf-contact-band .sf-primary):hover { transform: translateY(-2px); }
  body.sf-site #app .sf-library-grid > button:hover { border-color: var(--apx-brand); }
}
@media (min-width: 901px) and (max-width: 1150px) {
  body.sf-site #app .qn-nav { gap: 14px !important; }
  body.sf-site #app .qn-nav > nav > button { padding: 0 9px !important; }
  body.sf-site #app .qn-account summary > span:not(.qn-avatar) { display: none; }
}
@media (max-width: 900px) {
  body.sf-site #app .apx-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.sf-site #app .apx-shortcut-arrow { display: block; margin-left: auto; }
  body.sf-site #app .sf-nav.qn-nav { padding: 0 16px !important; height: 68px !important; min-height: 68px !important; }
  body.sf-site #app .sf-nav.qn-nav .sf-brand { margin-right: 0 !important; }
  body.sf-site #app .sf-nav.qn-nav .sf-menu { min-width: 36px; min-height: 36px; }
  body.sf-site #app .sf-editor-top { height: auto; flex-wrap: wrap; gap: 12px; padding: 12px; }
  body.sf-site #app .sf-editor-tools { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  body.sf-site #app .sh-stage { padding: 22px 18px !important; border-radius: 18px !important; }
  body.sf-site #app .sf-editor-tools { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100% !important; gap: 6px !important; }
  body.sf-site #app .sf-editor-tools > button { min-width: 0 !important; width: 100% !important; white-space: normal; margin: 0 !important; padding: 7px 4px !important; font-size: 10px !important; }
  body.sf-site #app .sf-editor-tools > button.sf-primary { grid-column: span 2; }
  body.sf-site #app .sf-stage-toolbar .sf-color-picks { display: flex; position: static !important; flex-basis: 100%; width: 100%; gap: 8px; flex-wrap: wrap; margin: 0 !important; padding: 4px 0; }
  body.sf-site #app .sf-color-picks input[type="color"] { width: 26px !important; height: 26px !important; min-height: 26px !important; padding: 0 !important; }
  body.sf-site #app .apx-shortcuts { gap: 12px; margin-bottom: 28px; }
  body.sf-site #app .apx-shortcut { min-height: 100px; padding: 18px 14px; gap: 10px; border-radius: 15px !important; }
  body.sf-site #app .apx-shortcut-icon { width: 36px; height: 40px; border-radius: 11px; }
  body.sf-site #app .apx-shortcut-copy strong { font-size: 14px; }
  body.sf-site #app .apx-shortcut-copy small { font-size: 10px; }
  body.sf-site #app .apx-shortcut-arrow { display: none; }
  body.sf-site #app .apx-section-intro { flex-direction: column; align-items: flex-start; gap: 10px; }
  body.sf-site #app .sf-nav.qn-nav { width: calc(100% - 24px) !important; top: 10px !important; margin-top: 10px !important; border-radius: 18px !important; }
  body.sf-site #app .sf-main > :is(.qh-hero, .sf-how, .sf-faq, .sf-contact-band) { margin-top: 22px !important; margin-bottom: 22px !important; }
  body.sf-site #app > .of-main:not(.of-demo-intro) { padding: 22px 16px 28px !important; }
  body.sf-site #app .of-page-head { padding: 24px !important; border-radius: 18px; }
  body.sf-site #app .qh-copy > p { font-size: 14px; }
  body.sf-site #app .qh-actions > button { min-height: 46px; }
  body.sf-site #app :is(.sh-toolbar, .sh-tools) { width: 100%; }
  body.sf-site #app .sh-tools { flex-wrap: wrap; }
  body.sf-site #app .sh-search { flex: 1 1 160px; min-width: 0; }
  body.sf-site #app .sh-search input { width: 100%; min-width: 0; }
  body.sf-site #app :is(.sh-tabs, .of-product-filters) { flex-wrap: wrap; }
  body.sf-site #app .sh-tabs button { font-size: 13px; }
  body.sf-site #app :is(.sh-body, .of-product-body, .of-contact-form, .of-docs-grid > article, .of-contact-grid > section, .ed-card) { padding: 22px !important; }
  body.sf-site #app .of-docs-grid { grid-template-columns: 1fr; gap: 18px; }
  body.sf-site #app .of-docs-grid > aside { display: flex; gap: 6px; flex-wrap: wrap; position: static; }
  body.sf-site #app .of-contact-grid { grid-template-columns: 1fr; gap: 20px; }
  body.sf-site #app .sf-editor-container { padding: 5px; border-radius: 18px !important; }
  body.sf-site #app .sf-editor { border-radius: 14px; }
  body.sf-site #app .sf-stage-toolbar { flex-wrap: wrap; gap: 10px; padding: 10px; }
  body.sf-site #app .sf-stage-toolbar > span { flex-basis: 100%; font-size: 11px; }
  body.sf-site #app .sf-editor-status { min-height: 40px; height: auto; gap: 6px; padding: 8px 12px; flex-wrap: wrap; }
  body.sf-site #app .sf-editor-status > span { font-size: 10px; }
  body.sf-site #app .sf-footer nav button { min-height: 40px; }
}
@media (max-width: 420px) {
  body.sf-site #app .apx-shortcut { align-items: flex-start; flex-direction: column; padding: 16px; gap: 12px; }
  body.sf-site #app .qn-nav .sf-brand { grid-template-columns: 32px auto !important; column-gap: 8px !important; }
  body.sf-site #app .qn-nav .sf-brand img { width: 32px !important; height: 32px !important; }
  body.sf-site #app .qn-nav .sf-brand strong { font-size: 21px !important; }
  body.sf-site #app .qn-nav .sf-brand > span { font-size: 8px !important; }
  body.sf-site #app .qh-actions > button { padding: 12px 14px; font-size: 13px; }
  body.sf-site #app .sf-main > .qh-hero { padding: 24px 18px !important; }
}
@media (prefers-reduced-motion: reduce) {
  body.sf-site #app *, body.sf-site #app *::before, body.sf-site #app *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
