/* AKZENTA typography v1 — official Inter 4.1, SIL OFL 1.1. See docs/typography.md. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-4.1/InterVariable.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-4.1/InterVariable-Italic.woff2") format("woff2"); }
:root {
  --font-ui: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text-body: 1rem; --leading-body: 1.55;
  --text-message: 1rem; --leading-message: 1.6;
  --text-table: 0.9375rem; --leading-table: 1.5;
  --text-control: 0.9375rem; --leading-control: 1.4;
  --text-label: 0.875rem; --leading-label: 1.4;
  --text-meta: 0.875rem; --leading-meta: 1.45;
  --text-badge: 0.875rem; --leading-badge: 1.4;
  --text-title: 1.75rem; --leading-title: 1.25;
  --text-heading: 1.375rem; --leading-heading: 1.3;
  --text-card: 1.125rem; --leading-card: 1.4;
  --text-version: 0.8125rem; --leading-version: 1.45;
}
html { font-size: 100%; }
body { font-family: var(--font-ui); font-size: var(--text-body); font-weight: 400; line-height: var(--leading-body); letter-spacing: normal; overflow-wrap: anywhere; }
button, input, select, textarea { font-family: inherit; letter-spacing: normal; }
button { font-size: var(--text-control); font-weight: 500; line-height: var(--leading-control); white-space: normal; overflow-wrap: anywhere; }
input:not([type="checkbox"]):not([type="radio"]), select, textarea { font-size: var(--text-body); font-weight: 400; line-height: 1.5; }
small { font-size: var(--text-meta); line-height: var(--leading-meta); }

.app-page-loading {
  position: fixed;
  inset: 0;
  z-index: 105;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgb(24 32 41 / 42%);
  pointer-events: none;
}

.app-page-loading[hidden], .app-action-status:empty { display: none; }

.app-page-loading-card {
  display: grid;
  justify-items: center;
  gap: 1rem;
  inline-size: min(100%, 20rem);
  padding: 2rem 1rem;
  border: 1px solid #e1e6eb;
  border-radius: 14px;
  background: #fff;
  color: #2e3d4d;
  box-shadow: 0 20px 55px rgb(18 28 39 / 25%);
  font-size: var(--text-label);
  font-weight: 550;
  line-height: var(--leading-label);
}

.app-page-loading-spinner {
  inline-size: 2.75rem;
  block-size: 2.75rem;
  border: 3px solid #f1dce1;
  border-block-color: #c71c36;
  border-radius: 50%;
  animation: app-page-loading-spin .9s linear infinite;
}

@keyframes app-page-loading-spin { to { transform: rotate(1turn); } }

@media (prefers-reduced-motion: reduce) {
  .app-page-loading-spinner { animation: none; }
}

@media print {
  .app-page-loading { display: none; }
}
