/* Lead dialog design, schema_version: 1. Dependencies: Momentum theme tokens.
   TOKEN expands to the CSS custom-property prefix in the actual renderer. */
dialog.osm-lead { box-sizing: border-box; padding: 0; width: min(calc(100% - 32px),620px); max-height: calc(100dvh - 32px); border: 1px solid var(TOKENwpTOKENpresetTOKENcolorTOKENline); border-radius: 22px; color: var(TOKENwpTOKENpresetTOKENcolorTOKENforeground); background: var(TOKENwpTOKENpresetTOKENcolorTOKENsurface); font: 17px/1.65 Arial,Helvetica,sans-serif; }
dialog.osm-lead::backdrop { background: var(TOKENwpTOKENpresetTOKENcolorTOKENforeground); opacity: .65; }
.osm-lead-shell { padding: 42px; }
dialog.osm-lead h2 { margin: 0 0 24px; padding: 0; font-size: 36px; line-height: 1.12; letter-spacing: -.03em; }
dialog.osm-lead h3,.osm-lead-fallback h3 { font-size: 23px; line-height: 1.25; letter-spacing: normal; }
dialog.osm-lead p,.osm-lead-fallback p { margin-block: 16px; }
dialog.osm-lead label,.osm-lead-fallback label { display: block; margin-block-end: 8px; }
dialog.osm-lead input:not([type="radio"]):not([type="hidden"]):not([hidden]),dialog.osm-lead textarea,.osm-lead-fallback input:not([type="radio"]):not([type="hidden"]):not([hidden]),.osm-lead-fallback textarea { box-sizing: border-box; display: block; width: 100%; min-width: 0; height: 48px; font: 17px/1.4 Arial,Helvetica,sans-serif; color: inherit; background: var(TOKENwpTOKENpresetTOKENcolorTOKENsurface); border: 1px solid var(TOKENwpTOKENpresetTOKENcolorTOKENinput-border); box-shadow: 0 0 0 1px var(TOKENwpTOKENpresetTOKENcolorTOKENmuted); border-radius: 10px; padding: 12px 15px; }
dialog.osm-lead textarea,.osm-lead-fallback textarea { min-height: 140px; resize: vertical; }
dialog.osm-lead button,.osm-lead-fallback button,dialog.osm-lead .wp-element-button,.osm-lead-fallback .wp-element-button { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; max-width: 100%; height: 48px; padding: 15px 22px; border: 1px solid transparent; border-radius: 100px; background: var(TOKENwpTOKENpresetTOKENcolorTOKENaccent); color: var(TOKENwpTOKENpresetTOKENcolorTOKENbackground); font: 700 13px/16px Arial,Helvetica,sans-serif; letter-spacing: normal; text-decoration: none; cursor: pointer; }
dialog.osm-lead .osm-lead-secondary,.osm-lead-fallback .osm-lead-secondary { border-color: var(TOKENwpTOKENpresetTOKENcolorTOKENforeground); color: var(TOKENwpTOKENpresetTOKENcolorTOKENforeground); background: transparent; }
dialog.osm-lead .osm-lead-close { float: right; margin: -12px -12px 8px 12px; min-width: 44px; min-height: 44px; height: 44px; padding: 8px; border: 0; border-radius: 0; background: transparent; color: inherit; font-size: 13px; }
dialog.osm-lead button:disabled,.osm-lead-fallback button:disabled { cursor: wait; opacity: .65; }
dialog.osm-lead fieldset,.osm-lead-fallback fieldset { min-width: 0; margin: 0 0 24px; border: 0; padding: 0; }
dialog.osm-lead legend,.osm-lead-fallback legend { margin-bottom: 20px; width: 100%; padding: 0; }
.osm-lead-step { display: block; margin-bottom: 10px; color: var(TOKENwpTOKENpresetTOKENcolorTOKENmuted); font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: normal; }
.osm-lead-question { display: block; font-size: 23px; font-weight: 700; line-height: 1.3; letter-spacing: normal; }
dialog.osm-lead .osm-lead-answer,.osm-lead-fallback .osm-lead-answer { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(TOKENwpTOKENpresetTOKENcolorTOKENline); border-radius: 10px; }
.osm-lead-answer input { flex: 0 0 20px; width: 20px; height: 20px; margin: 0; accent-color: var(TOKENwpTOKENpresetTOKENcolorTOKENaccent); }
.osm-lead-answer:has(input:checked) { border-color: var(TOKENwpTOKENpresetTOKENcolorTOKENaccent); }
.osm-lead-controls,.osm-lead-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.osm-lead-end { padding-block: 32px; border-top: 1px solid var(TOKENwpTOKENpresetTOKENcolorTOKENline); }
.osm-issue-navigation { padding-block: 32px; }
dialog.osm-lead [hidden],.osm-lead-fallback [hidden] { display: none !important; }
.osm-lead-fallback [data-diag-entry],.osm-lead-fallback [data-diag-next],.osm-lead-fallback [data-diag-back] { display: none; }
.osm-lead-fallback.osm-lead-enhanced [data-diag-entry]:not([hidden]),.osm-lead-fallback.osm-lead-enhanced [data-diag-next]:not([hidden]),.osm-lead-fallback.osm-lead-enhanced [data-diag-back]:not([hidden]) { display: block; }
.osm-lead-fallback { max-width: 720px; margin-inline: auto; font-size: 17px; }
.osm-lead-fallback:has([data-diag-entry]) { min-height: max(680px,100dvh); }
.osm-lead-open { overflow: hidden; }
.osm-lead-open body { position: fixed; width: 100%; overflow: hidden; }
dialog.osm-lead [data-lead-status],.osm-lead-fallback [data-lead-status] { padding: 16px; border: 1px solid var(TOKENwpTOKENpresetTOKENcolorTOKENline); border-radius: 10px; background: var(TOKENwpTOKENpresetTOKENcolorTOKENsurface); }
dialog.osm-lead [data-lead-status]:empty,.osm-lead-fallback [data-lead-status]:empty { display: none; }
dialog.osm-lead [data-lead-status] > :first-child,.osm-lead-fallback [data-lead-status] > :first-child { margin-top: 0; }
dialog.osm-lead [data-lead-status] > :last-child,.osm-lead-fallback [data-lead-status] > :last-child { margin-bottom: 0; }
dialog.osm-lead [data-lead-result],.osm-lead-fallback [data-lead-result] { padding: 22px; border-radius: 22px; background: var(TOKENwpTOKENpresetTOKENcolorTOKENlime); }
dialog.osm-lead [data-lead-result] > :first-child,.osm-lead-fallback [data-lead-result] > :first-child { margin-top: 0; }
dialog.osm-lead [data-lead-result] section,.osm-lead-fallback [data-lead-result] section { margin-top: 24px; }
.osm-lead-text,dialog.osm-lead .osm-lead-text { font-size: 13px; font-weight: 700; }
dialog.osm-lead :is(button,input,a,textarea):focus-visible,.osm-lead-fallback :is(button,input,a,textarea):focus-visible { outline: 3px solid var(TOKENwpTOKENpresetTOKENcolorTOKENbrown); outline-offset: 4px; }
dialog.osm-lead [data-lead-status]:focus,dialog.osm-lead [data-lead-result]:focus { outline: none; }
@media (max-width: 599px) { dialog.osm-lead { width: 100%; height: 100dvh; max-width: 100%; max-height: 100dvh; margin: 0; border-radius: 0; border: 0; } .osm-lead-shell { padding: 27px; } dialog.osm-lead h2 { font-size: 30px; } dialog.osm-lead [data-lead-result],.osm-lead-fallback [data-lead-result] { padding: 20px; } .osm-lead-controls { gap: 12px; } }
@media (prefers-reduced-motion: reduce) { dialog.osm-lead,dialog.osm-lead *,.osm-lead-fallback * { scroll-behavior: auto; animation: none; transition: none; } }
.optsus-video > iframe { display: block; }
