/* Consistent affordance: every action-like control uses the hand cursor.
   Text-entry controls intentionally keep the text cursor. */
button:not(:disabled),
a[href],
[role="button"]:not([aria-disabled="true"]),
[role="tab"]:not([aria-disabled="true"]),
[role="menuitem"]:not([aria-disabled="true"]),
summary,
select:not(:disabled),
input[type="button"]:not(:disabled),
input[type="submit"]:not(:disabled),
input[type="reset"]:not(:disabled),
input[type="checkbox"]:not(:disabled),
input[type="radio"]:not(:disabled),
label:has(input[type="checkbox"]:not(:disabled)),
label:has(input[type="radio"]:not(:disabled)),
.leaflet-interactive,
.leaflet-control a,
.leaflet-control button {
  cursor: pointer !important;
}

.landing-actions button,
.landing-actions [role="button"] {
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.landing-actions button:hover,
.landing-actions [role="button"]:hover {
  transform: translateY(-2px);
  background: #fff8eb;
  border-color: #d8ad68;
  box-shadow: 0 10px 28px rgb(32 19 12 / 28%);
}

.landing-actions button:focus-visible,
.landing-actions [role="button"]:focus-visible {
  outline: 3px solid #e9bd72;
  outline-offset: 3px;
}

.profile-dialog [data-slot="dialog-close"] {
  top: .35rem;
  right: .35rem;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  color: #5b4638;
  background-color: transparent;
  transition: color 150ms ease, background-color 150ms ease, box-shadow 150ms ease, opacity 150ms ease;
}

.profile-dialog [data-slot="dialog-close"]:hover {
  color: #7c2d3b;
  background-color: #f2e3cf;
  box-shadow: inset 0 0 0 1px rgb(124 45 59 / 24%);
  opacity: 1;
}

.profile-dialog [data-slot="dialog-close"]:focus-visible {
  outline: 3px solid #d7a758;
  outline-offset: 2px;
  opacity: 1;
}

.landing-access,
.demo-note {
  display: none !important;
}

.po-managed-content {
  width: min(100%, 1120px);
  margin: 0 auto 2.5rem;
  padding: 0 1.5rem;
}

.po-content-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.5rem 0;
}

.po-content-section-title {
  margin: 0;
  color: #392a22;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.po-content-list {
  display: grid;
  gap: 1rem;
}

.po-content-list-news {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.po-content-card {
  position: relative;
  padding: 1.35rem 1.5rem;
  border: 1px solid #d8cfc2;
  border-radius: 4px;
  background: #fffdf8;
  box-shadow: 0 8px 24px rgb(55 38 26 / 7%);
}

.po-content-card.is-unpublished {
  border-style: dashed;
  opacity: .78;
}

.po-content-meta,
.po-content-actions,
.po-editor-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .65rem;
}

.po-content-meta {
  margin-bottom: .65rem;
  color: #735d4c;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.po-content-status {
  padding: .18rem .45rem;
  border-radius: 999px;
  background: #ece5dc;
}

.po-content-title {
  margin: 0 0 .65rem;
  color: #392a22;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.po-content-body {
  margin: 0;
  color: #4c4038;
  line-height: 1.72;
  white-space: pre-line;
}

.po-content-link {
  display: inline-block;
  margin-top: .85rem;
  color: #7c2d3b;
  font-weight: 700;
  text-underline-offset: 3px;
}

.po-content-translation-missing {
  margin: 0;
  color: #8a6558;
  font-style: italic;
}

.po-content-actions {
  justify-content: flex-end;
  margin-top: 1rem;
  padding-top: .85rem;
  border-top: 1px solid #eee5da;
}

.po-primary-button,
.po-secondary-button,
.po-danger-button {
  appearance: none;
  min-height: 2.35rem;
  padding: .55rem .9rem;
  border: 1px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  font: inherit;
  font-size: .86rem;
  font-weight: 700;
}

.po-primary-button {
  border-color: #70303b;
  background: #7c2d3b;
  color: #fff;
}

.po-secondary-button {
  border-color: #b9aa98;
  background: #fffdf8;
  color: #4a372c;
}

.po-danger-button {
  border-color: #b98383;
  background: #fff7f5;
  color: #8b2424;
}

.po-primary-button:hover,
.po-secondary-button:hover,
.po-danger-button:hover {
  filter: brightness(.96);
}

.po-primary-button:focus-visible,
.po-secondary-button:focus-visible,
.po-danger-button:focus-visible {
  outline: 3px solid #ddb875;
  outline-offset: 2px;
}

.po-primary-button:disabled {
  cursor: wait;
  opacity: .65;
}

.po-editor-overlay {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: 1.25rem;
  background: rgb(24 15 11 / 72%);
}

.po-editor-panel {
  width: min(760px, 100%);
  max-height: calc(100vh - 2.5rem);
  overflow: auto;
  padding: 1.5rem;
  border: 1px solid #c7b7a3;
  border-radius: 5px;
  background: #fffdf9;
  box-shadow: 0 24px 70px rgb(0 0 0 / 35%);
}

.po-editor-panel h2 {
  margin: 0 0 1.25rem;
  color: #392a22;
  font-family: Georgia, "Times New Roman", serif;
}

.po-editor-form,
.po-editor-form label {
  display: grid;
  gap: .45rem;
}

.po-editor-form {
  gap: 1rem;
}

.po-editor-form label > span {
  color: #57483e;
  font-size: .82rem;
  font-weight: 700;
}

.po-editor-form input,
.po-editor-form textarea {
  width: 100%;
  border: 1px solid #baad9f;
  border-radius: 3px;
  background: #fff;
  padding: .65rem .72rem;
  color: #30251f;
  font: inherit;
}

.po-editor-form textarea {
  resize: vertical;
  line-height: 1.55;
}

.po-editor-form input:focus,
.po-editor-form textarea:focus {
  border-color: #8b4a55;
  outline: 2px solid rgb(124 45 59 / 15%);
}

.po-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.po-form-row-small {
  grid-template-columns: minmax(130px, .4fr) 1fr;
  align-items: end;
}

.po-editor-form .po-checkbox {
  display: flex;
  align-items: center;
  min-height: 2.8rem;
  grid-template-columns: auto 1fr;
}

.po-editor-form .po-checkbox input {
  width: 1rem;
  height: 1rem;
}

.po-form-error,
.po-content-error {
  padding: .75rem 1rem;
  border: 1px solid #c98b8b;
  background: #fff3f1;
  color: #8b2424;
}

.po-editor-footer {
  justify-content: flex-end;
  margin-top: .4rem;
}

@media (max-width: 640px) {
  .po-managed-content { padding: 0 1rem; }
  .po-form-row,
  .po-form-row-small { grid-template-columns: 1fr; }
  .po-editor-overlay { padding: .5rem; }
  .po-editor-panel { max-height: calc(100vh - 1rem); padding: 1rem; }
}

/* Manual entry: never shown in the read-only profile. */
.po-manual-btn {
  border: 1px solid #9f7561;
  border-radius: 4px;
  background: #faf5ec;
  color: #492f29;
  padding: .47rem .8rem;
  font: inherit;
  font-size: .83rem;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease;
}
.po-manual-btn:hover { background: #efdfca; border-color: #793f42; }
.po-manual-btn:focus-visible { outline: 2px solid #793f42; outline-offset: 2px; }
.po-manual-btn:disabled { opacity: .55; cursor: wait; }
.po-manual-manage, .po-manual-primary { background: #713d46; border-color: #713d46; color: #fff; }
.po-manual-manage:hover, .po-manual-primary:hover { background: #512d34; color: #fff; }
.po-manual-danger { border-color: #a45757; color: #8e2828; background: #fff7f4; }
.po-manual-section-edit { margin-left: auto; flex: none; align-self: start; }
.source-section-card > header { display: flex; flex-wrap: wrap; gap: .5rem; }
.source-citation:has(> strong:empty) { display: none; }
.po-manual-overlay { position: fixed; z-index: 11000; inset: 0; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgb(25 18 15 / 75%); pointer-events: auto; }
.profile-dialog > .po-manual-overlay { position: absolute; }
.profile-dialog > .po-manual-overlay .po-manual-dialog { max-height: calc(100% - 2rem); }
.po-manual-dialog { box-sizing: border-box; width: min(100%, 850px); max-height: min(92vh, 1050px); overflow-y: auto; padding: clamp(1rem, 3vw, 2rem); background: #fbf8f1; border: 1px solid #d2b999; box-shadow: 0 18px 60px rgb(0 0 0 / 35%); color: #342822; }
.po-manual-head, .po-manual-group-head, .po-manual-row, .po-manual-footer { display: flex; align-items: center; justify-content: space-between; gap: .7rem; }
.po-manual-head { border-bottom: 2px solid #9d7059; padding-bottom: .7rem; }
.po-manual-head h2 { margin: 0; font: 1.55rem Georgia, serif; }
.po-manual-intro { line-height: 1.6; max-width: 75ch; }
.po-manual-loading { display: flex; align-items: center; gap: .7rem; min-height: 5rem; color: #573943; font-size: .95rem; }
.po-manual-spinner { box-sizing: border-box; width: 1.25rem; height: 1.25rem; border: 2px solid #d8c6ba; border-top-color: #713d46; border-radius: 50%; animation: po-manual-spin .8s linear infinite; }
@keyframes po-manual-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .po-manual-spinner { animation: none; border-top-color: #713d46; } }
.po-manual-group { border: 1px solid #dfd3c4; padding: .8rem 1rem; margin: 1rem 0; }
.po-manual-group-summary { cursor: pointer; font: 1.12rem Georgia, serif; color: #492f29; }
.po-manual-group-summary:hover { color: #793f42; }
.po-manual-group-summary:focus-visible { outline: 2px solid #793f42; outline-offset: 3px; }
.po-manual-group[open] > .po-manual-group-head { margin-top: .7rem; }
.po-manual-group-head { border-bottom: 1px solid #dfd3c4; padding-bottom: .5rem; }
.po-manual-group h3 { margin: 0; font: 1.12rem Georgia, serif; }
.po-manual-row { border-bottom: 1px solid #e9e2d7; padding: .55rem 0; }
.po-manual-row > span { overflow-wrap: anywhere; }
.po-manual-row > span:first-child { flex: 1; min-width: 0; }
.po-manual-controls { display: inline-flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .35rem; }
.po-manual-controls .po-manual-btn { padding: .35rem .5rem; }
.po-manual-row:last-child { border: 0; }
.po-manual-empty { color: #796859; margin-bottom: 0; }
.po-manual-hint { margin: -.3rem 0 0; padding: .65rem .8rem; border-left: 3px solid #a77e64; color: #574638; background: #f5ede2; line-height: 1.5; }
.po-manual-field[hidden] { display: none; }
.po-manual-form { display: grid; gap: .75rem; padding-top: 1rem; }
.po-manual-field { display: grid; gap: .3rem; font-size: .87rem; font-weight: 600; }
.po-manual-field input, .po-manual-field textarea, .po-manual-field select { box-sizing: border-box; width: 100%; border: 1px solid #bcae9e; border-radius: 3px; background: #fff; color: #342822; padding: .55rem .65rem; font: inherit; font-weight: 400; }
.po-manual-field.po-manual-checkbox-field { display: flex; align-items: center; justify-content: flex-start; gap: .45rem; min-height: 1.5rem; }
.po-manual-field.po-manual-checkbox-field input[type="checkbox"] { order: -1; flex: 0 0 auto; width: 1rem; height: 1rem; margin: 0; padding: 0; cursor: pointer; }
.po-manual-field textarea { min-height: 7rem; resize: vertical; white-space: pre-wrap; }
.po-manual-field[name='content'] textarea, .po-manual-field[name='contentEn'] textarea { min-height: 11rem; }
.po-manual-footer { justify-content: flex-end; flex-wrap: wrap; margin-top: 1rem; }
.po-manual-error { border: 1px solid #aa5858; padding: .7rem; color: #8a2424; background: #fff2f0; }
@media (max-width: 620px) { .po-manual-row { align-items: flex-start; flex-wrap: wrap; } .po-manual-controls { width: 100%; justify-content: flex-start; } .po-manual-dialog { max-height: calc(100vh - 1rem); } }

/* Map coordinates are chosen deliberately; the location form confirms them before saving. */
.place-manager { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.place-manager > button { white-space: normal; }
.map-toolbar .map-placement-hint { color: #482c38; background: #f8efe5; border-left: 3px solid #794553; padding: .55rem .7rem; font-size: .83rem; }
.map-placement-active.leaflet-grab, .map-placement-active .leaflet-interactive { cursor: crosshair !important; }
@media (max-width: 680px) { .place-manager { grid-template-columns: minmax(0, 1fr); } }

/* The select trigger and Leaflet's transformed panes must not widen the page. */
html, body, #root, .app-shell { max-width: 100%; overflow-x: clip; }
.visual-panel, .map-toolbar, .place-manager { min-width: 0; max-width: 100%; }
.place-manager > * { min-width: 0; max-width: 100%; }
.place-manager [data-slot="select-trigger"] { width: 100%; min-width: 0; overflow: hidden; }
.place-manager [data-slot="select-value"] { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.map-canvas { width: 100%; height: clamp(520px, calc(100dvh - 400px), 800px); min-height: 0; }
.map-tile-error { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .5rem; color: #843334; }
.map-tile-error button { cursor: pointer; background: #fff; border: 1px solid currentColor; border-radius: 3px; padding: .15rem .4rem; color: inherit; }

/* Keep Radix's chosen item from aligning a tall popup across the viewport. */
.place-select-menu { width: var(--radix-select-trigger-width); max-height: min(300px, calc(100dvh - 2rem)) !important; }
.place-select-menu > div { max-height: min(288px, calc(100dvh - 3rem)); overflow-y: auto; }
/* The SVG renderer must be clipped even when Leaflet redraws at a new height. */
.map-canvas.leaflet-container { position: relative; overflow: hidden !important; contain: paint; }
.main-workspace { padding-bottom: 1rem; }

/* The longer placement hint must not introduce a scrollbar and shrink the map. */
html { scrollbar-gutter: stable; }
/* The gutter is already reserved on html. Radix injects its own
   body[data-scroll-locked] margin rule later in the document with !important.
   This more specific selector prevents double compensation at dialog open. */
html body[data-scroll-locked] { margin-right: 0 !important; }
.map-toolbar > p { box-sizing: border-box; min-height: 2.65rem; padding: .55rem .7rem; border-left: 3px solid transparent; display: flex; align-items: center; }

/* Radix locks page scrolling for an editor dialog; a sticky header then
   scrolls away behind its overlay. Keep its visual position independent of
   the document scroll state and reserve the same space in the page. */
.site-root { padding-top: 76px; }
.site-header { position: fixed; top: 0; left: 0; right: 0; width: auto; }
@media (max-width: 1100px) { .site-root { padding-top: 125px; } }


/* v1.2.16: supplementary prose follows the concrete/structured records in every profile tab. */
.profile-scroll > [data-slot="tabs-content"] {
  display: flex;
  flex-direction: column;
}
.profile-scroll > [data-slot="tabs-content"] > .source-section-block {
  order: 999;
  margin-top: 1.4rem;
}

/* v1.2.16: manually maintained bibliography entries use the same numbered list as derived entries. */
.po-funding-mark { max-width: 750px; margin: 0 auto 1.1rem; padding: .6rem; background: #fff; border: 1px solid #d8c9b6; }
.po-funding-mark img { display: block; width: 100%; height: auto; }
.po-abbreviation-row .po-bibliography-title { display: block; margin-bottom: .35rem; }
.po-graph-filter { display: flex; flex-direction: column; gap: .25rem; min-width: 12rem; font-size: .82rem; }
.po-graph-filter select { min-height: 2.1rem; max-width: 17rem; padding: .25rem .4rem; background: #fffdf8; color: #3d2d29; border: 1px solid #a59584; }
.po-graph-person-picker { position: relative; z-index: 20; min-width: 12rem; max-width: min(100%, 24rem); font-size: .82rem; }
.po-graph-person-picker summary { padding: .5rem .7rem; border: 1px solid #a59584; border-radius: .4rem; background: #fffdf8; color: #3d2d29; }
.po-graph-picker-list { position: absolute; top: calc(100% + .3rem); left: 0; z-index: 21; box-sizing: border-box; width: min(24rem, calc(100vw - 4rem)); min-width: 100%; max-height: min(19rem, 50vh); overflow-y: auto; display: grid; gap: .1rem; padding: .3rem; border: 1px solid #d8c9b6; border-radius: .4rem; background: #fffdf8; box-shadow: 0 12px 28px rgb(35 24 20 / 18%); }
.po-graph-picker-list label { display: flex; align-items: center; gap: .5rem; padding: .3rem .45rem; }
.po-graph-picker-list label:hover { background: #f3eee4; }
.po-graph-picker-list button { padding: .4rem .45rem; text-align: left; color: #6f263d; }
.place-link-description { margin: .3rem 0 0; white-space: pre-wrap; color: #51443d; }
.po-contact-addresses { margin: .45rem 0 1rem; }
.po-contact-addresses a { display: inline; overflow-wrap: anywhere; }
.po-contact-citation { margin-top: 1rem; }
.profile-status-hint { grid-column: 1 / -1; margin: -.25rem 0 .5rem; font-size: .83rem; color: #5c5149; }
.visual-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.visual-toolbar .filter-pills { flex: 1 1 250px; }
.visual-toolbar .timeline-control { width: clamp(200px, 24vw, 300px); }
.visual-toolbar > p { flex-basis: 100%; }
.graph-line-legend { display: flex; align-items: center; gap: .5rem; flex-basis: 100%; font-size: .84rem; color: #564a43; }
.graph-line-sample { display: inline-block; flex: 0 0 2.5rem; border-top: 2px dotted #8c4658; }
.relationship-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.po-bibliography-toolbar-shell {
  margin-bottom: 0;
  padding-bottom: 0;
}
.po-bibliography-toolbar {
  justify-content: flex-end;
  margin-bottom: .75rem;
}
.bibliography-list .po-bibliography-managed {
  background: #fffdf8;
  border: 1px solid #d8c9b6;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 1.1rem;
  display: grid;
}
.po-bibliography-title {
  color: #67283f;
  font: 650 1rem var(--font-serif);
}
.po-bibliography-entry .po-content-actions,
.po-bibliography-legacy-actions {
  display: flex;
  justify-content: flex-end;
  gap: .55rem;
  margin-top: .75rem;
  padding-top: .65rem;
  border-top: 1px solid #eee5da;
}
.bibliography-list .po-content-actions button,
.bibliography-list .po-bibliography-legacy-actions button {
  min-height: 2.1rem;
  padding: .42rem .75rem;
  border: 1px solid #b9aa98;
  border-radius: 3px;
  background: #fffdf8;
  color: #4a372c;
  font: 700 .82rem/1.2 var(--font-sans);
  text-decoration: none;
}
.bibliography-list .po-content-actions .po-danger-button {
  border-color: #b98383;
  background: #fff7f5;
  color: #8b2424;
}

/* v1.2.17 – research-data structure warning for known but unlinked mentions. */
.po-mention-audit {
  margin: 0.75rem 0 1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(132, 89, 35, 0.38);
  border-radius: 0.35rem;
  background: rgba(181, 126, 53, 0.08);
  font-size: 0.88rem;
}
.po-mention-audit > summary {
  cursor: pointer;
  font-weight: 700;
}
.po-mention-audit-note {
  margin: 0.6rem 0;
  max-width: 74ch;
}
.po-mention-audit ul {
  margin: 0.35rem 0 0.65rem 1.25rem;
}
.office-authority { margin-top: .25rem !important; color: #65564f; font-size: .78rem; }
.office-authority strong { color: #4c2938; font-weight: 700; }


/* v1.2.19 – keep the persona dialog inside the viewport even when editor warnings are present.
   The header/actions/tabs stay inside the frame; the research content is the single flexible scroll area. */
.profile-dialog {
  max-height: calc(100dvh - 2rem) !important;
  display: flex !important;
  flex-direction: column;
  overflow: hidden !important;
}
.profile-heading,
.profile-actions,
.profile-tabs > [data-slot="tabs-list"] {
  flex: 0 0 auto;
}
.profile-tabs {
  flex: 1 1 auto;
  min-height: 0 !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.profile-scroll {
  flex: 1 1 auto;
  min-height: 0;
  height: auto !important;
  max-height: none !important;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.profile-scroll > .po-mention-audit:first-child {
  margin-top: 0;
}
.po-mention-audit:not([open]) {
  padding-block: .55rem;
}
@media (max-height: 720px) {
  .profile-dialog { max-height: calc(100dvh - 1rem) !important; }
  .profile-heading { padding-top: 1rem; padding-bottom: .8rem; }
  .profile-actions { padding-top: .55rem; padding-bottom: .55rem; }
  .profile-scroll { padding-top: 1rem; padding-bottom: 1rem; }
}


/* v1.2.20 – the profile tab bar must never create a horizontal scrollbar.
   On narrower dialogs the tabs wrap onto another row and remain fully visible. */
.profile-tabs > [data-slot="tabs-list"] {
  box-sizing: border-box;
  height: auto !important;
  min-height: 0;
  display: flex;
  flex-wrap: wrap !important;
  align-content: flex-start;
  overflow-x: hidden !important;
  overflow-y: visible !important;
  scrollbar-width: none;
  gap: .05rem .15rem;
}
.profile-tabs > [data-slot="tabs-list"]::-webkit-scrollbar {
  display: none;
}
.profile-tabs [data-slot="tabs-trigger"] {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Keep the structure check a normal, dependable disclosure. Its state is
   preserved by manual-editor.js when the surrounding React view mutates. */
.po-mention-audit > summary {
  user-select: none;
}
.po-mention-audit[open] > summary {
  margin-bottom: .55rem;
}
.sidebar-add-actions { display: grid; gap: .5rem; padding: .6rem .8rem 1rem; }
.sidebar-add-actions .sidebar-add { width: 100%; margin: 0 !important; }
.ruler-profile .profile-heading { margin-bottom: 1rem; }
.ruler-profile .ruler-scroll { display: grid; gap: 1.5rem; overflow-y: auto; padding: .5rem 1rem 1.5rem; }
.ruler-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; }
.ruler-facts > div, .ruler-reigns article, .ruler-relations > div { border: 1px solid #d9d5c7; border-radius: .6rem; padding: .8rem 1rem; background: #faf9f4; }
.ruler-facts span, .ruler-facts strong { display: block; }
.ruler-facts span, .ruler-relations span { color: #706b5f; font-size: .82rem; }
.ruler-facts strong { margin-top: .3rem; }
.ruler-section h3 { font-size: 1.15rem; margin: 0 0 .8rem; }
.ruler-reigns, .ruler-relations { display: grid; gap: .55rem; }
.ruler-reigns article { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.ruler-reigns article strong, .ruler-reigns article span { display: block; }
.ruler-reigns article span { margin-top: .2rem; }
.ruler-relations button { display: block; color: #6e5632; text-decoration: underline; text-align: left; }
