/* Scoped desktop/tablet styling; phone Alerts remain unchanged. */
#win-alerts.arbxp-xp-alerts { color-scheme: light; color: #182338; background: #eceef2; }
#win-alerts.arbxp-xp-alerts > .win-titlebar { background: linear-gradient(#4091ff, #0665ef 12%, #0052d6 88%, #0646b8); }
#win-alerts.arbxp-xp-alerts .win-title { font-size: 14px; }
#win-alerts.arbxp-xp-alerts .win-content { container: alerts / inline-size; padding: 12px !important; background: #f1f2f5 !important; color: #182338; font: 14px/1.45 Tahoma, Arial, sans-serif; scrollbar-color: #b4bfcd #edf0f4; }
#win-alerts.arbxp-xp-alerts :is(button, input, select, textarea, label, summary) { font-family: Tahoma, Arial, sans-serif; letter-spacing: 0; }
#win-alerts.arbxp-xp-alerts :is(.toolbar-btn, .alerts-scope-btn) { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 34px; padding: 6px 12px; border: 1px solid #8c9eb8; border-radius: 4px; background: linear-gradient(#fff, #e7eaf0); color: #172d59; box-shadow: inset 0 0 0 1px #ffffffb3; text-shadow: none; font-size: 14px; line-height: 1.3; cursor: pointer; }
#win-alerts.arbxp-xp-alerts :is(.toolbar-btn, .alerts-scope-btn):not(:disabled):hover { background: linear-gradient(#fff, #dae8fc); border-color: #407ccc; }
#win-alerts.arbxp-xp-alerts :is(.toolbar-btn, .alerts-scope-btn):not(:disabled):active { background: #d5e3f5; box-shadow: inset 1px 1px 2px #8c9eb888; }
#win-alerts.arbxp-xp-alerts :is(button, input, select, textarea, summary):focus-visible { outline: 2px solid #246bce; outline-offset: 2px; }
#win-alerts.arbxp-xp-alerts button:disabled { opacity: .55; cursor: default; }
#win-alerts.arbxp-xp-alerts button[aria-disabled=true] { opacity: .55; cursor: wait; }
#win-alerts.arbxp-xp-alerts .pxi-svg { flex-shrink: 0; width: 18px; height: 18px; }
#win-alerts.arbxp-xp-alerts :is(input:not([type=checkbox]), select, textarea) { min-width: 0; min-height: 34px; width: 100%; padding: 7px 10px; border: 1px solid #98a8bf; border-radius: 4px; background: #fff; color: #182338; box-shadow: inset 1px 1px 2px #263b5712; font-size: 14px; line-height: 1.35; }
#win-alerts.arbxp-xp-alerts input[type=checkbox] { accent-color: #176bd5; }
#win-alerts.arbxp-xp-alerts .alerts-box { min-width: 0; margin: 0; padding: 0; border: 0; background: transparent; }
#win-alerts.arbxp-xp-alerts .win-content > .alerts-help:first-child { margin-bottom: 12px; }
#win-alerts.arbxp-xp-alerts .alerts-mode { gap: 2px; margin: 0 0 8px; border-bottom: 1px solid #a2afc1; }
#win-alerts.arbxp-xp-alerts .alerts-mode-btn { flex: 0 1 230px; min-height: 36px; margin-bottom: -1px; border-radius: 6px 6px 0 0; border-bottom-color: #a2afc1; font-weight: 400; }
#win-alerts.arbxp-xp-alerts .alerts-mode-btn.active { background: #f6f8fc; border-top: 3px solid #246bce; border-bottom-color: #f6f8fc; color: #003cbb; font-weight: bold; box-shadow: none; }
#win-alerts.arbxp-xp-alerts .alerts-connect-instructions { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 8px; padding: 10px 12px; border: 1px solid #b5c9e5; border-radius: 4px; background: #e9f1fc; color: #233b60; }
#win-alerts.arbxp-xp-alerts .alerts-instructions-heading { margin: 0; font-size: 15px; line-height: 1.5; }
#win-alerts.arbxp-xp-alerts #alerts-connect-help { font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
#win-alerts.arbxp-xp-alerts #alerts-connect-help ol { margin: 6px 0; padding-left: 20px; }
#win-alerts.arbxp-xp-alerts #alerts-connect-help li + li { margin-top: 5px; }
#win-alerts.arbxp-xp-alerts #alerts-connect-help p { margin: 8px 0 0; }
#win-alerts.arbxp-xp-alerts .alerts-full-instructions { display: contents; min-width: 0; }
#win-alerts.arbxp-xp-alerts .alerts-full-instructions > summary,
#win-alerts.arbxp-xp-alerts .alerts-topics-brief { display: none; }
#win-alerts.arbxp-xp-alerts:not(.alerts-topics-mode) .alerts-full-instructions > #alerts-connect-help { display: block; }
#win-alerts.arbxp-xp-alerts.alerts-topics-mode .alerts-topics-brief { display: block; white-space: pre-line; font-size: 13px; line-height: 1.6; }
#win-alerts.arbxp-xp-alerts.alerts-topics-mode .alerts-full-instructions { display: block; grid-column: 1; }
#win-alerts.arbxp-xp-alerts.alerts-topics-mode .alerts-full-instructions > summary { display: list-item; width: fit-content; cursor: pointer; color: #335f96; font-size: 12px; }
#win-alerts.arbxp-xp-alerts .alerts-full-instructions:not([open]) > #alerts-connect-help { display: none; }
#win-alerts.arbxp-xp-alerts.alerts-topics-mode .win-content { display: grid; grid-template-columns: minmax(280px, .92fr) minmax(360px, 1.08fr); gap: 12px 0; align-content: start; align-items: stretch; }
#win-alerts.arbxp-xp-alerts.alerts-topics-mode .win-content > .alerts-help:first-child { grid-column: 1 / -1; margin: 0; }
#win-alerts.arbxp-xp-alerts.alerts-topics-mode #alerts-folder-panel-box { grid-column: 1; padding-right: 14px; border-right: 1px solid #bdc7d5; }
#win-alerts.arbxp-xp-alerts.alerts-topics-mode .alerts-settings-box { grid-column: 2; padding-left: 16px; margin: 0; }
#win-alerts.arbxp-xp-alerts.alerts-topics-mode :is(#alerts-code-top-anchor, #alerts-code-bottom-anchor, #alerts-group-chat-slot) { display: none; }
#win-alerts.arbxp-xp-alerts.alerts-topics-mode :is(#alerts-connection-box, .alerts-saved-box) { grid-column: 1 / -1; }
#win-alerts.arbxp-xp-alerts #alerts-folder-panel { margin: 0; padding: 0; border: 0; background: transparent; }
#win-alerts.arbxp-xp-alerts #alerts-topic-group-tabs,
#win-alerts.arbxp-xp-alerts #alerts-folder-tabs { display: none; }
#win-alerts.arbxp-xp-alerts .alerts-groups-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
#win-alerts.arbxp-xp-alerts .alerts-groups-heading h3 { margin: 0; font-size: 17px; }
#win-alerts.arbxp-xp-alerts .alerts-group-picker { display: flex; gap: 8px; margin-bottom: 16px; }
#win-alerts.arbxp-xp-alerts .alerts-group-field { flex: 1; min-width: 0; }
#win-alerts.arbxp-xp-alerts #alerts-topic-group-select { display: none; }
#win-alerts.arbxp-xp-alerts .alerts-group-delete { flex: 0 0 36px; width: 36px; padding: 0; }
#win-alerts.arbxp-xp-alerts .alerts-topics-heading { flex-wrap: wrap; gap: 8px !important; margin-bottom: 8px; }
#win-alerts.arbxp-xp-alerts .alerts-topics-heading > b { font-size: 17px; }
#win-alerts.arbxp-xp-alerts .alerts-topics-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
#win-alerts.arbxp-xp-alerts .alerts-topics-actions .toolbar-btn { padding: 6px 10px; }
#win-alerts.arbxp-xp-alerts .alerts-plus-icon { display: block; flex: 0 0 18px; width: 18px; height: 18px; background: #0865d9; mask: url('/static/assets/icons/alerts-plus.svg?v=2') center/contain no-repeat; -webkit-mask: url('/static/assets/icons/alerts-plus.svg?v=2') center/contain no-repeat; }
#win-alerts.arbxp-xp-alerts #alerts-folder-topic-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: max-content; align-content: start; gap: 0; margin: 0; padding: 4px; min-height: 0; max-height: 470px; overflow-y: auto; border: 1px solid #b5bfcc; border-radius: 3px; background: #fff; }
#win-alerts.arbxp-xp-alerts .alerts-folder-item { display: grid; grid-template-columns: 18px 20px minmax(0, 1fr) 34px 34px; align-items: center; gap: 8px; min-height: 44px; padding: 5px 6px; border: 0; border-radius: 2px; background: #fff; color: #182338; box-shadow: none; font-size: 14px; line-height: 1.35; }
#win-alerts.arbxp-xp-alerts .alerts-folder-item:nth-child(even) { background: #f1f5fb; }
#win-alerts.arbxp-xp-alerts .alerts-folder-item:hover { background: #e6effd; }
#win-alerts.arbxp-xp-alerts .alerts-folder-item.route-selected { background: #c8defb; color: #063e92; box-shadow: inset 3px 0 #2472d7; }
#win-alerts.arbxp-xp-alerts .alerts-folder-name { white-space: normal; overflow: visible; overflow-wrap: anywhere; }
#win-alerts.arbxp-xp-alerts .alerts-folder-topic-check { width: 18px; height: 18px; margin: 0; }
#win-alerts.arbxp-xp-alerts .alerts-folder-item .toolbar-btn { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; }
#win-alerts.arbxp-xp-alerts .alerts-pencil-icon { display: block; width: 20px; height: 20px; margin: 0; }
#win-alerts.arbxp-xp-alerts .alerts-delete-trash { display: block; width: 20px; height: 20px; background: currentColor; }
#win-alerts.arbxp-xp-alerts .alerts-delete-trash { mask: url('/static/assets/icons/hold-trash.svg') center/contain no-repeat; -webkit-mask: url('/static/assets/icons/hold-trash.svg') center/contain no-repeat; }
#win-alerts.arbxp-xp-alerts :is(.alerts-folder-delete, .alerts-group-delete):not(:disabled):hover { color: #ab1f30; border-color: #b06571; background: #fff1f2; }
#win-alerts.arbxp-xp-alerts .alerts-folder-empty-text { padding: 12px; font-size: 13px; }
#win-alerts.arbxp-xp-alerts .alerts-settings-box { padding: 12px 0; margin: 0; }
#win-alerts.arbxp-xp-alerts .alerts-settings-box .alerts-form { --alerts-label-width: 140px; --alerts-column-gap: 12px; grid-template-columns: var(--alerts-label-width) minmax(0, 1fr); align-items: center; gap: 8px var(--alerts-column-gap); padding: 0; }
#win-alerts.arbxp-xp-alerts .alerts-form > * { min-width: 0; }
#win-alerts.arbxp-xp-alerts :is(.alerts-form > label, .alerts-advanced-fields > label) { color: #26364e; font-size: 14px; }
#win-alerts.arbxp-xp-alerts .alerts-form-title { margin: 0; padding: 0; border: 0; background: transparent; color: #182338; font-size: 18px; line-height: 1.4; }
#win-alerts.arbxp-xp-alerts .alerts-selected-branch { display: none; grid-column: 1 / -1; color: #0756b8; font-weight: bold; overflow-wrap: anywhere; }
#win-alerts.arbxp-xp-alerts.alerts-topics-mode .alerts-selected-branch { display: block; }
#win-alerts.arbxp-xp-alerts #alerts-folder-hint { display: none !important; }
#win-alerts.arbxp-xp-alerts .alerts-folder-pairs-preview { padding: 8px; margin: 0; border: 1px solid #b5c9e5; background: #edf4ff; font-size: 12px; }
#win-alerts.arbxp-xp-alerts .alerts-switch { min-height: 34px; gap: 8px; }
#win-alerts.arbxp-xp-alerts .alerts-switch input { position: static; opacity: 1; pointer-events: auto; width: 18px; height: 18px; margin: 0; }
#win-alerts.arbxp-xp-alerts .alerts-switch-track { display: none; }
#win-alerts.arbxp-xp-alerts .alerts-switch-label { color: #182338; font-weight: 400; }
#win-alerts.arbxp-xp-alerts .alerts-hidden-check { display: none; }
#win-alerts.arbxp-xp-alerts .alerts-scope { max-width: 360px; border: 0; border-radius: 4px; }
#win-alerts.arbxp-xp-alerts .alerts-scope-btn { flex: 1; }
#win-alerts.arbxp-xp-alerts .alerts-scope-btn.active { color: #fff; background: #2366c5; border-color: #134da3; }
#win-alerts.arbxp-xp-alerts .alerts-fav-preview { font-size: 12px; }
#win-alerts.arbxp-xp-alerts .alerts-ex-wrap { display: flex; gap: 8px; align-items: center; }
#win-alerts.arbxp-xp-alerts .alerts-ex-trigger { flex: 1; width: 0; justify-content: space-between; }
#win-alerts.arbxp-xp-alerts #al-ex-summary { color: #182338 !important; font-size: 14px !important; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#win-alerts.arbxp-xp-alerts .alerts-ex-reset { flex: 0 0 auto; }
#win-alerts.arbxp-xp-alerts .alerts-xp-select-btn { justify-content: space-between; gap: 12px; }
#win-alerts.arbxp-xp-alerts .alerts-xp-select-btn > span:first-child { min-width: 0; overflow-wrap: anywhere; }
#win-alerts.arbxp-xp-alerts .alerts-menu-chevron { display: block; flex: 0 0 8px; width: 8px; height: 8px; margin: 0 3px 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .18s ease; }
#win-alerts.arbxp-xp-alerts [aria-expanded=true] > .alerts-menu-chevron { transform: rotate(225deg); translate: 0 4px; }
#win-alerts.arbxp-xp-alerts :is(.alerts-xp-menu, .alerts-ex-popup) { top: calc(100% + 3px); padding: 4px; border: 1px solid #8fa5c2; border-radius: 4px; background: #fff; color: #182338; box-shadow: 2px 4px 10px #18233833; scrollbar-width: thin; scrollbar-color: #aeb7c5 transparent; }
#win-alerts.arbxp-xp-alerts .alerts-xp-menu { isolation: isolate; max-height: 230px; }
#win-alerts.arbxp-xp-alerts .alerts-xp-option { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; min-height: 34px; padding: 7px 30px 7px 10px; border-radius: 2px; font-size: 14px; color: #182338; }
#win-alerts.arbxp-xp-alerts .alerts-xp-option.active { background: #d9e8fc; color: #123f84; }
#win-alerts.arbxp-xp-alerts .alerts-xp-option:hover { background: #edf4ff; color: #182338; }
#win-alerts.arbxp-xp-alerts .alerts-option-name { min-width: 0; overflow-wrap: anywhere; }
#win-alerts.arbxp-xp-alerts .alerts-option-id { color: #63758d; font-size: 12px; overflow-wrap: anywhere; }
#win-alerts.arbxp-xp-alerts .alerts-xp-option.active::after { content: ''; position: absolute; right: 12px; width: 6px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
#win-alerts.arbxp-xp-alerts .alerts-option-highlight { position: absolute; z-index: 0; left: 0; top: 0; border-radius: 3px; background: #e0eafa; pointer-events: none; }
#win-alerts.arbxp-xp-alerts .has-motion-highlight .alerts-xp-option:hover { background: transparent; }
#win-alerts.arbxp-xp-alerts .has-motion-highlight .alerts-xp-option.active { background: transparent; }
#win-alerts.arbxp-xp-alerts .alerts-ex-popup { width: 100%; max-width: 480px; max-height: 300px; padding: 10px; }
#win-alerts.arbxp-xp-alerts .alerts-ex-grid { position: relative; isolation: isolate; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
#win-alerts.arbxp-xp-alerts .alerts-ex-item { position: relative; z-index: 1; min-width: 0; min-height: 36px; padding: 7px; font-size: 13px; }
#win-alerts.arbxp-xp-alerts .alerts-ex-item input { width: 16px; height: 16px; flex: 0 0 16px; margin: 0; }
#win-alerts.arbxp-xp-alerts .alerts-ex-item img { width: 18px; height: 18px; }
#win-alerts.arbxp-xp-alerts .has-motion-highlight .alerts-ex-item:is(:hover, :focus-within) { background: transparent; }
#win-alerts.arbxp-xp-alerts .alerts-advanced-filters { grid-column: 1 / -1; }
#win-alerts.arbxp-xp-alerts .alerts-advanced-filters > summary { display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 5px 0; color: #335b8b; cursor: pointer; list-style: none; }
#win-alerts.arbxp-xp-alerts .alerts-advanced-filters > summary::-webkit-details-marker { display: none; }
#win-alerts.arbxp-xp-alerts .alerts-advanced-filters[open] .alerts-menu-chevron { transform: rotate(225deg); translate: 0 4px; }
#win-alerts.arbxp-xp-alerts .alerts-advanced-count { font-size: 12px; }
#win-alerts.arbxp-xp-alerts .alerts-advanced-count[hidden] { display: none; }
#win-alerts.arbxp-xp-alerts .alerts-advanced-fields { display: grid; grid-template-columns: var(--alerts-label-width) minmax(0, 1fr); gap: 10px var(--alerts-column-gap); align-items: center; padding-top: 8px; }
#win-alerts.arbxp-xp-alerts .alerts-advanced-filters:not([open]) .alerts-advanced-fields { display: none; }
#win-alerts.arbxp-xp-alerts .alerts-advanced-fields textarea { min-height: 64px; resize: vertical; }
#win-alerts.arbxp-xp-alerts .alerts-branch-save { margin-top: 0; }
#win-alerts.arbxp-xp-alerts .alerts-branch-save .toolbar-btn { width: auto; max-width: 100%; margin-left: auto; display: flex; font-weight: bold; }
#win-alerts.arbxp-xp-alerts #alerts-connection-box { display: flex; flex-direction: column; gap: 10px; padding-top: 12px; border-top: 1px solid #bdc7d5; }
#win-alerts.arbxp-xp-alerts #alerts-connection-box.group-mode { display: none; }
#win-alerts.arbxp-xp-alerts :is(.alerts-group-chat-slot, .alerts-topic-chat-slot) { margin: 0; min-width: 0; }
#win-alerts.arbxp-xp-alerts .alerts-group-chat-slot { margin-bottom: 12px; }
#win-alerts.arbxp-xp-alerts :is(.alerts-group-chat-slot, .alerts-topic-chat-slot) .alerts-chat-block { display: grid; grid-template-columns: 140px minmax(0, 1fr); align-items: center; gap: 12px; margin: 0; padding: 0; border: 0; background: transparent; }
#win-alerts.arbxp-xp-alerts .alerts-chat-block > label { margin: 0; color: #26364e; font-size: 14px; font-weight: 400; }
#win-alerts.arbxp-xp-alerts .alerts-chat-line { flex-wrap: wrap; gap: 8px; min-width: 0; }
#win-alerts.arbxp-xp-alerts .alerts-chat-line > .alerts-xp-select { min-width: 160px; }
#win-alerts.arbxp-xp-alerts .alerts-delete-hold-slot { display: grid; flex: 0 0 174px; width: 174px; height: 34px; }
#win-alerts.arbxp-xp-alerts .alerts-delete-hold-slot .alerts-delete-hold { width: 100%; height: 34px; padding: 0 12px; border: 1px solid #98a8bf; border-radius: 4px; background: var(--hb-bg); color: var(--hb-text); box-shadow: inset 0 1px #fff; font: 14px/1.4 Tahoma, Arial, sans-serif; letter-spacing: 0; }
#win-alerts.arbxp-xp-alerts .alerts-delete-hold-slot .alerts-delete-hold:hover { background: var(--hb-bg); color: var(--hb-text); }
#win-alerts.arbxp-xp-alerts .alerts-delete-hold:disabled[data-phase=done] { opacity: 1; }
#win-alerts.arbxp-xp-alerts .alerts-delete-check { width: 7px; height: 13px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
#win-alerts.arbxp-xp-alerts .alerts-demo-add { margin-left: auto; border: 0; padding: 3px; background: transparent; color: #335f96; cursor: pointer; font-size: 12px; }
#win-alerts.arbxp-xp-alerts .alerts-demo-add[hidden] { display: none; }
#win-alerts.arbxp-xp-alerts #alerts-code-box { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; align-items: center; margin: 0 0 12px; min-width: 0; }
#win-alerts.arbxp-xp-alerts .alerts-code-label { color: #26364e; font-size: 14px; }
#win-alerts.arbxp-xp-alerts .alerts-code-controls { display: flex; align-items: center; gap: 8px; min-width: 0; }
#win-alerts.arbxp-xp-alerts .alerts-code-row { display: flex; align-items: center; flex: 1; min-width: 0; gap: 6px; }
#win-alerts.arbxp-xp-alerts #alerts-code { flex: 1; min-width: 0; min-height: 34px; padding: 6px 10px; border: 1px solid #98a8bf; border-radius: 4px; background: #fff; color: #304b73; font: 13px/1.6 Consolas, monospace; overflow-wrap: anywhere; text-align: left; box-shadow: inset 1px 1px 2px #263b5712; }
#win-alerts.arbxp-xp-alerts #alerts-code :is(div, span) { font-family: Consolas, monospace; font-size: 13px !important; }
#win-alerts.arbxp-xp-alerts .alerts-code-tools { display: flex; align-items: center; }
#win-alerts.arbxp-xp-alerts .alerts-code-copy { width: 34px; height: 34px; padding: 0; }
#win-alerts.arbxp-xp-alerts .alerts-copy-symbol { display: block; width: 20px; height: 20px; background: currentColor; mask: url('/static/assets/icons/alerts-copy.svg') center/contain no-repeat; -webkit-mask: url('/static/assets/icons/alerts-copy.svg') center/contain no-repeat; }
#win-alerts.arbxp-xp-alerts .alerts-code-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
#win-alerts.arbxp-xp-alerts .alerts-code-actions button { white-space: nowrap; }
#win-alerts.arbxp-xp-alerts #alerts-connection-box #alerts-code-box { margin: 0; }
#win-alerts.arbxp-xp-alerts .alerts-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
#win-alerts.arbxp-xp-alerts .alerts-actions .toolbar-btn { min-width: 150px; }
#win-alerts.arbxp-xp-alerts .alerts-actions .pxi-svg { display: none; }
#win-alerts.arbxp-xp-alerts #alerts-connection-box .alerts-actions { margin: 0; }
#win-alerts.arbxp-xp-alerts .alerts-saved-box { margin-top: 14px; padding-top: 12px; border-top: 1px solid #bdc7d5; }
#win-alerts.arbxp-xp-alerts.alerts-topics-mode .alerts-saved-box { margin: 0; }
#win-alerts.arbxp-xp-alerts .alerts-saved-box > b { font-size: 15px; }
#win-alerts.arbxp-xp-alerts .alerts-saved-box > details > summary { cursor: pointer; font-weight: bold; font-size: 14px; color: #26364e; }
#win-alerts.arbxp-xp-alerts .alerts-item { background: #fff; color: #182338; border-color: #b5bfcc; }
.alerts-dialog-backdrop { position: fixed; inset: 0; z-index: 99998; background: #14233b55; }
.arbxp-alerts-dialog.xp-dlg { width: min(440px, calc(100vw - 32px)); min-width: 0; max-width: none; max-height: calc(100dvh - 32px); overflow: auto; background: #eceef2; color: #182338; border-radius: 5px 5px 0 0; color-scheme: light; }
.arbxp-alerts-dialog :is(input, button, .xp-dlg-msg) { font-family: Tahoma, Arial, sans-serif; font-size: 14px; letter-spacing: 0; }
.arbxp-alerts-dialog .xp-dlg-title > span:first-child { display: flex; align-items: center; gap: 8px; min-width: 0; overflow-wrap: anywhere; }
.arbxp-alerts-dialog .xp-dlg-body { padding: 20px; }
.arbxp-alerts-dialog .xp-dlg-msg { line-height: 1.6; overflow-wrap: anywhere; }
.arbxp-alerts-dialog .xp-dlg-input { min-height: 36px; border: 1px solid #98a8bf; border-radius: 3px; padding: 8px; }
.arbxp-alerts-dialog .xp-dlg-btns { flex-wrap: wrap; gap: 8px; }
.arbxp-alerts-dialog .xp-dlg-btns button { min-height: 34px; min-width: 85px; padding: 6px 14px; border: 1px solid #8c9eb8; border-radius: 4px; background: linear-gradient(#fff, #e7eaf0); color: #172d59; cursor: pointer; }
.arbxp-alerts-dialog :is(button, input, .xp-close):focus-visible { outline: 2px solid #246bce; outline-offset: 2px; }
@container alerts (max-width: 850px) {
  #win-alerts.arbxp-xp-alerts .alerts-form { --alerts-label-width: 112px; --alerts-column-gap: 10px; }
  #win-alerts.arbxp-xp-alerts .alerts-topics-actions { width: 100%; }
  #win-alerts.arbxp-xp-alerts .alerts-code-controls { flex-wrap: wrap; }
  #win-alerts.arbxp-xp-alerts .alerts-code-row { flex-basis: 100%; }
  #win-alerts.arbxp-xp-alerts #alerts-code-box { align-items: start; }
  #win-alerts.arbxp-xp-alerts .alerts-code-label { padding-top: 7px; }
}
@media (max-width: 720px) {
  #win-alerts.arbxp-xp-alerts.alerts-topics-mode .win-content { grid-template-columns: minmax(0, 1fr); }
  #win-alerts.arbxp-xp-alerts.alerts-topics-mode #alerts-folder-panel-box { padding: 0; border: 0; }
  #win-alerts.arbxp-xp-alerts.alerts-topics-mode .alerts-settings-box { grid-column: 1; padding: 12px 0 0; border-top: 1px solid #bdc7d5; }
}
#win-alerts.arbxp-xp-alerts.alerts-topics-mode.alerts-compact .win-content { grid-template-columns: minmax(0, 1fr); }
#win-alerts.arbxp-xp-alerts.alerts-topics-mode.alerts-compact #alerts-folder-panel-box { padding: 0; border: 0; }
#win-alerts.arbxp-xp-alerts.alerts-topics-mode.alerts-compact .alerts-settings-box { grid-column: 1; padding: 12px 0 0; border-top: 1px solid #bdc7d5; }
@media (any-pointer: coarse) {
  #win-alerts.arbxp-xp-alerts :is(.toolbar-btn, .alerts-scope-btn, input:not([type=checkbox]), select) { min-height: 40px; }
  #win-alerts.arbxp-xp-alerts .alerts-folder-item { grid-template-columns: 18px 20px minmax(0, 1fr) 40px 40px; min-height: 50px; }
  #win-alerts.arbxp-xp-alerts .alerts-folder-item .toolbar-btn { width: 40px; height: 40px; }
  #win-alerts.arbxp-xp-alerts .alerts-delete-hold-slot,
  #win-alerts.arbxp-xp-alerts .alerts-delete-hold-slot .alerts-delete-hold { height: 40px; }
  #win-alerts.arbxp-xp-alerts #alerts-code { min-height: 40px; padding-top: 9px; padding-bottom: 9px; }
  #win-alerts.arbxp-xp-alerts .alerts-code-copy { width: 40px; height: 40px; }
  .arbxp-alerts-dialog .xp-dlg-btns button { min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  #win-alerts.arbxp-xp-alerts .alerts-menu-chevron { transition: none; }
}
