/* Muhrdor components, direction A ("calm and large", ADR-0060). Every rule is scoped to an
   ancestor with the class `ui-a`: a view, a dialog or the toast region opts in by carrying it,
   and the legacy views (and the popup, once it links this file) keep their look until their
   turn. Inside the scope the legacy classes (.btn, .pill, .field, inputs, .table, .notice, .dlg)
   take the A look, so a view migrates without renaming its markup; new patterns get new names.
   Colours and sizes come from the tokens only (tests/unit/test_design_tokens.py); nothing
   readable is smaller than 14 px. The reference values are in design/README.md. */

/* ---- scope: body text 16/24 ---- */

.muhrdor .ui-a {
  font-size: var(--text-md);
  line-height: 24px;
}

.muhrdor .ui-a .lead-text {
  font-size: var(--text-lg);
  line-height: 28px;
}

.muhrdor .ui-a .small-text,
.muhrdor .ui-a .meta,
.muhrdor .ui-a .note {
  font-size: var(--text-sm);
  line-height: 20px;
  color: var(--muted);
}

/* ---- focus: 2 px ring with a 2 px gap, keyboard only ---- */

.muhrdor .ui-a :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: var(--focus-offset);
}

/* ---- buttons: control 48, primary action 52, compact 36 ---- */

.muhrdor .ui-a .btn {
  gap: var(--space-2);
  height: var(--h-control);
  padding: 0 var(--space-5);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--on-ink);
  font-size: var(--text-md);
  font-weight: 500;
  line-height: 24px;
  transition: background-color var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out);
}

.muhrdor .ui-a .btn:hover {
  background: var(--ink-700);
  border-color: var(--ink-700);
}

.muhrdor .ui-a .btn:disabled,
.muhrdor .ui-a .btn[aria-disabled="true"] {
  background: var(--ink-300);
  border-color: var(--ink-300);
  color: var(--on-ink);
}

/* the one main action of a screen */
.muhrdor .ui-a .btn-lg {
  height: var(--h-primary);
  padding: 0 var(--space-6);
}

/* tables and toolbars */
.muhrdor .ui-a .btn-sm {
  height: var(--h-compact);
  padding: 0 var(--space-4);
  font-size: var(--text-sm);
  line-height: 20px;
}

.muhrdor .ui-a .btn-block {
  width: 100%;
}

.muhrdor .ui-a .btn-quiet {
  background: var(--paper);
  border-color: var(--line-strong);
  color: var(--text);
}

.muhrdor .ui-a .btn-quiet:hover {
  background: var(--paper-1);
  border-color: var(--line-strong);
  color: var(--text);
}

.muhrdor .ui-a .btn-quiet:disabled {
  background: var(--paper);
  border-color: var(--hairline);
  color: var(--faint);
}

/* solid, and only on the final confirmation of an irreversible action */
.muhrdor .ui-a .btn-danger {
  background: var(--danger);
  border-color: var(--danger);
  color: var(--on-ink);
}

.muhrdor .ui-a .btn-danger:hover {
  background: var(--danger);
  border-color: var(--text);
}

.muhrdor .ui-a .btn-link {
  height: auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.muhrdor .ui-a .btn-link:hover {
  color: var(--ink-700);
}

.muhrdor .ui-a .btn.is-loading {
  color: transparent; /* the spinner replaces the label; the width stays */
}

.muhrdor .ui-a .btn.is-loading::after {
  width: 20px;
  height: 20px;
  border-width: 2px;
}

/* ---- fields: label above, hint between, 48 high, error as permanent text ---- */

.muhrdor .ui-a .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.muhrdor .ui-a .field label,
.muhrdor .ui-a .form-grid label {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
}

.muhrdor .ui-a .field-hint {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 20px;
  color: var(--muted);
}

.muhrdor .ui-a input:not([type="checkbox"]):not([type="radio"]),
.muhrdor .ui-a select,
.muhrdor .ui-a textarea {
  height: var(--h-control);
  margin: 0;
  padding: 0 var(--space-4);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: var(--text-md);
  line-height: 24px;
}

.muhrdor .ui-a textarea {
  height: auto;
  min-height: calc(var(--h-control) * 2);
  padding: var(--space-3) var(--space-4);
}

.muhrdor .ui-a input:focus-visible,
.muhrdor .ui-a select:focus-visible,
.muhrdor .ui-a textarea:focus-visible {
  /* a field in focus: the border turns blue, 2 px, inside - no outer ring (the ring stays
     for buttons and links under keyboard focus only; owner, 2026-10-05) */
  border-color: var(--ink); /* 1 px, thin (owner, 2026-10-05: 1b) */
  box-shadow: none;
  outline: none;
}

.muhrdor .ui-a input[aria-invalid="true"],
.muhrdor .ui-a input.is-invalid {
  border-color: var(--danger);
  box-shadow: inset 0 0 0 1px var(--danger);
}

.muhrdor .ui-a input:disabled,
.muhrdor .ui-a select:disabled {
  border-color: var(--hairline);
  background: var(--paper-1);
  color: var(--muted);
}

.muhrdor .ui-a .field-error {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 20px;
  color: var(--danger);
}

.muhrdor .ui-a .field-reason {
  font-size: var(--text-sm);
  line-height: 20px;
  color: var(--muted);
}

/* a form-level error at the top of the form; its lines repeat the field messages */
.muhrdor .ui-a .form-error {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius);
  background: var(--danger-tint);
  color: var(--text);
}

.muhrdor .ui-a .form-error-title {
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 26px;
}

.muhrdor .ui-a .form-error a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* consequence checkbox: the label is the consequence itself */
.muhrdor .ui-a .check {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--text-md);
  line-height: 24px;
}

.muhrdor .ui-a .check input {
  flex: none;
  width: 24px;
  height: 24px;
  margin: 0;
  accent-color: var(--ink);
}

/* password rules: visible before typing, 16 px */
.muhrdor .ui-a .rules {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.muhrdor .ui-a .rule {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
}

.muhrdor .ui-a .rule.is-met {
  color: var(--text);
}

.muhrdor .ui-a .rule-mark {
  flex: none;
  width: 20px;
  height: 20px;
}

/* ---- status tag: dark text on a tint, colour only in the dot ---- */

.muhrdor .ui-a .pill {
  gap: 6px;
  height: 28px;
  padding: 0 var(--space-2);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  line-height: 20px;
  color: var(--text);
  background: var(--paper-2);
}

.muhrdor .ui-a .pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
}

.muhrdor .ui-a .pill.ok {
  color: var(--text);
  background: var(--ok-tint);
}

.muhrdor .ui-a .pill.ok::before {
  background: var(--ok);
}

.muhrdor .ui-a .pill.warn {
  color: var(--text);
  background: var(--warn-tint);
}

.muhrdor .ui-a .pill.warn::before {
  background: var(--warn);
}

.muhrdor .ui-a .pill.err {
  color: var(--text);
  background: var(--danger-tint);
}

.muhrdor .ui-a .pill.err::before {
  background: var(--danger);
}

.muhrdor .ui-a .pill.info,
.muhrdor .ui-a .pill.ink,
.muhrdor .ui-a .pill.seal {
  color: var(--text);
  background: var(--info-tint);
}

.muhrdor .ui-a .pill.info::before,
.muhrdor .ui-a .pill.ink::before,
.muhrdor .ui-a .pill.seal::before {
  background: var(--ink);
}

/* ---- notice: the permanent in-page result or state row ---- */

.muhrdor .ui-a .notice {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  margin: 0;
  padding: var(--space-3) var(--space-4);
  border: 0;
  border-radius: var(--radius);
  background: var(--info-tint);
  color: var(--text);
  font-size: var(--text-md);
  line-height: 24px;
}

.muhrdor .ui-a .notice.ok {
  background: var(--ok-tint);
  color: var(--text);
}

.muhrdor .ui-a .notice.warn {
  background: var(--warn-tint);
  color: var(--text);
}

.muhrdor .ui-a .notice.err {
  background: var(--danger-tint);
  color: var(--text);
}

.muhrdor .ui-a .notice.info {
  background: var(--info-tint);
  color: var(--text);
}

.muhrdor .ui-a .notice-icon {
  flex: none;
  width: 24px;
  height: 24px;
  color: var(--ink);
}

.muhrdor .ui-a .notice.ok .notice-icon {
  color: var(--ok);
}

.muhrdor .ui-a .notice.warn .notice-icon {
  color: var(--warn);
}

.muhrdor .ui-a .notice.err .notice-icon {
  color: var(--danger);
}

.muhrdor .ui-a .notice-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start; /* the action sits under the text, at its left edge */
  gap: var(--space-1);
  min-width: 0;
}

.muhrdor .ui-a .notice a,
.muhrdor .ui-a .notice .btn-link {
  color: var(--text);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- toast: one at a time, trivial confirmations only ---- */

.muhrdor .ui-a.toasts {
  position: fixed;
  right: 0;
  bottom: var(--space-4);
  left: 0;
  z-index: var(--z-toast);
  display: flex;
  justify-content: center;
  padding: 0 var(--space-4);
  pointer-events: none;
}

.muhrdor .ui-a .toast {
  gap: var(--space-3);
  max-width: 640px;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--text);
  box-shadow: var(--shadow-2);
  font-size: var(--text-md);
  line-height: 24px;
  pointer-events: auto;
  animation: toast-in var(--dur-2) var(--ease-out);
}

.muhrdor .ui-a .toast-icon {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--ok);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(var(--space-2));
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---- progress line and vertical steps ---- */

.muhrdor .ui-a .progress-line {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.muhrdor .ui-a .progress-label {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  line-height: 20px;
  color: var(--muted);
}

.muhrdor .ui-a .progress-count {
  font-weight: 500;
  color: var(--text);
}

.muhrdor .ui-a .progress-track {
  height: 6px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: var(--paper-2);
}

.muhrdor .ui-a .progress-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: var(--ink);
  transition: width var(--dur-2) var(--ease-in-out);
}

.muhrdor .ui-a .steps {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.muhrdor .ui-a .steps .step {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding-bottom: var(--space-3);
}

.muhrdor .ui-a .steps .step:last-child {
  padding-bottom: 0;
}

.muhrdor .ui-a .steps .step-mark {
  display: flex;
  flex: none;
  align-self: stretch;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}

.muhrdor .ui-a .steps .step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper);
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 20px;
}

.muhrdor .ui-a .steps .step-line {
  display: block;
  flex: 1;
  width: 2px;
  min-height: 16px; /* the connector stretches to the next step */
  background: var(--hairline);
}

.muhrdor .ui-a .steps .step-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 2px;
  color: var(--muted);
}

.muhrdor .ui-a .steps .step-note {
  font-size: var(--text-sm);
  line-height: 20px;
}

.muhrdor .ui-a .steps .step.is-cur .step-num {
  border: 2px solid var(--ink);
  color: var(--ink);
}

.muhrdor .ui-a .steps .step.is-cur .step-text {
  color: var(--text);
  font-weight: 500;
}

.muhrdor .ui-a .steps .step.is-done .step-num {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--on-ink);
}

.muhrdor .ui-a .steps .step.is-done .step-line {
  background: var(--ink);
}

.muhrdor .ui-a .steps .step.is-done .step-text {
  color: var(--text);
}

/* ---- skeleton: appears after one second, in the shape of the content ---- */

.muhrdor .ui-a .skel {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  animation: skel-in var(--dur-2) var(--ease-out);
}

.muhrdor .ui-a .skel-bar {
  height: 14px;
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  animation: skel-pulse 1.2s var(--ease-in-out) infinite;
}

.muhrdor .ui-a .skel-row {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}

.muhrdor .ui-a .skel-dot {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--paper-2);
}

.muhrdor .ui-a .skel-lines {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--space-2);
}

.muhrdor .ui-a .skel-table {
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.muhrdor .ui-a .skel-table .skel-head {
  height: 44px;
  background: var(--paper-1);
}

.muhrdor .ui-a .skel-table .skel-row {
  gap: var(--space-6);
  height: 52px;
  padding: 0 var(--space-4);
  border-top: 1px solid var(--hairline);
}

@keyframes skel-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes skel-pulse {
  50% {
    opacity: 0.55;
  }
}

/* ---- empty and error states: never the same look ---- */

.muhrdor .ui-a .state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-10) var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--paper);
  text-align: center;
  color: var(--muted);
}

.muhrdor .ui-a .state-icon {
  width: 40px;
  height: 40px;
  color: var(--faint);
}

.muhrdor .ui-a .state.is-error .state-icon {
  width: 36px;
  height: 36px;
  color: var(--danger);
}

.muhrdor .ui-a .state-title {
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 26px;
  color: var(--text);
}

.muhrdor .ui-a .state-text {
  max-width: 60ch;
}

.muhrdor .ui-a .state-actions {
  display: flex;
  gap: var(--space-3);
  padding-top: var(--space-3);
}

.muhrdor .ui-a .state-code {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--muted);
}

/* ---- dialog: confirmation, re-authentication, a one-field question ---- */

.muhrdor .ui-a.dlg-backdrop {
  z-index: var(--z-overlay);
  padding: var(--space-6);
  background: var(--scrim);
}

.muhrdor .ui-a .dlg {
  max-width: 520px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-3);
  font-size: var(--text-md);
  line-height: 24px;
}

.muhrdor .ui-a .dlg-head {
  gap: var(--space-3);
  padding: var(--space-6) var(--space-6) var(--space-3);
  border-bottom: 0;
}

.muhrdor .ui-a .dlg-head .title {
  margin: 0;
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 28px;
}

.muhrdor .ui-a .dlg-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: -10px -10px -10px 0;
  padding: 0;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: var(--text-lg);
}

.muhrdor .ui-a .dlg-close:hover {
  background: var(--paper-1);
  color: var(--text);
}

.muhrdor .ui-a .dlg-body {
  gap: var(--space-4);
  padding: 0 var(--space-6) var(--space-6);
}

.muhrdor .ui-a .dlg-body p {
  margin: 0;
}

.muhrdor .ui-a .dlg-strong {
  font-weight: 500;
}

/* evidence shown before an irreversible action: "signed 14 documents in the last 30 days" */
.muhrdor .ui-a .dlg-evidence {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  background: var(--paper-1);
  font-size: var(--text-sm);
  line-height: 20px;
}

.muhrdor .ui-a .dlg-foot {
  justify-content: flex-end;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--hairline);
}

.muhrdor .ui-a .dlg-foot .note {
  margin-right: auto;
}

/* ---- side panel: row detail, review of a request, a small edit ---- */

.muhrdor .ui-a.side-backdrop {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  display: flex;
  justify-content: flex-end;
  background: var(--scrim);
}

.muhrdor .ui-a .side {
  display: flex;
  flex-direction: column;
  width: min(480px, 100%);
  max-height: 100%;
  overflow: hidden;
  border-left: 1px solid var(--hairline);
  background: var(--paper);
  box-shadow: var(--shadow-3);
  animation: side-in var(--dur-3) var(--ease-out);
}

.muhrdor .ui-a .side-head {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--hairline);
}

.muhrdor .ui-a .side-head .title {
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 28px;
}

.muhrdor .ui-a .side-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  overflow-y: auto;
}

.muhrdor .ui-a .side-foot {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--hairline);
}

.muhrdor .ui-a .fact {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.muhrdor .ui-a .fact-label {
  font-size: var(--text-sm);
  line-height: 20px;
  color: var(--muted);
}

@keyframes side-in {
  from {
    transform: translateX(var(--space-6));
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

/* ---- menu: the account menu and row actions ---- */

.muhrdor .ui-a .popmenu {
  position: absolute;
  z-index: var(--z-dropdown);
  display: flex;
  flex-direction: column;
  min-width: 240px;
  padding: 6px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-2);
}

.muhrdor .ui-a .popmenu-item {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 var(--space-3);
  border: 0;
  border-radius: var(--radius);
  background: none;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.muhrdor .ui-a .popmenu-item:hover,
.muhrdor .ui-a .popmenu-item:focus-visible {
  background: var(--paper-1);
}

.muhrdor .ui-a .popmenu-item.is-danger {
  color: var(--danger);
}

.muhrdor .ui-a .popmenu-sep {
  height: 1px;
  margin: 6px var(--space-2);
  background: var(--hairline);
}

/* ---- segmented: theme choice, list modes ---- */

.muhrdor .ui-a .segmented {
  gap: var(--space-1);
  padding: var(--space-1);
  border-radius: var(--radius);
  background: var(--paper-2);
}

.muhrdor .ui-a .segmented button {
  height: var(--h-compact);
  padding: 0 var(--space-4);
  border-radius: 6px;
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 500;
}

.muhrdor .ui-a .segmented button[aria-pressed="true"] {
  background: var(--paper);
  color: var(--text);
  box-shadow: var(--shadow-1);
}

/* ---- copy feedback stays on the button ---- */

.muhrdor .ui-a .btn.is-copied {
  border-color: var(--ok);
  color: var(--ok);
}

/* ---- shown-once secret ---- */

.muhrdor .ui-a .secret-block {
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-3);
}

.muhrdor .ui-a .secret-block .title {
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 26px;
}

.muhrdor .ui-a .secret {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  background: var(--paper-1);
  line-height: 20px;
  overflow-wrap: anywhere;
}

.muhrdor .ui-a .secret code {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  word-break: break-all;
}

/* ---- journal status: three states, never shown as intact when it is not ---- */

.muhrdor .ui-a .journal-status {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  background: var(--paper-2);
  color: var(--text);
}

.muhrdor .ui-a .journal-status .notice-icon {
  color: var(--muted);
}

.muhrdor .ui-a .journal-status-text {
  flex: 1;
}

.muhrdor .ui-a .journal-status.is-ok {
  background: var(--ok-tint);
}

.muhrdor .ui-a .journal-status.is-ok .notice-icon {
  color: var(--ok);
}

.muhrdor .ui-a .journal-status.is-broken {
  background: var(--danger-tint);
}

.muhrdor .ui-a .journal-status.is-broken .notice-icon {
  color: var(--danger);
}

/* ---- result card: a permanent confirmation for results with legal weight ---- */

.muhrdor .ui-a .result {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 520px;
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-2);
}

.muhrdor .ui-a .result-icon {
  width: 40px;
  height: 40px;
  color: var(--ok);
}

.muhrdor .ui-a .result .title {
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 28px;
}

.muhrdor .ui-a .result-ref {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}

.muhrdor .ui-a .result-ref code {
  font-family: var(--font-mono);
}

.muhrdor .ui-a .result-actions {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  padding-top: var(--space-2);
}

/* ---- tables: comfortable by default, dense only where a view asks for it ---- */

.muhrdor .ui-a .table {
  font-size: var(--text-md);
}

.muhrdor .ui-a .table th {
  height: 44px;
  padding: 0 var(--space-4);
  background: var(--paper-1);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

.muhrdor .ui-a .table td {
  height: 52px;
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--hairline);
}

.muhrdor .ui-a .table .num {
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.muhrdor .ui-a .table.is-dense {
  font-size: var(--text-sm);
}

.muhrdor .ui-a .table.is-dense td {
  height: 44px;
  padding: var(--space-2) var(--space-4);
}

.muhrdor .ui-a .table-day {
  padding: var(--space-3) var(--space-4);
  background: var(--paper-1);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted);
}

/* ---- cards and page head ---- */

.muhrdor .ui-a .card {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
}

.muhrdor .ui-a .page-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 0;
}

.muhrdor .ui-a .page-lead {
  font-size: var(--text-md);
  line-height: 24px;
  color: var(--muted);
}

.muhrdor .ui-a .section-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 36px;
}

.muhrdor .ui-a .title {
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 28px;
}

.muhrdor .ui-a .subtitle {
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 26px;
}

/* ---- phone ---- */

@media (max-width: 640px) {
  .muhrdor .ui-a .card {
    padding: var(--space-4);
  }

  .muhrdor .ui-a .btn:not(.btn-sm):not(.btn-link) {
    width: 100%;
  }

  .muhrdor .ui-a .dlg-foot {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .muhrdor .ui-a .side {
    width: 100%;
    border-left: 0;
  }
}

/* ---- motion off ---- */

@media (prefers-reduced-motion: reduce) {
  .muhrdor .ui-a .skel-bar,
  .muhrdor .ui-a .toast,
  .muhrdor .ui-a .side {
    animation: none;
  }
}

/* ---- the sign-in flow (panel/src/views/login.ts): one screen at a time, full-width primary ---- */

.muhrdor .ui-a.login-flow {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.muhrdor .ui-a .login-step {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.muhrdor .ui-a .login-step > h1 {
  margin: 0;
  font-size: var(--text-2xl);
  line-height: 1.2;
}

.muhrdor .ui-a .login-step > .btn {
  width: 100%;
}

.muhrdor .ui-a .login-step > .btn + .btn {
  margin-top: calc(-1 * var(--space-2));
}

.muhrdor .ui-a .login-passkey-note {
  margin: calc(-1 * var(--space-3)) 0 0;
  color: var(--muted);
}

.muhrdor .ui-a .login-notice:empty {
  display: none;
}

.muhrdor .ui-a .login-who-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: calc(-1 * var(--space-3));
  color: var(--muted);
  font-size: var(--text-md);
}

.muhrdor .ui-a .login-dot {
  color: var(--faint);
}

.muhrdor .ui-a .login-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
}

.muhrdor .ui-a .input-wrap {
  position: relative;
}

.muhrdor .ui-a .input-wrap input {
  width: 100%;
  padding-right: calc(var(--space-4) + 96px);
}

.muhrdor .ui-a .input-aside {
  position: absolute;
  top: 0;
  right: var(--space-2);
  bottom: 0;
  margin: auto 0;
  height: var(--h-compact);
  padding: 0 var(--space-2);
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: var(--text-md);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.muhrdor .ui-a input.code-input {
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  letter-spacing: 0.2em;
}

.muhrdor .ui-a .login-flow .notice.info[hidden] {
  display: none;
}

/* ---- lock and first PIN (panel/src/views/lock.ts) ---- */

.muhrdor .ui-a .lock-line {
  margin: calc(-1 * var(--space-2)) 0 0;
  color: var(--muted);
  font-size: var(--text-md);
}

.muhrdor .ui-a .lock-note {
  margin: calc(-1 * var(--space-2)) 0 0;
  color: var(--muted);
}

/* the numbered how-to on a setup step (the authenticator, panel/src/index.html) */
.muhrdor .ui-a .guide {
  margin: 0;
  padding-left: var(--space-5);
  display: grid;
  gap: var(--space-2);
  font-size: var(--text-md);
}

/* the cabinet assistant's conversation (panel/src/views/assistant.ts, feedback.ts) */
.muhrdor .ui-a .chat-log {
  display: grid;
  gap: var(--space-3);
}

.muhrdor .ui-a .chat-msg {
  max-width: 44rem;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  background: var(--paper-1);
}

.muhrdor .ui-a .chat-msg.chat-me {
  justify-self: end;
  background: var(--paper-2);
}

.muhrdor .ui-a .chat-who {
  color: var(--muted);
  font-size: var(--text-sm);
}

.muhrdor .ui-a .chat-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: var(--text-md);
}

.muhrdor .ui-a .chat-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.muhrdor .ui-a .feedback-thread {
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--hairline);
}

.muhrdor .ui-a .feedback-note {
  margin: 0;
  font-size: var(--text-md);
}

.muhrdor .ui-a .divider {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
}

.muhrdor .ui-a .divider::before,
.muhrdor .ui-a .divider::after {
  background: var(--hairline);
}

.muhrdor .ui-a .lock-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--hairline);
}

/* ---- registration and recovery screens (panel/src/views/signup.ts) ---- */

.muhrdor .ui-a .step-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
}

.muhrdor .ui-a .step-head > h1 {
  margin: 0;
  font-size: var(--text-2xl);
  line-height: 1.2;
}

.muhrdor .ui-a .choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.muhrdor .ui-a .choice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-1);
  min-height: var(--h-primary);
  padding: var(--space-5);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.muhrdor .ui-a .choice:hover {
  border-color: var(--ink);
}

.muhrdor .ui-a .choice:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: var(--focus-offset);
}

.muhrdor .ui-a .choice-icon {
  width: 24px;
  height: 24px;
  margin-bottom: var(--space-2);
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
}

.muhrdor .ui-a .choice-title {
  font-size: var(--text-md);
  font-weight: 500;
}

.muhrdor .ui-a .choice-note {
  color: var(--muted);
  font-size: var(--text-sm);
}

.muhrdor .ui-a .pw-rules:empty {
  display: none;
}

.muhrdor .ui-a .eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
}

.muhrdor .ui-a .progress {
  height: 6px;
  margin: calc(-1 * var(--space-3)) 0 0;
  border-radius: 3px;
  background: var(--paper-2);
  overflow: hidden;
}

.muhrdor .ui-a .progress-bar {
  display: block;
  height: 100%;
  width: 25%;
  border-radius: 3px;
  background: var(--ink);
}

.muhrdor .ui-a .qr-card {
  display: flex;
  justify-content: center;
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--paper-1);
}

.muhrdor .ui-a .qr-card .qr {
  width: 192px;
  height: 192px;
  padding: var(--space-2);
  border-radius: var(--radius);
  background: #fff; /* a QR is scanned: always dark modules on white */
}

.muhrdor .ui-a .codes-card {
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--paper-1);
}

.muhrdor .ui-a .codes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2) var(--space-6);
}

.muhrdor .ui-a .code-chip {
  padding: 0;
  background: none;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: var(--text-md);
  line-height: 28px;
  letter-spacing: 0.04em;
  text-align: left;
  user-select: all;
}

.muhrdor .ui-a .icon-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: var(--space-2);
  margin-top: calc(-1 * var(--space-2));
}

.muhrdor .ui-a .token-row {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.muhrdor .ui-a .token-row input {
  flex: 1;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}

.muhrdor .ui-a details.advanced > summary {
  color: var(--muted);
  font-size: var(--text-sm);
  cursor: pointer;
}

.muhrdor .ui-a .advanced-steps {
  margin: var(--space-3) 0 0;
  padding-left: var(--space-5);
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 20px;
}

.muhrdor .ui-a .advanced-steps li + li {
  margin-top: var(--space-1);
}

.muhrdor .ui-a .signup .result {
  padding: 0;
  border: 0;
  background: none;
}

@media (max-width: 640px) {
  .muhrdor .ui-a .choices {
    grid-template-columns: 1fr;
  }
}

/* ---- the auth card in A: 480 wide, 32 padding (sign-in, registration, lock) ---- */

.muhrdor .ui-a.auth .auth-card {
  width: 480px;
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}

.muhrdor .ui-a.auth .auth-brand {
  margin-bottom: 0;
}

.muhrdor .ui-a.auth #login-doors {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2) var(--space-4);
  margin: var(--space-5) 0 0;
  padding-top: var(--space-4);
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: var(--text-sm);
}

.muhrdor .ui-a .consequences {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4);
  border-radius: var(--radius);
  background: var(--paper-1);
  font-size: var(--text-md);
  line-height: 24px;
}

@media (max-width: 640px) {
  .muhrdor .ui-a.auth .auth-card {
    padding: var(--space-6) var(--space-4);
  }
}

/* ---- the panel shell: sidebar + top bar + page (panel/src/nav.ts, index.html) ---- */

.muhrdor .ui-a.shell {
  display: flex;
  flex-direction: row; /* panel.css .shell stacks; the A shell sits side by side */
  min-height: 100vh;
  background: var(--page);
}

.muhrdor .ui-a .sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex: none;
  flex-direction: column;
  gap: var(--space-6);
  width: 256px;
  height: 100vh;
  padding: var(--space-5) var(--space-3);
  border-right: 1px solid var(--hairline);
  background: var(--paper);
  box-sizing: border-box;
  overflow-y: auto;
}

.muhrdor .ui-a .sidebar-lockup {
  padding: 0 var(--space-3);
}

.muhrdor .ui-a .sidenav {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.muhrdor .ui-a .nav-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.muhrdor .ui-a .nav-group-name {
  padding: 0 var(--space-3) var(--space-2);
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 500;
}

.muhrdor .ui-a .nav-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  box-sizing: border-box;
  min-height: 44px;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  color: var(--text);
  font-size: var(--text-md);
  text-decoration: none;
}

.muhrdor .ui-a .nav-item:hover {
  background: var(--hover);
}

.muhrdor .ui-a .nav-item[aria-current="page"] {
  background: var(--ink-100);
  color: var(--ink-700);
  font-weight: 500;
}

.muhrdor .ui-a .nav-item:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: var(--focus-offset);
}

.muhrdor .ui-a .nav-icon {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--muted);
}

.muhrdor .ui-a .nav-item[aria-current="page"] .nav-icon {
  color: var(--ink);
}

.muhrdor .ui-a .nav-label {
  flex: 1;
  min-width: 0;
}

.muhrdor .ui-a .nav-count {
  min-width: 24px;
  padding: 0 var(--space-2);
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--on-ink);
  font-size: var(--text-sm);
  line-height: 24px;
  text-align: center;
}

.muhrdor .ui-a .main {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.muhrdor .ui-a .topbar {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  height: 64px;
  padding: 0 var(--space-6);
  border-bottom: 1px solid var(--hairline);
  background: var(--paper);
  box-sizing: border-box;
}

.muhrdor .ui-a .topbar-aside {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-left: auto;
}

/* the organisation switch: the A select (48 px) with its meta line beside it - the legacy
   36 px two-line box of panel.css does not apply under the shell */
.muhrdor .ui-a .orgswitch {
  flex-direction: row;
  align-items: center;
  gap: var(--space-3);
  height: auto;
  min-width: 0;
  padding: 0;
  border: 0;
}

.muhrdor .ui-a .orgswitch select {
  height: var(--h-control);
  padding: 0 var(--space-8) 0 var(--space-4);
  border: 1px solid var(--line-strong);
  font-size: var(--text-md);
  line-height: 24px;
}

.muhrdor .ui-a .orgswitch .orgswitch-meta {
  font-family: var(--font);
  font-size: var(--text-sm);
  line-height: 20px;
}

@media (max-width: 960px) {
  .muhrdor .ui-a .orgswitch .orgswitch-meta {
    display: none;
  }
}

.muhrdor .ui-a .nav-toggle {
  display: none;
}

.muhrdor .ui-a .drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-drawer) - 1);
  background: var(--scrim);
}

.muhrdor .ui-a.shell .content {
  width: 100%;
  max-width: 1208px;
  margin: 0;
  padding: var(--space-8) var(--space-6) var(--space-14);
  box-sizing: border-box;
}

@media (max-width: 960px) {
  .muhrdor .ui-a .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-drawer);
    width: 288px;
    max-width: 85vw;
    transform: translateX(-100%);
    transition: transform var(--dur-2) var(--ease-out);
    box-shadow: none;
  }

  .muhrdor .ui-a .sidebar.is-open {
    transform: none;
    box-shadow: var(--shadow-3);
  }

  .muhrdor .ui-a .nav-toggle {
    display: inline-flex;
  }

  .muhrdor .ui-a .topbar {
    padding: 0 var(--space-4);
  }

  .muhrdor .ui-a.shell .content {
    padding: var(--space-6) var(--space-4) var(--space-12);
  }
}

/* ---- page blocks (home): a card with a title, body in one of four states ---- */

.muhrdor .ui-a .block {
  padding: var(--space-6);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.muhrdor .ui-a .block-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2) var(--space-4);
  margin-bottom: var(--space-4);
}

.muhrdor .ui-a .block-title {
  margin: 0;
  font-size: var(--text-xl);
  line-height: 1.3;
}

.muhrdor .ui-a .block-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.muhrdor .ui-a .block-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.muhrdor .ui-a .block-fine {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0;
  color: var(--text);
  font-size: var(--text-md);
}

.muhrdor .ui-a .block-fine-icon {
  width: 24px;
  height: 24px;
  color: var(--ok);
}

.muhrdor .ui-a .block-line {
  margin: 0;
  color: var(--text);
  font-size: var(--text-md);
  line-height: 24px;
}

.muhrdor .ui-a .block-line.is-err {
  color: var(--danger);
}

.muhrdor .ui-a .block .state {
  padding: var(--space-6) var(--space-4);
}

/* ---- the plain journal: a day heading, one sentence per event, dense rows ---- */

.muhrdor .ui-a .log-day {
  padding: var(--space-4) 0 var(--space-2);
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 500;
}

.muhrdor .ui-a .log-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  min-height: 44px;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  line-height: 20px;
  cursor: pointer;
}

.muhrdor .ui-a .log-row:hover {
  background: var(--hover);
}

.muhrdor .ui-a .log-time {
  flex: none;
  width: 44px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}

.muhrdor .ui-a .log-text {
  flex: 1;
  min-width: 0;
  color: var(--text);
}

.muhrdor .ui-a .log-text .meta {
  color: var(--muted);
  font-size: var(--text-sm);
}

.muhrdor .ui-a .table-more {
  display: flex;
  justify-content: center;
  padding: var(--space-4) 0 0;
}

.muhrdor .ui-a .table tr.is-clickable:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: -2px;
}

/* ---- a full-page wizard (huquq berish): steps on the side, one job per screen ---- */

.muhrdor .ui-a .wizard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.muhrdor .ui-a .wizard-head > h1 {
  margin: 0;
  font-size: var(--text-3xl);
  line-height: 1.2;
}

.muhrdor .ui-a .wizard {
  display: flex;
  align-items: flex-start;
  gap: var(--space-10);
}

.muhrdor .ui-a .wizard-side {
  flex: none;
  width: 220px;
  padding: var(--space-5);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.muhrdor .ui-a .wizard-main {
  flex: 1;
  min-width: 0;
  max-width: 720px;
}

.muhrdor .ui-a .wizard-step {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.muhrdor .ui-a .wizard-count {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 500;
}

.muhrdor .ui-a .wizard-title {
  margin: 0;
  font-size: var(--text-2xl);
  line-height: 1.2;
}

.muhrdor .ui-a .wizard-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.muhrdor .ui-a .wizard-actions .note {
  color: var(--muted);
  font-size: var(--text-sm);
}

@media (max-width: 960px) {
  .muhrdor .ui-a .wizard {
    flex-direction: column;
    gap: var(--space-5);
  }

  .muhrdor .ui-a .wizard-side {
    width: auto;
    align-self: stretch;
  }
}

.muhrdor .ui-a .rules-plain {
  margin: 0;
  padding-left: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-size: var(--text-md);
  line-height: 24px;
}

/* ---- the security page: the status sentence, the dangerous section ---- */

.muhrdor .ui-a .security-summary {
  margin: calc(-1 * var(--space-3)) 0 0;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius);
  background: var(--warn-tint);
  color: var(--warn);
  font-size: var(--text-md);
  font-weight: 500;
}

.muhrdor .ui-a .security-summary.is-fine {
  background: var(--ok-tint);
  color: var(--ok);
}

.muhrdor .ui-a .card.is-danger {
  border-color: var(--danger);
}

.muhrdor .ui-a .card.is-danger .card-title {
  color: var(--danger);
}

/* ---- sheets (legacy section helper, ui.ts sheet()) in the A look: a card with a title row;
   the "01" number is gone, the aside reads 14 px in the text face ---- */
.muhrdor .ui-a .sheet {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.muhrdor .ui-a .sheet-head {
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
}

.muhrdor .ui-a .sheet-num {
  display: none;
}

.muhrdor .ui-a .sheet-title {
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 28px;
}

.muhrdor .ui-a .sheet-aside,
.muhrdor .ui-a .chips {
  font-family: var(--font);
  font-size: var(--text-sm);
  gap: var(--space-2);
}

.muhrdor .ui-a .sheet-body {
  padding: var(--space-4) var(--space-5);
}

.muhrdor .ui-a .sheet .row {
  padding: var(--space-3) var(--space-5);
}

.muhrdor .ui-a .sheet .table-day {
  margin: 0;
  padding: var(--space-3) var(--space-5);
  border-top: 1px solid var(--hairline);
}

.muhrdor .ui-a .tree-act .row-title {
  font-size: var(--text-md);
  font-weight: 500;
  line-height: 24px;
  white-space: normal;
}

.muhrdor .ui-a .tree-act.is-off .row-title {
  color: var(--muted);
}
