:root {
  --forest: #213e30;
  --forest2: #315842;
  --ink: #24372a;
  --muted: #58665a;
  --paper: #f7f5ed;
  --surface: #fffef8;
  --line: #d8dacb;
  --brass: #aa8950;
  --red: #87413c;
  --serif: "Archive Serif", Georgia, serif;
  --sans: "Archive Sans", "DM Sans", Arial, sans-serif;
  --arabic: "Archive Arabic", "Geeza Pro", Tahoma, serif;
  color-scheme: light;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 15% 10%, #f0eee0 0, transparent 43%),
    var(--paper);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
a,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.6;
}
a {
  color: var(--forest);
}
[hidden] {
  display: none !important;
}
.symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.sr-only {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  overflow: hidden;
  width: 1px;
  height: 1px;
  white-space: nowrap;
}
.arabic,
[lang="ar"] {
  font-family: var(--arabic);
}
:where(a, button, summary, input, textarea, select):focus-visible {
  outline: 3px solid #ae8845;
  outline-offset: 3px;
}
input,
textarea,
select {
  width: 100%;
  max-width: 100%;
  border: 1px solid #bfc5b6;
  border-radius: 0.45rem;
  color: var(--ink);
  background: #fffef9;
  min-height: 2.75rem;
  padding: 0.62rem 0.78rem;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--forest);
  outline: 2px solid #93a681;
  outline-offset: 1px;
}
input:disabled {
  color: #657063;
  background: #eeeee4;
}
input::placeholder {
  color: #707968;
  opacity: 1;
}
textarea {
  display: block;
  resize: vertical;
  min-height: 5.4rem;
  line-height: 1.5;
}
button {
  color: inherit;
}
label {
  display: block;
  margin-bottom: 0.42rem;
  font-size: 0.93rem;
  font-weight: 650;
}
fieldset {
  padding: 0;
  margin: 0;
  min-width: 0;
  border: 0;
}
.primary,
.secondary {
  min-height: 2.8rem;
  padding: 0.55rem 1.15rem;
  border-radius: 0.45rem;
  border: 1px solid transparent;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition:
    background 0.16s,
    color 0.16s;
}
.primary {
  color: #fffef2;
  background: var(--forest);
  border-color: var(--forest);
}
.primary:hover:not(:disabled) {
  background: #315842;
}
.secondary {
  color: var(--forest);
  background: transparent;
  border-color: #b8c2b1;
}
.secondary:hover:not(:disabled) {
  background: #edeee3;
}
.primary svg,
.secondary svg,
.icon-button svg,
.search-box svg {
  width: 1.22rem;
  height: 1.22rem;
}
.text-button,
.mobile-directory-link {
  padding: 0;
  border: none;
  color: var(--forest);
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  font-weight: 650;
}
.masthead {
  background: var(--forest);
  color: #f4f3e5;
  border-bottom: 3px solid #a58951;
}
.mast-inner {
  max-width: 86rem;
  margin: auto;
  padding: 0.95rem clamp(1rem, 4vw, 3.4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.archive-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #f7f4de;
  text-decoration: none;
}
.archive-brand svg {
  width: 2.2rem;
  height: 2.2rem;
  color: #d9c695;
}
.archive-brand span {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.15;
}
.masthead nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}
.mast-link {
  background: none;
  color: #f2f2dd;
  border: 0;
  padding: 0.4rem 0;
  font-size: 0.92rem;
  text-decoration: none;
}
.mast-link:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
.loading {
  margin: 6rem auto;
  max-width: 30rem;
  text-align: center;
  color: var(--muted);
}
.kicker {
  margin: 0 0 0.6rem;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #65744f;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
}
.login-wrap {
  display: grid;
  grid-template-columns: 0.87fr 1.13fr;
  max-width: 53rem;
  margin: clamp(2.1rem, 11vh, 7.5rem) auto 4rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 16px 65px #37442b10;
  background: var(--surface);
}
.login-plate {
  display: grid;
  place-items: center;
  padding: 2.3rem;
  background:
    radial-gradient(ellipse at 30% 80%, #39573b, transparent 69%), #243e32;
  color: #eadeb8;
}
.plate-arch {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 15rem;
  border: 1px solid #c7b47b77;
  border-radius: 50% 50% 0.12rem 0.12rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.plate-arch:before {
  content: "";
  position: absolute;
  inset: 0.42rem;
  border: 1px solid #c7b47b49;
  border-radius: inherit;
}
.plate-arch svg {
  width: 6rem;
  height: 6rem;
  color: #cbbd89;
}
.plate-arch span {
  font-size: 3.5rem;
  line-height: 1.2;
}
.login-panel {
  padding: clamp(1.5rem, 4.4vw, 3.25rem);
}
.login-panel h1 {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  margin-bottom: 1.9rem;
  letter-spacing: -0.012em;
}
.login-panel label:not(:first-child) {
  margin-top: 1.1rem;
}
.password-box,
.parent-input,
.select-box {
  position: relative;
}
.password-box input {
  padding-right: 3.1rem;
}
.icon-button {
  position: absolute;
  right: 0.1rem;
  top: 0.1rem;
  bottom: 0.1rem;
  width: 2.75rem;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--muted);
}
.login-action {
  width: 100%;
  margin-top: 1.15rem;
}
.form-message {
  font-size: 0.91rem;
  line-height: 1.45;
}
.form-message:not(:empty) {
  padding: 0.6rem 0.75rem;
  border-left: 3px solid var(--brass);
  background: #f4edda;
  color: #584a2d;
}
.form-message[data-tone="error"]:not(:empty) {
  background: #fbede7;
  border-color: #ad6053;
  color: #74362d;
}
.form-message[data-tone="success"]:not(:empty) {
  background: #edf2e7;
  border-color: #748c61;
  color: #334c35;
}
#login-message:not(:empty) {
  margin-top: 1rem;
}
.dashboard {
  max-width: 86rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3.35rem) clamp(1rem, 4vw, 3.4rem) 4rem;
}
.dashboard-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 1.3rem;
}
.dashboard-heading h1 {
  font-size: clamp(2.4rem, 4.9vw, 4.1rem);
  letter-spacing: -0.015em;
  line-height: 1;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(16rem, 0.77fr) minmax(0, 1.7fr);
  gap: clamp(1rem, 2.4vw, 2rem);
  align-items: start;
}
.family-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.65rem 1.2rem;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  margin-block-end: 1.35rem;
  border-block: 1px solid var(--line);
  background: #edeee2;
}
.family-switch {
  flex: 0 1 20rem;
  min-width: 12rem;
}
.family-switch select {
  background: var(--surface);
  font-size: 1.1rem;
}
.family-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.family-actions a {
  text-decoration: none;
}
.family-tools .form-message {
  flex-basis: 100%;
}
.directory,
.editor {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: var(--surface);
}
.directory {
  overflow: hidden;
  position: sticky;
  top: 1rem;
}
.directory-tools {
  padding: 1.25rem clamp(0.9rem, 1.6vw, 1.35rem) 0.9rem;
  border-bottom: 1px solid var(--line);
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}
.section-heading h2,
.children h3 {
  font-size: 1.55rem;
  letter-spacing: -0.01em;
}
.count,
.identifier,
.record-meta,
.child-id {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.79rem;
  color: var(--muted);
}
.count {
  padding: 0.22rem 0.48rem;
  border: 1px solid var(--line);
  border-radius: 3rem;
}
.search-box {
  position: relative;
}
.search-box svg {
  position: absolute;
  pointer-events: none;
  color: var(--muted);
  top: 50%;
  inset-inline-start: 0.68rem;
  transform: translateY(-50%);
}
.search-box input {
  padding-inline-start: 2.35rem;
  font-size: 0.94rem;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.8rem;
}
.filters button {
  background: transparent;
  color: var(--muted);
  font-size: 0.88rem;
  border-radius: 2rem;
  border: 1px solid transparent;
  min-height: 2.05rem;
  padding: 0.25rem 0.76rem;
}
.filters button[aria-pressed="true"] {
  background: #e8eddd;
  border-color: #c9d2bb;
  color: var(--forest);
  font-weight: 650;
}
#unreadable-filter {
  border-color: #c8a76e;
  color: #64471f;
}
#unreadable-filter[aria-pressed="true"] {
  border-color: #a27b41;
  background: #f1e5c8;
}
.unreadable-count {
  font-weight: 700;
  margin-inline-start: 0.15rem;
}
.record-list,
.parent-options,
.children ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.record-list {
  max-height: clamp(21rem, 63vh, 49rem);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #bdc5ae transparent;
}
.record-list li + li {
  border-top: 1px solid #e6e6d9;
}
.record-link {
  background: transparent;
  border: 0;
  border-inline-start: 3px solid transparent;
  width: 100%;
  min-height: 4.25rem;
  display: block;
  padding: 0.66rem 1.05rem;
  text-align: start;
}
.record-link:hover {
  background: #f2f4e9;
}
.record-link[aria-current="true"] {
  background: #e8efdf;
  border-inline-start-color: #618452;
}
.record-name {
  font-size: 1.19rem;
  line-height: 1.4;
  display: block;
  overflow-wrap: anywhere;
  font-family: var(--arabic);
}
.record-meta {
  display: flex;
  align-items: baseline;
  gap: 0.42rem;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.record-meta bdi {
  font-family: var(--arabic);
  font-size: 0.85rem;
}
.review-dot {
  width: 0.44rem;
  height: 0.44rem;
  flex: 0 0 auto;
  display: inline-block;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  background: #a97138;
  align-self: center;
}
.empty-list {
  font-size: 0.92rem;
  color: var(--muted);
  padding: 1.3rem;
}
.editor {
  position: relative;
  padding: clamp(1.25rem, 3.1vw, 2.6rem);
}
.editor:before {
  position: absolute;
  content: "";
  width: 3.1rem;
  height: 3px;
  top: -1px;
  inset-inline-start: clamp(1.25rem, 3.1vw, 2.6rem);
  background: var(--brass);
}
.editor-title {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}
.editor-title h2 {
  font-size: clamp(1.9rem, 3.3vw, 2.85rem);
  font-family: var(--serif), var(--arabic);
  overflow-wrap: anywhere;
  line-height: 1.25;
}
.editor-title h2:lang(ar) {
  font-family: var(--arabic);
}
.editor-title .kicker {
  margin-bottom: 0.35rem;
}
.identifier {
  border: 1px solid var(--line);
  border-radius: 0.3rem;
  padding: 0.32rem 0.5rem;
  flex-shrink: 0;
}
.identifier:empty {
  display: none;
}
.lineage {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 0.38rem;
  overflow-wrap: anywhere;
}
.lineage bdi {
  font-size: 1rem;
  font-family: var(--arabic);
}
.lineage:empty {
  display: none;
}
.review-desk.has-source {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  align-items: start;
  gap: 1rem;
  margin-block-end: 1.25rem;
}
.source-detail {
  min-width: 0;
  color: var(--forest);
  background: #f3eedf;
  border: 1px solid #dcd0b3;
  border-radius: 0.65rem;
  padding: 0.85rem;
}
.source-detail h3 {
  font-size: 1.25rem;
  margin-block-end: 0.65rem;
}
.source-previews {
  display: flex;
  gap: 0.5rem;
}
.source-preview {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0;
  place-items: stretch;
  padding: 0;
  overflow: hidden;
  border: 1px solid #cec3a9;
  border-radius: 0.35rem;
  background: #e9e1d0;
  color: var(--forest);
}
.source-crop img {
  display: block;
  width: 100%;
  max-height: 12rem;
  object-fit: contain;
}
.source-context canvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 27 / 14;
  object-fit: cover;
}
.source-preview span {
  padding: 0.15rem 0.45rem;
  font-size: 0.84rem;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  background: #fffdf4;
}
.source-reading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 0.5rem;
  color: var(--muted);
  font-size: 0.83rem;
  margin-block: 0.55rem 0.1rem;
}
.source-reading bdi {
  color: var(--ink);
  font-size: 1.15rem;
}
.source-detail .text-button {
  text-align: start;
  margin-block-start: 0.45rem;
}
.name-edit {
  min-width: 0;
}
.review-desk.has-source .name-edit {
  padding-block-start: 0.4rem;
}
.quick-actions {
  display: flex;
  gap: 0.45rem 0.72rem;
  flex-wrap: wrap;
}
#member-form {
  margin-top: 1.35rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}
.field {
  margin-bottom: 1.05rem;
}
.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
#member-name {
  font-size: 1.13rem;
}
.optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.81rem;
  margin-inline-start: 0.25rem;
}
.select-box select {
  appearance: none;
  padding-inline-end: 2.4rem;
}
.chevron {
  position: absolute;
  top: 50%;
  inset-inline-end: 0.97rem;
  width: 0.52rem;
  height: 0.52rem;
  border-bottom: 1.4px solid var(--muted);
  border-right: 1.4px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.parent-input input {
  padding-inline: 0.78rem 2.45rem;
}
:root[dir="rtl"] .parent-input input {
  padding-inline: 2.45rem 0.78rem;
}
.field-hint {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
  margin: 0.4rem 0 0;
  overflow-wrap: anywhere;
}
.field-hint:empty {
  display: none;
}
.parent-field {
  position: relative;
}
.parent-options {
  position: absolute;
  left: 0;
  right: 0;
  top: 4.3rem;
  z-index: 2;
  max-height: 14.5rem;
  overflow: auto;
  background: var(--surface);
  border: 1px solid #9cae96;
  border-radius: 0.32rem;
  box-shadow: 0 8px 21px #23392a24;
}
.parent-options [role="option"] {
  padding: 0.5rem 0.72rem;
  cursor: pointer;
  border-bottom: 1px solid #ececde;
  line-height: 1.3;
}
.parent-options [role="option"]:hover,
.parent-options [aria-selected="true"] {
  background: #e9efdf;
}
.parent-option-title {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.parent-option-title bdi {
  font-size: 1.1rem;
}
.parent-option-path {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}
.feedback {
  margin: 0.75rem 0;
}
.feedback .text-button {
  margin: 0.6rem 0;
}
.actions,
.dialog-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.children {
  padding-top: 1.35rem;
  margin-top: 1.45rem;
  border-top: 1px solid var(--line);
}
.children h3 {
  font-size: 1.38rem;
}
.children ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.47rem;
  margin-top: 0.7rem;
}
.children button {
  padding: 0.32rem 0.65rem;
  min-height: 2.3rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #f7f7ec;
  display: flex;
  gap: 0.45rem;
  align-items: baseline;
  max-width: 100%;
}
.children button:hover {
  background: #edf1e3;
}
.children bdi {
  font-size: 1.03rem;
  overflow-wrap: anywhere;
}
.child-id {
  font-size: 0.72rem;
}
.mobile-directory-link {
  display: none;
}
.empty-child {
  font-size: 0.9rem;
  color: var(--muted);
}
dialog {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid #aeb69f;
  border-radius: 0.8rem;
  max-width: min(27rem, calc(100vw - 2rem));
  padding: 1.6rem;
  box-shadow: 0 15px 90px #15211640;
}
dialog::backdrop {
  background: #172a2099;
}
dialog h2 {
  font-size: 1.7rem;
  margin-bottom: 0.7rem;
}
dialog p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 1.35rem;
}
#family-dialog {
  width: min(32rem, calc(100vw - 2rem));
  max-width: none;
}
#family-dialog p.field-hint {
  margin: 0.3rem 0 0;
}
#family-dialog .form-message {
  margin-block-end: 0.75rem;
}
.slug-field {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  border: 1px solid #bfc5b6;
  border-radius: 0.45rem;
  background: #fffef9;
  gap: 0.2rem;
}
.slug-field span {
  white-space: nowrap;
  padding-inline-start: 0.65rem;
  color: var(--muted);
  font: 0.83rem var(--sans);
}
.slug-field input {
  min-width: 0;
  padding-inline-start: 0.15rem;
  border: 0;
}
.photo-dialog {
  width: min(75rem, calc(100vw - 2rem));
  height: min(60rem, calc(100dvh - 2rem));
  max-width: none;
  max-height: none;
  padding: 0;
}
.photo-dialog[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}
.photo-header,
.photo-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem 1rem;
  padding: 0.8rem 1.15rem;
}
.photo-header h2 {
  margin: 0;
}
.photo-header p {
  margin: 0.25rem 0 0;
}
.photo-header p:empty {
  display: none;
}
.photo-view {
  min-height: 0;
  direction: ltr;
  overflow: auto;
  background: #ebe7d9;
  border-block: 1px solid #d8d4c4;
}
.photo-canvas {
  position: relative;
  width: fit-content;
  margin: auto;
  flex: 0 0 auto;
}
.photo-canvas img {
  width: 100%;
  height: 100%;
  display: block;
}
.poster-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 1.6rem;
  height: 1.6rem;
  pointer-events: none;
  border: 3px solid #bd3028;
  border-radius: 50%;
  outline: 2px solid #fff;
}
.photo-controls {
  justify-content: start;
  flex-wrap: wrap;
}
#photo-back-name {
  margin-inline-start: auto;
}
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3 {
  font-family: var(--arabic);
  letter-spacing: 0;
}
[dir="rtl"] .kicker {
  letter-spacing: 0;
  font-size: 0.9rem;
  text-transform: none;
}
[dir="rtl"] .record-meta span {
  direction: ltr;
}
[dir="ltr"] .login-plate {
  grid-column: 1;
}
@media (max-width: 720px) {
  .workspace {
    grid-template-columns: minmax(0, 1fr);
  }
  .directory {
    position: static;
  }
  .record-list {
    max-height: 13rem;
  }
  .record-link {
    min-height: 3.3rem;
    padding: 0.35rem 1rem;
  }
  .record-name {
    font-size: 1.05rem;
  }
  .record-meta {
    font-size: 0.75rem;
  }
  .directory-tools {
    padding: 0.95rem 1rem 0.75rem;
  }
  .section-heading {
    margin-bottom: 0.65rem;
  }
  .mobile-directory-link {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.84rem;
  }
  .editor {
    scroll-margin-top: 0.8rem;
  }
  .login-wrap {
    margin: 2rem max(1rem, 5vw);
    grid-template-columns: 0.52fr 1.48fr;
  }
  .login-plate {
    padding: 1rem;
  }
  .plate-arch svg {
    width: 3.8rem;
    height: 3.8rem;
  }
  .plate-arch span {
    font-size: 2.2rem;
  }
  .dashboard-heading {
    align-items: center;
    gap: 0.6rem;
  }
  .dashboard-heading h1 {
    font-size: clamp(2rem, 6vw, 2.63rem);
  }
  .dashboard-heading .primary {
    padding: 0.52rem 0.72rem;
    font-size: 0.9rem;
    white-space: nowrap;
  }
  .mast-inner {
    padding: 0.72rem 1rem;
  }
  .masthead nav {
    gap: 0.85rem;
  }
  .source-detail img {
    max-width: 100%;
  }
  .family-tools {
    padding-inline: 0.75rem;
  }
  .family-switch {
    flex: 1 1 12rem;
  }
  .photo-dialog {
    width: calc(100vw - 0.75rem);
    height: calc(100dvh - 0.75rem);
  }
  .photo-header,
  .photo-controls {
    padding: 0.65rem;
    gap: 0.4rem;
  }
  .photo-controls button {
    font-size: 0.82rem;
  }
}
@media (max-width: 475px) {
  .login-wrap {
    display: block;
  }
  .login-plate {
    padding: 0.8rem 1.3rem;
  }
  .plate-arch {
    min-height: 0;
    border: 0;
    flex-direction: row;
    justify-content: flex-start;
    gap: 0.55rem;
  }
  .plate-arch:before {
    display: none;
  }
  .plate-arch svg {
    width: 2.1rem;
    height: 2.1rem;
  }
  .plate-arch span {
    font-size: 1.8rem;
  }
  .field-pair {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .editor-title {
    gap: 0.4rem;
  }
  .actions button {
    flex: 1;
  }
  .mast-link {
    font-size: 0.85rem;
  }
  .kicker {
    font-size: 0.71rem;
  }
  .mast-directory {
    display: none;
  }
  .review-desk.has-source {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.65rem;
  }
  .source-crop img {
    max-height: 8rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@font-face {
  font-family: "Archive Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/dm-sans.woff2") format("woff2");
}
@font-face {
  font-family: "Archive Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-serif.woff2") format("woff2");
}
@font-face {
  font-family: "Archive Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/amiri-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Archive Arabic";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/amiri-bold.woff2") format("woff2");
}
