.stf__parent{position:relative;display:block;box-sizing:border-box;transform:translateZ(0);-ms-touch-action:pan-y;touch-action:pan-y}.sft__wrapper{position:relative;width:100%;box-sizing:border-box}.stf__parent canvas{position:absolute;width:100%;height:100%;left:0;top:0}.stf__block{position:absolute;width:100%;height:100%;box-sizing:border-box;perspective:2000px}.stf__item{display:none;position:absolute;transform-style:preserve-3d}.stf__outerShadow,.stf__innerShadow,.stf__hardShadow,.stf__hardInnerShadow{position:absolute;left:0;top:0}

@font-face {
  font-family: Open Sans;
  src: url('./open-sans-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Open Sans;
  src: url('./open-sans-600.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Open Sans;
  src: url('./open-sans-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
:root {
  --accent: #628293;
  --on-accent: #fff;
  --toolbar-ink: #6e6e6e;
  --background: #f2f2f2;
  --panel-width: 264px;
  font:
    600 13px/1.5 'Open Sans',
    Arial,
    sans-serif;
  color: #555;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  overflow: hidden;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
}
button:hover {
  background: #0000000d;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
svg {
  width: 24px;
  height: 24px;
  flex: none;
}
a {
  color: inherit;
}
input,
textarea {
  border: 1px solid #bcbcbc;
  background: #fff;
  color: #333;
  border-radius: 0;
}
input {
  min-width: 0;
}
[hidden] {
  display: none !important;
}
#app {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--background);
  background-image: var(--background-image, none);
  background-position: center;
  background-size: var(--background-size, cover);
  background-repeat: var(--background-repeat, no-repeat);
  background-attachment: fixed;
}
.topbar {
  height: 45px;
  min-height: 45px;
  display: flex;
  align-items: center;
  padding: 0 12.1875px 0 18.859375px;
  gap: 0;
  background: var(--accent);
  color: var(--on-accent);
  z-index: 5;
}
.publication-title {
  font-size: 12.8px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 50vw;
  line-height: 18px;
  padding-right: 18px;
  margin-right: 16.046875px;
  border-right: 1px solid #ffffff4d;
}
.publication-title:focus-visible {
  outline-color: currentColor;
}
#page-form {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  line-height: 17px;
  white-space: nowrap;
}
:root[data-reference='true'] #page-form {
  color: rgba(254, 254, 254, 0.9);
}
#page-input {
  width: 52px;
  height: 24.09375px;
  line-height: 22px;
  padding: 0 5px;
  text-align: center;
  border: 1px solid #4e6876;
  color: #171717;
  background: #ffffffcc;
  font:
    13px/22.1px Arial,
    sans-serif;
}
#page-total {
  white-space: pre;
}
.header-spacer {
  flex: 1;
}
#search-toggle {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  opacity: 0.8;
}
#language-choice select {
  background: transparent;
  color: inherit;
  border: 0;
  font-size: 12px;
  margin-right: 10px;
  max-width: 115px;
}
#language-choice option {
  background: #fff;
  color: #333;
}
#mobile-menu,
#mobile-page,
.mobile-arrow {
  display: none;
}
#stage {
  flex: 1;
  min-height: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#book-shell {
  flex: none;
  position: relative;
  transition: transform 0.35s ease;
}
#book {
  width: 100%;
  height: 100%;
}
.leaf,
.zoom-sheet {
  background: #fff;
  box-shadow: 0 1px 4px #0003;
}
.leaf {
  position: absolute;
  overflow: hidden;
}
.zoom-sheet {
  position: relative;
}
.paper {
  position: absolute;
  background: white;
}
.page-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}
.leaf:after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 2px 0 7px #00000008;
  pointer-events: none;
}
.blank {
  background: #fafafa;
}
.overlays,
.text-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.overlays {
  z-index: 3;
}
.hotspot,
.video-slot {
  position: absolute;
  pointer-events: auto;
}
.hotspot {
  display: block;
}
.hotspot:hover {
  background: var(--link-hover-background, #608da833);
  box-shadow: var(--link-hover-outline, none);
}
.text-layer {
  z-index: 2;
  fill: transparent;
  user-select: none;
}
.selecting .text-layer {
  pointer-events: auto;
  user-select: text;
  cursor: text;
}
.selecting .stf__item {
  touch-action: auto;
}
.selecting #book-shell {
  pointer-events: none;
}
.selecting .text-layer text {
  pointer-events: all;
  user-select: text;
}
.selecting .hotspot,
.selecting .video-slot {
  pointer-events: none;
}
.text-layer text::selection {
  fill: transparent;
  background: #30a5de66;
}
.flipping .overlays {
  visibility: hidden;
}
.search-mark {
  position: absolute;
  z-index: 2;
  background: #ffdf0066;
  pointer-events: none;
}
.toolbar {
  height: 45px;
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--toolbar-ink);
  z-index: 5;
  background: transparent;
  padding: 0;
  border: 0;
}
.toolbar-group {
  display: flex;
  align-items: center;
  gap: 0;
}
.toolbar button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: transparent;
}
.toolbar button:hover {
  background: #0000000d;
}
.toolbar-separator {
  width: 34px;
  height: 18px;
  flex: none;
  position: relative;
}
.toolbar-separator:after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 17px;
  width: 1px;
  background: #7e7e7e66;
}
.toolbar-group:not(:has(button:not([hidden]))) + .toolbar-separator,
.toolbar-separator:not(:has(~ .toolbar-group button:not([hidden]))) {
  display: none;
}
#navigation {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: var(--toolbar-ink);
  z-index: 2;
}
#navigation button {
  position: absolute;
  pointer-events: auto;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  opacity: 0.6;
  padding: 0;
}
#navigation button:disabled {
  display: none;
}
#prev,
#next {
  top: calc(50% - 12px);
}
#next,
#last,
#add-note {
  left: calc(50% + var(--visible-width) / 2);
}
#prev,
#first {
  right: calc(50% + var(--visible-width) / 2);
}
#first,
#last {
  top: calc(50% + var(--page-height) / 2 - 22px);
  opacity: 0.4 !important;
}
#add-note {
  top: calc(50% - var(--page-height) / 2 - 2px);
  transform: translateX(4px);
}
@media (min-width: 700px) and (pointer: fine) {
  #next,
  #last,
  #add-note {
    left: var(--nav-right);
  }
  #prev,
  #first {
    right: auto;
    left: var(--nav-left);
  }
  #stage[data-back-cover='true'] #add-note {
    left: calc(var(--nav-left) - 2px);
    transform: none;
  }
  #navigation button:hover {
    background: transparent;
    opacity: 0.9 !important;
  }
}
#brand-row {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 6;
  pointer-events: none;
}
#customer-logo {
  display: block;
  width: auto;
  max-width: min(250px, 22vw);
  max-height: 100px;
  object-fit: contain;
}
#panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--panel-width);
  z-index: 10;
  background: #f2f2f2;
  display: flex;
  flex-direction: column;
  border: 0;
}
.left-panel {
  left: 0;
  border-right: 1px solid #ddd !important;
}
.right-panel {
  right: 0;
  border-left: 1px solid #ddd !important;
}
.panel-left .topbar,
.panel-left #stage,
.panel-left .toolbar {
  margin-left: var(--panel-width);
}
.panel-right .topbar,
.panel-right #stage,
.panel-right .toolbar {
  margin-right: var(--panel-width);
}
.panel-head {
  height: 45px;
  min-height: 45px;
  display: flex;
  align-items: center;
  padding: 0 12px 0 18px;
  gap: 9px;
  color: #888;
  background: #e6e6e6;
}
.panel-head h2 {
  font-size: 13px;
  font-weight: 700;
  flex: 1;
  margin: 0;
}
.panel-head > svg {
  width: 20px;
  height: 20px;
}
.panel-head button {
  width: 24px;
  height: 28px;
  display: grid;
  place-items: center;
}
.panel-content {
  flex: 1;
  overflow: auto;
  padding: 18px 15px;
}
.thumb-grid {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.thumb-spread {
  display: flex;
  justify-content: center;
  gap: 0;
  min-height: 93px;
}
.thumb {
  width: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 11px;
  gap: 5px;
}
.thumb img {
  width: 100%;
  box-shadow: 0 1px 3px #0003;
}
.thumb.active img {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.thumb:hover {
  background: transparent;
}
.contents-list {
  padding-left: 16px;
  margin: 0;
  line-height: 1.6;
}
.contents-list li {
  margin: 12px 0;
}
.contents-list a {
  text-decoration: none;
}
.contents-list a:hover {
  text-decoration: underline;
}
.search-form input {
  width: 100%;
  height: 28px;
  padding: 3px 28px 3px 6px;
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.search-summary {
  font-size: 11px;
  margin: 18px 0;
}
.search-result {
  width: 100%;
  text-align: left;
  line-height: 1.55;
  padding: 10px 0;
  border-top: 1px solid #ddd;
  font-size: 12px;
}
.notes-content {
  font-size: 13px;
  padding: 22px 26px;
}
.notes-content h3 {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  margin: 0 0 17px;
}
.notes-content p {
  margin: 20px 0;
  line-height: 1.6;
}
.notes-content > button,
.notes-content article > button,
.dialog-content > button,
.share-row button {
  background: var(--accent);
  color: var(--on-accent);
  padding: 7px 12px;
}
.notes-content > button {
  width: 100%;
}
.notes-content article {
  border-top: 1px solid #ccc;
  margin-top: 20px;
  padding-top: 12px;
}
.notes-content article p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.menu-content {
  padding: 0;
}
.menu-content > button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 20px;
  border-bottom: 1px solid #ddd;
}
#zoom-view {
  position: absolute;
  inset: 0;
  overflow: auto;
  padding: 0;
  overscroll-behavior: contain;
}
.zoom-row {
  display: flex;
  width: max-content;
  min-width: 100%;
  min-height: 100%;
  justify-content: center;
  align-items: center;
  gap: 0;
}
.zoom-sheet {
  flex: none;
}
.text-enabled #zoom-view .text-layer {
  pointer-events: auto;
  user-select: text;
}
.publication-dialog {
  width: 500px;
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #f2f2f2;
  color: #555;
  box-shadow: 0 3px 12px #0004;
}
.publication-dialog::backdrop {
  background: #0006;
}
.publication-dialog > header {
  height: 48px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--on-accent);
}
.publication-dialog > header strong {
  font-size: 13px;
  flex: 1;
}
.dialog-x {
  width: 24px;
  height: 28px;
  display: grid;
  place-items: center;
}
.dialog-content {
  padding: 15px;
}
.dialog-content > textarea {
  width: 100%;
  height: 140px;
  resize: vertical;
  padding: 8px;
  margin-bottom: 12px;
}
.dialog-tabs {
  display: flex;
  justify-content: flex-start;
  gap: 4px;
  margin-bottom: 16px;
  height: 30px;
  border-bottom: 1px solid #bbb;
}
.dialog-tabs button {
  padding: 0 10px;
  border-bottom: 2px solid transparent;
}
.dialog-tabs button.active {
  border-bottom: 4px solid #999;
  font-weight: 800;
}
.share-row {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}
.share-row canvas {
  width: 148px !important;
  height: 148px !important;
  flex: none;
}
.share-row > div {
  flex: 1;
  min-width: 0;
}
.share-row textarea {
  width: 100%;
  height: 55px;
  padding: 5px;
  resize: none;
  font: 12px monospace;
}
.share-row label {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 6px 0;
}
.share-row label input {
  margin: 0;
}
.share-row button {
  float: right;
  width: 70px;
  height: 31px;
  padding: 5px 10px;
  background: #999;
  color: white;
  margin-top: -20px;
}
.dialog-content p {
  font-size: 12.8px;
  margin: 8px 0;
  line-height: 15.4px;
}
.social-links {
  display: flex;
  gap: 9px;
}
.social-links a {
  width: 32px;
  height: 32px;
  text-align: center;
  color: white;
  text-decoration: none;
  border-radius: 3px;
  font: bold 29px/32px Arial;
}
.facebook {
  background: #0866ff;
}
.x {
  background: #222;
}
.linkedin {
  background: #2876a3;
}
.mail {
  background: #ee0000;
}
.document-choice {
  display: flex !important;
  align-items: center;
  text-align: left;
  width: 100%;
  gap: 24px;
  background: transparent !important;
  color: inherit !important;
  text-decoration: none;
  padding: 6px 14px !important;
}
.document-choice > svg {
  width: 48px;
  height: 60px;
  color: #999;
}
.document-choice strong,
.document-choice small {
  display: block;
}
.document-choice strong {
  font-size: 20px;
  font-weight: 400;
}
.document-choice small {
  font-size: 12px;
  margin-top: 4px;
}
.current-download {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 0 10px;
  text-decoration: none;
  font-size: 14px;
}
.current-download > svg {
  width: 24px;
  height: 30px;
}
.dialog-content > .current-download {
  background: transparent;
  color: inherit;
  padding: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@media (max-width: 699px), (pointer: coarse) {
  .topbar {
    height: 44px;
    min-height: 44px;
    background: #f2f2f2;
    color: #555;
    padding: 0;
  }
  .publication-title {
    position: absolute;
    left: 44px;
    right: 44px;
    max-width: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    padding: 0;
    margin: 0;
    border: 0;
    pointer-events: none;
  }
  #mobile-menu {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
  }
  #search-toggle {
    height: 44px;
    width: 44px;
    opacity: 1;
  }
  #page-form {
    display: none;
  }
  #language-choice {
    position: absolute;
    top: 44px;
    right: 0;
    z-index: 8;
    background: #f2f2f2;
  }
  .toolbar {
    height: 44px;
    min-height: 44px;
    background: #f2f2f2;
    justify-content: flex-start;
    color: #555;
  }
  .toolbar-separator,
  #tools-share,
  #tools-right,
  #tools-left #notes,
  #tools-left #contents {
    display: none;
  }
  .toolbar button {
    width: 44px;
    height: 44px;
  }
  #mobile-page {
    display: block;
    font-size: 16px;
    line-height: 44px;
  }
  #brand-row {
    bottom: 4px;
    right: 10px;
  }
  #customer-logo {
    max-height: 36px;
    max-width: min(250px, calc(100vw - 140px));
  }
  #prev,
  #next {
    top: calc(50% - 40px);
    height: 80px !important;
    width: 50px !important;
    color: white;
    opacity: 1 !important;
  }
  #next {
    left: auto;
    right: 10px;
  }
  #prev {
    right: auto;
    left: 10px;
  }
  #next svg:not(.mobile-arrow),
  #prev svg:not(.mobile-arrow) {
    display: none;
  }
  #next .mobile-arrow,
  #prev .mobile-arrow {
    display: block;
    position: absolute;
    width: 30px;
    height: 80px;
    top: 0;
    filter: drop-shadow(0 0 2px rgba(89, 97, 104, 0.9));
  }
  #next .mobile-arrow {
    right: 0;
  }
  #prev .mobile-arrow {
    left: 0;
  }
  #first,
  #last,
  #add-note {
    display: none !important;
  }
  #panel {
    width: min(300px, 100vw);
    box-shadow: 0 0 10px #0004;
  }
  .panel-left .topbar,
  .panel-left #stage,
  .panel-left .toolbar,
  .panel-right .topbar,
  .panel-right #stage,
  .panel-right .toolbar {
    margin: 0;
  }
  .share-row {
    gap: 12px;
  }
  .share-row canvas {
    width: 100px !important;
    height: 100px !important;
  }
  .dialog-content {
    padding: 16px;
  }
  .document-choice strong {
    font-size: 17px;
  }
  .play-icon {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
body:has(#loading-screen) #book-shell {
  transition: none;
}
.video-poster {
  width: 100%;
  height: 100%;
  background: #152d39ec;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  box-shadow: 0 6px 25px #0003;
  border: 1px solid #ffffff40;
  min-width: 0;
  padding: 8px;
}
.video-poster:hover {
  background: #234957;
}
.video-poster > span:last-child {
  font-size: clamp(10px, 1vw, 16px);
}
.play-icon {
  display: grid;
  place-items: center;
  background: #fff;
  color: #234957;
  border-radius: 50%;
  height: 52px;
  width: 52px;
  font-size: 20px;
  padding-left: 3px;
}
.inline-player {
  position: absolute;
  inset: 0;
  background: #10232e;
}
.inline-player iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-status {
  background: #f7f9fa;
  color: #1b3644;
  font-size: 11px;
  padding: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 6;
}
.video-status button {
  margin-left: auto;
}
.video-dialog {
  width: min(1000px, 96vw);
  max-height: 95dvh;
  background: #162b38;
  color: white;
  border: 0;
  border-radius: 10px;
  padding: 18px;
  overflow: auto;
}
.video-dialog::backdrop {
  background: #08131cdb;
}
.dialog-close {
  display: block;
  margin-left: auto;
  color: white;
  padding: 8px 14px;
  margin-bottom: 12px;
}
.player-host {
  width: 100%;
  position: relative;
  padding-bottom: 48px;
}
.player-host iframe {
  width: 100%;
  height: min(60vh, 520px);
  min-height: 200px;
  border: 0;
  display: block;
}
.player-host .video-status {
  top: auto;
  bottom: 0;
}
/* Loading composition measured from the supplied reference; implemented independently. */
#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #e7e7e7;
  display: grid;
  place-items: center;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.loading-content {
  width: min(500px, 90vw);
  display: grid;
  justify-items: center;
  text-align: center;
  --cover: 300px;
  --gap-top: 70px;
  --gap-bottom: 70px;
  --logo-height: 190px;
}
.loading-content h1 {
  font-size: 24px;
  line-height: 36px;
  max-height: 108px;
  overflow: hidden;
  margin: 0;
  width: 100%;
}
.loading-cover {
  position: relative;
  width: var(--cover);
  height: var(--cover);
  margin: var(--gap-top) 0 var(--gap-bottom);
}
.loading-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.loading-cover > img {
  opacity: 0.4;
}
.loading-reveal {
  position: absolute;
  inset: 0;
  clip-path: inset(0 84% 0 0);
  animation: load-reveal 8s ease-out forwards;
}
.loading-logo {
  height: var(--logo-height);
  width: min(250px, 100%);
}
.loading-logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
}
@keyframes load-reveal {
  to {
    clip-path: inset(0 4% 0 0);
  }
}
@media (max-width: 1300px), (max-height: 768px) {
  .loading-content {
    --cover: 240px;
    --gap-top: 50px;
    --gap-bottom: 50px;
    --logo-height: 90px;
  }
}
@media (max-width: 600px), (max-height: 600px) {
  .loading-content {
    --cover: 200px;
    --gap-top: 20px;
    --gap-bottom: 30px;
    --logo-height: 85px;
  }
}
@media (max-width: 550px), (max-height: 450px) {
  .loading-content {
    --cover: 160px;
    --gap-top: 10px;
    --gap-bottom: 10px;
    --logo-height: 40px;
  }
  .loading-content h1 {
    font-size: 18px;
    line-height: 27px;
  }
}
@media (max-width: 400px), (max-height: 300px) {
  .loading-content {
    --cover: 100px;
    --logo-height: 34px;
  }
  .loading-content h1 {
    font-size: 16px;
    line-height: 24px;
  }
}
@media (max-width: 242px), (max-height: 212px) {
  .loading-content {
    --gap-top: 0px;
    --gap-bottom: 0px;
  }
  .loading-content h1,
  .loading-logo {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .loading-reveal {
    animation: none;
  }
}

.video-poster,
.video-poster:hover,
.dialog-close {
  background: var(--accent);
  color: var(--on-accent);
}
.play-icon {
  background: var(--on-accent);
  color: var(--accent);
}

.panel-head {
  background: var(--accent);
  color: var(--on-accent);
}
.panel-head button {
  opacity: 0.65;
}
.panel-content:has(.thumb-grid) {
  padding: 19px 21px;
}
.thumb-grid {
  gap: 16px;
}
.thumb {
  font-size: 12px;
  line-height: 18px;
}
.thumb img {
  border: 1px solid #bbb;
}
.thumb.active img {
  outline-color: #555;
}
.publication-dialog[data-kind='print'] .dialog-content {
  min-height: 172px;
}
.publication-dialog[data-kind='download'] .dialog-content {
  min-height: 162px;
}

@media (max-width: 699px), (pointer: coarse) {
  .topbar,
  .toolbar {
    background: var(--accent);
    color: var(--on-accent);
  }
  #prev,
  #next {
    color: var(--toolbar-ink);
  }
  :root[data-reference='true'] .topbar,
  :root[data-reference='true'] .toolbar {
    background: rgba(242, 242, 242, 0.9);
    color: rgba(68, 68, 68, 0.9);
  }
  :root[data-reference='true'] #prev,
  :root[data-reference='true'] #next {
    color: rgba(255, 255, 255, 0.9);
  }
}

/* Reference dialog and note spacing, measured independently from the supplied viewer. */
.dialog-x {
  opacity: 0.65;
}
.share-row textarea {
  display: block;
}
.share-row label {
  height: 16px;
  line-height: 16px;
  margin: 5px 0;
}
.share-row label input {
  width: 16px;
  height: 16px;
}
.share-row button {
  margin-top: -16px;
}
.social-links svg {
  width: 32px;
  height: 32px;
}
.notes-content {
  padding: 28px 12px;
  text-align: center;
}
.notes-content h3 {
  margin: 0 20px 27px;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  color: #666;
}
.notes-content p {
  max-width: 208px;
  margin: 16px auto;
  font-size: 12.8px;
  line-height: 18px;
  color: #888;
}
.notes-content > button {
  height: 30px;
  padding: 6px 10px;
  line-height: 18px;
  font-size: 12px;
}
.notes-content > button:first-of-type {
  width: auto;
  display: block;
  margin: 0 auto;
}
.notes-content > button:first-of-type + p {
  margin-top: 24px;
}
.notes-content > button:last-of-type {
  margin-top: 8px;
}
:root[data-reference='true'] .notes-content > button {
  background: #999;
  color: #fff;
}
.notes-content article {
  text-align: left;
}

.toolbar button.panel-active {
  background: #0002;
}

:root:not([data-reference='true']) .share-row button {
  background: var(--accent);
  color: var(--on-accent);
}
@media (max-width: 699px), (pointer: coarse) {
  #language-choice {
    background: var(--accent);
    color: var(--on-accent);
  }
  :root[data-reference='true'] #language-choice {
    background: #f2f2f2;
    color: #555;
  }
}
