/* CSS Overrides Top Start */
@import url('/Styles/styles-v2/icons/fontawesome-icon.css?v=4232385967');
@import url('/Styles/styles-v2/icons/fontawesome-solid.css?v=4137481333');
@import url('/Styles/styles-v2/icons/tabler-icon.css?v=116410291');
/* CSS Overrides Top End */

/* Source: https://github.com/TFH-Web/rock-frontend/blob/main/public-themes/shared/tfh-forms.css */
/* TFH form controls for public-facing Rock NextGen themes: the "Hairline" style from the
   TFH Design System (Forms page in Figma; forms.md + rock-forms.md in the design system).

   Requires tfh-tokens.css loaded first. Load order in a layout:
     theme.css → tfh-tokens.css → tfh-forms.css → (event theme css, e.g. tfh-30th.css)

   Scope: every rule sits under .tfh-forms. Put that class on <body> in the theme's layouts.
   It has to be <body>, not a wrapper, because Rock appends dropdown and date-picker popups
   straight to <body>. Admin dialogs on sites without the class keep Rock's own look.

   Admin guard (2026-10-23): because the scope is <body>, Rock's own edit-mode UI on these
   sites would pick these styles up too. Every selector's subject therefore ends with
     :not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *)
   which skips the Edit HTML / block settings modals (.rock-modal), the admin footer and the
   block and zone config bars. :where() adds no specificity. Public prompts such as the
   Registration "Would you like to login?" bootbox are not .rock-modal and stay styled.
   Add new rules with the same guard.

   Covers both of Rock's control sets: WebForms (legacy, Bootstrap 3) and Obsidian.
   Markup reference: the design system's "Rock forms — markup reference".

   Theming: event themes restyle forms by overriding the --tfh-form-* settings in section 0,
   never by re-selecting these controls. Plain CSS, hand-edited. No build step.

   Sizing (decided 2026-10-22): one notch smaller than the Figma Forms page, on phone and
   desktop alike, to sit closer to the TFH app — 48px fields with 18px text (Figma: 52 / 20),
   20px checkboxes and radios (22), 48px buttons with 20px labels (60 / 24). */


/*  Table of Contents */
/*  -------------------- */
/*  0.  Settings (override these in an event theme) */
/*  1.  Form group, label, required marker, help */
/*  2.  Text inputs, select, textarea */
/*  3.  Input groups (email, phone, URL, currency, date, time) */
/*  4.  Checkboxes and radios */
/*  5.  Switch and toggle */
/*  6.  Dropdowns: Chosen (legacy) and Ant Select (Obsidian) */
/*  7.  Validation: field errors and the summary */
/*  8.  Buttons */
/*  9.  Recipes A and B (tfh-forms.js) */
/*  10. Responsive */


/*  -------------------- */
/*  0. Settings */
/*  -------------------- */
.tfh-forms {
    /* Type */
    --tfh-form-font: var(--tfh-font-text);
    --tfh-form-label-size: var(--tfh-text-xs-size);
    --tfh-form-label-lh: var(--tfh-text-xs-lh);
    --tfh-form-label-ls: var(--tfh-text-xs-ls);
    --tfh-form-label-weight: var(--tfh-font-weight-medium);
    --tfh-form-value-size: var(--tfh-text-xs-size);      /* 18px; never below 16px or iOS zooms into the field */
    --tfh-form-value-lh: var(--tfh-text-xs-lh);          /* Figma Text XS/Reg: 18px / 140% */
    --tfh-form-value-ls: var(--tfh-text-xs-ls);

    /* Colour */
    --tfh-form-ink: var(--tfh-text-primary);
    --tfh-form-muted: var(--tfh-text-secondary);
    --tfh-form-placeholder: var(--tfh-grey-04);
    --tfh-form-field-bg: var(--tfh-surface-card);
    --tfh-form-border: var(--tfh-line-hairline);
    --tfh-form-border-focus: var(--tfh-border-strong);
    --tfh-form-check-border: var(--tfh-grey-04);
    --tfh-form-accent: var(--tfh-base-black);          /* checked fill, switch on, toggle on */
    --tfh-form-on-accent: var(--tfh-base-white);       /* text on the accent */
    --tfh-form-disabled-bg: var(--tfh-grey-01);
    --tfh-form-disabled-border: var(--tfh-grey-02);
    --tfh-form-disabled-ink: var(--tfh-grey-04);
    --tfh-form-error: var(--tfh-text-error);
    --tfh-form-error-bg: var(--tfh-surface-error);
    --tfh-form-switch-off: var(--tfh-grey-03);

    /* Shape and size */
    --tfh-form-height: 48px;
    --tfh-form-pad-x: var(--tfh-button-padding-m);
    --tfh-form-radius: var(--tfh-corner-radius-s);
    --tfh-form-check-size: 20px;
    --tfh-form-check-radius: var(--tfh-corner-radius-xs);
    --tfh-form-group-gap: var(--tfh-vertical-padding-s);   /* space between fields */
    --tfh-form-max-width: 560px;

    /* Buttons */
    --tfh-form-btn-height: 48px;
    --tfh-form-btn-pad-y: var(--tfh-space-12);           /* 12 + 24 line + 12 = 48 (Figma Button Size=Form) */
    --tfh-form-btn-lh: 24px;                             /* Figma label style Text Small/Reg: 20px / 120% */
    --tfh-form-btn-radius: var(--tfh-corner-radius-m);
    --tfh-form-btn-size: 20px;
    --tfh-form-btn-ls: -0.8px;
    --tfh-form-btn-bg: var(--tfh-base-black);
    --tfh-form-btn-ink: var(--tfh-base-white);
}


/*  -------------------- */
/*  1. Form group, label, required marker, help */
/*  -------------------- */
.tfh-forms .form-group:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    margin-bottom: var(--tfh-form-group-gap);
    font-family: var(--tfh-form-font);
}

.tfh-forms .form-group .control-label:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .form-group > label:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    display: block;
    margin: 0 0 var(--tfh-button-padding-s);
    font-family: var(--tfh-form-font);
    font-size: var(--tfh-form-label-size);
    font-weight: var(--tfh-form-label-weight);
    line-height: var(--tfh-form-label-lh);
    letter-spacing: var(--tfh-form-label-ls);
    color: var(--tfh-form-ink);
}

/* Rock marks required fields with a red dot before the label; the design system uses a
   red asterisk after it. */
.tfh-forms .form-group.required > .control-label:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *)::before {
    display: none;
}
.tfh-forms .form-group.required > .control-label:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *)::after {
    content: " *";
    color: var(--tfh-form-error);
}

/* The (i) help tooltip Rock puts inside the label */
.tfh-forms .control-label .help:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    margin-left: var(--tfh-space-4);
    font-weight: var(--tfh-font-weight-roman);
    color: var(--tfh-form-muted);
}

/* Help text under a field */
.tfh-forms .help-block:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .form-group .form-text:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    margin: var(--tfh-button-padding-s) 0 0;
    font-family: var(--tfh-form-font);
    font-size: var(--tfh-form-label-size);
    line-height: var(--tfh-form-label-lh);
    letter-spacing: var(--tfh-form-label-ls);
    color: var(--tfh-form-muted);
}

/* Read-only values (Rock "static" fields on a confirmation step) */
.tfh-forms .form-control-static:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    min-height: 0;
    padding: 0;
    font-size: var(--tfh-form-value-size);
    line-height: var(--tfh-form-value-lh);
    color: var(--tfh-form-ink);
}


/*  -------------------- */
/*  2. Text inputs, select, textarea */
/*  -------------------- */
.tfh-forms .form-control:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    box-sizing: border-box;
    width: 100%;
    height: var(--tfh-form-height);
    padding: 0 var(--tfh-form-pad-x);
    font-family: var(--tfh-form-font);
    font-size: var(--tfh-form-value-size);
    font-weight: var(--tfh-font-weight-roman);
    line-height: var(--tfh-form-value-lh);
    letter-spacing: var(--tfh-form-value-ls);
    color: var(--tfh-form-ink);
    background-color: var(--tfh-form-field-bg);
    border: 1px solid var(--tfh-form-border);
    border-radius: var(--tfh-form-radius);
    box-shadow: none;
    transition: border-color var(--tfh-motion-fast) var(--tfh-ease-standard),
                box-shadow var(--tfh-motion-fast) var(--tfh-ease-standard);
}

.tfh-forms .form-control:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *)::placeholder {
    color: var(--tfh-form-placeholder);
    opacity: 1;
}

/* Focus: the outline goes black — 1px border plus a 1px ring of the same colour */
.tfh-forms .form-control:focus:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .form-control:focus-within:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    border-color: var(--tfh-form-border-focus);
    box-shadow: 0 0 0 1px var(--tfh-form-border-focus);
    outline: none;
}

.tfh-forms .form-control[disabled]:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .form-control[readonly]:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms fieldset[disabled] .form-control:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    color: var(--tfh-form-disabled-ink);
    background-color: var(--tfh-form-disabled-bg);
    border-color: var(--tfh-form-disabled-border);
    cursor: not-allowed;
}

.tfh-forms textarea.form-control:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    height: auto;
    min-height: 120px;
    padding: var(--tfh-space-12) var(--tfh-form-pad-x);
    resize: vertical;
}

/* Native select: replace the browser arrow with the design system caret */
.tfh-forms select.form-control:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    padding-right: calc(var(--tfh-form-pad-x) * 2 + 14px);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--tfh-form-pad-x) center;
    background-size: 14px 9px;
    cursor: pointer;
}
.tfh-forms select.form-control[multiple]:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    height: auto;
    padding: var(--tfh-button-padding-s) var(--tfh-form-pad-x);
    background-image: none;
}

/* Grouped inputs: SSN parts, number ranges, date parts (month / day / year selects) */
.tfh-forms .form-control-group:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    display: flex;
    align-items: center;
    gap: var(--tfh-button-padding-s);
}
.tfh-forms .form-control-group > .form-control:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .form-control-group > select:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    flex: 1 1 0;
    min-width: 0;
}
.tfh-forms .form-control-group .separator:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .form-control-group .to:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    flex: none;
    color: var(--tfh-form-muted);
}

/* Rock's fixed input widths stay usable on a phone */
.tfh-forms .input-width-xs:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .input-width-sm:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .input-width-md:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .input-width-lg:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    max-width: 100%;
}


/*  -------------------- */
/*  3. Input groups (email, phone, URL, currency, date, time) */
/*  -------------------- */
/* The group reads as one hairline field: the addon sits inside the outline. */
.tfh-forms .input-group:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    display: flex;
    align-items: stretch;
    width: 100%;
    background-color: var(--tfh-form-field-bg);
    border: 1px solid var(--tfh-form-border);
    border-radius: var(--tfh-form-radius);
    transition: border-color var(--tfh-motion-fast) var(--tfh-ease-standard),
                box-shadow var(--tfh-motion-fast) var(--tfh-ease-standard);
}
.tfh-forms .input-group:focus-within:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    border-color: var(--tfh-form-border-focus);
    box-shadow: 0 0 0 1px var(--tfh-form-border-focus);
}
/* .form-control is doubled on purpose: Rock's `.input-group .form-control:not(.ant-select):last-child`
   (and its :first-child twin) is 0,4,0 and sets a 6px top padding and square corners. */
.tfh-forms .input-group > .form-control.form-control:not(.ant-select):not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    height: calc(var(--tfh-form-height) - 2px);
    padding-top: 0;
    padding-bottom: 0;
    border: 0;
    border-radius: var(--tfh-form-radius);
    box-shadow: none;
    background: transparent;
}
.tfh-forms .input-group > .form-control:focus:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    box-shadow: none;
}
.tfh-forms .input-group-addon:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .input-group-btn:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    display: flex;
    flex: none;
    align-items: center;
    width: auto;
    padding: 0 var(--tfh-form-pad-x);
    font-size: var(--tfh-form-value-size);
    color: var(--tfh-form-ink);
    background: transparent;
    border: 0;
    border-radius: 0;
}
.tfh-forms .input-group-addon:first-child:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    padding-right: 0;
}
.tfh-forms .input-group-addon:last-child:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    padding-left: 0;
}
.tfh-forms .input-group-addon i:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    font-size: 20px;
}
.tfh-forms .input-group.disabled:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .input-group:has(> .form-control[disabled]):not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    background-color: var(--tfh-form-disabled-bg);
    border-color: var(--tfh-form-disabled-border);
}


/*  -------------------- */
/*  4. Checkboxes and radios */
/*  -------------------- */
/* Legacy:   div.checkbox > label > input + span.label-text
   Obsidian: same, sometimes with an extra span around the text
   The box lines up with the first line of the label; long labels wrap under the text. */
.tfh-forms .checkbox:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .radio:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    padding-left: 0;   /* Rock indents 28px to make room for its painted box; ours sits in the flow */
    margin: 0 0 var(--tfh-space-12);
}
.tfh-forms .checkbox label:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .radio label:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms label.checkbox-inline:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms label.radio-inline:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    display: flex;
    align-items: flex-start;
    gap: var(--tfh-space-12);
    min-height: 0;
    padding-left: 0;
    margin: 0;
    font-family: var(--tfh-form-font);
    font-size: var(--tfh-form-value-size);
    font-weight: var(--tfh-font-weight-roman);
    line-height: var(--tfh-form-value-lh);
    letter-spacing: var(--tfh-form-value-ls);
    color: var(--tfh-form-ink);
    cursor: pointer;
}

/* Rock NextGen hides the real input (opacity 0) and paints a fake box with .label-text::before
   and the tick with ::after. We do the reverse: show the real input and switch the fake box off.
   That keeps working when a Boolean renders without a .label-text span. */
.tfh-forms .checkbox .label-text:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *)::before,
.tfh-forms .checkbox .label-text:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *)::after,
.tfh-forms .radio .label-text:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *)::before,
.tfh-forms .radio .label-text:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *)::after,
.tfh-forms .checkbox-inline .label-text:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *)::before,
.tfh-forms .checkbox-inline .label-text:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *)::after,
.tfh-forms .radio-inline .label-text:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *)::before,
.tfh-forms .radio-inline .label-text:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *)::after {
    display: none;
}

/* The control itself: drawn with appearance:none so it is still the real, focusable input */
.tfh-forms input[type=checkbox]:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms input[type=radio]:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    position: static;
    z-index: auto;
    opacity: 1;
    flex: none;
    box-sizing: border-box;
    width: var(--tfh-form-check-size);
    height: var(--tfh-form-check-size);
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    background-color: var(--tfh-form-field-bg);
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid var(--tfh-form-check-border);
    border-radius: var(--tfh-form-check-radius);
    cursor: pointer;
    transition: background-color var(--tfh-motion-fast) var(--tfh-ease-standard),
                border-color var(--tfh-motion-fast) var(--tfh-ease-standard);
}
/* Centre the box on the label's first line (18px × 1.4 = 25.2px line, 20px box → 2.6px) */
.tfh-forms label > input[type=checkbox]:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms label > input[type=radio]:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    margin-top: calc((var(--tfh-form-value-size) * var(--tfh-form-value-lh) - var(--tfh-form-check-size)) / 2);
}
.tfh-forms input[type=radio]:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    border-radius: var(--tfh-corner-radius-rounded);
}

.tfh-forms input[type=checkbox]:checked:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    background-color: var(--tfh-form-accent);
    border-color: var(--tfh-form-accent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='11' viewBox='0 0 14 11'%3E%3Cpath d='M1 5.5l4 4 8-8' fill='none' stroke='%23fff' stroke-width='2.4'/%3E%3C/svg%3E");
    background-size: 14px 11px;
}
.tfh-forms input[type=checkbox]:indeterminate:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    background-color: var(--tfh-form-accent);
    border-color: var(--tfh-form-accent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='3' viewBox='0 0 11 3'%3E%3Crect width='11' height='2.4' rx='1' fill='%23fff'/%3E%3C/svg%3E");
    background-size: 11px 3px;
}
/* Radio: a 10px dot drawn with an inset ring of the field colour (ring width follows the box size) */
.tfh-forms input[type=radio]:checked:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    background-color: var(--tfh-form-accent);
    border-color: var(--tfh-form-accent);
    box-shadow: inset 0 0 0 calc((var(--tfh-form-check-size) - 12px) / 2) var(--tfh-form-field-bg);
}

.tfh-forms input[type=checkbox]:focus:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms input[type=radio]:focus:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    outline: none;
}
.tfh-forms input[type=checkbox]:focus-visible:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms input[type=radio]:focus-visible:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    outline: none;
    box-shadow: 0 0 0 2px var(--tfh-form-field-bg), 0 0 0 4px var(--tfh-form-border-focus);
}
.tfh-forms input[type=radio]:checked:focus-visible:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    box-shadow: inset 0 0 0 calc((var(--tfh-form-check-size) - 12px) / 2) var(--tfh-form-field-bg),
                0 0 0 2px var(--tfh-form-field-bg), 0 0 0 4px var(--tfh-form-border-focus);
}

.tfh-forms input[type=checkbox][disabled]:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms input[type=radio][disabled]:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    background-color: var(--tfh-form-disabled-bg);
    border-color: var(--tfh-form-disabled-border);
    cursor: not-allowed;
}
.tfh-forms input[type=checkbox][disabled]:checked:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    background-color: var(--tfh-grey-03);
    border-color: var(--tfh-grey-03);
}
.tfh-forms input[type=radio][disabled]:checked:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    background-color: var(--tfh-grey-03);
    border-color: var(--tfh-form-disabled-border);
}
.tfh-forms .checkbox.disabled label:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .radio.disabled label:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms label:has(> input[disabled]):not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    color: var(--tfh-form-disabled-ink);
    cursor: not-allowed;
}

/* Lists: vertical by default, horizontal (inline), or Rock's in-columns-N */
.tfh-forms .rockcheckboxlist:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .rockradiobuttonlist:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .check-box-list:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .radio-button-list:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    display: flex;
    flex-direction: column;
    gap: var(--tfh-space-12);
}
.tfh-forms .rockcheckboxlist .checkbox:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .rockradiobuttonlist .radio:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    margin: 0;
}
/* Obsidian wraps the options of a horizontal list in one extra <span>; let the options
   through it so they lay out as list items. */
.tfh-forms .rockcheckboxlist > span:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .rockradiobuttonlist > span:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    display: contents;
}
.tfh-forms .rockcheckboxlist-horizontal:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .rockradiobuttonlist-horizontal:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 28px;
}
.tfh-forms .checkbox-inline + .checkbox-inline:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .radio-inline + .radio-inline:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    margin-left: 0;
}
.tfh-forms .in-columns:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    display: grid;
    grid-template-columns: repeat(var(--tfh-form-columns, 2), minmax(0, 1fr));
    gap: var(--tfh-space-12) var(--tfh-vertical-padding-s);
}
.tfh-forms .in-columns-1:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) { --tfh-form-columns: 1; }
.tfh-forms .in-columns-2:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) { --tfh-form-columns: 2; }
.tfh-forms .in-columns-3:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) { --tfh-form-columns: 3; }
.tfh-forms .in-columns-4:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) { --tfh-form-columns: 4; }

/* Rock's icon checkbox (Obsidian adds label.rock-checkbox-icon on some Boolean fields) */
.tfh-forms .rock-checkbox-icon i:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    width: auto;
    margin-right: 0;
    font-size: var(--tfh-form-check-size);
}


/*  -------------------- */
/*  5. Switch and toggle */
/*  -------------------- */
/* Switch — div.custom-control.custom-switch > input.custom-control-input + label.custom-control-label
   Rock draws the track with label::before and the thumb with label::after. Design: 44×24 track,
   18px white thumb, 3px inset; off = Grey 03, on = black. */
.tfh-forms .custom-switch:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    position: relative;
    min-height: 24px;
    padding-left: calc(44px + var(--tfh-space-12));
}
.tfh-forms .custom-switch .custom-control-input:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    position: absolute;
    z-index: -1;
    width: 1px;
    height: 1px;
    opacity: 0;
}
.tfh-forms .custom-switch .custom-control-label:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    font-family: var(--tfh-form-font);
    font-size: var(--tfh-form-value-size);
    font-weight: var(--tfh-font-weight-roman);
    line-height: 24px;
    letter-spacing: var(--tfh-form-value-ls);
    color: var(--tfh-form-ink);
}
.tfh-forms .custom-switch .custom-control-label:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *)::before {
    top: 0;
    left: calc((44px + var(--tfh-space-12)) * -1);
    width: 44px;
    height: 24px;
    background-color: var(--tfh-form-switch-off);
    border: 0;
    border-radius: var(--tfh-corner-radius-m);
    transition: background-color var(--tfh-motion-fast) var(--tfh-ease-standard);
}
.tfh-forms .custom-switch .custom-control-label:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *)::after {
    top: 3px;
    left: calc((44px + var(--tfh-space-12)) * -1 + 3px);
    width: 18px;
    height: 18px;
    background-color: var(--tfh-base-white);
    border-radius: 50%;
    transition: transform var(--tfh-motion-fast) var(--tfh-ease-standard);
}
.tfh-forms .custom-switch .custom-control-input:checked ~ .custom-control-label:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *)::before {
    background-color: var(--tfh-form-accent);
    border-color: var(--tfh-form-accent);
}
.tfh-forms .custom-switch .custom-control-input:checked ~ .custom-control-label:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *)::after {
    background-color: var(--tfh-form-on-accent);
    transform: translateX(20px);
}
.tfh-forms .custom-switch .custom-control-input:focus ~ .custom-control-label:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *)::before {
    box-shadow: none;
}
.tfh-forms .custom-switch .custom-control-input:focus-visible ~ .custom-control-label:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *)::before {
    box-shadow: 0 0 0 2px var(--tfh-form-field-bg), 0 0 0 4px var(--tfh-form-border-focus);
}
.tfh-forms .custom-switch .custom-control-input:disabled ~ .custom-control-label:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    color: var(--tfh-form-disabled-ink);
}
.tfh-forms .custom-switch .custom-control-input:disabled ~ .custom-control-label:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *)::before {
    opacity: 0.5;
}

/* Toggle — div.toggle-container > div.btn-group.btn-toggle > a.btn ×2
   A hairline pill with 3px padding; the chosen side fills black. */
.tfh-forms .toggle-container .btn-toggle:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    display: inline-flex;
    padding: 3px;
    background-color: var(--tfh-form-field-bg);
    border: 1px solid var(--tfh-form-border);
    border-radius: var(--tfh-form-radius);
}
.tfh-forms .btn-toggle .btn:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    height: auto;
    min-height: 0;
    padding: var(--tfh-button-padding-s) var(--tfh-button-padding-l);
    font-family: var(--tfh-form-font);
    font-size: var(--tfh-form-value-size);
    font-weight: var(--tfh-font-weight-roman);
    line-height: var(--tfh-form-value-lh);
    letter-spacing: var(--tfh-form-value-ls);
    color: var(--tfh-form-ink);
    background: transparent;
    border: 0;
    border-radius: var(--tfh-form-check-radius);
    box-shadow: none;
}
.tfh-forms .btn-toggle .btn.active:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .btn-toggle .btn.btn-primary:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .btn-toggle .btn.btn-success:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .btn-toggle .btn.btn-danger:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .btn-toggle .btn.btn-info:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    color: var(--tfh-form-on-accent);
    background-color: var(--tfh-form-accent);
}


/*  -------------------- */
/*  6. Dropdowns: Chosen (legacy) and Ant Select (Obsidian) */
/*  -------------------- */
/* Closed state matches a native select. Open menus: white panel, hairline, 12px corners,
   rows fill Grey 01 on hover, the chosen row is medium weight. */

/* Chosen — single */
.tfh-forms .chosen-container:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    font-family: var(--tfh-form-font);
    font-size: var(--tfh-form-value-size);
}
.tfh-forms .chosen-container-single .chosen-single:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    display: flex;
    align-items: center;
    height: var(--tfh-form-height);
    padding: 0 var(--tfh-form-pad-x);
    line-height: var(--tfh-form-value-lh);
    color: var(--tfh-form-ink);
    background: var(--tfh-form-field-bg);
    border: 1px solid var(--tfh-form-border);
    border-radius: var(--tfh-form-radius);
    box-shadow: none;
}
.tfh-forms .chosen-container-single .chosen-default:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    color: var(--tfh-form-placeholder);
}
.tfh-forms .chosen-container-active .chosen-single:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .chosen-container-active .chosen-choices:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    border-color: var(--tfh-form-border-focus);
    box-shadow: 0 0 0 1px var(--tfh-form-border-focus);
}
/* Chosen — multi */
.tfh-forms .chosen-container-multi .chosen-choices:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    min-height: var(--tfh-form-height);
    padding: 6px var(--tfh-button-padding-s);
    background: var(--tfh-form-field-bg);
    border: 1px solid var(--tfh-form-border);
    border-radius: var(--tfh-form-radius);
    box-shadow: none;
}
.tfh-forms .chosen-container-multi .chosen-choices li.search-choice:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    padding: 6px 28px 6px 12px;
    font-size: var(--tfh-form-label-size);
    color: var(--tfh-form-ink);
    background: var(--tfh-grey-01);
    border: 0;
    border-radius: var(--tfh-form-check-radius);
    box-shadow: none;
}
/* Chosen — menu */
.tfh-forms .chosen-container .chosen-drop:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    margin-top: var(--tfh-space-4);
    background: var(--tfh-form-field-bg);
    border: 1px solid var(--tfh-form-border);
    border-radius: var(--tfh-corner-radius-m);
    box-shadow: 1px 3px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}
.tfh-forms .chosen-container .chosen-results li:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    padding: var(--tfh-space-12) var(--tfh-form-pad-x);
    line-height: var(--tfh-form-value-lh);
    color: var(--tfh-form-ink);
}
.tfh-forms .chosen-container .chosen-results li.highlighted:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    color: var(--tfh-form-ink);
    background: var(--tfh-grey-01);
}
.tfh-forms .chosen-container .chosen-results li.result-selected:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    font-weight: var(--tfh-font-weight-medium);
}

/* Ant Select (Obsidian) — closed */
.tfh-forms .ant-select.form-control:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    padding: 0;
}
.tfh-forms .ant-select .ant-select-selector:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    display: flex;
    align-items: center;
    height: 100% !important;   /* Ant sets an inline-sized height; this keeps it at the field height */
    padding: 0 var(--tfh-form-pad-x) !important;
    font-family: var(--tfh-form-font);
    font-size: var(--tfh-form-value-size);
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
.tfh-forms .ant-select-focused.form-control:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .ant-select-open.form-control:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    border-color: var(--tfh-form-border-focus);
    box-shadow: 0 0 0 1px var(--tfh-form-border-focus);
}
.tfh-forms .ant-select .ant-select-selection-placeholder:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    color: var(--tfh-form-placeholder);
}
.tfh-forms .ant-select .ant-select-arrow:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    right: var(--tfh-form-pad-x);
    color: var(--tfh-form-ink);
}
/* Ant Select — menu (appended to <body>) */
.tfh-forms .ant-select-dropdown:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    padding: var(--tfh-space-4) 0;
    font-family: var(--tfh-form-font);
    background: var(--tfh-form-field-bg);
    border: 1px solid var(--tfh-form-border);
    border-radius: var(--tfh-corner-radius-m);
    box-shadow: 1px 3px 6px rgba(0, 0, 0, 0.05);
}
.tfh-forms .ant-select-item-option:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    padding: var(--tfh-space-12) var(--tfh-form-pad-x);
    font-size: var(--tfh-form-value-size);
    line-height: var(--tfh-form-value-lh);
    color: var(--tfh-form-ink);
}
.tfh-forms .ant-select-item-option-active:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    background: var(--tfh-grey-01);
}
.tfh-forms .ant-select-item-option-selected:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    font-weight: var(--tfh-font-weight-medium);
    background: transparent;
}
.tfh-forms .ant-select-item-option-selected.ant-select-item-option-active:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    background: var(--tfh-grey-01);
}


/*  -------------------- */
/*  7. Validation: field errors and the summary */
/*  -------------------- */
/* Rock sets .has-error on the form group (legacy) or aria-invalid on the input. */
.tfh-forms .has-error .control-label:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    color: var(--tfh-form-ink);
}
.tfh-forms .has-error .form-control:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .has-error .input-group:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .has-error .chosen-single:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .has-error .chosen-choices:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .form-control[aria-invalid=true]:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    border-color: var(--tfh-form-error);
    box-shadow: 0 0 0 1px var(--tfh-form-error);
}
.tfh-forms .has-error .input-group > .form-control:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    box-shadow: none;
}
.tfh-forms .has-error input[type=checkbox]:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .has-error input[type=radio]:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    border: 2px solid var(--tfh-form-error);
}

/* Message under a field */
.tfh-forms .validation-error:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .has-error .help-block:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .form-group .invalid-feedback:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    display: block;
    margin: var(--tfh-button-padding-s) 0 0;
    font-family: var(--tfh-form-font);
    font-size: var(--tfh-form-label-size);
    font-weight: var(--tfh-font-weight-medium);
    line-height: var(--tfh-form-label-lh);
    letter-spacing: var(--tfh-form-label-ls);
    color: var(--tfh-form-error);
}

/* Summary at the top of the form */
.tfh-forms .alert-validation:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    padding: var(--tfh-button-padding-m) var(--tfh-button-padding-l);
    font-family: var(--tfh-form-font);
    font-size: var(--tfh-form-label-size);
    line-height: var(--tfh-form-label-lh);
    letter-spacing: var(--tfh-form-label-ls);
    color: var(--tfh-form-error);
    background-color: var(--tfh-form-error-bg);
    border: 1px solid var(--tfh-form-error);
    border-radius: var(--tfh-corner-radius-m);
}
.tfh-forms .alert-validation strong:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .alert-validation > :first-child:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    font-weight: var(--tfh-font-weight-medium);
}
.tfh-forms .alert-validation ul:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    margin: var(--tfh-space-4) 0 0;
    padding: 0 0 0 var(--tfh-vertical-padding-xs);
}
.tfh-forms .alert-validation ul:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .alert-validation span:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    color: currentColor;
}


/*  -------------------- */
/*  8. Buttons */
/*  -------------------- */
/* Rock's .btn-primary = design system Primary (black fill, white label; hover inverts to an
   outline). .btn-default = Secondary (2px black ring; hover fills). .btn-link = Ghost.
   Large size (60px, 12px corners, 24px label) is the form default. */
.tfh-forms .btn:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    min-height: var(--tfh-form-btn-height);
    padding: var(--tfh-form-btn-pad-y) var(--tfh-button-padding-l);
    font-family: var(--tfh-form-font);
    font-size: var(--tfh-form-btn-size);
    font-weight: var(--tfh-font-weight-roman);
    line-height: var(--tfh-form-btn-lh);
    letter-spacing: var(--tfh-form-btn-ls);
    text-decoration: none;
    border: 0;
    border-radius: var(--tfh-form-btn-radius);
    transition: background-color var(--tfh-motion-base) var(--tfh-ease-standard),
                color var(--tfh-motion-base) var(--tfh-ease-standard);
}
.tfh-forms .btn-primary:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .btn-success:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    color: var(--tfh-form-btn-ink);
    background-color: var(--tfh-form-btn-bg);
    box-shadow: inset 0 0 0 2px var(--tfh-form-btn-bg);
}
.tfh-forms .btn-primary:hover:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .btn-primary:focus:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .btn-success:hover:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .btn-success:focus:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    color: var(--tfh-form-btn-bg);
    background-color: transparent;
    box-shadow: inset 0 0 0 2px var(--tfh-form-btn-bg);
}
.tfh-forms .btn-default:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    color: var(--tfh-form-btn-bg);
    background-color: transparent;
    box-shadow: inset 0 0 0 2px var(--tfh-form-btn-bg);
}
.tfh-forms .btn-default:hover:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .btn-default:focus:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    color: var(--tfh-form-btn-ink);
    background-color: var(--tfh-form-btn-bg);
}
.tfh-forms .btn-link:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    color: var(--tfh-form-ink);
    background: transparent;
    box-shadow: none;
}
.tfh-forms .btn-link:hover:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .btn-link:focus:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    color: var(--tfh-grey-04);
    text-decoration: none;
}
.tfh-forms .btn:focus-visible:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    outline: 3px solid var(--tfh-brand-blue);
    outline-offset: 2px;
}
.tfh-forms .btn[disabled]:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .btn.disabled:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    opacity: 0.4;
    pointer-events: none;
}
/* Medium size: Rock's .btn-sm (40px, 8px corners, 22px label) */
.tfh-forms .btn-sm:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    min-height: 40px;
    padding: var(--tfh-button-padding-s) var(--tfh-button-padding-m);
    font-size: 22px;
    line-height: 24px;
    border-radius: var(--tfh-corner-radius-s);
}
/* Keep Rock's tiny row buttons (repeating rows, pickers) compact */
.tfh-forms .btn-xs:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .btn-square:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    min-height: 0;
    padding: 4px 8px;
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: 0;
    border-radius: var(--tfh-form-check-radius);
}

/* Action row at the bottom of a Workflow Entry / Registration form. Spacing only: Rock
   positions the buttons itself (.text-right, .pull-right, or a .row of .col-xs-6 cells with
   Previous left and Next right), and a flex row here breaks all three. */
.tfh-forms .actions:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    margin-top: var(--tfh-vertical-padding-s);
}
.tfh-forms .actions .btn + .btn:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    margin-left: var(--tfh-button-padding-s);
}


/*  -------------------- */
/*  9. Recipes A and B (tfh-forms.js) */
/*  -------------------- */
/* Recipe A moves .tfh-check-text into the checkbox label; Recipe B adds .tfh-must-check and
   shows .tfh-field-error when a required box is left unticked. */
.tfh-forms .tfh-check-text[hidden]:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
.tfh-forms .tfh-field-error[hidden]:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    display: none;
}
.tfh-forms .form-group.tfh-invalid input[type=checkbox]:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    border: 2px solid var(--tfh-form-error);
}
.tfh-forms .tfh-field-error:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    margin: var(--tfh-button-padding-s) 0 0 calc(var(--tfh-form-check-size) + var(--tfh-space-12));
    font-family: var(--tfh-form-font);
    font-size: var(--tfh-form-label-size);
    font-weight: var(--tfh-font-weight-medium);
    line-height: var(--tfh-form-label-lh);
    letter-spacing: var(--tfh-form-label-ls);
    color: var(--tfh-form-error);
}
.tfh-forms .label-text a:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
    color: var(--tfh-text-link);
    text-decoration: underline;
}


/*  -------------------- */
/*  10. Responsive */
/*  -------------------- */
/* Phones: 3- and 4-column checkbox lists drop to two columns. */
@media (max-width: 767px) {
    .tfh-forms .in-columns-3:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *),
    .tfh-forms .in-columns-4:not(:where(.rock-modal, #cms-admin-footer, .block-configuration, .zone-configuration) *) {
        --tfh-form-columns: 2;
    }
}

/* CSS Overrides Bottom Start */
:root {
    --base-primary: #000000;
    --logo-image: url('/GetImage.ashx?guid=570cf07b-77fb-4343-badf-499c4720b0d2');
    --base-link: #2d5bff;
    --base-secondary: #707378;
    --base-critical: #ee7725;
    --base-danger: #d0342c;
    --base-info: #005DD7;
    --base-success: #01A11E;
    --base-warning: #E58600;
    --base-interface-strongest: #000000;
    --base-interface-stronger: #000000;
    --base-interface-strong: #3d444d;
    --base-interface-medium: #707378;
    --base-interface-soft: #c3c8cc;
    --base-interface-softer: #f1f1f1;
    --base-interface-softest: #ffffff;
    --font-size-xsmall: 12px;
    --font-size-small: 14px;
    --font-size-regular: 16px;
    --font-size-h1: 44px;
    --font-size-h2: 36px;
    --font-size-h3: 28px;
    --font-size-h4: 22px;
    --font-size-h5: 18px;
    --font-size-h6: 16px;
    --font-family-title: 'neue-haas-grotesk-text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-family-body: 'neue-haas-grotesk-text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --spacing-tiny: 4px;
    --spacing-xsmall: 8px;
    --spacing-small: 12px;
    --spacing-medium: 16px;
    --spacing-large: 24px;
    --spacing-xlarge: 48px;
    --spacing-huge: 80px;
}
/* CSS Overrides Bottom End */
