dialog[data-kind='sheet'] {
  width: min(1240px, calc(100vw - 32px));
  max-width: none;
  max-height: 94svh;
  padding: 0;
}
.fr-reader {
  --fr-paper: #f5efdc;
  --fr-ink: #243d36;
  --fr-rule: #c5bea2;
  --fr-accent: #2f6154;
  --fr-red: #923e2c;
  position: relative;
  background: var(--fr-paper);
  color: var(--fr-ink);
  text-align: left;
}
.fr-reader * {
  box-sizing: border-box;
}
.fr-reader button,
.fr-reader select,
.fr-reader input {
  font: inherit;
}
.fr-reader button {
  cursor: pointer;
}
.fr-header {
  padding: 18px 25px 3px;
}
.fr-eyebrow,
.fr-kicker {
  margin: 0 0 4px;
  color: #746545;
  font: 700 10px/1.4 var(--mono, monospace);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.fr-header #dialog-title {
  margin: 1px 45px 3px 0;
  color: var(--fr-ink);
  font: 400 clamp(28px, 3vw, 40px)/1.1 var(--serif, Georgia, serif);
}
.fr-toolbar,
.fr-stage-foot,
.fr-switch,
.fr-panel,
.fr-key,
.fr-source-body a,
.fr-open,
.fr-search {
  display: flex;
  align-items: center;
}
.fr-toolbar {
  justify-content: space-between;
  gap: 10px;
  padding: 9px 25px 15px;
}
.fr-switch {
  flex-shrink: 0;
  gap: 2px;
  background: #e7dec6;
  padding: 3px;
  border: 1px solid #bab194;
  border-radius: 6px;
}
.fr-switch button,
.fr-stage-foot button {
  border: 0;
  background: transparent;
  border-radius: 3px;
  color: #4b584a;
  padding: 8px 13px;
  font: 650 13px/1.15 var(--sans, Arial, sans-serif);
}
.fr-switch button[aria-pressed='true'] {
  background: #294b41;
  color: #fff5d8;
}
.fr-panel {
  gap: 8px;
  color: #49564b;
  font: 600 13px var(--sans, Arial, sans-serif);
}
.fr-panel select,
.fr-stage-foot select {
  min-height: 36px;
  max-width: 100%;
  border: 1px solid #acac8e;
  border-radius: 4px;
  background: #fbf7e9;
  color: #263e35;
  padding: 4px 23px 4px 8px;
}
.fr-body {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(285px, 0.83fr);
  border-block: 1px solid var(--fr-rule);
}
.fr-main,
.fr-aside {
  min-width: 0;
}
.fr-stage {
  position: relative;
  height: clamp(365px, 57svh, 635px);
  isolation: isolate;
  background: #cadbd2;
}
#franko-reading-map {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  background: #e5e4cc;
}
#franko-reading-map:focus-visible {
  outline-offset: -4px;
}
.fr-stage .leaflet-container {
  font: inherit;
}
.fr-stage img.leaflet-image-layer {
  user-select: none;
  -webkit-user-drag: none;
}
.fr-contrast .fr-stage img.leaflet-image-layer {
  filter: contrast(1.22) saturate(0.84);
}
.fr-zoom {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  display: flex;
  border: 1px solid #8a917a;
  border-radius: 4px;
  background: #f9f3de;
  box-shadow: 0 2px 9px #34533e29;
  pointer-events: auto;
  overflow: hidden;
}
.fr-zoom button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 35px;
  padding: 7px;
  border: 0;
  border-radius: 0;
  color: #28493e;
  background: transparent;
}
.fr-zoom button + button {
  border-left: 1px solid #c3ba98;
}
.fr-zoom button:hover,
.fr-stage-foot button:hover {
  background: #e3e0c6;
}
.fr-zoom .icon {
  width: 17px;
  height: 17px;
}
.fr-map-caption {
  position: absolute;
  right: 11px;
  bottom: 10px;
  padding: 4px 8px;
  border: 1px solid #98a291a6;
  background: #f8f3dfec;
  border-radius: 3px;
  color: #43594e;
  font: 600 10px/1.3 var(--mono, monospace);
  pointer-events: none;
}
.fr-stage-foot {
  min-height: 43px;
  padding: 5px 12px;
  gap: 10px;
  background: #e8e5cf;
  border-top: 1px solid #bcc3a7;
  font: 12px/1.4 var(--sans, Arial, sans-serif);
}
.fr-stage-foot label {
  display: flex;
  align-items: center;
  gap: 7px;
}
.fr-stage-foot select {
  min-height: 29px;
  padding-block: 2px;
}
.fr-stage-foot button {
  border: 1px solid #abb093;
  font-size: 11px;
  padding: 5px 8px;
}
.fr-stage-foot button[aria-pressed='true'] {
  color: #fff4d7;
  background: #345448;
}
.fr-dim {
  margin-left: auto;
  font: 600 10px var(--mono, monospace);
  color: #566654;
  white-space: nowrap;
}
.fr-key {
  gap: 6px;
}
.fr-key i {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-left: 10px;
}
.fr-key i:first-child {
  margin-left: 0;
}
.fr-key-marker {
  border: 1px solid #863a29;
  background: #ba6346;
  border-radius: 50%;
}
.fr-key-land {
  border: 1px solid #827651;
  background: #e4ca8a;
}
.fr-key-reef {
  border: 1px solid #6d9e8d;
  background: #9ac4b1;
}
.fr-aside {
  border-left: 1px solid var(--fr-rule);
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: calc(clamp(365px, 57svh, 635px) + 43px);
}
.fr-selection {
  padding: 16px 18px 14px;
  background: #eee8d3;
  border-bottom: 1px solid var(--fr-rule);
  flex-shrink: 0;
  max-height: 55%;
  overflow: auto;
  scrollbar-width: thin;
}
.fr-selection h3 {
  margin: 2px 0 8px;
  font: 400 25px/1.06 var(--serif, Georgia, serif);
  color: #284039;
  letter-spacing: -0.35px;
}
.fr-selection h4 {
  margin: 11px 0 5px;
  font: 600 15px var(--serif, Georgia, serif);
}
.fr-selection p:not(.fr-kicker) {
  margin: 0 0 8px;
  font: 15px/1.43 var(--sans, Arial, sans-serif);
  color: #32473e;
}
.fr-selection p:last-child {
  margin-bottom: 0;
}
.fr-selection .fr-cross-note {
  font-size: 12px !important;
  line-height: 1.4;
  border-top: 1px dashed #c3b89c;
  margin-top: 10px !important;
  padding-top: 8px;
}
.fr-open {
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #919c82;
  border-radius: 4px;
  padding: 5px 9px;
  background: #f6f2de;
  color: #315345;
  font-size: 12px !important;
  font-weight: 650 !important;
}
.fr-open .icon,
.fr-source-body .icon {
  width: 13px;
  height: 13px;
}
.fr-feature-list {
  display: flex;
  gap: 5px;
  padding: 1px 0 9px;
}
.fr-feature-list button {
  border: 1px solid #a2a98b;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  background: transparent;
  color: #36594e;
  font-size: 12px;
}
.fr-feature-list button[aria-pressed='true'] {
  color: #f9f3da;
  background: #36594e;
}
.fr-index {
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.fr-search {
  margin: 9px 13px 4px;
  gap: 7px;
  flex-shrink: 0;
  border: 1px solid #b4b698;
  border-radius: 4px;
  padding: 0 9px;
  background: #fcf8e9;
}
.fr-search .icon {
  width: 15px;
  height: 15px;
  color: #6c7962;
  flex-shrink: 0;
}
.fr-search input {
  min-width: 0;
  outline: 0;
  height: 37px;
  width: 100%;
  border: 0;
  background: none;
  color: var(--fr-ink);
  font-size: 13px;
}
.fr-search:focus-within {
  outline: 2px solid #426b58;
  outline-offset: 1px;
}
.fr-index-results {
  min-height: 0;
  padding: 0 13px 13px;
  overflow: auto;
  scrollbar-width: thin;
}
.fr-index-results h4 {
  margin: 10px 0 3px;
  color: #746447;
  font: 700 10px/1.4 var(--mono, monospace);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.fr-index-results button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
  padding: 8px 5px;
  width: 100%;
  border: 0;
  background: none;
  border-bottom: 1px dotted #c7c0a5;
  color: #354b40;
  font: 550 14px/1.18 var(--sans, Arial, sans-serif);
  text-align: left;
}
.fr-index-results button:hover,
.fr-index-results button.fr-selected {
  color: #803925;
  background: #eee5c9;
}
.fr-index-results .icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.fr-empty {
  font: 14px/1.4 var(--sans, Arial, sans-serif);
}
.fr-sources {
  padding: 9px 23px 13px;
  font: 12px/1.45 var(--sans, Arial, sans-serif);
}
.fr-sources summary {
  color: #48614f;
  cursor: pointer;
  font-weight: 650;
  width: fit-content;
}
.fr-source-body {
  max-width: 94ch;
}
.fr-source-body p {
  margin: 6px 0;
}
.fr-source-body > div {
  display: flex;
  gap: 4px 14px;
  flex-wrap: wrap;
}
.fr-source-body a {
  color: #3b614e;
  gap: 3px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.fr-vector {
  font-family: Georgia, serif;
  pointer-events: none;
}
.fr-vector .fr-neatline {
  fill: none;
  stroke: #668377;
  stroke-width: 1.35;
}
.fr-vector .fr-cart-title {
  fill: #284239;
  font:
    italic 33px Georgia,
    serif;
  paint-order: stroke;
  stroke: #f4f0d8;
  stroke-width: 3.4px;
}
.fr-vector .fr-cart-tiny,
.fr-vector .fr-axis {
  fill: #465a4c;
  font:
    600 13px ui-monospace,
    monospace;
  paint-order: stroke;
  stroke: #e8ecd4;
  stroke-width: 2.4;
}
.fr-vector .fr-scale-rule,
.fr-vector .fr-leader {
  fill: none;
  stroke: #617b6c;
  stroke-width: 1;
}
.fr-vector .fr-scale-rule {
  stroke: #374e43;
  stroke-width: 1.6;
}
.fr-vector .fr-north {
  fill: #3d5b4d;
}
.fr-vector .fr-site-mark,
.fr-vector .fr-feature {
  pointer-events: all;
  cursor: pointer;
  outline: none;
}
.fr-vector .fr-target {
  fill: transparent;
}
.fr-vector .fr-symbol {
  fill: #a94f38;
  stroke: #fff8dc;
  stroke-width: 1.55;
}
.fr-vector .fr-site-name {
  fill: #2c3930;
  stroke: #f2f0d9;
  paint-order: stroke;
  stroke-width: 3.4px;
  stroke-linejoin: round;
  font:
    600 16.7px Georgia,
    serif;
}
.fr-vector .fr-site-mark:is(:hover, :focus, .fr-selected) .fr-site-name {
  fill: #7a301f;
  stroke: #fff1c5;
  stroke-width: 4.4px;
  text-decoration: underline;
}
.fr-vector .fr-site-mark:is(:hover, :focus, .fr-selected) .fr-symbol {
  fill: #6f291b;
  stroke: #fff2bd;
  r: 7px;
}
.fr-vector .fr-region-mark .fr-site-name {
  font-size: 24px;
}
.fr-profile .fr-profile-sub {
  fill: #4b6458;
  font:
    italic 20px Georgia,
    serif;
}
.fr-profile .fr-profile-note {
  fill: #5a675a;
  font:
    15px Georgia,
    serif;
}
.fr-profile .fr-feature-line {
  stroke: #825138;
  stroke-width: 1.8;
  fill: none;
}
.fr-profile .fr-feature-dot {
  fill: #9a4b33;
  stroke: #f4e8bb;
  stroke-width: 1.8;
}
.fr-profile .fr-profile-label {
  font:
    600 18px Georgia,
    serif;
  paint-order: stroke;
  stroke: #f7efcf;
  stroke-width: 3px;
  stroke-linejoin: round;
  fill: #2a3e35;
}
.fr-profile .fr-feature:is(:hover, :focus, .fr-selected) .fr-profile-label {
  fill: #863d26;
  text-decoration: underline;
}
.fr-profile .fr-feature:is(:hover, :focus, .fr-selected) .fr-feature-dot {
  r: 9px;
}
@media (max-width: 780px) {
  .fr-body {
    grid-template-columns: minmax(0, 1.35fr) minmax(245px, 1fr);
  }
  .fr-stage {
    height: clamp(335px, 55svh, 550px);
  }
  .fr-aside {
    max-height: calc(clamp(335px, 55svh, 550px) + 43px);
  }
  .fr-stage-foot {
    flex-wrap: wrap;
  }
}
@media (max-width: 640px) {
  dialog[data-kind='sheet'] {
    width: calc(100vw - 10px);
    max-height: 95svh;
  }
  .fr-header {
    padding: 13px 13px 2px;
  }
  .fr-eyebrow {
    font-size: 9px;
  }
  .fr-toolbar {
    padding: 6px 12px 9px;
    gap: 6px;
    flex-wrap: wrap;
  }
  .fr-switch button {
    font-size: 12px;
    padding: 7px 8px;
  }
  .fr-panel {
    min-width: 0;
    font-size: 0;
    gap: 0;
  }
  .fr-panel select {
    font-size: 12px;
    padding: 3px 4px;
    min-height: 32px;
    max-width: 42vw;
  }
  .fr-body {
    display: flex;
    flex-direction: column;
  }
  .fr-stage {
    height: clamp(238px, 35svh, 370px);
  }
  .fr-stage-foot {
    min-height: 32px;
    padding: 3px 8px;
    font-size: 11px;
    gap: 6px;
  }
  .fr-stage-foot select {
    font-size: 11px;
    min-height: 24px;
    padding-right: 3px;
  }
  .fr-stage-foot button {
    font-size: 10px;
    padding: 4px;
  }
  .fr-dim {
    font-size: 9px;
  }
  .fr-key i {
    margin-left: 3px;
  }
  .fr-aside {
    border-left: 0;
    border-top: 1px solid var(--fr-rule);
    max-height: none;
  }
  .fr-selection {
    max-height: 24svh;
    padding: 10px 13px;
  }
  .fr-selection p:not(.fr-kicker) {
    font-size: 14px;
    line-height: 1.4;
  }
  .fr-selection h3 {
    font-size: 21px;
    margin-bottom: 5px;
  }
  .fr-index-results {
    max-height: 27svh;
    min-height: 90px;
  }
  .fr-search {
    margin: 6px 11px 2px;
  }
  .fr-search input {
    font-size: 16px;
    height: 32px;
  }
  .fr-index-results button {
    min-height: 34px;
  }
  .fr-zoom {
    top: 7px;
    left: 7px;
  }
  .fr-zoom button {
    width: 35px;
    height: 33px;
  }
  .fr-sources {
    padding: 8px 13px;
  }
}
@media (prefers-contrast: more) {
  .fr-vector .fr-site-name {
    stroke: #fff3cd;
    stroke-width: 4px;
    fill: #16251e;
  }
  .fr-index-results button {
    color: #122a20;
  }
}
