@layer brewery-components {
  @scope (.brewery) {
    /* Reusable controls and surfaces. Route styles consume these classes but must
   not redefine their geometry, state colors, or accessibility affordances. */
    .button {
      display: inline-flex;
      min-height: 2.5rem;
      align-items: center;
      justify-content: center;
      gap: 0.35rem;
      padding: 0.45rem 0.7rem;
      border: 1px solid var(--border-control);
      border-radius: var(--radius);
      background: var(--field);
      color: var(--fg);
      cursor: pointer;
      font: inherit;
      font-weight: 650;
      line-height: 1;
      text-decoration: none;
    }
    .button:hover {
      background: var(--accent-soft);
      color: var(--fg);
      text-decoration: none;
    }
    .button--primary {
      border-color: var(--accent);
      background: var(--accent);
      color: var(--on-accent);
    }
    .button--primary:hover {
      border-color: var(--accent-strong);
      background: var(--accent-strong);
      color: var(--on-accent);
    }
    .button--danger {
      border-color: var(--danger);
      color: var(--danger);
    }
    .button--danger:hover {
      border-color: var(--danger);
      background: var(--danger);
      color: var(--on-danger);
    }
    .button--secondary {
      background: var(--field);
    }
    .button--compact {
      min-height: 0;
      padding: 0.32rem 0.65rem;
      font-size: 0.8rem;
      font-weight: 600;
    }
    .button--compact .brewery-icon {
      display: block;
      flex: 0 0 auto;
      width: 0.9rem;
      height: 0.9rem;
    }
    .button--quiet {
      min-height: 0;
      border: 0;
      background: transparent;
      border-radius: var(--radius);
      color: var(--fg);
      justify-content: flex-start;
    }
    .button--text {
      min-height: 0;
      padding: 0.35rem 0.15rem;
      border-color: transparent;
      background: transparent;
      color: var(--muted);
    }
    .button--icon {
      position: relative;
      width: var(--nav-control-height);
      height: var(--nav-control-height);
      min-height: var(--nav-control-height);
      padding: 0;
    }
    .button--icon .brewery-icon {
      width: 1.05rem;
      height: 1.05rem;
    }
    .avatar {
      display: inline-flex;
      width: 1.65rem;
      height: 1.65rem;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      background: var(--accent-soft);
      color: var(--accent-strong);
      font-family: var(--mono);
      font-size: 0.78rem;
      font-weight: 800;
      object-fit: cover;
    }
    .auth-nav .avatar--nav {
      display: inline-flex;
      flex: 0 0 auto;
      width: 1.75rem;
      height: 1.75rem;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      object-fit: cover;
      line-height: 1;
    }

    .page-stack {
      width: 100%;
      margin: 0.35rem 0 1.5rem;
    }
    .settings-panel {
      min-width: 0;
      padding: 1rem 1.1rem 1.1rem;
      border: 1px solid var(--line);
      border-radius: calc(var(--radius) + 0.2rem);
      background: var(--panel);
    }
    .settings-panel-wide {
      grid-column: 1 / -1;
    }
    .settings-layout {
      display: grid;
      grid-template-columns: 11rem minmax(0, 1fr);
      gap: 1.5rem;
      margin-top: 1.25rem;
    }
    .settings-page {
      display: grid;
      grid-template-columns: 14rem minmax(0, 1fr);
      gap: 2rem;
      align-items: start;
      margin: 0.75rem 0 1.5rem;
    }
    .settings-sidebar {
      position: sticky;
      top: calc(var(--header-height) + 1rem);
      display: grid;
      gap: 0.75rem;
      min-width: 0;
    }
    .settings-identity {
      display: flex;
      align-items: center;
      gap: 0.65rem;
      min-width: 0;
      padding: 0.25rem 0.35rem;
      color: var(--fg);
      text-decoration: none;
    }
    .settings-identity > span {
      display: grid;
      min-width: 0;
      line-height: 1.3;
    }
    .settings-identity strong,
    .settings-identity span span {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .settings-identity span span {
      color: var(--muted);
      font-size: 0.85rem;
    }
    .settings-avatar {
      width: 2.5rem;
      height: 2.5rem;
      flex: 0 0 auto;
      font-size: 1rem;
    }
    .settings-sidebar-title {
      margin: 0;
      padding: 0 0.35rem;
      color: var(--muted);
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }
    .settings-content {
      display: grid;
      gap: 1rem;
      min-width: 0;
      max-width: 52rem;
    }
    .settings-head h1 {
      margin: 0;
    }
    .settings-head p {
      margin: 0.25rem 0 0;
    }
    .settings-stack {
      display: grid;
      gap: 1rem;
      min-width: 0;
    }
    .settings-nav {
      display: grid;
      align-content: start;
      gap: 0.1rem;
      height: max-content;
      padding: 0;
    }
    .settings-nav a {
      padding: 0.45rem 0.65rem;
      border-radius: var(--radius);
      color: var(--muted);
      font-size: 0.9rem;
      font-weight: 600;
      text-decoration: none;
    }
    .settings-nav a:hover,
    .settings-nav a:focus-visible {
      color: var(--fg);
      background: color-mix(in srgb, var(--fg) 7%, transparent);
    }
    .settings-nav a[aria-current="page"] {
      background: var(--accent-soft);
      color: var(--accent-strong);
    }
    .settings-nav .settings-nav-danger {
      color: var(--danger);
    }
    .notice {
      margin: 0;
      padding: 0.65rem 0.85rem;
      border: 1px solid color-mix(in srgb, var(--success) 45%, transparent);
      border-radius: var(--radius);
      background: color-mix(in srgb, var(--success) 10%, transparent);
      color: var(--fg);
      font-size: 0.92rem;
    }
    .notice p {
      margin: 0;
    }
    .notice p + p {
      margin-top: 0.35rem;
    }
    .notice--error {
      border-color: color-mix(in srgb, var(--danger) 45%, transparent);
      background: color-mix(in srgb, var(--danger) 10%, transparent);
      color: var(--danger);
      font-weight: 600;
    }
    .notice--muted {
      border-color: var(--line);
      background: var(--code-bg);
      color: var(--muted);
    }
    .secret-value {
      display: inline-block;
      max-width: 100%;
      padding: 0.2rem 0.45rem;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--code-bg);
      color: var(--fg);
      overflow-wrap: anywhere;
    }
    .status-line {
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      gap: 0.5rem;
      margin: 0;
    }
    .badge--success {
      border-color: color-mix(in srgb, var(--success) 55%, transparent);
      color: var(--success);
    }
    .totp-setup {
      display: grid;
      gap: 0.6rem;
      padding: 0.85rem;
      border: 1px dashed var(--line-strong);
      border-radius: var(--radius);
    }
    .totp-setup p {
      margin: 0;
    }
    .totp-secret {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.5rem;
    }
    .totp-secret code {
      padding: 0.2rem 0.45rem;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--code-bg);
      letter-spacing: 0.08em;
      overflow-wrap: anywhere;
    }
    .recovery-codes {
      margin: 0.85rem 0 0;
      columns: 2;
      font-size: 0.92rem;
    }
    .account-gpg-proof {
      overscroll-behavior: contain;
    }
    .account-gpg-proof-title {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.5rem;
    }
    .account-gpg-help-trigger {
      width: 2rem;
      height: 2rem;
      min-height: 2rem;
      padding: 0;
    }
    .account-gpg-help-trigger svg {
      width: 1rem;
      height: 1rem;
      flex: none;
    }
    .account-gpg-proof-body {
      padding: 1rem;
    }
    .account-gpg-proof textarea {
      width: 100%;
      font-family: var(--mono);
    }
    .account-gpg-proof pre {
      white-space: pre-wrap;
      overflow-wrap: anywhere;
    }
    .account-gpg-help {
      width: min(100% - 2rem, 34rem);
      max-height: 80vh;
      margin: auto;
      padding: 1rem;
      overflow: auto;
      overscroll-behavior: contain;
      border: 1px solid var(--line-strong);
      border-radius: calc(var(--radius) + 0.2rem);
      background: var(--panel);
      color: var(--fg);
      box-shadow: var(--shadow-pop);
    }
    .account-gpg-help h3 {
      margin-top: 0;
    }
    .account-gpg-help li + li {
      margin-top: 0.5rem;
    }
    .settings-panel-head {
      display: flex;
      justify-content: space-between;
      gap: 1rem;
      align-items: flex-start;
      margin-bottom: 0.8rem;
      padding-bottom: 0.65rem;
      border-bottom: 1px solid var(--line);
    }
    .settings-panel-head h2 {
      margin: 0;
      font-size: 0.95rem;
    }
    .settings-panel-head p {
      margin: 0.15rem 0 0;
      color: var(--muted);
      font-size: 0.86rem;
    }
    .settings-form {
      display: grid;
      gap: 0.85rem;
      max-width: 48rem;
    }
    .settings-form + .settings-form {
      margin-top: 1rem;
      padding-top: 1rem;
      border-top: 1px solid var(--line);
    }
    .settings-form label {
      margin: 0;
    }
    .settings-form label > input:not([type="checkbox"]):not([type="radio"]),
    .settings-form label > select,
    .settings-form label > textarea {
      width: 100%;
      max-width: none;
    }
    .settings-form label > input:not([type="checkbox"]):not([type="radio"]),
    .settings-form label > select {
      height: 2.6rem;
    }
    .settings-form label > textarea {
      min-height: 7rem;
    }
    .settings-panel > .feedback:empty {
      display: none;
    }
    .settings-form label > small {
      display: block;
      margin-top: 0.3rem;
      font-weight: 400;
    }
    .settings-form button {
      justify-self: start;
    }
    .inline-actions {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.5rem;
    }
    .form-grid {
      display: grid;
      gap: 0.85rem;
    }
    .form-grid.two-cols {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      align-items: start;
    }
    .link-fieldset {
      margin: 0;
      padding: 0.75rem 0.85rem 0.85rem;
      border: 1px solid var(--line);
      border-radius: var(--radius);
    }
    .link-fieldset legend {
      padding: 0 0.35rem;
      font-weight: 600;
    }
    .checkbox-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem 1.25rem;
    }
    .settings-list {
      padding: 0;
      margin: 0.9rem 0 0;
      list-style: none;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      overflow: hidden;
    }
    .settings-list:empty {
      display: none;
    }
    .settings-row {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 0.5rem 1rem;
      align-items: center;
      min-width: 0;
      padding: 0.65rem 0.75rem;
      border-bottom: 1px solid var(--line);
    }
    .settings-row:last-child {
      border-bottom: 0;
    }
    .settings-row > div:first-child {
      min-width: 0;
      flex: 1 1 15rem;
    }
    .settings-row code,
    .settings-row p,
    .settings-row > span {
      overflow-wrap: anywhere;
      min-width: 0;
    }
    .settings-row p {
      margin: 0.15rem 0 0;
    }
    .settings-row > form,
    .settings-row > .inline-actions,
    .settings-row > button {
      flex: 0 0 auto;
    }
    .compact-empty {
      margin: 0.8rem 0 0;
      padding: 0.75rem;
    }
    .badge {
      display: inline-block;
      padding: 0.12rem 0.5rem;
      border: 1px solid var(--line-strong);
      border-radius: 999px;
      color: var(--muted);
      font-size: 0.78rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.02em;
    }
    .badge-mirror {
      border-color: var(--accent);
      color: var(--accent-strong);
      background: var(--accent-soft);
    }
    .badge--fork {
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
      color: var(--accent-strong);
      border-color: color-mix(in srgb, var(--accent) 45%, var(--line-strong));
      background: var(--accent-soft);
    }
    .badge--fork .brewery-icon {
      width: 0.7rem;
      height: 0.7rem;
    }

    .md-editor {
      border: 1px solid var(--border-control);
      border-radius: var(--radius);
      overflow: hidden;
      background: var(--panel);
      margin-top: 0.35rem;
      align-self: stretch;
    }
    .md-editor-bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 0.4rem;
      padding: 0.35rem 0.5rem;
      border-bottom: 1px solid var(--line);
      background: var(--code-bg);
    }
    .md-tabs {
      display: flex;
      gap: 0.2rem;
    }
    .md-tab {
      padding: 0.3rem 0.7rem;
      border: 1px solid transparent;
      border-radius: var(--radius);
      background: transparent;
      color: var(--muted);
      font-size: 0.85rem;
      font-weight: 600;
    }
    .md-tab:hover {
      background: transparent;
      border-color: transparent;
      color: var(--fg);
    }
    .md-tab.active {
      background: var(--panel);
      border-color: var(--border-control);
      color: var(--fg);
    }
    .md-toolbar {
      display: flex;
      gap: 0.1rem;
      flex-wrap: wrap;
    }
    .md-tool {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 1.85rem;
      height: 1.85rem;
      padding: 0;
      border: 1px solid transparent;
      border-radius: var(--radius);
      background: transparent;
      color: var(--muted);
      font-size: 0.82rem;
    }
    .md-tool:hover {
      background: var(--panel);
      border-color: var(--border-control);
      color: var(--fg);
    }
    .md-tool .brewery-icon {
      width: 0.9rem;
      height: 0.9rem;
    }
    .md-input {
      display: block;
      width: 100%;
      max-width: none;
      border: 0;
      border-radius: 0;
      margin: 0;
      min-height: 8rem;
    }
    .md-input:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: -2px;
    }
    .md-preview {
      padding: 1rem 1.1rem;
      min-height: 8rem;
    }
    .md-preview.empty {
      color: var(--muted);
      font-style: italic;
    }
    .md-toolbar[hidden],
    .md-input[hidden] {
      display: none;
    }
    .md-preview.empty p {
      margin: 0;
    }

    .menu {
      position: relative;
      margin: 0;
      padding: 0;
      border: 0;
      background: transparent;
    }
    .menu > summary {
      list-style: none;
    }
    .menu > summary::-webkit-details-marker {
      display: none;
    }
    .menu__panel {
      position: absolute;
      right: 0;
      top: calc(100% + 0.45rem);
      z-index: 5;
      display: grid;
      gap: 0.1rem;
      min-width: 12rem;
      padding: 0.4rem;
      border: 1px solid var(--line-strong);
      border-radius: calc(var(--radius) + 0.2rem);
      background: var(--panel);
      box-shadow: var(--shadow-pop);
    }
    .menu__identity {
      margin: 0;
      padding: 0.35rem 0.6rem 0.4rem;
      color: var(--muted);
      font-size: 0.72rem;
      font-weight: 650;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      white-space: nowrap;
    }
    .menu__identity strong {
      color: var(--fg);
    }
    .menu__separator {
      margin: 0.25rem -0.4rem;
      border: 0;
      border-top: 1px solid var(--line);
    }
    .menu__panel .menu__item {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      width: 100%;
      padding: 0.45rem 0.6rem;
      border: 0;
      border-radius: var(--radius);
      background: transparent;
      color: var(--fg);
      font: inherit;
      text-align: left;
      cursor: pointer;
    }
    .menu__panel .menu__item:hover {
      background: var(--accent-soft);
    }
    .menu__panel a > .brewery-icon,
    .menu__panel .menu__item > .brewery-icon {
      flex: none;
      color: var(--muted);
    }
    .menu__panel .button--quiet {
      width: 100%;
      padding: 0.45rem 0.6rem;
      font-weight: inherit;
      border-radius: var(--radius);
    }
    .menu__panel form {
      margin: 0;
    }
    .menu__panel form + a,
    .menu__panel a + form {
      margin-top: 0.1rem;
      padding-top: 0.2rem;
      border-top: 1px solid var(--line);
    }
    .close-menu > summary {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      padding: 0.5rem 0.65rem;
    }
    .close-menu .menu__panel {
      min-width: 13rem;
    }
    .close-menu .menu__panel button {
      width: 100%;
      justify-content: flex-start;
      white-space: nowrap;
    }
    .close-menu-chevron .brewery-icon {
      width: 0.8rem;
      height: 0.8rem;
      display: block;
    }
    .menu__panel a {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      padding: 0.45rem 0.6rem;
      border-radius: var(--radius);
      color: var(--fg);
      text-decoration: none;
      white-space: nowrap;
    }
    .menu__panel a:hover {
      background: var(--accent-soft);
    }

    .property-picker {
      display: grid;
      gap: 0.35rem;
      min-width: 0;
    }
    .property-picker-menu {
      position: relative;
      min-width: 0;
      margin: 0;
      padding: 0;
      border: 0;
      background: transparent;
    }
    .property-picker-label {
      color: var(--muted);
      font-size: 0.72rem;
      font-weight: 750;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .property-picker-trigger {
      display: flex;
      width: 100%;
      min-height: 2.25rem;
      align-items: center;
      justify-content: flex-start;
      padding: 0.35rem 0.5rem;
      border: 1px solid var(--border-control);
      border-radius: var(--radius);
      background: var(--field);
      color: var(--fg);
      cursor: pointer;
      font-weight: 400;
      list-style: none;
      text-align: left;
    }
    .property-picker-trigger::-webkit-details-marker {
      display: none;
    }
    .property-picker-trigger:hover {
      background: var(--accent-soft);
      border-color: var(--accent);
    }
    .property-picker-value {
      display: flex;
      flex-wrap: wrap;
      gap: 0.25rem;
      min-width: 0;
    }
    .property-picker-placeholder {
      color: var(--muted);
    }
    .property-chip {
      display: inline-flex;
      max-width: 100%;
      padding: 0.1rem 0.38rem;
      border-radius: 999px;
      background: var(--accent-soft);
      color: var(--accent-strong);
      font-size: 0.82rem;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .property-picker-panel {
      position: absolute;
      inset-block-start: calc(100% + 0.3rem);
      inset-inline-start: 0;
      z-index: 20;
      display: grid;
      gap: 0.45rem;
      width: min(22rem, calc(100vw - 2rem));
      box-sizing: border-box;
      margin: 0;
      padding: 0.5rem;
      border: 1px solid var(--border-control);
      border-radius: var(--radius);
      background: var(--panel);
      color: var(--fg);
      box-shadow: var(--shadow-pop);
    }
    .property-picker-search {
      width: 100%;
      margin: 0;
    }
    .property-picker-empty {
      margin: 0;
      padding: 0.4rem 0.5rem;
      color: var(--muted);
      font-size: 0.82rem;
    }
    .property-picker-options {
      display: grid;
      max-height: 15rem;
      min-height: 0;
      overflow: auto;
      gap: 0.15rem;
    }
    .property-picker-option {
      display: block;
      width: 100%;
      padding: 0.42rem 0.5rem;
      border: 0;
      border-radius: calc(var(--radius) - 0.1rem);
      background: transparent;
      color: var(--fg);
      font-weight: 500;
      text-align: left;
      text-decoration: none;
    }
    .property-picker-option:hover,
    .property-picker-option[aria-pressed="true"] {
      background: var(--accent-soft);
      color: var(--fg);
    }
    @media (max-width: 860px) {
      .settings-page {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
      }
      .settings-sidebar {
        position: static;
      }
      .settings-identity {
        display: none;
      }
      .settings-nav {
        display: flex;
        gap: 0.25rem;
        margin-inline: calc(-1 * var(--page-gutter));
        padding: 0 var(--page-gutter) 0.5rem;
        overflow-x: auto;
        border-bottom: 1px solid var(--line);
        scrollbar-width: none;
      }
      .settings-nav a {
        flex: 0 0 auto;
        white-space: nowrap;
      }
    }
    @media (max-width: 700px) {
      .form-grid.two-cols,
      .settings-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.9rem;
      }
      .settings-panel {
        padding: 0.9rem;
      }
      .recovery-codes {
        columns: 1;
      }
    }
  }
}

@layer brewery-components {
  @scope (.brewery) {
    .ui-hint {
      display: inline-flex;
      align-items: center;
      anchor-scope: --brewery-hint;
    }
    .ui-hint-key {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 1.5rem;
      height: 1.5rem;
      min-height: 0;
      padding: 0;
      border: 1px solid transparent;
      border-radius: 50%;
      background: transparent;
      color: var(--muted);
      font-size: 0.75rem;
      font-weight: 650;
      line-height: 1;
      cursor: help;
      anchor-name: --brewery-hint;
    }
    .ui-hint-key > span {
      display: grid;
      place-items: center;
      width: 1rem;
      height: 1rem;
      border: 1px solid currentColor;
      border-radius: 50%;
    }
    .ui-hint-key:hover,
    .ui-hint-key[aria-expanded="true"] {
      color: var(--accent-strong);
      background: var(--accent-soft);
    }
    .ui-hint-key:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 2px;
    }
    .ui-hint-panel {
      position: fixed;
      inset: auto 1rem 1rem auto;
      width: min(20rem, calc(100vw - 2rem));
      max-width: calc(100vw - 2rem);
      max-height: calc(100dvh - 2rem);
      overflow: auto;
      margin: 0;
      padding: 0.65rem 0.8rem;
      border: 1px solid var(--line-strong);
      border-radius: var(--radius);
      background: var(--panel);
      color: var(--fg);
      box-shadow: 0 0.35rem 1.25rem rgb(0 0 0 / 15%);
      font-size: 0.8rem;
      font-weight: 400;
      line-height: 1.5;
      text-align: left;
      overflow-wrap: anywhere;
    }
    @supports (position-area: bottom span-right) and
      (anchor-scope: --brewery-hint) {
      @media (min-width: 701px) {
        .ui-hint-panel {
          position-anchor: --brewery-hint;
          position-area: bottom span-right;
          position-try-fallbacks:
            flip-inline,
            flip-block,
            flip-block flip-inline;
          inset: auto;
          margin-top: 0.35rem;
        }
      }
    }
    @media (pointer: coarse) {
      .ui-hint-key {
        width: 2rem;
        height: 2rem;
      }
    }
  }
}

@layer brewery-components {
  @scope (.brewery) {
    .maintenance-stats {
      margin: 0;
      font-size: 0.88rem;
    }
    .maintenance-stats > div {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: baseline;
      gap: 1rem;
      padding: 0.5rem 0;
      border-bottom: 1px solid var(--line);
    }
    .maintenance-stats > div:first-child {
      padding-top: 0;
    }
    .maintenance-stats > div:last-child {
      border-bottom: 0;
    }
    .maintenance-stats dt {
      color: var(--muted);
    }
    .maintenance-stats dd {
      margin: 0;
      font-family: var(--mono);
      font-variant-numeric: tabular-nums;
      text-align: right;
      overflow-wrap: anywhere;
    }
    .maintenance-note {
      margin: 0.5rem 0 0;
      color: var(--muted);
      font-size: 0.82rem;
    }
    .maintenance-operation {
      margin-top: 1rem;
      padding-top: 1rem;
      border-top: 1px solid var(--line);
    }
    .maintenance-operation h3 {
      margin: 0;
      font-size: 0.92rem;
    }
    .maintenance-operation > p {
      margin: 0.2rem 0 0.85rem;
      color: var(--muted);
      font-size: 0.86rem;
    }
    .maintenance-review {
      display: grid;
      gap: 0.85rem;
      font-size: 0.86rem;
      padding: 1rem;
    }
    .maintenance-impact {
      margin: 0;
    }
    .maintenance-retention > label {
      max-width: 12rem;
    }
    .maintenance-retention .maintenance-note {
      margin: 0;
    }
  }
}
