/* ============================================================================
   hive-webform.css -- shared patient web form components
   ============================================================================

   WHY THIS FILE EXISTS
   Several templates render the same form primitives (.form-col,
   .has_float_label, .radio_part, label.error, .lbl_radio, the height/weight
   compound field) and each carried its own private copy of the rules. A fix
   landed in one file and silently missed the others -- which is why the same
   defects were reported over and over (checkbox sizing, error-hint size,
   height/weight fill). This file holds ONE copy of each declaration block.

   HOW IT KEEPS THE CASCADE IDENTICAL
   Host scope prefixes are NOT collapsed into a single shared class. Each rule
   lists every host scope verbatim, so every selector keeps the exact
   specificity it has today -- including the descendant steps (.conversion_layout,
   #form-container2) that some hosts need and others do not. Collapsing them
   would drop ~40 documented specificity wins over the legacy base CSS: the
   checkbox would go back to rendering 21x20, the widget radius would revert to
   the per-client value, and so on. Do not "tidy" these selector lists, and do
   not drop a descendant step to make two arms look alike.

   SCOPES
     S1  #conversion_sticker.sticker-form-redesign      sticker-form-template.php
     S2  #conversion_sticker.two-column-form-redesign   sticker-two-column-form-template.php

   S1 and S2 share markup, so selector SHAPES are identical -- but their
   DECLARED VALUES are not. Several components are deliberately different on the
   two-column layout (centred question text, larger pills, a client-configurable
   radius, a .radio_part card that must stay non-!important). Those components
   are therefore S1-ONLY here and stay local in the two-column template. Each
   such rule is marked "S1 only:" with the reason. Do not add an S2 arm to one of
   those without a design decision.

   SCOPES NOT YET SERVED -- add each at ITS OWN migration step, only after
   reading that template's real selectors. Their shapes are NOT the same as
   S1/S2:
     S3  .insurance-form-redesign     fields via #form-container2 input
     S4  .secondary-flow-redesign     fields via #form-container2 .has_float_label input
     S5  .puf-standalone-redesign     fields via #form-container2 .has_float_label.active_float_label input
   live-phone-lead is EXCLUDED from the redesign entirely (moving to the practice
   portal). insurance-template.php also serves the LPL branch -- leave it alone
   when S3 is migrated. scheduleFlow.php renders the calendar and shares none of
   these components.

   LOAD ORDER -- IMPORTANT
   Link this file in <head> AFTER the other stylesheets but BEFORE the
   template's own redesign style block:

       <link rel="stylesheet" href="{base_url}assets/app/css/hive-webform.css">

   While a template still holds its local copy, the later inline block wins on
   source order, so linking this file changes nothing visually. Deleting a local
   rule is what hands that component over. That makes migration reversible one
   component at a time. No CSP nonce is needed -- nonces apply to script tags.

   TOKENS
   This file only CONSUMES tokens; each template declares them on its own scope
   element. Two-column scopes its neutrals under a --tc-* namespace and aliases
   them to the plain names in its own token block, so both hosts resolve here.
       --radius  field/card corner radius. Falls back to 10px when a host does
                 not declare it. Two-column maps it to its client-configurable
                 --tc-radius; do NOT hardcode 10px back into these rules.
       --error   aliased from --tc-error on S2; fallback #DC5A5A kept anyway.

   Canonical source: sticker-form-template.php, the most evolved copy and the
   one corrected against hive-webforms-mockup.html.
   ============================================================================ */


/* ---------------------------------------------------------------------------
   1. FIELDS -- text / select / textarea
   mockup .fld input,.fld select: tinted --bg fill at rest so a blank field
   reads against the white card, going white on focus with the primary ring.
   transition is border-color ONLY -- the mockup does not cross-fade the fill.

   NOTE: the host templates also list .nice-select-wrap, .drop and the
   height/weight inner inputs on this rule. Those have no equivalent across all
   hosts, so they stay in the template as a small local rule.
   --------------------------------------------------------------------------- */
#conversion_sticker.sticker-form-redesign .conversion_layout input,
#conversion_sticker.sticker-form-redesign .conversion_layout select,
#conversion_sticker.sticker-form-redesign .conversion_layout textarea,
#conversion_sticker.two-column-form-redesign .conversion_layout input,
#conversion_sticker.two-column-form-redesign .conversion_layout select,
#conversion_sticker.two-column-form-redesign .conversion_layout textarea{
	background:var(--bg) !important; color:var(--ink) !important;
	border:1.5px solid var(--line) !important; border-radius:var(--radius,10px) !important;
	padding:10px 12px !important; font-size:13.5px !important; height:auto !important;
	box-shadow:none !important; transition:border-color .15s !important;
}

#conversion_sticker.sticker-form-redesign .conversion_layout input:focus,
#conversion_sticker.sticker-form-redesign .conversion_layout select:focus,
#conversion_sticker.sticker-form-redesign .conversion_layout textarea:focus,
#conversion_sticker.two-column-form-redesign .conversion_layout input:focus,
#conversion_sticker.two-column-form-redesign .conversion_layout select:focus,
#conversion_sticker.two-column-form-redesign .conversion_layout textarea:focus{
	background:#fff !important; outline:none !important;
	border-color:var(--primary) !important;
	box-shadow:0 0 0 3px var(--primary-soft) !important;
}

/* Measured live: on focus the ring and border applied but the fill stayed
   tinted -- white was losing to a later declaration of equal specificity. The
   scope class is repeated to win on background ONLY. border-color is
   deliberately NOT boosted: the error rule sits lower, so raising focus's
   border-color would let focus override the red error border. */
#conversion_sticker.sticker-form-redesign.sticker-form-redesign .conversion_layout input:focus,
#conversion_sticker.sticker-form-redesign.sticker-form-redesign .conversion_layout select:focus,
#conversion_sticker.sticker-form-redesign.sticker-form-redesign .conversion_layout textarea:focus,
#conversion_sticker.two-column-form-redesign.two-column-form-redesign .conversion_layout input:focus,
#conversion_sticker.two-column-form-redesign.two-column-form-redesign .conversion_layout select:focus,
#conversion_sticker.two-column-form-redesign.two-column-form-redesign .conversion_layout textarea:focus{
	background-color:#fff !important;
}


/* ---------------------------------------------------------------------------
   2. SELECT -- one shared chevron
   appearance:none strips the native arrow with no replacement, so selects
   rendered inconsistently (Language kept an arrow, Choose treatment had none).
   background-image is paired with background-color as LONGHANDS -- the
   background shorthand in section 1 would reset the image to none.
   --------------------------------------------------------------------------- */
#conversion_sticker.sticker-form-redesign .conversion_layout select,
#conversion_sticker.two-column-form-redesign .conversion_layout select{
	-webkit-appearance:none !important; -moz-appearance:none !important; appearance:none !important;
	background-color:var(--bg) !important;
	background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23767B87' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-repeat:no-repeat !important; background-position:right 12px center !important;
	padding-right:32px !important;
}

/* Keep the chevron on focus -- section 1's focus rule uses the background
   shorthand, which would otherwise clear the image. */
#conversion_sticker.sticker-form-redesign.sticker-form-redesign .conversion_layout select:focus,
#conversion_sticker.two-column-form-redesign.two-column-form-redesign .conversion_layout select:focus{
	background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23767B87' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-repeat:no-repeat !important; background-position:right 12px center !important;
}

/* S1 only: two-column has no select-height rule today, so adding one here would
   change its layout. Revisit when the two templates are reconciled.
   With identical padding, border and font a select still lays out 1px shorter
   than an input. 42px pins them level on paired rows (DOB + Language).
   :not([multiple]):not([size]) is LOAD-BEARING: secondaryFlow.php renders a real
   multi-row <select multiple> for diagnosis codes, and forcing 42px on that
   collapses it to roughly one visible row. */
#conversion_sticker.sticker-form-redesign .conversion_layout select:not([multiple]):not([size]){
	height:42px !important;
	/* 42 - 10 - 10 padding - 3 border leaves a 19px content box, but a 13.5px font's NORMAL line
	   box is ~20px -- one pixel short, which shaves the descenders off g/j/p/q/y. The text looks
	   fine until a label happens to contain one. Pinning the line box to 1.2 (16.2px) makes it fit
	   with room to spare and does not change the control's height. */
	line-height:1.2 !important;
}


/* ---------------------------------------------------------------------------
   3. FIELD LABEL -- static, always above the control
   mockup .fld label: 11.5px / 600 / --muted. The legacy markup puts the span
   AFTER the input, so column-reverse lifts it above without touching the DOM
   (focusinOut() in ivs-input-mask.js still keys off .has_float_label and
   active_float_label).
   --------------------------------------------------------------------------- */

/* S1 only: two-column uses a 4px gap, and folds .float_label_span span into the
   same rule (an arm this file does not carry). Both stay local there. */
#conversion_sticker.sticker-form-redesign .has_float_label:not(.float_label_span){
	display:flex !important; flex-direction:column-reverse !important; gap:5px !important;
}

#conversion_sticker.sticker-form-redesign .has_float_label:not(.float_label_span) > span{
	position:static !important; display:block !important;
	color:var(--muted) !important; font-size:11.5px !important; font-weight:600 !important;
	background:transparent !important;
}

/* This one matches on both hosts. */
#conversion_sticker.sticker-form-redesign .has_float_label:not(.float_label_span) input,
#conversion_sticker.sticker-form-redesign .has_float_label:not(.float_label_span) select,
#conversion_sticker.two-column-form-redesign .has_float_label:not(.float_label_span) input,
#conversion_sticker.two-column-form-redesign .has_float_label:not(.float_label_span) select{
	padding-top:10px !important; padding-bottom:10px !important;
}


/* ---------------------------------------------------------------------------
   4. INLINE ERROR -- red hint under the field, and the red border
   --------------------------------------------------------------------------- */

/* S1 only: two-column uses weight 500 / margin 4px and additionally needs
   max-width:none to defeat a legacy .two_column clamp for text centers
   85/564/565/566. Stays local there.
   mockup .fld .hint: 10.5px / 400 / margin-top 3px. The legacy base CSS
   absolutely positions every label at a stale top offset, which made the error
   overlap the NEXT field once labels moved above their inputs.

   DIVERGENCE: RESOLVED. secondaryFlow and PUF standalone were on the pre-correction
   11.5px / 500 / 4px, with PUF also hardcoding #DC5A5A instead of the token --
   measured live at 11.5px on all 17 hints of the standalone PUF. Both now carry the
   same 10.5px / 400 / 3px / var(--error) as the two scopes here, so all four redesign
   scopes render inline field errors identically and match the mockup's `.fld .hint`.
   See the matching notes in lp/secondaryFlow.php and upload_insurance_card_template.php.
   Note both of those files ALSO have an earlier `.error{font-size:10.5px !important}`
   rule that has never taken effect -- `label.error` is (0,2,1) against its (0,2,0), and
   !important on both means specificity decides. It now agrees rather than conflicts, so
   it was left alone; do not "fix" it by removing one without checking which one wins. */
#conversion_sticker.sticker-form-redesign label.error{
	color:var(--error,#DC5A5A) !important;
	position:static !important;
	background:transparent !important; box-shadow:none !important;
	font-size:10.5px !important; font-weight:400 !important; line-height:1.4 !important;
	text-align:left !important; margin:3px 0 0 !important; padding:0 !important;
}

/* Red border while the paired error is showing. The validation libraries toggle
   label.error via inline style="display:block/none" and add no class to the
   input, so :has() on that inline style is the only reliable hook -- confirmed
   live on the two-column template. No JS change needed. */
#conversion_sticker.sticker-form-redesign .has_float_label:has(+ label.error[style*="display: block"]) input,
#conversion_sticker.sticker-form-redesign .has_float_label:has(+ label.error[style*="display: block"]) select,
#conversion_sticker.sticker-form-redesign input:has(+ label.error[style*="display: block"]),
#conversion_sticker.sticker-form-redesign select:has(+ label.error[style*="display: block"]),
#conversion_sticker.two-column-form-redesign .has_float_label:has(+ label.error[style*="display: block"]) input,
#conversion_sticker.two-column-form-redesign .has_float_label:has(+ label.error[style*="display: block"]) select,
#conversion_sticker.two-column-form-redesign input:has(+ label.error[style*="display: block"]),
#conversion_sticker.two-column-form-redesign select:has(+ label.error[style*="display: block"]){
	border-color:var(--error,#DC5A5A) !important;
}

/* Choice groups and the consent card are CARDS -- the red goes on the container
   that carries the visible border, not on the individual inputs. The label sits
   as a DESCENDANT of .form-col, never as the input's next sibling, so the
   adjacent-sibling rule above never reaches these.
   .lang_dropdown_div is excluded: it carries the legacy .radio_part class but is
   now a plain label+select field. */
#conversion_sticker.sticker-form-redesign .form-col.radio_part:not(.lang_dropdown_div):has(label.error[style*="display: block"]),
#conversion_sticker.two-column-form-redesign .form-col.radio_part:not(.lang_dropdown_div):has(label.error[style*="display: block"]){
	border-color:var(--error,#DC5A5A) !important;
}


/* ---------------------------------------------------------------------------
   5. CHOICE / CONSENT CARD container
   --------------------------------------------------------------------------- */

/* S1 only -- BOTH card rules. Two-column's versions are deliberately different:
   its .radio_part card carries NO !important so it correctly LOSES to the shared
   base CSS !important unsets for the consent / marketing / disclaimer /
   terms-of-service rows; adding !important there would re-fill rows that are
   meant to stay transparent. Its .checkbox_part also uses border:none plus an
   !important background rather than a transparent border. Do not merge these.

   mockup .q{border-radius:12px; padding:13px 14px} for question blocks and
   .consent{border-radius:12px; padding:12px 14px} for the consent row. */
#conversion_sticker.sticker-form-redesign .form-col.radio_part:not(.lang_dropdown_div){
	background:var(--bg) !important;
	border:1.5px solid var(--line) !important;
	border-radius:var(--radius,10px) !important;
}

/* The 1.5px border is kept at full width but made TRANSPARENT rather than
   removed: the error rule above sets border-COLOR only, so a zero-width border
   would leave the consent card with no way to turn red on an empty submit. Cost:
   the card sits 2px taller than the mockup's 83px. That is the deliberate trade.
   font-size and text-align are INHERITED values -- both were wrong on the
   container even though the visible copy looked right, so the nested
   details/summary expander sized off 16px instead of 12px. */
#conversion_sticker.sticker-form-redesign .form-col.radio_part.checkbox_part{
	padding:12px 14px !important; border-radius:12px !important;
	border-color:transparent !important;
	font-size:12px !important; text-align:left !important;
   margin-bottom: 12px;
}

/* Matches on both hosts. The base CSS centres this flex row, which is fine
   collapsed but pushes the checkbox into the middle of the block once "Full
   privacy policy details" expands -- it reads as the checkbox itself moving. */
#conversion_sticker.sticker-form-redesign .form-col.radio_part.checkbox_part .lbl_radio,
#conversion_sticker.two-column-form-redesign .form-col.radio_part.checkbox_part .lbl_radio{
	align-items:flex-start !important;
}


/* ---------------------------------------------------------------------------
   6. CHECKBOX -- 16px square
   THIS IS THE MOST-REGRESSED COMPONENT IN THE PROJECT. It was reported broken
   on Aug 14, Sep 9, Sep 18 (x4) and Sep 22. Every report was a DIFFERENT file:
   the fix was written repeatedly and still missing elsewhere.

   width alone is not enough. Two legacy rules set min-width, and min-width beats
   width, so the box actually rendered 21x20 -- not even square:
       .seletcted-provider-dcbs .form-col.radio_part input{min-width:21px}   (0,3,0)
       .seletcted-provider-dcbs > div > div .lbl_radio > input{min-width:25px} (0,2,3)
   min-width/max-width are what pin it. Do not remove them.

   16px == mockup .consent input{width:16px;height:16px;flex-shrink:0}.
   Merged from both hosts: S1 contributed min-width + flex-shrink, S2 contributed
   box-sizing + flex:0 0 16px (expressed here as max-width + flex-shrink, which
   is equivalent in a flex row).

   DIVERGENCE (decide before adding S4/S5): secondaryFlow and PUF standalone set
   NO size at all and render the native checkbox with only
   accent-color:var(--primary). Adopting this rule is a bug fix; adopting the
   custom checkmark below is a design change.
   --------------------------------------------------------------------------- */
#conversion_sticker.sticker-form-redesign .form-col.radio_part input[type="checkbox"],
#conversion_sticker.two-column-form-redesign .form-col.radio_part input[type="checkbox"]{
	box-sizing:border-box !important;
	border-radius:6px !important; padding:0 !important;
	width:16px !important; height:16px !important;
	min-width:16px !important; max-width:16px !important;
	flex-shrink:0 !important;
}

/* S1 only: two-column draws the glyph at 13px, not 11px. Stays local there.
   transform:none cancels the legacy "salesforce checkbox" rotated-bar rule,
   which otherwise leaves the tick tilted 45deg. */
#conversion_sticker.sticker-form-redesign .form-col.radio_part input[type="checkbox"]:checked:before{
	content:'\2713' !important;
	background:var(--primary) !important; border:none !important; border-radius:3px !important;
	width:100% !important; height:100% !important; left:0 !important; top:0 !important;
	display:flex !important; align-items:center !important; justify-content:center !important;
	color:#fff !important; font-size:11px !important; line-height:1 !important;
	transform:none !important; transform-origin:center !important;
}

/* The same legacy rule draws a second rotated bar via :after -- remove it.
   Matches on both hosts. */
#conversion_sticker.sticker-form-redesign .form-col.radio_part input[type="checkbox"]:checked:after,
#conversion_sticker.two-column-form-redesign .form-col.radio_part input[type="checkbox"]:checked:after{
	content:none !important; display:none !important;
}

/* S1 only: two-column sets margin-top:2px alone and does not zero the label's
   0 10px margin. mockup .consent is display:flex with gap:10px and the input at
   margin:2px 0 0 -- i.e. NO horizontal margin. Reproduced with margin-right
   because this row is not a flex container and making it one would relayout the
   wrapped consent copy. */
#conversion_sticker.sticker-form-redesign .form-col.radio_part.checkbox_part input[type="checkbox"]{
	margin:2px 10px 0 0 !important;
}

#conversion_sticker.sticker-form-redesign .form-col.radio_part.checkbox_part span.lbl_radio{
	margin:0 !important;
}


/* ---------------------------------------------------------------------------
   7. RADIO CHOICES -- pill buttons
   The real input[type=radio] stays in the DOM, fully functional, stretched
   invisible over its pill. Nothing about id/name/value/change events changes --
   only the visual presentation.

   S1 only for the pill's own look, the question text and the selected states:
   two-column centres its question text and its pill row, uses 10px 16px padding
   at 13.5px, and derives its radius from --tc-radius. Those are layout choices
   for the wide two-column form, not drift. All stay local there.
   --------------------------------------------------------------------------- */
#conversion_sticker.sticker-form-redesign .form-col.radio_part:not(.checkbox_part) > div{
	display:flex !important; flex-wrap:wrap !important; gap:8px !important;
	align-items:center !important;
}

/* mockup .q p{font-size:12.5px; line-height:1.55; margin-bottom:10px}, left
   aligned. flex:1 1 100% forces it onto its own row above the pills. */
#conversion_sticker.sticker-form-redesign .form-col.radio_part:not(.checkbox_part) p.subscriber_primary_label{
	flex:1 1 100% !important; text-align:left !important; margin:0 0 10px !important;
	font-size:12.5px !important; line-height:1.55 !important;
}

/* REST text colour is --muted on purpose: the muted/white contrast between rest
   and selected is what makes an unanswered Yes/No pair read as unanswered.
   min-width plus the flex-wrap above is what lets a translated label wrap to two
   lines instead of clipping -- do NOT add white-space:nowrap or a fixed height,
   Google Translate lengthens these strings 20-40%. */
#conversion_sticker.sticker-form-redesign .form-col.radio_part:not(.checkbox_part) span.lbl_radio{
	flex:1 1 auto !important; min-width:80px !important; margin:0 !important;
	position:relative !important; display:flex !important;
	align-items:center !important; justify-content:center !important;
	background:#fff !important; border:1.5px solid var(--line) !important;
	border-radius:var(--radius,10px) !important;
	padding:9px !important; font-weight:700 !important; text-transform:none !important;
	font-size:12.5px !important; color:var(--muted) !important;
	cursor:pointer !important; transition:border-color .15s,color .15s !important;
}

#conversion_sticker.sticker-form-redesign .form-col.radio_part:not(.checkbox_part) span.lbl_radio:hover{
	border-color:var(--primary) !important; color:var(--primary) !important;
}

/* THE HIT AREA -- shared, and the one rule in this section that must reach every
   host. inset:0 + width/height 100% is what makes the WHOLE pill clickable.
   Without it only the native control's own few pixels respond, which is the
   "only the right corner checks it" report from Aug 14 and the "sometimes
   clicking does nothing" report from Sep 22.
   Any hidden state added near these MUST also set pointer-events:none -- an
   opacity:0/height:0 row stays clickable and swallows clicks on real controls.
   min-width/min-height:0 come from secondaryFlow.php, which needed both to
   defeat a legacy min-width on the same element. */
#conversion_sticker.sticker-form-redesign .form-col.radio_part:not(.checkbox_part) span.lbl_radio input[type="radio"],
#conversion_sticker.two-column-form-redesign .form-col.radio_part:not(.checkbox_part) span.lbl_radio input[type="radio"]{
	position:absolute !important; inset:0 !important;
	width:100% !important; height:100% !important;
	min-width:0 !important; min-height:0 !important;
	margin:0 !important; opacity:0 !important; cursor:pointer !important;
}

/* S1 only: two-column has no focus ring on its pills today. The real radio is
   opacity:0, so its UA focus ring is invisible and keyboard users had no way to
   see which pill they were on. :focus-visible keeps it off during mouse clicks. */
#conversion_sticker.sticker-form-redesign .form-col.radio_part:not(.checkbox_part) span.lbl_radio:has(input:focus-visible){
	box-shadow:0 0 0 3px var(--primary-soft) !important;
}

/* S1 only -- the pill look these depend on is S1 only.
   TWO selected treatments, and they are not interchangeable:
     .puf-radio-yesno -> filled primary + white text   (genuine Yes/No only)
     everything else  -> --primary-soft tint + border  (other single-choice lists)
   Filling every checked pill made "Gender at birth: Male/Female" render solid
   while "Gender identity" right below it rendered as a light card. */
#conversion_sticker.sticker-form-redesign .form-col.radio_part.puf-radio-yesno:not(.checkbox_part) span.lbl_radio:has(input:checked){
	background:var(--primary) !important; border-color:var(--primary) !important; color:#fff !important;
}

#conversion_sticker.sticker-form-redesign .form-col.radio_part:not(.checkbox_part):not(.puf-radio-yesno) span.lbl_radio:has(input:checked){
	background:var(--primary-soft) !important; border-color:var(--primary) !important; color:var(--ink) !important;
}


/* ---------------------------------------------------------------------------
   8. HEIGHT / WEIGHT compound field
   The whole row is ONE field: .transparent_part owns the fill, border and focus
   ring; the sub-inputs inside go transparent so the row is not double-boxed.
   Giving the sub-inputs their own fill turned the inner input WHITE inside the
   grey wrapper on focus, with the label's grey patch cutting across its top
   border -- reported repeatedly as "height/weight design break".

   The .conversion_layout step is REQUIRED on every arm here: both hosts carry it
   (unlike sections 3 and 5-7), and dropping it would lower these rules from
   (1,4,0) to (1,3,0).
   --------------------------------------------------------------------------- */
#conversion_sticker.sticker-form-redesign .conversion_layout .form-col.height_part .transparent_part,
#conversion_sticker.sticker-form-redesign .conversion_layout .form-col.weight_part .transparent_part,
#conversion_sticker.sticker-form-redesign .conversion_layout .form-col.height_cm_part .transparent_part,
#conversion_sticker.sticker-form-redesign .conversion_layout .form-col.weight_kg_part .transparent_part,
#conversion_sticker.two-column-form-redesign .conversion_layout .form-col.height_part .transparent_part,
#conversion_sticker.two-column-form-redesign .conversion_layout .form-col.weight_part .transparent_part,
#conversion_sticker.two-column-form-redesign .conversion_layout .form-col.height_cm_part .transparent_part,
#conversion_sticker.two-column-form-redesign .conversion_layout .form-col.weight_kg_part .transparent_part{
	background:var(--bg) !important;
	border:1.5px solid var(--line) !important; border-radius:var(--radius,10px) !important;
	transition:border-color .15s !important;
}

/* The focus affordance belongs on the wrapper -- the sub-inputs are transparent
   and cannot show it themselves. */
#conversion_sticker.sticker-form-redesign .conversion_layout .form-col.height_part .transparent_part:focus-within,
#conversion_sticker.sticker-form-redesign .conversion_layout .form-col.weight_part .transparent_part:focus-within,
#conversion_sticker.sticker-form-redesign .conversion_layout .form-col.height_cm_part .transparent_part:focus-within,
#conversion_sticker.sticker-form-redesign .conversion_layout .form-col.weight_kg_part .transparent_part:focus-within,
#conversion_sticker.two-column-form-redesign .conversion_layout .form-col.height_part .transparent_part:focus-within,
#conversion_sticker.two-column-form-redesign .conversion_layout .form-col.weight_part .transparent_part:focus-within,
#conversion_sticker.two-column-form-redesign .conversion_layout .form-col.height_cm_part .transparent_part:focus-within,
#conversion_sticker.two-column-form-redesign .conversion_layout .form-col.weight_kg_part .transparent_part:focus-within{
	border-color:var(--primary) !important;
	box-shadow:0 0 0 3px var(--primary-soft) !important;
	background:#fff !important;
}

/* Sub-inputs and their inner labels go bare -- the wrapper is the field. */
#conversion_sticker.sticker-form-redesign .conversion_layout .height_inner_part .form-control,
#conversion_sticker.sticker-form-redesign .conversion_layout .height_inner_part span,
#conversion_sticker.sticker-form-redesign .conversion_layout .weight_inner_part .form-control,
#conversion_sticker.sticker-form-redesign .conversion_layout .weight_inner_part span,
#conversion_sticker.two-column-form-redesign .conversion_layout .height_inner_part .form-control,
#conversion_sticker.two-column-form-redesign .conversion_layout .height_inner_part span,
#conversion_sticker.two-column-form-redesign .conversion_layout .weight_inner_part .form-control,
#conversion_sticker.two-column-form-redesign .conversion_layout .weight_inner_part span{
	background:transparent !important; color:var(--ink) !important;
}

/* Each sub-input keeps a border so it still reads as its own control. */
#conversion_sticker.sticker-form-redesign .conversion_layout .height_inner_part .form-control,
#conversion_sticker.sticker-form-redesign .conversion_layout .weight_inner_part .form-control,
#conversion_sticker.two-column-form-redesign .conversion_layout .height_inner_part .form-control,
#conversion_sticker.two-column-form-redesign .conversion_layout .weight_inner_part .form-control{
	border:1.5px solid var(--line) !important; box-shadow:none !important;
	border-radius:var(--radius,10px) !important;
}

/* A :focus variant is REQUIRED, not optional. Section 1's focus rules
   out-specify the plain rule above on element count, so without this the inner
   input would still take background:#fff on focus and re-create the
   white-box-inside-grey-box bug. */
#conversion_sticker.sticker-form-redesign .conversion_layout .height_inner_part .form-control:focus,
#conversion_sticker.sticker-form-redesign .conversion_layout .weight_inner_part .form-control:focus,
#conversion_sticker.two-column-form-redesign .conversion_layout .height_inner_part .form-control:focus,
#conversion_sticker.two-column-form-redesign .conversion_layout .weight_inner_part .form-control:focus{
	background:transparent !important; box-shadow:none !important; outline:none !important;
	border-color:var(--primary) !important;
}

/* Section 4's adjacent-sibling rule cannot reach these rows: the markup is
   .height_inner_part > [.has_float_label > input] x2 + div.clear + label.error,
   so the label is never the input's immediate next sibling -- which is why
   height never turned red while weight happened to work. The red goes on the
   wrapper, and this must out-specify the :focus-within rule above so a field
   that is both focused and invalid shows red rather than the focus colour. */
#conversion_sticker.sticker-form-redesign .conversion_layout .form-col.height_part .transparent_part:has(label.error[style*="display: block"]),
#conversion_sticker.sticker-form-redesign .conversion_layout .form-col.weight_part .transparent_part:has(label.error[style*="display: block"]),
#conversion_sticker.sticker-form-redesign .conversion_layout .form-col.height_cm_part .transparent_part:has(label.error[style*="display: block"]),
#conversion_sticker.sticker-form-redesign .conversion_layout .form-col.weight_kg_part .transparent_part:has(label.error[style*="display: block"]),
#conversion_sticker.two-column-form-redesign .conversion_layout .form-col.height_part .transparent_part:has(label.error[style*="display: block"]),
#conversion_sticker.two-column-form-redesign .conversion_layout .form-col.weight_part .transparent_part:has(label.error[style*="display: block"]),
#conversion_sticker.two-column-form-redesign .conversion_layout .form-col.height_cm_part .transparent_part:has(label.error[style*="display: block"]),
#conversion_sticker.two-column-form-redesign .conversion_layout .form-col.weight_kg_part .transparent_part:has(label.error[style*="display: block"]){
	border-color:var(--error,#DC5A5A) !important;
}


/* ============================================================================
   9. STEP PROCESS -- step label + progress bar
   ============================================================================
   Consolidated from FIVE private copies (30 declaration blocks): the two
   sticker templates, insurance-template.php, scheduleFlow.php and
   secondaryFlow.php. They had drifted apart in exactly the way this file's
   header warns about -- a fix to the rejection state had to be written three
   times, and the success state was missed on one host entirely.

   SCOPES ADDED HERE (S1/S2 above are the sticker widgets):
     S3  .insurance-form-redesign     insurance-template.php  (insurance + consultation)
     S4  .schedule-flow-redesign      scheduleFlow.php        (AJAX-injected fragment)
     S5  .secondary-flow-redesign     secondaryFlow.php       (AJAX-injected fragment)

   WHY S4/S5 MUST LIVE IN A HOST STYLESHEET, NOT IN THE FRAGMENT
   scheduleFlow.php and secondaryFlow.php are injected by AJAX and REMOVED from
   the DOM when the outcome screen takes over -- their inline <style> goes with
   them. Rules that must survive that (the ones a later screen still needs) have
   to be in a file the HOST loads. This is the same trap that left the booking
   confirmation card unstyled: a CSSOM scan on that screen found zero matching
   rules because the fragment carrying them was already gone.

   TWO FAMILIES, DELIBERATELY NOT MERGED
   .lp-* renders on a WHITE card (muted grey label, --line track).
   .sticker-* renders on the NAVY widget header (translucent white label and
   track). Same shapes, different declared values -- so they stay separate
   blocks, per this file's "if the values differ, keep it separate" rule.

   WHAT STAYED IN THE TEMPLATES
   Only genuine per-host deltas: the .lp-step-indicator text-align on S3 and the
   three different .lp-progress-bar bottom margins (S3 20px / S4 0 / S5 14px),
   which are spacing against different surrounding content. Everything else --
   including every `span` and `span.on` declaration, which were byte-identical
   across all three -- is defined once, here.

   The step NUMBER and LABEL are never set here. They are computed in PHP by
   hive_widget_last_form_step_num(), which reads the practice's
   `inside_initial_form_order` ("secondary_scheduling" vs "scheduling_secondary")
   so the secondary and scheduling screens swap positions per client. CSS must
   stay order-agnostic; only JS writes the text.
   ---------------------------------------------------------------------------- */

/* 9a. Step label */
#conversion_sticker.sticker-form-redesign .sticker-step-indicator,
#conversion_sticker.two-column-form-redesign .sticker-step-indicator{
	color:rgba(255,255,255,.8) !important;
	/* 400, not 500: the mockup's .w-sub declares no font-weight, so it inherits the
	   body's 400. 500 rendered the step line heavier than the mockup. */
	font-size:11.5px !important; font-weight:400 !important; margin-top:2px !important;
}
.insurance-form-redesign .lp-step-indicator,
.schedule-flow-redesign .lp-step-indicator,
.secondary-flow-redesign .lp-step-indicator{
	color:var(--muted) !important; font-size:11.5px !important; font-weight:500 !important;
	margin:0 !important;
}

/* 9b. Progress bar container */
#conversion_sticker.sticker-form-redesign .sticker-progress-bar,
#conversion_sticker.two-column-form-redesign .sticker-progress-bar{
	display:flex !important; gap:6px !important; margin-top:12px !important;
}
.insurance-form-redesign .lp-progress-bar,
.schedule-flow-redesign .lp-progress-bar,
.secondary-flow-redesign .lp-progress-bar{
	display:flex !important; gap:6px !important;
}

/* 9c. Segments -- unfilled track */
#conversion_sticker.sticker-form-redesign .sticker-progress-bar span,
#conversion_sticker.two-column-form-redesign .sticker-progress-bar span{
	flex:1 !important; height:4px !important; border-radius:4px !important;
	background:rgba(255,255,255,.25) !important; transition:background .3s !important;
}
.insurance-form-redesign .lp-progress-bar span,
.schedule-flow-redesign .lp-progress-bar span,
.secondary-flow-redesign .lp-progress-bar span{
	flex:1 !important; height:4px !important; border-radius:4px !important;
	background:var(--line) !important; transition:background .3s !important;
}

/* 9d. Segments -- filled. `.on` is written by hiveSetWidgetStep() in
   lp/js/landing_template.js, the single place that advances the step. */
#conversion_sticker.sticker-form-redesign .sticker-progress-bar span.on,
#conversion_sticker.two-column-form-redesign .sticker-progress-bar span.on,
.insurance-form-redesign .lp-progress-bar span.on,
.schedule-flow-redesign .lp-progress-bar span.on,
.secondary-flow-redesign .lp-progress-bar span.on{
	background:var(--accent) !important;
}

/* 9e. Rejection = end of flow, so the bar reads COMPLETE.
   Every rejection reason sets .active_err_msg on .thank_you_detail_part, so one
   rule per family covers all of them. Success fills the bar through
   hiveSetWidgetStep() instead, which is why this is error-state only. */
#conversion_sticker.sticker-form-redesign:has(.thank_you_detail_part.active_err_msg) .sticker-progress-bar span,
#conversion_sticker.two-column-form-redesign:has(.thank_you_detail_part.active_err_msg) .sticker-progress-bar span,
.insurance-form-redesign:has(.thank_you_detail_part.active_err_msg) .lp-progress-bar span{
	background:var(--accent) !important;
}
/* CORRECTION to 9e's stated assumption ("every rejection reason sets .active_err_msg").
   That is NOT true of the PUF triaging auto_reject. .active_err_msg is added by
   lp/js/landing_template.js for duplicate-phone and insurance rejections, but the triaging
   reject path lives in assets/app/js/ivs-input-mask.js and never adds it -- so on a
   "not a candidate for treatment" outcome the rule above simply never matched and the bar
   was left reading 2 of 3 on what is the patient's final screen.

   This arm keys off the outcome container being REVEALED instead. The reject paths give
   .thank_you_container an inline display:block (measured live), which is the same signal the
   blank-screen fix in insurance-template.php keys on and is therefore known to be present on
   exactly the path that was failing.

   Deliberately CSS rather than JS: the reject logic has ~36 branches and the branch that
   actually fires on a live auto_reject is not the one the code reads as if it were, so any
   fix attached to a specific branch can miss. A rule driven by the rendered outcome cannot.
   Covers the bar only -- the header TEXT still comes from hiveSetWidgetStep(). */
.insurance-form-redesign:has(.thank_you_container[style*="display: block"]) .lp-progress-bar span,
.insurance-form-redesign:has(.thank_you_container[style*="display:block"]) .lp-progress-bar span{
	background:var(--accent) !important;
}


/* ============================================================================
   10. MOCKUP PARITY -- hive-webforms-mockup.html values the hosts had drifted from
   ============================================================================
   Found by the 2026-11-05 design audit (skills/e2e/reports/patient-pages-design-audit_*).
   Each rule quotes the mockup class it reproduces. This file loads BEFORE each template's
   own <style> block, so where a template already sets the same property the selector here
   repeats a scope class purely to out-rank it -- that is deliberate, do not "tidy" it.
   ---------------------------------------------------------------------------- */

/* 10a. Icon font. The redesign's universal Poppins rules (".x-redesign *") also reached the
   LineAwesome glyphs, so every `la la-*` icon rendered as an empty box (seen before "Text me if
   an earlier appointment opens up"). One class step out-ranks each universal rule. */
.insurance-form-redesign .la, .insurance-form-redesign [class^="la-"], .insurance-form-redesign [class*=" la-"],
.schedule-flow-redesign .la, .schedule-flow-redesign [class^="la-"], .schedule-flow-redesign [class*=" la-"],
.secondary-flow-redesign .la, .secondary-flow-redesign [class^="la-"], .secondary-flow-redesign [class*=" la-"],
#conversion_sticker.sticker-form-redesign .la, #conversion_sticker.sticker-form-redesign [class^="la-"], #conversion_sticker.sticker-form-redesign [class*=" la-"],
#conversion_sticker.two-column-form-redesign .la, #conversion_sticker.two-column-form-redesign [class^="la-"], #conversion_sticker.two-column-form-redesign [class*=" la-"]{
	font-family:"LineAwesome" !important;
}
/* Same cause, pseudo-element: the theme draws every Bootstrap ".close" as a LineAwesome glyph in
   ::before (and hides the "x" span). ::before inherits the button's forced Poppins, so the close
   button of every LP modal showed an empty box. */
.insurance-form-redesign .close::before, .schedule-flow-redesign .close::before, .secondary-flow-redesign .close::before,
#conversion_sticker.sticker-form-redesign .close::before, #conversion_sticker.two-column-form-redesign .close::before{
	font-family:"LineAwesome" !important;
}

/* 10b. Consent copy -- mockup .consent{font-size:12px; color:#45505F}; the bold lead-in is the
   same size. "#opt_text_msg + span{font-size:15px !important}" (1,0,1) in the host templates
   made "Reply STOP anytime." larger than the bold sentence before it. */
.insurance-form-redesign #opt_text_msg + span.opt_in_message,
#conversion_sticker.sticker-form-redesign #opt_text_msg + span.opt_in_message,
#conversion_sticker.two-column-form-redesign #opt_text_msg + span.opt_in_message{
	font-size:12px !important; line-height:1.5 !important; color:#45505F !important;
}
.insurance-form-redesign #opt_text_msg + span.opt_in_message > b,
#conversion_sticker.sticker-form-redesign #opt_text_msg + span.opt_in_message > b,
#conversion_sticker.two-column-form-redesign #opt_text_msg + span.opt_in_message > b{
	font-size:inherit !important; line-height:inherit !important;
}

/* 10c. Height / Weight / Gender headings are FIELD LABELS -- mockup .fld label
   {font-size:11.5px; font-weight:600; color:var(--muted); margin-bottom:5px}. They rendered
   larger/regular (Height, Weight) or as 14px ink question text (Gender), unlike every other
   label on the form. Long Yes/No questions keep the .q p question style. */
#conversion_sticker.sticker-form-redesign.sticker-form-redesign .conversion_layout .form-col p.lbl_height,
#conversion_sticker.sticker-form-redesign.sticker-form-redesign .conversion_layout .form-col p.lbl_weight,
#conversion_sticker.sticker-form-redesign.sticker-form-redesign .conversion_layout .gender-section[data-field-div] .form-col.radio_part p.subscriber_primary_label,
#conversion_sticker.two-column-form-redesign.two-column-form-redesign .conversion_layout .form-col p.lbl_height,
#conversion_sticker.two-column-form-redesign.two-column-form-redesign .conversion_layout .form-col p.lbl_weight,
#conversion_sticker.two-column-form-redesign.two-column-form-redesign .conversion_layout .gender-section[data-field-div] .form-col.radio_part p.subscriber_primary_label,
.insurance-form-redesign.insurance-form-redesign :is(#form-container2,#form-container3) .form-col p.lbl_height,
.insurance-form-redesign.insurance-form-redesign :is(#form-container2,#form-container3) .form-col p.lbl_weight,
.insurance-form-redesign.insurance-form-redesign :is(#form-container2,#form-container3) .gender-section .form-col.radio_part p.subscriber_primary_label{
	color:var(--muted,#767B87) !important; font-size:11.5px !important; font-weight:600 !important;
	line-height:1.4 !important; text-align:left !important; font-family:'Poppins',system-ui,-apple-system,sans-serif !important;
}

/* 10c-2. EVERY radio question label = the same field label as Gender above (Nenshi, 2026-11-05:
   "Gender label and Are you a new or returning patient? label both are different"). The question
   prompts (new/returning, surgery before, policyholder, dynamic Yes/No questions -- step 1 and the
   step-2 PUF) were 12.5-13.5px ink, regular, and centred on the two-column widget, beside an 11.5px /
   600 / --muted Gender label. The numbered "Please check yes/no for each of the below" list is a
   list, not a single field label, and keeps its own styling. */
#conversion_sticker.sticker-form-redesign.sticker-form-redesign .conversion_layout .form-row .form-col.radio_part:not(.checkbox_part):not(.lang_dropdown_div) :is(p.subscriber_primary_label,p.insurance_policyholder_subscriber_label):not(li p),
#conversion_sticker.two-column-form-redesign.two-column-form-redesign .conversion_layout .form-row .form-col.radio_part:not(.checkbox_part):not(.lang_dropdown_div) :is(p.subscriber_primary_label,p.insurance_policyholder_subscriber_label):not(li p),
.insurance-form-redesign.insurance-form-redesign :is(#form-container2,#form-container3) .form-row .form-col.radio_part:not(.checkbox_part):not(.lang_dropdown_div) :is(p.subscriber_primary_label,p.insurance_policyholder_subscriber_label):not(li p),
.secondary-flow-redesign.secondary-flow-redesign #form-container2 .form-row .form-col.radio_part:not(.checkbox_part):not(.lang_dropdown_div) :is(p.subscriber_primary_label,p.insurance_policyholder_subscriber_label):not(li p){
	color:var(--muted,#767B87) !important; font-size:11.5px !important; font-weight:600 !important;
	line-height:1.4 !important; text-align:left !important; margin:0 0 5px !important;
	font-family:'Poppins',system-ui,-apple-system,sans-serif !important;
}

/* 10c-3. Dropdown labels on the insurance page and the step-2 PUF -- the same <p class=
   "sticker-select-label"> the widget already renders ("Choose treatment"), styled as a mockup
   .fld label. The widget arm lives in the sticker templates. */
.insurance-form-redesign .sticker-select-label,
.secondary-flow-redesign .sticker-select-label{
	display:block !important; margin:0 0 5px !important; padding:0 !important; text-align:left !important;
	color:var(--muted,#767B87) !important; font-size:11.5px !important; font-weight:600 !important; line-height:1.4 !important;
	font-family:'Poppins',system-ui,-apple-system,sans-serif !important;
}

/* 10d. Yes/No = mockup .yn -- ONE look for every two-option answer:
   .yn{display:flex;gap:8px} .yn button{flex:1;border:1.5px solid var(--line);background:#fff;
   border-radius:10px;padding:9px;font-weight:700;font-size:12.5px;color:var(--muted)}
   .yn button.sel{background:var(--navy);border-color:var(--navy);color:#fff}
   The insurance page (step 2) showed three variants side by side: uppercase "YES/NO" (legacy
   ".FL_Bariatrix_page #form-container2 .form-col.radio_part .lbl_radio{text-transform:uppercase}"),
   full-width sentence case, and small centred pills (dynamic Yes/No questions, sized to their text by
   ".landing_page_layout .form_container #form-container2 .dynamic_question_radio ... :not(.puf-radio-wide)
   {flex:0 0 auto; width:auto}" (1,6,0)). Only the visual changes -- the radios, names and values do not. */
.insurance-form-redesign.insurance-form-redesign :is(#form-container2,#form-container3) .form-col.radio_part:not(.checkbox_part) span.lbl_radio{
	text-transform:none !important; font-size:12.5px !important; font-weight:700 !important;
}
.insurance-form-redesign.insurance-form-redesign :is(#form-container2,#form-container3) .dynamic_question_radio .form-col.radio_part.puf-radio-yesno div[role="listitem"]{
	display:flex !important; gap:8px !important; justify-content:stretch !important;
}
.insurance-form-redesign.insurance-form-redesign :is(#form-container2,#form-container3) .dynamic_question_radio .form-col.radio_part.puf-radio-yesno div[role="listitem"] > span.lbl_radio{
	flex:1 1 0% !important; width:auto !important; min-width:0 !important; margin:0 !important;
}
/* Widget (sticker) PUF: a selected answer rendered as a light tint (hive-webform.css section 7 gives
   step-1 option lists the .opt tint). Inside the PUF every host fills the selected answer navy
   (secondaryFlow.php), and a Yes/No is a mockup .yn -- so the widget PUF matches the insurance page.
   Step-1 option lists (Gender etc.) keep the section-7 tint. Repeated id = rank only. */
#conversion_sticker#conversion_sticker.sticker-form-redesign #initial_with_secondary .form-col.radio_part:not(.checkbox_part) span.lbl_radio:has(input[type="radio"]:checked),
#conversion_sticker#conversion_sticker #initial_with_secondary .form-col.radio_part .lbl_radio.puf-radio-wide:has(input[type="radio"]:checked){
	background:var(--primary,#1B3A6B) !important; border-color:var(--primary,#1B3A6B) !important; color:#fff !important;
}
#conversion_sticker#conversion_sticker.sticker-form-redesign #initial_with_secondary .form-col.radio_part:not(.checkbox_part) span.lbl_radio:has(input[type="radio"]:checked) .radio_label,
#conversion_sticker#conversion_sticker #initial_with_secondary .form-col.radio_part .lbl_radio.puf-radio-wide:has(input[type="radio"]:checked) .radio_label{
	color:#fff !important;
}

/* 10e. Step-2 (in-form PUF) controls = mockup .fld input/select: 1.5px --line border, 10px radius,
   10px 12px padding, 13.5px -> 42px, the same height as the step-1 fields above them.
   secondaryFlow.php had pinned these to 36px (inputs) / 38px (selects) to match the standalone
   uic/ PUF, and restored the OS select arrow. The mockup is the reference, so both now match the
   42px step-1 fields and use the shared chevron (hive-webform.css section 2). The standalone uic/
   page keeps its own metrics in upload_insurance_card_template.php. */
.secondary-flow-redesign.secondary-flow-redesign #form-container2 input:is([type="text"],[type="tel"],[type="number"],[type="email"]),
.secondary-flow-redesign.secondary-flow-redesign #form-container2 select:not([multiple]):not([size]),
.insurance-form-redesign.insurance-form-redesign #initial_with_secondary #form-container2 select:not([multiple]):not([size]),
#conversion_sticker#conversion_sticker #initial_with_secondary input:is([type="text"],[type="tel"],[type="number"],[type="email"]),
#conversion_sticker#conversion_sticker #initial_with_secondary select:not([multiple]):not([size]){
	height:42px !important; box-sizing:border-box !important; border-width:1.5px !important;
	border-radius:var(--radius,10px) !important; font-size:13.5px !important;
}
.secondary-flow-redesign.secondary-flow-redesign #form-container2 select:not([multiple]):not([size]),
.secondary-flow-redesign.secondary-flow-redesign #form-container2 select:not([multiple]):not([size]):focus,
.insurance-form-redesign.insurance-form-redesign #initial_with_secondary #form-container2 select:not([multiple]):not([size]),
.insurance-form-redesign.insurance-form-redesign #initial_with_secondary #form-container2 select:not([multiple]):not([size]):focus,
#conversion_sticker#conversion_sticker #initial_with_secondary select:not([multiple]):not([size]),
#conversion_sticker#conversion_sticker #initial_with_secondary select:not([multiple]):not([size]):focus{
	-webkit-appearance:none !important; -moz-appearance:none !important; appearance:none !important;
	background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23767B87' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-repeat:no-repeat !important; background-position:right 12px center !important;
	padding:0 32px 0 12px !important; line-height:1.2 !important;
}
.secondary-flow-redesign.secondary-flow-redesign #form-container2 select:not([multiple]):not([size]):not(:focus),
.insurance-form-redesign.insurance-form-redesign #initial_with_secondary #form-container2 select:not([multiple]):not([size]):not(:focus),
#conversion_sticker#conversion_sticker #initial_with_secondary select:not([multiple]):not([size]):not(:focus){
	background-color:var(--bg,#F4F5F9) !important;
}

/* 10f. Height / Weight error = ONE red box. The wrapper (.transparent_part) is the field; on the
   insurance page the inner Feet/Inches/Lbs inputs ALSO turned red via
   ".insurance-form-redesign .form-col:has(label.error...) .form-control", giving nested red boxes.
   In the widget neither turned red. assets/app/js/CLAUDE.md: "Don't border the container AND the
   control. Reset the inner one." -- border shorthand on the wrapper because it may have no width. */
.insurance-form-redesign.insurance-form-redesign .form-col:has(label.error[style*="display: block"]) .transparent_part .form-control,
.insurance-form-redesign.insurance-form-redesign #initial_with_secondary .form-col:has(label.error[style*="display: block"]) .transparent_part .has_float_label input,
#conversion_sticker#conversion_sticker .form-col:is(.height_part,.weight_part,.height_cm_part,.weight_kg_part):has(label.error[style*="display: block"]) .transparent_part input{
	border-color:var(--line,#E4E6EE) !important;
}
:is(.insurance-form-redesign,#conversion_sticker) .form-col:is(.height_part,.weight_part,.height_cm_part,.weight_kg_part):has(label.error[style*="display: block"]) .transparent_part{
	border:1.5px solid var(--error,#DC5A5A) !important;
}
/* Widget PUF: the procedure select and the question cards showed their error text with no red
   border (the insurance page showed both). */
#conversion_sticker#conversion_sticker #initial_with_secondary .form-col:not(.radio_part):has(label.error[style*="display: block"]) select{
	border-color:var(--error,#DC5A5A) !important;
}
#conversion_sticker#conversion_sticker #initial_with_secondary .form-col.radio_part:not(.checkbox_part):has(label.error[style*="display: block"]){
	border:1.5px solid var(--error,#DC5A5A) !important;
}

/* 10g. Step-2 header width. ivs-main.css (loaded with the PUF fragment) gives
   ".FL_Bariatrix_page .form_img_part" 25px side padding, so the step label and progress bar shrank
   from 500px to 450px and re-centred when the patient reached step 2. */
.insurance-form-redesign .left_part > .form_img_part{
	padding-left:0 !important; padding-right:0 !important;
}
/* Same source on mobile: ivs-main.css gives the card's ".inner_padd" wrapper 15px side padding, so
   at 375px the whole card narrowed from a 16px to a 31px side margin when step 2 loaded. */
.insurance-form-redesign .layout > .inner_padd{
	padding-left:0 !important; padding-right:0 !important;
}

/* 10i. "Choose Appointment Type" pop-up (scheduleFlow.php #appointment_type_modal). It was still the
   legacy Bootstrap dialog: thin grey title, orange square Submit, an "x" that rendered as an empty box
   (the Poppins file in use has no U+00D7), and orange radio dots. Rebuilt from mockup tokens only:
   card = .l-card (radius 18, shadow), question = .q p, the two choices = .yn, Submit = .cta, Close =
   .cta.ghost. The real radios stay in place, invisible over each button, so data-act="change_app_type"
   and the existing handlers are untouched. The same id is reused on BSS/practice pages -- every rule
   here is host-scoped so those are not affected. */
:is(.insurance-form-redesign,#conversion_sticker,.schedule-flow-redesign) #appointment_type_modal .modal-content{
	border:none !important; border-radius:18px !important; overflow:hidden !important;
	box-shadow:0 20px 60px rgba(0,0,0,.28) !important; font-family:'Poppins',system-ui,-apple-system,sans-serif !important;
}
:is(.insurance-form-redesign,#conversion_sticker,.schedule-flow-redesign) #appointment_type_modal .modal-header{
	border-bottom:none !important; padding:22px 22px 4px !important; align-items:center !important;
}
:is(.insurance-form-redesign,#conversion_sticker,.schedule-flow-redesign) #appointment_type_modal .modal-title{
	font-size:18px !important; font-weight:700 !important; color:var(--ink,#23262E) !important; line-height:1.3 !important;
}
:is(.insurance-form-redesign,#conversion_sticker,.schedule-flow-redesign) #appointment_type_modal .modal-header .close{
	width:30px !important; height:30px !important; margin:0 !important; padding:0 !important; border-radius:8px !important;
	display:flex !important; align-items:center !important; justify-content:center !important;
	color:var(--muted,#767B87) !important; opacity:1 !important; text-shadow:none !important; background:transparent !important;
}
:is(.insurance-form-redesign,#conversion_sticker,.schedule-flow-redesign) #appointment_type_modal .modal-header .close:hover{
	background:var(--bg,#F4F5F9) !important; color:var(--ink,#23262E) !important;
}
:is(.insurance-form-redesign,#conversion_sticker,.schedule-flow-redesign) #appointment_type_modal .modal-header .close span{
	font-family:Arial,Helvetica,sans-serif !important; font-size:22px !important; font-weight:400 !important; line-height:1 !important;
}
:is(.insurance-form-redesign,#conversion_sticker,.schedule-flow-redesign) #appointment_type_modal .modal-body{
	padding:10px 22px 6px !important;
}
:is(.insurance-form-redesign,#conversion_sticker,.schedule-flow-redesign) #appointment_type_modal .modal-body h5{
	font-size:13.5px !important; font-weight:600 !important; color:var(--ink,#23262E) !important;
	line-height:1.55 !important; margin:0 0 12px !important;
}
:is(.insurance-form-redesign,#conversion_sticker,.schedule-flow-redesign) #appointment_type_modal .m-radio-inline.app_radio{
	display:flex !important; gap:8px !important; margin:0 !important; padding:0 !important; min-height:0 !important;
}
:is(.insurance-form-redesign,#conversion_sticker,.schedule-flow-redesign) #appointment_type_modal .app_radio .m-radio{
	flex:1 1 0% !important; position:relative !important; margin:0 !important; padding:9px !important;
	display:flex !important; align-items:center !important; justify-content:center !important;
	background:#fff !important; border:1.5px solid var(--line,#E4E6EE) !important; border-radius:10px !important;
	font-size:12.5px !important; font-weight:700 !important; color:var(--muted,#767B87) !important;
	cursor:pointer !important; transition:border-color .12s,color .12s !important;
}
:is(.insurance-form-redesign,#conversion_sticker,.schedule-flow-redesign) #appointment_type_modal .app_radio .m-radio:hover{
	border-color:var(--primary,#1B3A6B) !important; color:var(--primary,#1B3A6B) !important;
}
:is(.insurance-form-redesign,#conversion_sticker,.schedule-flow-redesign) #appointment_type_modal .app_radio .m-radio:has(input:checked){
	background:var(--primary,#1B3A6B) !important; border-color:var(--primary,#1B3A6B) !important; color:#fff !important;
}
:is(.insurance-form-redesign,#conversion_sticker,.schedule-flow-redesign) #appointment_type_modal .app_radio .m-radio > input{
	position:absolute !important; inset:0 !important; width:100% !important; height:100% !important;
	margin:0 !important; opacity:0 !important; cursor:pointer !important; z-index:1 !important;
}
:is(.insurance-form-redesign,#conversion_sticker,.schedule-flow-redesign) #appointment_type_modal .app_radio .m-radio > span{
	display:none !important;
}
:is(.insurance-form-redesign,#conversion_sticker,.schedule-flow-redesign) #appointment_type_modal .modal-footer{
	border-top:none !important; padding:16px 22px 22px !important; display:flex !important; gap:10px !important;
	flex-wrap:nowrap !important;
}
:is(.insurance-form-redesign,#conversion_sticker,.schedule-flow-redesign) #appointment_type_modal .modal-footer > *{
	flex:1 1 0% !important; margin:0 !important; height:auto !important; min-height:0 !important;
	padding:13px !important; border-radius:12px !important; font-size:14px !important; line-height:1.2 !important;
	font-family:'Poppins',system-ui,-apple-system,sans-serif !important; text-align:center !important; cursor:pointer !important;
}
:is(.insurance-form-redesign,#conversion_sticker,.schedule-flow-redesign) #appointment_type_modal .modal-footer .change_location_using_appointment_type{
	background:var(--accent,#C9973A) !important; border:1.5px solid var(--accent,#C9973A) !important; color:#fff !important; font-weight:700 !important;
}
:is(.insurance-form-redesign,#conversion_sticker,.schedule-flow-redesign) #appointment_type_modal .modal-footer .change_location_using_appointment_type:hover{
	background:var(--accent-dark,#B0842E) !important; border-color:var(--accent-dark,#B0842E) !important;
}
:is(.insurance-form-redesign,#conversion_sticker,.schedule-flow-redesign) #appointment_type_modal .modal-footer .modal_close{
	background:#fff !important; border:1.5px solid var(--line,#E4E6EE) !important; color:var(--ink,#23262E) !important; font-weight:600 !important;
}
:is(.insurance-form-redesign,#conversion_sticker,.schedule-flow-redesign) #appointment_type_modal .modal-footer .modal_close:hover{
	border-color:var(--primary,#1B3A6B) !important; color:var(--primary,#1B3A6B) !important;
}

/* 10i-2. Same pop-up, finished to the mockup (reported 2026-11-05, Screenshot_16).
   - In the sticker widgets it was a page-level dialog: in the embed the iframe is taller than the
     card, so it pinned to the top of the iframe and floated ABOVE the card over the client's page,
     with a grey backdrop across the whole frame. It now sits INSIDE the card (#conversion_sticker
     becomes the positioning box only while it is open), centred, over a dim clipped to the card's
     rounded corners -- the mockup never shows anything outside the widget.
   - Actions stacked full width like the review step: .cta 47px gold (hover gold-dark + 1px lift),
     .cta.ghost 49px (hover navy border/text). Choices = .yn (38px). Provider list = .opt cards.
   Hosts: sticker widgets, insurance LP; the patient booking page has its own copy in appointment.php. */
#conversion_sticker:has(#appointment_type_modal.show){ position:relative !important; min-height:min(560px, calc(100vh - 24px)) !important; } /* room for the dialog; past that it scrolls inside the card */
#conversion_sticker #appointment_type_modal.show{
	position:absolute !important; inset:0 !important; display:flex !important; align-items:center !important;
	justify-content:center !important; padding:16px !important; overflow-y:auto !important;
	background:rgba(20,30,60,.38) !important; z-index:1050 !important;
}
#conversion_sticker #appointment_type_modal .modal-dialog{
	margin:auto 0 !important; width:100% !important; max-width:420px !important; transform:none !important; min-height:0 !important;
}
body:has(#conversion_sticker #appointment_type_modal.show) > .modal-backdrop{ display:none !important; }
:is(.insurance-form-redesign,#conversion_sticker,.schedule-flow-redesign) #appointment_type_modal .modal-title{
	font-size:16px !important;
}
:is(.insurance-form-redesign,#conversion_sticker,.schedule-flow-redesign) #appointment_type_modal .modal-body h5{
	font-size:13px !important; font-weight:600 !important; margin:0 0 10px !important;
}
:is(.insurance-form-redesign,#conversion_sticker,.schedule-flow-redesign) #appointment_type_modal .app_radio .m-radio{
	padding:9px !important; line-height:normal !important; min-height:0 !important; font-family:inherit !important;
}
:is(.insurance-form-redesign,#conversion_sticker,.schedule-flow-redesign) #appointment_type_modal .surgeon_list_app_type,
:is(.insurance-form-redesign,#conversion_sticker,.schedule-flow-redesign) #appointment_type_modal .colonoscopy_question{
	margin:16px 0 0 !important;
}
:is(.insurance-form-redesign,#conversion_sticker,.schedule-flow-redesign) #appointment_type_modal .m-radio-inline.provider{
	display:flex !important; flex-direction:column !important; gap:8px !important; margin:0 !important; padding:0 !important;
}
:is(.insurance-form-redesign,#conversion_sticker,.schedule-flow-redesign) #appointment_type_modal .provider .m-radio{
	position:relative !important; display:block !important; width:100% !important; margin:0 !important;
	padding:10px 12px !important; border:1.5px solid var(--line,#E4E6EE) !important; border-radius:10px !important; background:#fff !important;
	font-size:12.5px !important; font-weight:600 !important; line-height:1.5 !important; color:var(--ink,#23262E) !important;
	cursor:pointer !important; transition:border-color .12s,background-color .12s !important;
}
:is(.insurance-form-redesign,#conversion_sticker,.schedule-flow-redesign) #appointment_type_modal .provider .m-radio:hover{
	border-color:var(--primary,#1B3A6B) !important;
}
:is(.insurance-form-redesign,#conversion_sticker,.schedule-flow-redesign) #appointment_type_modal .provider .m-radio:has(input:checked){
	border-color:var(--primary,#1B3A6B) !important; background:var(--primary-soft,#E8EEF8) !important;
}
:is(.insurance-form-redesign,#conversion_sticker,.schedule-flow-redesign) #appointment_type_modal .provider .m-radio > input{
	position:absolute !important; inset:0 !important; width:100% !important; height:100% !important;
	margin:0 !important; opacity:0 !important; cursor:pointer !important; z-index:1 !important;
}
:is(.insurance-form-redesign,#conversion_sticker,.schedule-flow-redesign) #appointment_type_modal .provider .m-radio > span{ display:none !important; }
:is(.insurance-form-redesign,#conversion_sticker,.schedule-flow-redesign) #appointment_type_modal .modal-footer{
	flex-direction:column !important; gap:10px !important; padding:18px 22px 22px !important;
}
:is(.insurance-form-redesign,#conversion_sticker,.schedule-flow-redesign) #appointment_type_modal .modal-footer > *{
	flex:none !important; width:100% !important; line-height:normal !important; transition:all .15s !important;
}
:is(.insurance-form-redesign,#conversion_sticker,.schedule-flow-redesign) #appointment_type_modal .modal-footer .change_location_using_appointment_type{
	border:0 !important;
}
:is(.insurance-form-redesign,#conversion_sticker,.schedule-flow-redesign) #appointment_type_modal .modal-footer .change_location_using_appointment_type:hover{
	transform:translateY(-1px) !important;
}

/* 10j. Scheduling column width. Bootstrap's ".col-lg-12{padding:0 15px}" inset the calendar, the
   location list and the review card 15px inside the banner and labels above them, so their edges
   did not line up. Mockup .cal / .review run the full content width. */
#section_calendar.schedule-flow-redesign .row > [class*="col-"]{
	padding-left:0 !important; padding-right:0 !important;
}

/* 10k. Time slots = mockup .times button{border:1.5px solid var(--line);border-radius:10px;
   padding:9px 0;font-weight:700;font-size:12.5px;color:var(--navy)} -- the slots were 45px tall with
   a drop shadow and 11.9px/600 text. The portlet behind them drew a faint shadowed white box that ran
   past the last slot. An A.M./P.M. group with no slots is hidden instead of showing a bare heading. */
#section_calendar.schedule-flow-redesign .m-portlet{
	box-shadow:none !important; background:transparent !important;
}
#section_calendar.schedule-flow-redesign .calender_event_mobile .fc-event{
	height:auto !important; min-height:0 !important; padding:9px 0 !important; box-shadow:none !important;
	border:1.5px solid var(--line,#E4E6EE) !important; border-radius:10px !important; background:#fff !important;
}
#section_calendar.schedule-flow-redesign .calender_event_mobile .fc-event:hover{
	border-color:var(--accent,#C9973A) !important; background:var(--accent-soft,#F6EBD6) !important;
}
#section_calendar.schedule-flow-redesign .calender_event_mobile .fc-event .fc-content{
	padding:0 !important;
}
#section_calendar.schedule-flow-redesign .calender_event_mobile .fc-event .fc-time{
	font-size:12.5px !important; font-weight:700 !important; color:var(--primary,#1B3A6B) !important;
}
#section_calendar.schedule-flow-redesign .calender_event_mobile > [class^="time_formate_"]:not(:has(.fc-event)){
	display:none !important;
}

/* 10l. Booking confirmation = mockup .booked{text-align:center; padding:14px; border-radius:12px}
   .booked .big{font-size:30px; margin-bottom:6px} .booked b{color:var(--green); font-size:14px}
   .booked span{font-size:11.5px; color:#45505F} -- it rendered as a left-aligned row with a black
   title (insurance page) or a green title over a centred sub-line (widget). Keyed on the subline,
   which only the booked outcome renders, so rejection / hold outcomes keep their own layout.
   The review card under it runs full width (.review), with the two ghost CTAs kept on one line. */
:is(.insurance-form-redesign,#conversion_sticker) .thank_you_container .thank_you_box_part:has(.schedule-confirmation-subline){
	display:flex !important; flex-direction:column !important; align-items:center !important;
	text-align:center !important; padding:14px !important; border-radius:12px !important; gap:0 !important;
}
:is(.insurance-form-redesign,#conversion_sticker) .thank_you_container .thank_you_box_part:has(.schedule-confirmation-subline)::before{
	font-size:30px !important; line-height:1.2 !important; margin:0 0 6px !important; width:auto !important;
}
:is(.insurance-form-redesign,#conversion_sticker) .thank_you_container .thank_you_box_part:has(.schedule-confirmation-subline) .thank_you_detail_part{
	text-align:center !important; width:100% !important; padding:0 !important; margin:0 !important;
}
:is(.insurance-form-redesign,#conversion_sticker) .thank_you_container .thank_you_box_part:has(.schedule-confirmation-subline) #res_msg{
	color:var(--green,#2FA97C) !important; font-size:14px !important; font-weight:700 !important;
	text-align:center !important; margin:0 !important;
}
:is(.insurance-form-redesign,#conversion_sticker) .thank_you_container .thank_you_box_part .schedule-confirmation-subline{
	color:#45505F !important; font-size:11.5px !important; font-weight:400 !important;
	text-align:center !important; margin:2px 0 0 !important; line-height:1.5 !important;
}
:is(.insurance-form-redesign,#conversion_sticker) .thank_you_container .schedule-confirmation-card{
	max-width:none !important; width:100% !important; margin:14px 0 0 !important; box-sizing:border-box !important;
}
/* One line per button: side by side when both fit (mockup .btnrow), stacked full width when the
   card is too narrow for "Add to calendar" -- instead of wrapping it onto two lines. */
:is(.insurance-form-redesign,#conversion_sticker) .thank_you_container .schedule-confirmation-actions{
	display:flex !important; flex-wrap:wrap !important; gap:10px !important;
}
:is(.insurance-form-redesign,#conversion_sticker) .thank_you_container .schedule-confirmation-btn{
	flex:1 1 150px !important; white-space:nowrap !important; margin:0 !important;
}

/* 10m. (removed) A sticky Submit row was tried here so Submit stayed in view inside the 640px widget.
   It covered whichever field scrolled under it, and the open select2 list of that field (reported
   2026-11-05). The mockup keeps the CTA inside the scrolling .w-body, unpinned -- so does the widget.
   Do not re-add position:sticky to the Submit row. */

/* 10o. Scheduling step = mockup #s3 (.fld select, .tzline, .cal, .tlbl, .times).
   - Office location is the mockup's dropdown. scheduleFlow.php builds #hv_office_select from the
     location radios and adds .hv-has-office-select; only then are the radios hidden (they stay in
     the DOM as the value store). No inset panel behind it.
   - Calendar arrows are plain chevrons; available days are full-cell gold-soft tiles, no border.
   - One continuous 3-across time grid: the A.M./P.M. groups are flattened with display:contents
     and the half of the day is written onto each time instead (" AM" / " PM").
   .calender_event_mobile's display is deliberately NOT !important -- jQuery .hide() writes an
   inline display:none on it and that must keep winning. */
#section_calendar.schedule-flow-redesign #header_data#header_data.m-portlet__head{ /* doubled id: beats scheduleFlow.php's own inset rule, which loads later */
	padding:0 !important; border:0 !important; box-shadow:none !important; background:transparent !important;
}
#section_calendar.schedule-flow-redesign #header_data.hv-has-office-select > h5,
#section_calendar.schedule-flow-redesign #header_data.hv-has-office-select .office_location{
	display:none !important;
}
#section_calendar.schedule-flow-redesign .hv-office-select-wrap{ width:100% !important; }
#section_calendar.schedule-flow-redesign .hv-office-select-label{
	text-align: left;display:block !important; font-size:11.5px !important; font-weight:600 !important;
	color:var(--muted,#767B87) !important; margin:0 0 5px !important;
}
#section_calendar.schedule-flow-redesign .hv-office-select{
	display:block !important; width:100% !important; height:42px !important; box-sizing:border-box !important;
	padding:0 32px 0 12px !important; border:1.5px solid var(--line,#E4E6EE) !important; border-radius:10px !important;
	background-color:var(--bg,#F4F5F9) !important; color:var(--ink,#23262E) !important;
	font-family:inherit !important; font-size:13.5px !important; outline:none !important;
	-webkit-appearance:none !important; -moz-appearance:none !important; appearance:none !important;
	background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23767B87' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
	background-repeat:no-repeat !important; background-position:right 12px center !important;
}
#section_calendar.schedule-flow-redesign .hv-office-select:focus{
	background-color:#fff !important; border-color:var(--primary,#1B3A6B) !important;
	box-shadow:0 0 0 3px color-mix(in srgb, var(--primary,#1B3A6B) 12%, transparent) !important;
}
/* .tzline sits between the dropdown and the calendar (moved there by scheduleFlow.php). */
#section_calendar.schedule-flow-redesign #m_portlet > p.title_location{ margin:8px 0 10px !important; }

#section_calendar.schedule-flow-redesign .schedule-day-strip-head button{
	width:26px !important; height:26px !important; padding:0 0 2px !important; border:0 !important; border-radius:8px !important;
	background:transparent !important; color:var(--muted,#767B87) !important; font-size:16px !important; box-shadow:none !important;
}
#section_calendar.schedule-flow-redesign .schedule-day-strip-head button:hover:not(:disabled){
	background:#fff !important; color:var(--primary,#1B3A6B) !important;
}
#section_calendar.schedule-flow-redesign .schedule-day-btn{
	max-width:none !important; height:auto !important; padding:8px 0 !important; margin:0 !important;
	border:0 !important; border-radius:8px !important; line-height:normal !important; /* mockup .kday = 36px */
}
#section_calendar.schedule-flow-redesign .schedule-day-btn.eventExits.active{
	background:var(--primary,#1B3A6B) !important; color:#fff !important;
}

#section_calendar.schedule-flow-redesign #full_date_title{ margin:10px 0 8px !important; }
#section_calendar.schedule-flow-redesign #full_date_title .hv-tlbl{
	display:block !important; font-size:11px !important; font-weight:700 !important; color:var(--muted,#767B87) !important;
	text-transform:uppercase !important; letter-spacing:.8px !important;
}
/* Times are grouped under captioned A.M. and P.M. headers, each group a 3-across grid -- the same
   layout as scheduling from the link (patient/appointment.php). Jeff/John 2026-11-09: scheduling
   needs AM/PM separated with headers. This replaces the single flattened grid with " AM"/" PM"
   written onto each time. An empty half keeps no caption (rule above, :not(:has(.fc-event))). */
#section_calendar.schedule-flow-redesign .calender_event_mobile{
	display:block;
}
#section_calendar.schedule-flow-redesign .calender_event_mobile .time_formate_am,
#section_calendar.schedule-flow-redesign .calender_event_mobile .time_formate_pm{
	display:block !important; float:none !important; width:100% !important; text-align:left !important; margin:0 0 10px !important;
}
#section_calendar.schedule-flow-redesign .calender_event_mobile .time_formate_am > p,
#section_calendar.schedule-flow-redesign .calender_event_mobile .time_formate_pm > p{
	display:block !important; font-size:11px !important; font-weight:700 !important; color:var(--muted,#767B87) !important;
	text-transform:uppercase !important; letter-spacing:.8px !important; margin:10px 0 8px !important; text-align:left !important;
}
#section_calendar.schedule-flow-redesign .calender_event_mobile .calender_event_mobile_am,
#section_calendar.schedule-flow-redesign .calender_event_mobile .calender_event_mobile_pm{
	display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px;
}
#section_calendar.schedule-flow-redesign .calender_event_mobile .clear{
	display:none !important;
}
#section_calendar.schedule-flow-redesign .calender_event_mobile .custom_slot_mobile{
	flex:none !important; max-width:none !important; width:auto !important; margin:0 !important; line-height:normal !important;
}
#section_calendar.schedule-flow-redesign .calender_event_mobile .custom_slot_mobile .fc-time{ line-height:normal !important; } /* mockup chip = 38px */
/* The mockup step has no Cancel under the slots (it only led back to the legacy status view).
   Scoped to the redesigned step; the patient booking page keeps its own Cancel. */
#section_calendar.schedule-flow-redesign .footer_cancle_btn{ display:none !important; }

/* 10n. Two-column widget (S2).
   Phone: the bordered pill is the WRAPPER of [flag + .has_float_label(input, label)], so the
   "Cell Phone" label was drawn inside the box, on its top border, and the box grew to 62px. The label
   is lifted out above the pill (mockup .fld label, 5px gap) by positioning it against the pill
   instead of .has_float_label; the pill is then a plain 42px field. Space for the label is reserved
   on .form-col so nothing below moves into it. */
#conversion_sticker.two-column-form-redesign .form-col[data-field-div="phone"]{
	position:relative !important; padding-top:22px !important;
}
#conversion_sticker.two-column-form-redesign .form-col[data-field-div="phone"] > div{
	position:relative !important; min-height:42px !important; align-items:center !important;
}
#conversion_sticker.two-column-form-redesign .form-col[data-field-div="phone"] > div .has_float_label{
	position:static !important;
}
#conversion_sticker.two-column-form-redesign.two-column-form-redesign .form-col[data-field-div="phone"] > div .has_float_label > span{
	position:absolute !important; top:-22px !important; left:0 !important; margin:0 !important;
	color:var(--muted,#767B87) !important; font-size:11.5px !important; font-weight:600 !important; line-height:17px !important;
}
/* Checkbox: its #E4E6EE border sat on the #F4F5F9 card -- practically invisible. The widget (S1)
   uses the --muted border; same here. */
#conversion_sticker.two-column-form-redesign.two-column-form-redesign .form-col.radio_part input[type="checkbox"]:not(:checked){
	border:1.5px solid var(--muted,#767B87) !important; background:#fff !important;
}
/* Header: the navy header and its progress bar ran the full frame width while the form body is
   capped at 800px and centred, so the title/progress did not line up with the fields. */
#conversion_sticker.two-column-form-redesign.two-column-form-redesign .conversion_form_left > *,
#conversion_sticker.two-column-form-redesign.two-column-form-redesign .conversion_form_left > h2{
	max-width:800px !important; margin-left:auto !important; margin-right:auto !important;
}
/* DOB + Language row: the DOB column is itself a .form-row inside this row, so its bottom margin
   was added on top of its .form-col's -- a ~35px gap above the next field instead of 13px. */
#conversion_sticker.two-column-form-redesign.two-column-form-redesign .sticker-dob-lang-row > .date-picker-row,
#conversion_sticker.two-column-form-redesign .sticker-dob-lang-row > .date-picker-row > .form-col,
#conversion_sticker.two-column-form-redesign .sticker-dob-lang-row > .lang_dropdown_div{
	margin-bottom:0 !important;
}
#conversion_sticker.two-column-form-redesign .sticker-dob-lang-row{
	row-gap:13px !important;
}
/* Choice-card error (e.g. Gender "Select any one option.") sat inline beside the last pill; put it on
   its own line under the pills, like every other field error. */
#conversion_sticker.two-column-form-redesign .form-col.radio_part:not(.checkbox_part) > div > label.error{
	flex:1 0 100% !important; order:99 !important; width:100% !important; text-align:left !important; margin:4px 0 0 !important;
}

/* 10h. Step-2 Submit = mockup .cta (no shadow). ivs-main.css adds
   ".form_container #maxicali-submit-button-initial-secondary{box-shadow:rgba(0,0,0,.3) 5px 5px 10px}". */
.insurance-form-redesign #maxicali-submit-button-initial-secondary,
.secondary-flow-redesign #maxicali-submit-button-initial-secondary,
#conversion_sticker #maxicali-submit-button-initial-secondary{
	box-shadow:none !important;
}


/* ============================================================================
   NOT YET IN THIS FILE -- next consolidation batch, in priority order:
     - Phone pill + intl-tel-input country list  (S1, S2)
     - Submit CTA + hover/disabled/focus-visible (S1, S2)
     - Consent details expander                  (S1, S2)
     - Thank-you / outcome banner                (S1, S2)
     - Review-hold screen                        (S1, S2)
   Each is added the same way: one declaration block, every host scope listed
   with that host's real selector shape AND matching declared values. If the
   values differ, keep the rule S1-only and note why.
   ============================================================================ */
