/* --------------------------------------------------------------------------
   Admin CSS — shared framework
   -------------------------------------------------------------------------- */

:root {
  /* Layout */
  --sidebar-width: 260px;
  --page-padding-x: 48px;
  --page-padding-y: 40px;
  --content-max-width: 1120px;
  --section-gap: 32px;
  --card-padding: 24px;

  /* Radius */
  --radius: 4px;
  --radius-sm: 4px;
  --radius-md: 6px;

  /* Spacing scale (px) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;

  /* Colors */
  --color-bg: #ffffff;
  --color-bg-soft: #f7f7f7;
  --color-border: #e2e2e2;
  --color-border-strong: #c8c8c8;
  --color-text: #111111;
  --color-muted: #666666;
  --color-subtle: #888888;
  --color-danger: #c62828;

  /* Typography — forms */
  --font-size-form-inline: 14px;
  --font-size-form-caption: 13px;
}

/* --------------------------------------------------------------------------
   Reset / base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:hover {
  text-decoration: underline;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
}

hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--section-gap) 0;
}

/* After an hr the next h2 doesn't need its own full top margin */
hr+h2 {
  margin-top: 16px;
}

/* --------------------------------------------------------------------------
   Skip link
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  padding: 6px 12px;
  background: var(--color-text);
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  left: 8px;
}

/* --------------------------------------------------------------------------
   Screen-reader only
   -------------------------------------------------------------------------- */
.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;
}

/* --------------------------------------------------------------------------
   Shell layout
   -------------------------------------------------------------------------- */
.shell {
  display: flex;
  min-height: 100vh;
}

/* Admin desktop: sidebar column + content column with toolbar row */
@media (min-width: 721px) {
  .shell:has(#admin-nav) {
    display: grid;
    grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    min-height: 100vh;
  }

  .shell:has(#admin-nav)>.nav {
    display: contents;
  }

  .shell:has(#admin-nav)>.main {
    grid-column: 2;
    grid-row: 2;
    padding-top: 0;
    padding-left: var(--page-padding-x);
    padding-right: var(--page-padding-x);
    padding-bottom: var(--page-padding-y);
    /* Establish a stacking context so the content layer sits above the transparent
       nav__chrome (grid-row 1) which otherwise has no background and can silently
       intercept pointer events that visually appear to be over the table rows. */
    position: relative;
    z-index: 1;
  }

  .shell:has(#admin-nav) .nav__panel {
    grid-column: 1;
    grid-row: 1 / -1;
    align-self: stretch;
    min-height: 100vh;
    box-sizing: border-box;
    border-right: 1px solid var(--color-border);
    background: #fafafa;
    padding: 24px 16px;
  }

  .shell:has(#admin-nav) .nav__chrome {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    margin-bottom: 0;
    padding: var(--page-padding-y) var(--page-padding-x) var(--section-gap);
    /* The chrome is transparent on desktop; disable pointer-events on the chrome
       container so its invisible padding/margins never swallow hover events that
       visually belong to content below. Re-enable on actual interactive children. */
    pointer-events: none;
  }

  .shell:has(#admin-nav) .nav__chrome button,
  .shell:has(#admin-nav) .nav__chrome a {
    pointer-events: auto;
  }

  .shell:has(#admin-nav) .nav__chrome-title {
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -0.02em;
  }
}

.main {
  flex: 1;
  padding: var(--page-padding-y) var(--page-padding-x);
  min-width: 0;
  max-width: calc(var(--content-max-width) + var(--sidebar-width));
  outline: none;
}

/* --------------------------------------------------------------------------
   Sidebar / Nav
   -------------------------------------------------------------------------- */
.nav {
  width: var(--sidebar-width);
  flex-shrink: 0;
  border-right: 1px solid var(--color-border);
  padding: 24px 16px;
  background: #fafafa;
  display: flex;
  flex-direction: column;
}

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  cursor: pointer;
}

.nav__toggle:hover {
  background: #eaeaea;
}

.nav__toggle-bars {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.nav__panel {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.nav__chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-bottom: 16px;
}

.nav__toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.nav__chrome-title {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav__chrome-back {
  flex-shrink: 0;
}

.nav__toolbar-end {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav__panel-head {
  margin-bottom: 0;
}

.nav__panel-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding: 0 12px;
}

.nav__panel .nav__brand {
  display: block;
  padding: 0;
  margin-bottom: 0;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-text);
  text-decoration: none;
}

.nav__logout-form {
  margin: 0;
  flex-shrink: 0;
}

.nav__panel .nav__brand:hover {
  text-decoration: none;
}

/* Mobile drawer backdrop — hidden on desktop */
.nav__backdrop {
  display: none;
}

.nav__list {
  list-style: none;
}

/* Top-level item (Dashboard) */
.nav__item {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--color-text);
  text-decoration: none;
}

.nav__item:hover {
  background: #eaeaea;
  text-decoration: none;
}

.nav__item.is-active {
  background: #eaeaea;
  font-weight: 600;
}

/* Sub-app group */
.nav__group {
  margin-top: 24px;
}

.nav__group-label {
  display: block;
  padding: 0 12px;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-subtle);
}

.nav__subitems {
  list-style: none;
}

.nav__subitem {
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 12px 0 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--color-text);
  text-decoration: none;
}

.nav__subitem:hover {
  background: #eaeaea;
  text-decoration: none;
}

.nav__subitem.is-active {
  background: #eaeaea;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Page header
   -------------------------------------------------------------------------- */
.page--header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--section-gap);
  flex-wrap: wrap;
}

.page--header> :only-child {
  margin-left: auto;
}

.page__title {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   Notice / alert
   -------------------------------------------------------------------------- */
.notice {
  padding: 10px 14px;
  border: 1px solid var(--color-danger);
  color: var(--color-danger);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 18px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  color: var(--color-text);
  background: var(--color-bg);
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
  background: #f5f5f5;
}

.btn--primary {
  background: var(--color-text);
  color: #fff;
  border-color: var(--color-text);
}

.btn--primary:hover {
  background: #333;
  border-color: #333;
  color: #fff;
}

.btn--danger {
  color: var(--color-danger);
  border-color: #e57373;
  background: var(--color-bg);
}

.btn--danger:hover {
  background: #fff5f5;
}

/* Icon-only buttons (delete, etc.) */
.btn.btn--icon {
  padding: 0;
  gap: 0;
}

.btn.btn--danger.btn--icon {
  width: 40px;
  min-width: 40px;
}

.btn.btn--danger.btn--sm.btn--icon {
  width: 30px;
  min-width: 30px;
}

/* --------------------------------------------------------------------------
   Form fields
   -------------------------------------------------------------------------- */
.field {
  margin-top: 16px;
}

.field__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.field__help {
  font-size: 13px;
  color: var(--color-muted);
  margin-top: 4px;
}

.field__optional {
  font-weight: normal;
  color: var(--color-muted);
  font-size: 13px;
}

.input,
.select {
  display: block;
  width: 100%;
  height: 40px;
  padding: 0 10px;
  border: 1px solid #bdbdbd;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 14px;
  background: var(--color-bg);
  color: var(--color-text);
}

.textarea {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #bdbdbd;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 14px;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  background: var(--color-bg);
  color: var(--color-text);
  resize: vertical;
  min-height: 200px;
  line-height: 1.6;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: 2px solid var(--color-text);
  outline-offset: 1px;
  border-color: var(--color-text);
}

label.inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--font-size-form-inline);
  font-weight: normal;
  cursor: pointer;
  margin-top: 12px;
}

label.inline--stacked {
  align-items: flex-start;
}

label.inline--stacked>input[type="checkbox"] {
  margin-top: 3px;
}

/* Inline table forms: autosave can_read/can_write checkables */
input[type="checkbox"][data-autosave]:not(:disabled) {
  cursor: pointer;
}

.inline__stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.35;
}

.inline__title {
  font-size: var(--font-size-form-inline);
}

.inline__detail {
  font-size: var(--font-size-form-caption);
  color: var(--color-muted);
  font-weight: normal;
}

/* Checkbox + primary actions on one row (e.g. memo value footer) */
.form-footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-top: 16px;
}

.form-footer-row .field {
  margin-top: 0;
}

.form-footer-row__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-inline-start: auto;
}

.form-footer-row label.inline {
  margin-top: 0;
}

/* --------------------------------------------------------------------------
   Panel
   -------------------------------------------------------------------------- */
.panel {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--card-padding);
  background: var(--color-bg);
  margin-top: var(--section-gap);
}

/* Reset heading margin at top of panel */
.panel>h2:first-child,
.panel>h3:first-child {
  margin-top: 0;
}

.stack>*+* {
  margin-top: 12px;
}

/* --------------------------------------------------------------------------
   Tables
   -------------------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  margin-top: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}

.table caption {
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-soft);
}

.table th {
  padding: 10px 20px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

.table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: middle;
}

.table tbody tr:last-child td {
  border-bottom: none;
}

.table tbody tr:hover td {
  background: #fafafa;
}

/* Row click handlers use data-href; cursor on `tr` is ignored in Chromium — set on td.
   Do NOT add cursor:revert on child interactive elements here: cursor:revert resolves to
   the UA default (cursor:default for <button>), which beats .btn's cursor:pointer and
   causes the cursor to flicker between pointer and default as the mouse crosses button
   boundaries inside a clickable row. */
.table tbody tr[data-href] td {
  cursor: pointer;
}

/* Last two columns fixed width + centered; all preceding columns share remaining space.
   Use for rows like … | Write | Actions (token detail, group token access, etc.). */
.table.table--fixed-last-2 {
  table-layout: fixed;
}

.table.table--fixed-last-2 th:nth-last-child(2),
.table.table--fixed-last-2 td:nth-last-child(2) {
  width: 5.75rem;
  text-align: center;
  vertical-align: middle;
}

.table.table--fixed-last-2 th:nth-last-child(1),
.table.table--fixed-last-2 td:nth-last-child(1) {
  width: 8.75rem;
  text-align: center;
  vertical-align: middle;
}

.table.table--fixed-last-2 td:nth-last-child(2) form {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.table.table--fixed-last-2 td.actions>form {
  justify-content: center;
}

/* Keep action cells as real table cells so they align with sibling columns (e.g. Tokens | Delete). */
.table td.actions {
  vertical-align: middle;
}

.table td.actions>form {
  margin: 0;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

/* Link styled as button: match baseline/middle alignment with forms in sibling cells */
.table td>a.btn {
  vertical-align: middle;
}

/* Use inside td.actions when multiple controls must sit in one horizontal row */
.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* Empty state row */
.table .empty-state td {
  padding: 32px 20px;
  color: var(--color-muted);
  font-size: 14px;
}

.empty-hint {
  display: block;
  font-size: 13px;
  color: var(--color-subtle);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Typography — section headings
   -------------------------------------------------------------------------- */
h2 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: var(--section-gap);
  margin-bottom: 12px;
}

h3 {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  margin-top: 16px;
  margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
   Links
   -------------------------------------------------------------------------- */
.link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.text-muted {
  color: var(--color-muted);
}

/* --------------------------------------------------------------------------
   Spacing utilities
   -------------------------------------------------------------------------- */
.mt-4 {
  margin-top: 16px;
}

.mt-6 {
  margin-top: var(--section-gap);
}

/* --------------------------------------------------------------------------
   Login wrap
   -------------------------------------------------------------------------- */
.login-wrap {
  max-width: 400px;
}

/* --------------------------------------------------------------------------
   Focus visibility
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 720px) {
  .shell:has(#admin-nav) {
    display: flex;
    flex-direction: column;
  }

  .shell:has(#admin-nav)>.nav {
    display: flex;
  }

  .shell:has(#admin-nav)>.main {
    grid-column: unset;
    grid-row: unset;
    padding: 12px 16px;
  }

  .shell:has(#admin-nav) .nav__chrome {
    grid-column: unset;
    grid-row: unset;
    align-self: stretch;
    padding: 6px 12px;
  }

  :root {
    /* Fallback until JS measures .nav__chrome; backdrop/panel top sync via script */
    --admin-mobile-nav-chrome-height: 56px;
  }

  body.admin-nav-drawer-open {
    overflow: hidden;
  }

  .shell {
    flex-direction: column;
  }

  .nav {
    position: relative;
    z-index: 210;
    width: 100%;
    border-right: none;
    border-bottom: none;
    padding: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    align-content: flex-start;
    box-sizing: border-box;
    min-height: 0;
  }

  .nav__chrome {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-bottom: 0;
    padding: 6px 12px;
    box-sizing: border-box;
    min-height: 48px;
    border-bottom: 1px solid var(--color-border);
    background: #fafafa;
  }

  .nav__toolbar {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
  }

  .shell:has(#admin-nav) .nav__chrome-title {
    font-size: 15px;
    line-height: 1.25;
    letter-spacing: -0.02em;
  }

  .nav__toggle {
    display: inline-flex;
    margin-bottom: 0;
  }

  .nav__backdrop {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--admin-mobile-nav-chrome-height);
    bottom: 0;
    z-index: 150;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    appearance: none;
    font: inherit;
    background: rgba(17, 17, 17, 0.48);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .nav.nav--open .nav__backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .shell:has(#admin-nav) .nav__panel {
    grid-column: unset;
    grid-row: unset;
    align-self: unset;
    min-height: calc(100dvh - var(--admin-mobile-nav-chrome-height));
    position: fixed;
    top: var(--admin-mobile-nav-chrome-height);
    left: 0;
    width: 80vw;
    max-width: 80vw;
    max-height: calc(100vh - var(--admin-mobile-nav-chrome-height));
    max-height: calc(100dvh - var(--admin-mobile-nav-chrome-height));
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 160;
    flex: none;
    margin: 0;
    padding: 16px;
    background: #fafafa;
    border-right: 1px solid var(--color-border);
    box-shadow: 6px 0 28px rgba(0, 0, 0, 0.14);
    transform: translateX(-105%);
    transition: transform 0.22s ease;
    pointer-events: none;
    -webkit-overflow-scrolling: touch;
  }

  .shell:has(#admin-nav) .nav.nav--open .nav__panel {
    transform: translateX(0);
    pointer-events: auto;
  }

  /* Vertical submenu under Memo label (match desktop hierarchy) */
  .nav__list {
    display: block;
    width: 100%;
  }

  .nav__group {
    margin-top: 16px;
  }

  .nav__group-label {
    display: block;
  }

  .nav__subitems {
    display: block;
    width: 100%;
  }

  .main {
    padding: 24px 20px;
  }
}

/* --------------------------------------------------------------------------
   Tab bar — dashboard security event filter
   -------------------------------------------------------------------------- */
.tab-bar {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--color-border);
  margin-top: var(--section-gap);
}

.tab-bar__tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}

.tab-bar__tab:hover {
  color: var(--color-text);
  text-decoration: none;
}

.tab-bar__tab.is-active {
  color: var(--color-text);
  border-bottom-color: var(--color-text);
  font-weight: 600;
}

.tab-bar__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  padding: 0 5px;
  height: 18px;
  border-radius: 9px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  font-size: 11px;
  font-weight: 600;
  color: var(--color-muted);
  line-height: 1;
}

.table-wrap--no-top-radius {
  margin-top: 0;
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* --------------------------------------------------------------------------
   Security level badge modifiers (extend .badge from admin-memo.css)
   -------------------------------------------------------------------------- */
.badge--critical {
  background: #fff5f5;
  border-color: #e57373;
  color: var(--color-danger);
}

.badge--high {
  background: #fff8f0;
  border-color: #ffb74d;
  color: #bf6000;
}

.badge--medium {
  background: #fffde7;
  border-color: #ffd54f;
  color: #8a6500;
}

.badge--info {
  background: #f0f4ff;
  border-color: #90a4d4;
  color: #2c4a8a;
}

.badge--unknown {
  background: #f0f4ff;
  border-color: #90a4d4;
  color: #2c4a8a;
}

/* SPA loading state */
.main.is-loading {
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 0.15s;
}

/* --------------------------------------------------------------------------
   Push notification bell
   -------------------------------------------------------------------------- */
.push-bell {
  padding: 0;
  width: 34px;
  min-width: 34px;
}

.push-bell__icon {
  display: block;
  width: 22px;
  height: 22px;
}

.push-bell__icon--on {
  display: none;
  fill: var(--color-primary, currentColor);
}

.push-bell--active .push-bell__icon--off {
  display: none;
}

.push-bell--active .push-bell__icon--on {
  display: block;
}

.push-bell--loading {
  opacity: 0.5;
  pointer-events: none;
}