.sd-pref { margin: 0 0 1rem; padding: 1rem 1.2rem; color: #19382e; background: #f3f8f5; border: 1px solid #c8dfd2; border-radius: 18px; }
.sd-pref [hidden], .sd-pref[hidden] { display: none !important; }
.sd-pref-bar, .sd-pref-actions, .sd-pref-choices { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; }
.sd-pref-bar { justify-content: space-between; gap: .85rem 1.5rem; }
.sd-pref h3 { margin: 0; font: inherit; font-weight: 750; font-size: 1.06rem; }
.sd-pref p, .sd-pref small { color: #496458; font-size: .9rem; line-height: 1.6; }
.sd-pref-bar p, .sd-pref-editor p { margin: .2rem 0 0; }
.sd-pref .sd-pref-actions :is(button, a) { display: inline-flex; align-items: center; justify-content: center; padding: .4rem .9rem; min-height: 44px; background: #fff; color: #176046; border: 1px solid #9dbfac; border-radius: 10px; font: inherit; font-weight: 650; font-size: .93rem; text-decoration: none; cursor: pointer; }
.sd-pref .sd-pref-actions .sd-pref-primary { color: #fff; background: #146046; border-color: #146046; }
.sd-pref :focus-visible { outline: 3px solid #237951; outline-offset: 3px; }
.sd-pref-editor { border-top: 1px solid #c8dfd2; padding-top: .75rem; margin-top: 1rem; }
.sd-pref-editor fieldset { margin: 1.1rem 0; padding: 0; border: 0; min-width: 0; }
.sd-pref-editor legend { float: none; width: auto; margin: 0 0 .5rem; font: inherit; font-weight: 700; }
.sd-pref-chip { display: inline-flex; gap: .45rem; align-items: center; padding: .45rem .7rem; min-height: 44px; background: #fff; border: 1px solid #cbdcd2; border-radius: 10px; cursor: pointer; }
.sd-pref-chip:has(input:checked) { color: #11492f; border-color: #448266; background: #deefe4; }
.sd-pref-chip input { margin: 0; width: 1rem; height: 1rem; accent-color: #146046; }
.sd-pref-editor small { display: block; margin-top: .45rem; }
.sd-pref .sd-pref-status:empty { display: none; }
@media (max-width: 520px) { .sd-pref { padding: .95rem; } .sd-pref-choices { gap: .4rem; } }
