#cms .ec27-kit-page { color: #24292e; }
#cms .ec27-kit-page > .rte { margin: 0 0 22px; padding: 0 0 18px; border: 0; border-bottom: 1px solid #e0e4e8; background: transparent; box-shadow: none; }
#cms .ec27-kit-page h1 { margin: 0 0 16px; padding: 0; font-size: 24px; line-height: 1.3; color: #24292e; font-weight: 700; }
#cms .ec27-kit-page > .rte p { margin: 0 0 10px; line-height: 1.6; }
#cms .ec27-kit-page > .rte p:last-child { margin-bottom: 0; }
#cms .ec27-kit-page .PM_ASBlockOutput,
#cms .ec27-kit-page .PM_ASBlockOutput > .block { width: 100%; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
#cms .ec27-kit-page .PM_ASCriterionsGroupList { display: flex; flex-wrap: wrap; margin: 0 -10px; }
#cms .ec27-kit-page .PM_ASCriterionsGroup { float: none; width: 50%; min-width: 0; padding: 0 10px; margin: 0 0 20px; box-sizing: border-box; }
#cms .ec27-kit-page .PM_ASCriterionsGroupTitle { margin: 0 0 9px; padding: 0; font-size: 14px; font-weight: 600; line-height: 1.5; color: #24292e; }
#cms .ec27-kit-page .PM_ASCriterionsGroupTitle { display: flex; align-items: baseline; gap: 9px; }
#cms .ec27-kit-page .PM_ASCriterionsGroupTitle::before {
    display: inline-block; flex: 0 0 18px; width: 18px; text-align: center;
    font-family: FontAwesome; font-size: 16px; font-weight: normal;
    font-style: normal; line-height: 1; color: #ff0028;
}
#cms .ec27-kit-page #PM_ASCriterionsGroupTitle_37_16::before { content: '\f03d'; }
#cms .ec27-kit-page #PM_ASCriterionsGroupTitle_37_8::before { content: '\f030'; }
#cms .ec27-kit-page #PM_ASCriterionsGroupTitle_37_15::before { content: '\f1eb'; }
#cms .ec27-kit-page #PM_ASCriterionsGroupTitle_37_9::before { content: '\f03e'; }
#cms .ec27-kit-page #PM_ASCriterionsGroupTitle_37_11::before { content: '\f0b2'; }
#cms .ec27-kit-page #PM_ASCriterionsGroupTitle_37_18::before { content: '\f028'; }
#cms .ec27-kit-page .PM_ASCriterionsGroupOuter { padding: 0; border: 0; }
#cms .ec27-kit-page select { width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid #dce1e6; border-radius: 6px; background-color: #fff; color: #24292e; font-size: 16px; }
#cms .ec27-kit-page select:disabled { background-color: #f7f8fa; color: #737b84; }
#cms .ec27-kit-page .selectize-control { width: 100%; min-width: 0; }
#cms .ec27-kit-page .selectize-input { min-height: 42px; padding: 10px 12px; border: 1px solid #dce1e6; border-radius: 6px; background: #fff; box-shadow: none; color: #24292e; }
#cms .ec27-kit-page .selectize-input input { font-size: 16px; max-width: 100%; }
#cms .ec27-kit-page .selectize-input.focus { border-color: #ff0028; }
#cms .ec27-kit-page .selectize-dropdown { border: 1px solid #dce1e6; border-radius: 6px; background: #fff; }
#cms .ec27-kit-page .selectize-dropdown .option { padding: 10px 12px; }
#cms .ec27-kit-page .selectize-dropdown .active { background: #fff0f3; color: #24292e; }
#cms .ec27-kit-page .PM_ASSkipGroup { display: inline-block; margin-top: 8px; color: #626b75; font-size: 12px; text-decoration: underline; }
#cms .ec27-kit-page .PM_ASSkipGroup:hover { color: #ff0028; }
#cms .ec27-kit-page select:focus-visible { outline: 2px solid #ff0028; outline-offset: 2px; }
#cms .ec27-kit-page #as_custom_content_results { clear: both; width: 100%; }
/* Match both Selectize and the legacy Uniform wrappers used by later steps. */
#cms .ec27-kit-page .selectize-input,
#cms .ec27-kit-page div.selector {
    position: relative; display: block; width: 100% !important; min-height: 46px;
    height: auto; padding: 11px 40px 11px 14px; border: 1px solid #dce1e6;
    border-radius: 6px; background: #fff; box-shadow: none; box-sizing: border-box;
    color: #24292e; font-size: 14px; line-height: 22px; text-align: left;
}
#cms .ec27-kit-page .selectize-input:hover,
#cms .ec27-kit-page div.selector:hover { border-color: #adb5bf; }
#cms .ec27-kit-page .selectize-input::after,
#cms .ec27-kit-page div.selector::after {
    content: ''; display: block; position: absolute; right: 16px; top: 50%;
    width: 8px; height: 8px; margin: -6px 0 0; border: 0;
    border-right: 2px solid #737b84; border-bottom: 2px solid #737b84;
    transform: rotate(45deg); pointer-events: none;
}
#cms .ec27-kit-page .selectize-input.dropdown-active::after { transform: rotate(225deg); margin-top: -2px; }
#cms .ec27-kit-page .selectize-input.focus,
#cms .ec27-kit-page div.selector.focus { border-color: #ff0028; box-shadow: 0 0 0 3px rgba(255,0,40,.08); }
#cms .ec27-kit-page div.selector > span {
    display: block; float: none; width: 100% !important; height: auto;
    padding: 0; background: none; font-size: 14px; line-height: 22px;
    color: inherit; text-shadow: none; white-space: normal;
}
#cms .ec27-kit-page div.selector > select { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
#cms .ec27-kit-page div.selector.disabled { background: #f7f8fa; border-color: #e5e8ed; color: #858c95; box-shadow: none; }
#cms .ec27-kit-page .selectize-input > input { line-height: 22px; color: #24292e; }
#cms .ec27-kit-page .selectize-input > input::placeholder { color: #737b84; opacity: 1; }
#cms .ec27-kit-page .selectize-control.multi .selectize-input > .item {
    padding: 3px 26px 3px 9px; margin: 0 5px 3px 0;
    border: 1px solid #ffc4ce; border-radius: 4px; background: #fff0f3;
    color: #24292e; font-size: 14px; line-height: 20px; text-shadow: none;
}
#cms .ec27-kit-page .selectize-control .selectize-input > .item .remove { border-left-color: #ffc4ce; color: #d90022; }
#cms .ec27-kit-page .selectize-dropdown { margin-top: 6px; padding: 5px; box-shadow: 0 8px 24px rgba(24,30,36,.12); font-size: 14px; line-height: 22px; z-index: 50; }
#cms .ec27-kit-page .selectize-dropdown .option { padding: 10px 12px; border-radius: 4px; }
#cms .ec27-kit-page .selectize-dropdown .active { background: #fff0f3; color: #d90022; }
@media (max-width: 767px) {
    #cms .ec27-kit-page h1 { font-size: 21px; }
    #cms .ec27-kit-page .PM_ASCriterionsGroup { width: 100%; margin-bottom: 16px; }
    #cms .ec27-kit-page > .rte { margin-bottom: 18px; padding-bottom: 16px; }
}

/* Match the white card used by the other CMS pages, including the questionnaire. */
#cms .ec27-cms-id-46>.ec27-kit-page{background:#fff;border:1px solid var(--cms-line,#dfe3e8);border-radius:12px;padding:clamp(20px,3vw,44px);box-shadow:0 6px 22px rgba(20,28,38,.035)}
