/* Account settings use the same generous card rhythm in both appearances. */
.bcs-account-settings{display:grid;grid-template-columns:minmax(250px, .8fr) minmax(360px,1.2fr);gap:24px;align-items:start}
.bcs-account-settings .account-panel,.bcs-notification-panel{padding:28px!important;margin:0!important;max-width:none!important;min-width:0}
.bcs-account-settings .account-panel h2,.bcs-notification-panel h2{margin:0 0 12px;font-size:21px;color:var(--ink)}
.bcs-account-settings .profile-avatar{margin-bottom:18px}
.bcs-account-settings .account-panel dl{margin:24px 0;display:grid;gap:8px;grid-template-columns:1fr}
.bcs-account-settings .account-panel dt{font-size:12px;color:var(--muted);margin:8px 0 0}
.bcs-account-settings .account-panel dd{margin:0;color:var(--ink);overflow-wrap:anywhere}
.bcs-account-settings .account-panel .muted-text{margin:18px 0 0;line-height:1.65}
.bcs-notification-panel>p{margin:0 0 22px;color:var(--muted);line-height:1.65;font-size:14px}
.bcs-notification-options{border:0;padding:0;margin:0;min-width:0}
.bcs-notification-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 0;border-bottom:1px solid var(--line);cursor:pointer;color:var(--ink)}
.bcs-notification-row strong{display:block;font-size:14px;font-weight:600;line-height:1.5}
.bcs-notification-row small{display:block;margin-top:4px;color:var(--muted);font-size:12px;line-height:1.55}
.bcs-notification-row input{width:19px;height:19px;flex:0 0 19px;margin:0;accent-color:#0879b9;cursor:pointer}
.bcs-notification-row:focus-within{outline:2px solid var(--blue);outline-offset:4px;border-radius:4px}
.bcs-notification-footer{padding-top:22px;display:grid;gap:18px;justify-items:start}
.bcs-notification-footer p{font-size:12px;line-height:1.65;color:var(--muted);margin:0}
.bcs-preferences-saved{grid-column:1/-1;padding:14px 18px;background:var(--pale);border:1px solid var(--line);border-radius:9px;color:var(--ink);margin:0}
/* Native selects and Select2 render dropdowns outside the ticket container. */
html[data-theme=dark] select,html[data-theme=dark] select option,html[data-theme=dark] select optgroup{color:#e1edf7!important;background-color:#152b40!important;color-scheme:dark}
html[data-theme=dark] .select2-container .select2-dropdown,html[data-theme=dark] .select2-container .select2-results__option,html[data-theme=dark] .select2-container .select2-search__field{color:#e1edf7!important;background:#152b40!important;border-color:#456078!important}
html[data-theme=dark] .select2-container .select2-results__option--highlighted,html[data-theme=dark] .select2-container .select2-results__option[aria-selected=true]{color:#fff!important;background:#285578!important}
html[data-theme=dark] .select2-container .select2-results__option[aria-disabled=true]{color:#9cb0c2!important}
/* Compact conversation cards without squeezing text or interactive targets. */
#wpsc-container .bcs-refined-ticket .wpsc-thread{padding:12px 16px!important;margin:8px 0!important;border-radius:9px!important;box-shadow:none}
#wpsc-container .bcs-refined-ticket .wpsc-it-body-item{margin-top:6px!important;margin-bottom:6px!important}
#wpsc-container .bcs-refined-ticket .thread-header{padding:0 0 7px!important;margin:0!important;min-height:0!important}
#wpsc-container .bcs-refined-ticket .thread-header h2{margin:0!important;font-size:13px!important;line-height:1.5!important}
#wpsc-container .bcs-refined-ticket .thread-body{padding:0!important;margin:0!important;font-size:14px!important;line-height:1.6!important;min-height:0!important}
#wpsc-container .bcs-refined-ticket .thread-body p{margin:6px 0!important}
#wpsc-container .bcs-refined-ticket .thread-body>:first-child{margin-top:0!important}
#wpsc-container .bcs-refined-ticket .thread-body>:last-child{margin-bottom:0!important}
#wpsc-container .bcs-refined-ticket .wpsc-thread-attachments{padding:9px 12px;margin-top:10px}
#wpsc-container .bcs-refined-ticket .thread-body h3{font-size:14px!important;margin:14px 0 8px!important;color:var(--wf-ink)!important}
#wpsc-container .bcs-refined-ticket .thread-body table.bcs-contact-details{width:100%!important;table-layout:fixed;border-collapse:collapse;margin:8px 0!important}
#wpsc-container .bcs-contact-details th,#wpsc-container .bcs-contact-details td{padding:9px 12px!important;text-align:left!important;vertical-align:top!important;border:1px solid var(--wf-line)!important;color:var(--wf-ink)!important;background:var(--wf-soft)!important;overflow-wrap:anywhere}
#wpsc-container .bcs-contact-details th{width:34%;font-weight:600}
#wpsc-container .thread-body dl{margin:12px 0!important}
#wpsc-container .thread-body dt{font-weight:600;margin-top:10px!important;color:var(--wf-ink)}
#wpsc-container .thread-body dd{margin:3px 0 10px!important;line-height:1.6}
@media(max-width:1050px){.bcs-account-settings{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.bcs-account-settings{gap:18px}.bcs-account-settings .account-panel,.bcs-notification-panel{padding:20px!important}.bcs-notification-row{gap:14px;padding:16px 0}#wpsc-container .bcs-refined-ticket .wpsc-thread{padding:11px 13px!important}}
/* Keep short contact summaries visible; long submissions retain native expansion. */
#wpsc-container .bcs-refined-ticket .thread-text.wpsc-collapsed:has(.bcs-contact-details){max-height:480px!important}
#wpsc-container .bcs-refined-ticket .thread-header .user-info>div{gap:7px;flex-wrap:wrap;align-items:baseline}
html[data-theme=dark] #wpsc-container select,html[data-theme=dark] #wpsc-container select option,html[data-theme=dark] #wpsc-container select optgroup{color:#e1edf7!important;background-color:#152b40!important;color-scheme:dark}
html[data-theme=dark] #wpsc-container .wpsc-ticket-thread-expander{color:#91cdf5!important}
