/* Shared by every page, in both designs: the OpMonitor logo next to the name. */
.brand-logo { height: 30px; width: auto; display: block; flex: none; }
.auth-brand-mark .brand-logo { height: 40px; }
.brand-logo.bl-light { display: none; }
:root[data-theme="light"] .brand-logo.bl-dark,
:root[data-ops="light"] .brand-logo.bl-dark { display: none; }
:root[data-theme="light"] .brand-logo.bl-light,
:root[data-ops="light"] .brand-logo.bl-light { display: block; }

/* Accessibility (WCAG 2.2 AA), both designs */
:focus-visible { outline: 2px solid var(--accent, #38bdf8) !important; outline-offset: 2px !important; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 1000; padding: 8px 14px; border-radius: 6px;
  background: var(--accent, #38bdf8); color: #0b0f1a !important; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 8px; }
main:focus { outline: none; }
/* Field edges at 3:1 against their background (the classic theme's own borders are fainter) */
:root { --field-border: #5f7190; }
:root[data-theme="light"] { --field-border: #7b8799; }
:root:not([data-ui="opsuite"]) :where(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]), select, textarea) {
  border-color: var(--field-border) !important;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
html[data-ui="opsuite"] .skip-link { color: #ffffff !important; border-radius: 2px; }
/* Blinking status dots and slide-ins stop for people who ask their system for less motion */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Trash icon for Delete buttons (the 🗑 emoji is gray and hard to see on dark buttons):
   drawn in the button's danger color, white on filled red buttons. */
.ico-trash { display: inline-block; width: 15px; height: 15px; vertical-align: -2px; flex: none;
  background-color: var(--fail, #ef4444);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18M8 6V4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6M10 11v6M14 11v6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18M8 6V4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6M10 11v6M14 11v6'/%3E%3C/svg%3E") center / contain no-repeat; }
html[data-ui="opsuite"] :is(.btn-danger, .btn.danger) .ico-trash { background-color: #ffffff; }
@media (forced-colors: active) { .ico-trash { background-color: ButtonText; } }
