.cx-flow {
  --cxf-ink: #141e30;
  --cxf-muted: #4e5b67;
  --cxf-coral: #fa7056;
  --cxf-line: #d7dcd9;
  --cxf-paper: #fff;
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: min(38rem, calc(100vw - 2rem));
  max-width: none;
  max-height: min(90vh, 54rem);
  max-height: min(90dvh, 54rem);
  overflow: auto;
  overscroll-behavior: contain;
  margin: auto;
  padding: 0;
  border: 1px solid #bbc1c2;
  border-radius: 4px;
  background: var(--cxf-paper);
  color: var(--cxf-ink);
  box-shadow: 0 2rem 7rem #08132340;
  font: 400 1rem/1.45 -apple-system, BlinkMacSystemFont, Inter, "Segoe UI", sans-serif;
  text-align: left;
}
.cx-flow[open] { display: block; animation: cxf-appear .18s ease-out; }
.cx-flow::backdrop { background: #0c1627a3; backdrop-filter: blur(3px); }
.cx-flow *, .cx-flow *::before, .cx-flow *::after { box-sizing: border-box; }
.cx-flow p, .cx-flow h2, .cx-flow h3, .cx-flow dl, .cx-flow ul, .cx-flow form { margin: 0; }
.cx-flow button, .cx-flow input, .cx-flow textarea { font: inherit; color: inherit; letter-spacing: normal; }
.cx-flow button { cursor: pointer; }
.cx-flow svg { display: inline-block; width: 1.125rem; height: 1.125rem; flex: 0 0 auto; }
.cx-flow :focus-visible { outline: 2px solid #07607b; outline-offset: 3px; }
.cx-flow h2:focus { outline: none; }
.cx-flow .cxf-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 3.4rem; padding: .5rem clamp(1.25rem, 4vw, 2.2rem);
  border-bottom: 1px solid var(--cxf-line); background: #f7f8f5; color: var(--cxf-ink);
}
.cxf-brand { font-size: 1.08rem; font-weight: 700; letter-spacing: -.055em; }
.cxf-brand span { margin-left: .38rem; font-size: .68rem; letter-spacing: .11em; text-transform: uppercase; font-weight: 630; }
.cx-flow .cxf-back, .cx-flow .cxf-close, .cx-flow .cxf-quiet {
  background: transparent; color: var(--cxf-ink); border: 0; border-radius: 3px;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 600; min-height: 2.4rem;
}
.cx-flow .cxf-back { gap: .27rem; font-size: .9rem; padding: .35rem .3rem .35rem 0; }
.cx-flow .cxf-close { width: 2.4rem; padding: 0; margin-right: -.55rem; }
.cxf-close:hover, .cxf-back:hover, .cxf-quiet:hover { background: #e9ede9; }
.cxf-content { padding: clamp(1.4rem, 4vw, 2.3rem); }
.cx-flow .cxf-kicker { font-size: .79rem; font-weight: 690; text-transform: uppercase; letter-spacing: .13em; color: #43545a; margin: 0 0 .6rem; }
.cx-flow #cx-flow-title { font-size: clamp(1.9rem, 4.5vw, 2.7rem); line-height: 1.065; letter-spacing: -.058em; font-weight: 550; color: var(--cxf-ink); text-wrap: balance; }
.cx-flow .cxf-subtitle { margin-top: .75rem; line-height: 1.55; color: var(--cxf-muted); }
.cxf-subtitle span { padding: 0 .2rem; }
.cx-flow .cxf-facts { margin: 1.5rem 0; padding: 1rem 0; border-block: 1px solid var(--cxf-line); display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .85rem 1rem; }
.cxf-facts div { min-width: 0; }
.cxf-facts dt { font-size: .8rem; margin: 0 0 .2rem; color: var(--cxf-muted); }
.cxf-facts dd { margin: 0; color: var(--cxf-ink); font-weight: 550; }
.cx-flow .cxf-content h3 { font-size: 1.08rem; line-height: 1.3; letter-spacing: -.025em; margin: 1.4rem 0 .45rem; font-weight: 650; }
.cx-flow .cxf-prose, .cx-flow .cxf-list { font-size: 1rem; color: var(--cxf-muted); line-height: 1.55; }
.cx-flow .cxf-list { padding-left: 1.3rem; list-style: disc; }
.cx-flow .cxf-list li { display: list-item; padding: 0; margin: .25rem 0; }
.cxf-list li::marker { color: #b74432; }
.cx-flow .cxf-actions { display: flex; align-items: center; justify-content: flex-end; gap: 1rem; margin-top: 1.6rem; border-top: 1px solid var(--cxf-line); padding-top: 1.15rem; }
.cx-flow .cxf-small { margin-right: auto; color: var(--cxf-muted); font-size: .83rem; }
.cx-flow .cxf-primary { border: 1px solid var(--cxf-ink); padding: .72rem 1.25rem; min-height: 2.8rem; font-size: .94rem; border-radius: 3px; font-weight: 590; color: white; background: var(--cxf-ink); }
.cx-flow .cxf-primary:hover { background: #314056; }
.cx-flow .cxf-quiet { font-size: .9rem; padding: .5rem .65rem; }
.cx-flow .cxf-form { display: grid; gap: 1rem; margin-top: 1.25rem; }
.cx-flow .cxf-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .9rem 1rem; }
.cx-flow .cxf-field { display: grid; gap: .4rem; font-size: .9rem; color: var(--cxf-ink); font-weight: 580; }
.cx-flow .cxf-field small { font-size: .78rem; font-weight: 400; color: var(--cxf-muted); }
.cx-flow .cxf-field input:not([type=file]), .cx-flow .cxf-field textarea {
  width: 100%; min-width: 0; border: 1px solid #a9b3b8; border-radius: 3px; background: #fff;
  padding: .66rem .75rem; font-size: 1rem; font-weight: 400; line-height: 1.4;
}
.cx-flow .cxf-field textarea { resize: vertical; min-height: 4.2rem; }
.cx-flow .cxf-file {
  position: relative; display: flex; align-items: center; gap: .6rem; border: 1px dashed #94a0a6;
  border-radius: 3px; background: #f8f9f7; min-height: 3.1rem; padding: .7rem .8rem; cursor: pointer;
  font-size: .94rem; font-weight: 500; overflow-wrap: anywhere;
}
.cx-flow .cxf-file:focus-within { outline: 2px solid #07607b; outline-offset: 3px; }
.cx-flow .cxf-file input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; padding: 0; cursor: pointer; }
.cx-flow .cxf-demo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem .8rem; padding: .65rem .85rem; background: #f4f6f2; border-left: 3px solid var(--cxf-coral); font-size: .83rem; line-height: 1.45; color: #405059; }
.cx-flow .cxf-demo button { background: transparent; border: 0; color: var(--cxf-ink); border-radius: 1px; padding: .3rem 0; text-decoration: underline; text-underline-offset: .18rem; font-size: inherit; font-weight: 600; }
.cx-flow .cxf-form .cxf-actions { margin-top: .15rem; }
@keyframes cxf-appear { from { opacity: .5; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 520px) {
  .cx-flow { width: calc(100vw - 1rem); max-height: calc(100dvh - 1rem); }
  .cx-flow .cxf-grid { grid-template-columns: 1fr; }
  .cx-flow .cxf-close, .cx-flow .cxf-back { min-height: 2.75rem; }
}
@media(prefers-reduced-motion: reduce) { .cx-flow[open] { animation: none; } }
.cxf-check{display:flex;align-items:flex-start;gap:10px;font-size:.94rem;line-height:1.4}.cxf-check input{width:18px;height:18px;accent-color:#172437;flex:none}.cxf-privacy{line-height:1.5}.cxf-privacy a{text-decoration:underline}.cxf-error{color:#993e2f;margin:0}.cxf-error:empty{display:none}.cxf-reference{line-height:1.65;overflow-wrap:anywhere}.cxf-form button:disabled{opacity:.65;cursor:wait}.cxf-prose{white-space:pre-line}
