/* Scope: settings only. Preserve desktop and all push logic. */
@media (max-width: 760px), (max-width: 1000px) and (pointer: coarse) and (max-height: 560px) {
.xcoreSettingsOverlay {padding:0!important;box-sizing:border-box!important;height:100dvh!important;max-height:100dvh!important;}
.xcoreSettingsOverlay>.xcoreSettingsModal {padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px)!important;min-height:0!important;}
.xcoreSettingsModal .xcoreSettingsHeader {flex:0 0 auto!important;min-height:58px!important;padding:8px 12px!important;position:relative!important;}
.xcoreSettingsModal .xcoreSettingsHeader h2 {font-size:20px!important;}
.xcoreSettingsModal .xcoreSettingsEyebrow {font-size:10px!important;margin-bottom:2px!important;}
.xcoreSettingsModal .xcoreSettingsClose {width:44px!important;height:44px!important;flex:none!important;}
.xcoreSettingsModal .xcoreSettingsBody {display:flex!important;flex-direction:column!important;flex:1 1 0%!important;min-height:0!important;min-width:0!important;overflow:hidden!important;}
.xcoreSettingsModal .xcoreSettingsNav {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:minmax(44px,auto)!important;flex:0 0 auto!important;align-content:start!important;align-items:stretch!important;width:100%!important;min-width:0!important;height:auto!important;max-height:min(184px,29dvh)!important;gap:4px!important;padding:6px 10px!important;overflow-x:hidden!important;overflow-y:auto!important;border-right:0!important;border-bottom:1px solid var(--ghr-line,#e4e7ec)!important;}
.xcoreSettingsModal .xcoreSettingsNav button {display:flex!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:44px!important;margin:0!important;padding:5px 8px!important;white-space:normal!important;overflow-wrap:anywhere!important;font-size:12px!important;line-height:1.25!important;gap:4px!important;}
.xcoreSettingsModal .xcoreSettingsNav button.active {background:var(--ghr-selected,#e3f4ee)!important;border-color:var(--ghr-line,#a9cfc2)!important;color:var(--ghr-text,#075347)!important;box-shadow:none!important;}
.xcoreSettingsModal .xcoreSettingsContent {flex:1 1 0%!important;width:100%!important;max-width:100%!important;min-height:0!important;min-width:0!important;padding:12px!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;}
.xcoreSettingsModal .xcoreSettingsContent section {max-width:100%!important;min-width:0!important;}
.xcoreSettingsModal .xcoreSectionTitle {gap:8px!important;margin-bottom:14px!important;}
.xcoreSettingsModal .xcoreSectionTitle h3 {font-size:18px!important;}
.xcoreSettingsModal .xcoreDataTableWrap {max-width:100%!important;overflow-x:auto!important;}
.xcoreSettingsModal :is(.xcoreRoleGrid,.xcoreAccountGrid,.xcorePermissionGrid,.xcorePermissionOptions) {grid-template-columns:minmax(0,1fr)!important;min-width:0!important;}
.xcoreSettingsModal .xcoreFormModal {max-width:100%!important;max-height:calc(100dvh - 24px)!important;padding:14px!important;}
.xcoreSettingsModal .xcoreInnerOverlay {padding:12px!important;}
.xcoreSettingsModal .ghrPushSetup {gap:10px!important;min-width:0!important;max-width:100%!important;}
.xcoreSettingsModal .ghrPushPanel {padding:10px!important;gap:10px!important;min-width:0!important;}
.xcoreSettingsModal .ghrPushSetup h2 {font-size:18px!important;}
.xcoreSettingsModal .ghrPushActions {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
.xcoreSettingsModal .ghrPushButton {min-width:0!important;min-height:44px!important;white-space:normal!important;overflow-wrap:anywhere!important;}
.xcoreSettingsModal .ghrPushChecks .ghrPushCheck {grid-template-columns:18px minmax(0,1fr) minmax(0,85px)!important;gap:5px!important;}
.xcoreSettingsModal .ghrPushSteps {gap:6px!important;flex-wrap:wrap!important;}
.xcoreSettingsModal .ghrPushSteps span:nth-child(odd) {min-width:40px!important;}
.xcoreSettingsModal :is(input:not([type=checkbox]),select,textarea) {font-size:16px!important;max-width:100%!important;}
.xcoreSettingsModal .ghrShortcutRow {flex-wrap:wrap!important;gap:8px!important;}
}
@media (max-width: 350px) {
.xcoreSettingsModal .xcoreSettingsContent {padding:9px!important;}
.xcoreSettingsModal .xcoreSettingsNav {padding:5px 7px!important;}
.xcoreSettingsModal .ghrPushActions {grid-template-columns:minmax(0,1fr)!important;}
}
@media (min-width: 600px) and (max-width:760px) {
.xcoreSettingsModal .xcoreSettingsNav {grid-template-columns:repeat(4,minmax(0,1fr))!important;}
}
@media (max-height: 480px) and (pointer:coarse) {
.xcoreSettingsModal .xcoreSettingsNav {grid-template-columns:repeat(4,minmax(0,1fr))!important;max-height:100px!important;}
}
