/* Account and support windows share the desktop Alerts control scale. */
.arbxp-system-window { color-scheme: light; color: #182338; background: #eceef2; }
.arbxp-system-window > .win-titlebar { background: linear-gradient(#4091ff, #0665ef 12%, #0052d6 88%, #0646b8); }
.arbxp-system-window .win-title { font-size: 14px; }
.arbxp-system-window :is(button, input, select, textarea, label) { font-family: Tahoma, Arial, sans-serif; letter-spacing: 0; }
.arbxp-system-window :is(button, input, select, textarea):focus-visible { outline: 2px solid #246bce; outline-offset: 2px; }
.arbxp-system-window .system-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; 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; font: 14px/1.3 Tahoma, Arial, sans-serif; cursor: pointer; }
.arbxp-system-window .system-action:not(:disabled):hover { background: linear-gradient(#fff, #dae8fc); border-color: #407ccc; }
.arbxp-system-window .system-action:not(:disabled):active { background: #d5e3f5; box-shadow: inset 1px 1px 2px #8c9eb888; }
.arbxp-system-window .system-action:disabled { opacity: .55; cursor: wait; }
.arbxp-system-window .system-action .pxi-svg { width: 18px; height: 18px; flex: 0 0 18px; margin: 0; }
.arbxp-system-window .system-action.primary { border-color: #246bce; background: linear-gradient(#fff, #dbe8fa); font-weight: bold; }
.arbxp-system-window .system-action.danger { color: #922d3c; }
.arbxp-system-window .system-action.danger:hover { border-color: #b06571; background: #fff1f2; }
.arbxp-system-window .account-content { min-height: 0; display: flex; flex-direction: column; gap: 16px; padding: 18px; background: #f1f2f5; color: #182338; font: 14px/1.45 Tahoma, Arial, sans-serif; overflow: auto; text-align: left; }
.arbxp-system-window .account-identity { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 14px; }
.arbxp-system-window .account-avatar { position: relative; display: grid; place-items: center; width: 64px; height: 64px; overflow: hidden; border: 1px solid #98b4db; border-radius: 4px; background: #dbe8fa; color: #164d99; font: bold 26px/1 Tahoma, Arial, sans-serif; }
.arbxp-system-window .account-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.arbxp-system-window .account-name { font-size: 18px; line-height: 1.35; font-weight: bold; overflow-wrap: anywhere; }
.arbxp-system-window .account-handle { margin-top: 4px; color: #536780; font-size: 13px; overflow-wrap: anywhere; }
.arbxp-system-window .account-details { display: grid; grid-template-columns: 120px minmax(0, 1fr); align-items: baseline; gap: 10px 12px; margin: 0; padding-top: 14px; border-top: 1px solid #bdc7d5; }
.arbxp-system-window .account-details dt { color: #536780; }
.arbxp-system-window .account-details dd { margin: 0; overflow-wrap: anywhere; }
.arbxp-system-window .account-id { font: 13px/1.5 Consolas, monospace; user-select: all; }
.arbxp-system-window .account-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid #bdc7d5; }
#win-bug-report.arbxp-system-window .bug-report-form { height: auto; min-height: 0; flex: 1; gap: 12px; padding: 16px; background: #f1f2f5; color: #182338; font: 14px/1.45 Tahoma, Arial, sans-serif; }
#win-bug-report.arbxp-system-window .bug-report-field { grid-template-columns: 144px minmax(0, 1fr); gap: 12px; }
#win-bug-report.arbxp-system-window .bug-report-field > label { padding-top: 7px; color: #26364e; font-weight: normal; }
#win-bug-report.arbxp-system-window .bug-report-field > label small { display: block; color: #63758d; font-size: 12px; }
#win-bug-report.arbxp-system-window :is(.bug-report-input, .bug-report-select, .bug-report-textarea) { min-height: 34px; padding: 7px 10px; border: 1px solid #98a8bf; border-radius: 4px; background: #fff; color: #182338; box-shadow: inset 1px 1px 2px #263b5712; font: 14px/1.35 Tahoma, Arial, sans-serif; }
#win-bug-report.arbxp-system-window :is(input, textarea)::placeholder { color: #7b8799; opacity: 1; }
#win-bug-report.arbxp-system-window .bug-report-textarea { min-height: 104px; }
#win-bug-report.arbxp-system-window .bug-report-textarea.steps { min-height: 72px; }
#win-bug-report.arbxp-system-window .bug-report-upload-row { flex-wrap: wrap; gap: 6px 10px; }
#win-bug-report.arbxp-system-window .bug-report-file-name { flex-basis: 100%; font-size: 12px; color: #63758d; }
#win-bug-report.arbxp-system-window .bug-report-preview { width: 180px; height: 100px; border: 1px solid #98a8bf; border-radius: 4px; overflow: hidden; }
#win-bug-report.arbxp-system-window .bug-report-status { min-height: 18px; margin-left: 156px; color: #a52137; font-size: 12px; font-weight: normal; overflow-wrap: anywhere; }
#win-bug-report.arbxp-system-window .bug-report-actions { padding-top: 12px; border-color: #bdc7d5; }
#win-bug-report.arbxp-system-window .bug-report-success { color: #182338; font-size: 14px; }
#win-bug-report.arbxp-system-window .bug-report-success > b { font-size: 18px; }
.arbxp-system-window .system-select { position: relative; min-width: 0; }
.arbxp-system-window .system-select > select { display: none; }
.arbxp-system-window .system-select-trigger { width: 100%; justify-content: space-between; text-align: left; }
.arbxp-system-window .system-chevron { 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; }
.arbxp-system-window [aria-expanded=true] .system-chevron { transform: rotate(225deg); translate: 0 4px; }
.arbxp-system-window .system-select-menu { position: absolute; top: calc(100% + 3px); left: 0; right: 0; z-index: 100; max-height: 250px; overflow: auto; padding: 4px; border: 1px solid #8fa5c2; border-radius: 4px; background: #fff; box-shadow: 2px 4px 10px #18233833; scrollbar-width: thin; scrollbar-color: #aeb7c5 transparent; }
.arbxp-system-window .system-select-menu[hidden] { display: none; }
.arbxp-system-window .system-select-option { position: relative; min-height: 34px; padding: 7px 28px 7px 10px; border-radius: 2px; cursor: pointer; font-size: 14px; }
.arbxp-system-window .system-select-option[aria-selected=true] { background: #d9e8fc; color: #123f84; }
.arbxp-system-window .system-select-option:is(:hover, :focus) { outline: none; background: #e0eafa; }
.arbxp-system-window .system-select-option[aria-selected=true]::after { content: ''; position: absolute; right: 12px; top: 9px; width: 6px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
@media (max-width: 720px) {
  #win-bug-report.arbxp-system-window .bug-report-field { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  #win-bug-report.arbxp-system-window .bug-report-field > label { padding-top: 0; }
  #win-bug-report.arbxp-system-window .bug-report-field > label small { display: inline; margin-left: 4px; }
  #win-bug-report.arbxp-system-window .bug-report-status { margin-left: 0; }
}
@media (any-pointer: coarse) {
  .arbxp-system-window .system-action,
  #win-bug-report.arbxp-system-window :is(.bug-report-input, .bug-report-select) { min-height: 40px; }
  .arbxp-system-window .system-select-option { min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .arbxp-system-window .system-chevron { transition: none; }
}
