/* One expansion control and section treatment for both search editors. */
body :is(#standardPreferencesForm,#searchForm) :is(.habitual-step,[data-search-step]){box-sizing:border-box;min-width:0;margin:12px 0 0;padding:0;border:1px solid #cbd9e3;border-radius:12px;background:#f6f9fb}
body :is(#standardPreferencesForm,#searchForm) :is(.habitual-step-heading,.search-step-heading){box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;gap:10px;width:100%;min-height:56px;padding:12px;margin:0;border:0;border-radius:11px;background:transparent;color:#203f53;text-align:left;font-size:16px;font-weight:750;line-height:1.45;box-shadow:none}
body #standardPreferencesForm .habitual-step-heading::after{content:none!important}
body :is(#standardPreferencesForm,#searchForm) :is(.habitual-step-number,.search-step-number){display:flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:#e0e8ee;color:#345369;font-size:14px}
body :is(#standardPreferencesForm,#searchForm) :is(.habitual-step-title,.search-step-title){flex:1;min-width:0;overflow-wrap:break-word}
body :is(#standardPreferencesForm,#searchForm) .ctm-search-step-indicator{display:inline-flex;align-items:center;justify-content:center;flex:0 0 24px;margin-left:auto;color:#526b7c}
body :is(#standardPreferencesForm,#searchForm) .ctm-search-step-indicator svg{width:20px;height:20px;transition:transform .18s ease}
body :is(#standardPreferencesForm,#searchForm) [aria-expanded=true]>.ctm-search-step-indicator svg{transform:rotate(180deg)}
body :is(#standardPreferencesForm,#searchForm) [aria-expanded=true]>:is(.habitual-step-number,.search-step-number){background:#FFD300;color:#25313b}
body :is(#standardPreferencesForm,#searchForm) :is(.habitual-step-body,.search-step-body){box-sizing:border-box;min-width:0;padding:4px 12px 16px}
body #searchForm [data-search-step]>legend:has(+.search-step-body:not([hidden])){border:0;margin:0}
body :is(#standardPreferencesForm,#searchForm) :is(.habitual-step-heading,.search-step-heading):focus-visible{outline:2px solid #247d9a;outline-offset:-3px}
body :is(#standardPreferencesForm,#searchForm) .availability-save-footer,body .player-preferences-package .ctm-subcard-save-footer>.availability-save-footer{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;max-width:none;min-width:0;min-height:48px;height:auto;padding:10px 14px;margin:16px 0 0;border:1px solid #abc1cf;border-radius:12px;background:linear-gradient(#26303f,#191b22);color:#fff;font-size:15px;font-weight:750;line-height:1.4;box-shadow:none;cursor:pointer}
body :is(#standardPreferencesForm,#searchForm) .availability-save-footer .ctm-panel-lock,body .player-preferences-package .ctm-subcard-save-footer .ctm-panel-lock{width:25px;height:28px;flex:0 0 25px}
body .availability-save-footer .ctm-lock-shackle{transform:rotateY(180deg)}
body .availability-save-footer[data-modified=true],body .ctm-panel-dirty .ctm-subcard-save-footer>.availability-save-footer{background:#fff5b8;border-color:#d4b400;color:#514400}
body .availability-save-footer[data-modified=true] .ctm-lock-keyhole{display:none}
body .availability-save-footer[data-modified=true] .ctm-lock-save{display:block}
body .availability-save-footer:focus-visible{outline:2px solid #247d9a;outline-offset:3px}
@media(prefers-reduced-motion:reduce){body :is(#standardPreferencesForm,#searchForm) .ctm-search-step-indicator svg{transition:none}}
body .ctm-panel-dirty .ctm-subcard-save-footer>.availability-save-footer .ctm-lock-keyhole{display:none}
body .ctm-panel-dirty .ctm-subcard-save-footer>.availability-save-footer .ctm-lock-save{display:block}
