* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    15px/1.65 Inter,
    system-ui,
    sans-serif;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button,
.button,
select {
  min-height: 44px;
  padding: 10px 16px;
  background: #192129;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition:
    background 160ms,
    border-color 160ms;
}
button:hover:not(:disabled),
.button:hover {
  background: #29313a;
  border-color: var(--gold);
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
  font-weight: 600;
}
.primary:hover:not(:disabled) {
  background: #eed7a3;
}
.button {
  width: fit-content;
}
a {
  color: var(--gold);
  text-underline-offset: 4px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}
input,
select {
  width: 100%;
  color: var(--ink);
  background: #0b1016;
  border: 1px solid var(--line);
  border-radius: 5px;
  min-height: 46px;
  padding: 10px 13px;
}
label {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
h1,
h2,
h3 {
  font-family: Bebas, 'Arial Narrow', sans-serif;
  font-weight: 400;
  line-height: 1.05;
  margin: 0 0 16px;
}
h1 {
  font-size: clamp(48px, 5.5vw, 90px);
}
h2 {
  font-size: 42px;
}
h3 {
  font-size: 28px;
}
p {
  margin: 0 0 16px;
}
small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.eyebrow {
  font:
    11px/1.5 Plex,
    monospace;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
}
.serif {
  font:
    italic 28px/1.35 Cormorant,
    Georgia,
    serif;
}
.mono,
code,
pre {
  font:
    12px/1.7 Plex,
    monospace;
  overflow-wrap: anywhere;
}
pre {
  white-space: pre-wrap;
  padding: 18px;
  background: #070b10;
  border: 1px solid var(--line);
  overflow: auto;
}
.muted {
  color: var(--muted);
}
.good {
  color: var(--green);
}
.bad {
  color: #fa9d87;
}
.badge {
  display: inline-block;
  font:
    11px/1.5 Plex,
    monospace;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  margin: 0 6px 8px 0;
}
.unavailable {
  display: block;
  color: var(--gold);
  font-size: 13px;
  padding: 10px 0;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
details {
  border-top: 1px solid var(--line);
  padding: 10px 0;
}
summary {
  cursor: pointer;
  min-height: 44px;
  padding: 10px 2px;
}
details p {
  margin: 12px 0;
}
dl {
  margin: 24px 0;
}
dl > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #ffffff0b;
  padding: 8px 0;
}
dt {
  color: var(--muted);
}
dd {
  margin: 0;
  text-align: right;
}
img {
  max-width: 100%;
  object-fit: cover;
}
[hidden] {
  display: none !important;
}
.skip {
  position: fixed;
  left: 15px;
  top: -70px;
  z-index: 100;
  background: var(--gold);
  color: #06080b;
  padding: 12px;
}
.skip:focus {
  top: 15px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.top {
  height: 83px;
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 32px;
  background: #080c11ee;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid #665735;
}
.brand {
  display: flex;
  gap: 20px;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
}
.brand img {
  width: 34px;
  height: 54px;
  object-fit: contain;
}
.brand b {
  font: 24px/1.1 Inter;
  letter-spacing: 0.22em;
  font-weight: 400;
}
.brand small {
  font: 9px/1.8 Plex;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-top: 4px;
}
.identity {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 13px;
}
.identity button {
  font-size: 12px;
  padding: 8px 12px;
}
#workspace {
  display: grid;
  grid-template-columns: 215px minmax(0, 1fr);
}
aside {
  position: sticky;
  top: 83px;
  height: calc(100vh - 83px);
  border-right: 1px solid #6f5b354a;
  display: flex;
  flex-direction: column;
  padding: 28px 14px;
}
#navigation a {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 15px;
  text-decoration: none;
  color: var(--muted);
  border-left: 3px solid transparent;
  font-size: 14px;
}
#navigation a span {
  font: 11px Plex;
  opacity: 0.65;
}
#navigation a[aria-current] {
  color: var(--ink);
  border-color: var(--gold);
  background: linear-gradient(90deg, #d6b76e22, transparent);
}
.tool-links {
  display: grid;
  margin-top: auto;
  padding-top: 30px;
}
.tool-links a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding-left: 20px;
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
}
.sidebar-note {
  font: italic 19px Cormorant;
  color: #8d8b80;
  padding: 25px 20px 0;
  margin: 15px 0 0;
  border-top: 1px solid var(--line);
}
main {
  padding: 34px clamp(20px, 3vw, 52px) 80px;
  min-width: 0;
  outline: none;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 10px 0 32px;
  padding: 0 0 24px;
  border-bottom: 1px solid #d6b76e33;
}
.page-heading h1 {
  margin-bottom: 10px;
}
.page-heading .serif {
  color: #c2c2b9;
  margin: 0;
}
.page-heading .actions {
  flex-shrink: 0;
}
.page-heading h1:focus,
h2:focus {
  outline: none;
}
.loading,
.empty {
  border: 1px solid var(--line);
  padding: 40px;
  text-align: center;
  color: var(--muted);
  width: 100%;
}
.empty {
  grid-column: 1/-1;
  border-radius: 7px;
  background: linear-gradient(145deg, #12191f, transparent);
}
.empty > span {
  font-size: 40px;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}
.empty p {
  margin: 0;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 24px;
  min-width: 0;
}
.section-title {
  margin: 42px 0 18px;
}
.callout {
  padding: 28px;
  margin: 28px 0;
  border: 1px solid #74613a;
  border-left: 3px solid var(--gold);
  background: linear-gradient(100deg, #231d12aa, transparent);
}
.sign-in {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  min-height: calc(100vh - 83px);
  padding: 70px max(5vw, 24px);
  gap: 10vw;
  align-items: center;
  background: radial-gradient(ellipse at 30% 20%, #55371930, transparent 65%);
}
.sign-in-story {
  position: relative;
  min-height: 530px;
  overflow: hidden;
}
.sign-in-story h1 {
  font-size: clamp(65px, 7.5vw, 125px);
  position: relative;
  z-index: 1;
}
.sign-in-story .serif {
  position: relative;
  z-index: 1;
  color: #c7c0b2;
}
.orbit-art {
  position: absolute;
  right: 0;
  bottom: -45px;
  width: 290px;
  height: 290px;
  border: 1px solid #d6b76e33;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transform: rotate(-18deg);
}
.orbit-art:before,
.orbit-art:after {
  content: '';
  position: absolute;
  border: 1px solid #d6b76e33;
  border-radius: 50%;
  inset: 25px;
  transform: scaleX(0.38);
}
.orbit-art:after {
  transform: rotate(90deg) scaleX(0.38);
}
.orbit-art span {
  font: 55px Bebas;
  color: #d6b76e29;
}
.sign-in-form {
  max-width: 430px;
  padding: 35px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  background: #10161dcc;
  border-radius: 8px;
}
.sign-in-form label {
  margin-bottom: 18px;
}
.sign-in-form input {
  margin-top: 6px;
}
.sign-in-form .primary {
  width: 100%;
  margin-top: 5px;
}
.sign-in-form h2 {
  font-size: 52px;
}
#auth-message {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.office-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.office-card {
  position: relative;
  overflow: hidden;
  padding: 30px 28px 22px;
  background: linear-gradient(135deg, #182127, #0c1117 70%);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
}
.office-card.tino {
  border-left-color: var(--cyan);
  background: radial-gradient(circle at 100% 0, #34463c66, transparent 65%), linear-gradient(135deg, #182127, #0c1117);
}
.office-card.brian {
  background:
    repeating-linear-gradient(130deg, transparent 0 45px, #d6b76e03 45px 46px),
    linear-gradient(135deg, #1d2022, #0b1016);
}
.office-mark {
  position: absolute;
  right: 24px;
  top: 1px;
  font: 130px Bebas;
  color: #d6b76e0b;
  pointer-events: none;
}
.office-card h2 {
  font-size: 48px;
}
.quest-line {
  min-height: 49px;
  margin-top: 6px;
  color: var(--muted);
}
.office-link {
  margin-top: 16px;
}
.log {
  padding-left: 18px;
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.log li {
  margin: 12px 0;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.service-grid .panel {
  padding: 20px;
}
.service-grid .panel p {
  font-size: 12px;
}
.service-grid .panel .button {
  font-size: 12px;
  padding: 8px 12px;
}
.source-line {
  font-size: 12px;
  color: var(--muted);
}
.quest-find {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 22px 0;
}
.quest-find input {
  width: min(480px, 100%);
}
.quest-find label {
  width: 100%;
}
.quest-find-count {
  font-size: 12px;
  color: var(--muted);
}
.task-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  overflow: auto;
}
.task-tab .count {
  font: 10px Plex;
  border-radius: 12px;
  background: #ffffff13;
  padding: 2px 7px;
}
.task-tab.on {
  background: #d6b76e20;
  border-color: var(--gold);
  color: var(--gold);
}
.task-pane {
  display: none;
}
.task-pane.on {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 22px 0;
}
.quest {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0;
  background: var(--panel);
  min-width: 0;
}
.quest summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 11px;
  padding: 22px;
  list-style: none;
  height: 100%;
}
.quest-id {
  grid-column: 1/-1;
  font: 10px Plex;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.quest-title {
  grid-column: 1/-1;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 500;
}
.quest-owner {
  grid-column: 1/-1;
  font-size: 11px;
  color: var(--cyan);
}
.quest-preview {
  grid-column: 1/-1;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.quest-progress {
  align-self: center;
  height: 3px;
  background: #343b40;
  position: relative;
}
.quest-progress i {
  display: block;
  background: var(--gold);
  height: 100%;
}
.quest-count {
  font: 11px Plex;
  color: var(--muted);
}
.compact-board .quest-body {
  display: none;
}
.doc-note {
  font-size: 12px;
  color: var(--muted);
}
.quest-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0 25px;
}
.task-chip {
  font-size: 12px;
  padding: 4px 8px;
  background: #d6b76e12;
  border: 1px solid #d6b76e33;
  border-radius: 4px;
}
.steps {
  list-style: none;
  padding: 0;
}
.steps li {
  position: relative;
  padding: 10px 10px 10px 30px;
  border-bottom: 1px solid var(--line);
}
.steps li:before {
  content: '□';
  position: absolute;
  left: 0;
  color: var(--gold);
}
.steps li.done:before {
  content: '✓';
  color: var(--green);
}
.quest-note {
  padding: 15px;
  border-left: 2px solid var(--gold);
  background: #d6b76e09;
}
.quest-note b {
  display: block;
  color: var(--gold);
}
.bible-tools {
  display: grid;
  grid-template-columns: auto 1fr 170px 160px;
  gap: 16px;
  align-items: end;
  margin-bottom: 28px;
}
.segmented {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.bible-tools .segmented {
  margin: 0;
}
.segmented [aria-pressed='true'] {
  border-color: var(--gold);
  color: var(--gold);
  background: #d6b76e18;
}
.bible-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}
.entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-height: calc(100vh - 370px);
  min-height: 380px;
  overflow-y: auto;
  padding: 4px 8px 12px 4px;
  overscroll-behavior: contain;
}
.entry-card {
  padding: 0;
  display: block;
  text-align: left;
  overflow: hidden;
  position: relative;
  background: #10181e;
  border-radius: 6px;
  min-width: 0;
  width: 100%;
  align-self: start;
}
.entry-card.selected {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}
.entry-card > div:last-child {
  padding: 16px;
}
.entry-card h3 {
  font-size: 25px;
  margin: 12px 0;
}
.entry-card p {
  font-size: 12px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.entry-card .badge {
  font-size: 9px;
  padding: 3px 6px;
}
.thumb,
.model-art {
  aspect-ratio: 16/10;
  background: #151d24;
  display: grid;
  place-items: center;
  color: var(--muted);
  font: 11px Plex;
  overflow: hidden;
}
.thumb img,
.model-art img {
  width: 100%;
  height: 100%;
  display: block;
}
.card-arrow {
  float: right;
  color: var(--gold);
}
.arc-mark {
  font: 42px Cormorant;
  letter-spacing: 0.2em;
  text-align: center;
  padding: 15px;
  color: var(--gold);
  background: radial-gradient(ellipse, #64503440, transparent);
}
#result-count {
  color: var(--muted);
  font-size: 12px;
}
.bible-detail {
  background: #10161c;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  max-height: calc(100vh - 290px);
  overflow-y: auto;
  position: sticky;
  top: 105px;
  transition: opacity 220ms;
}
.detail-art {
  aspect-ratio: 16/10;
  background: #0c1218;
  display: grid;
  place-items: center;
}
.detail-art img {
  width: 100%;
  height: 100%;
}
.art-empty {
  font: 15px Plex;
  color: var(--muted);
}
.detail-copy {
  padding: 26px;
}
.detail-copy > h2 {
  margin-top: 16px;
}
.faction-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  float: right;
  margin: 0 0 16px 16px;
}
.story-body {
  margin: 30px 0;
  overflow-wrap: anywhere;
}
.story-body p {
  font-size: 14px;
}
.wiki {
  display: inline;
  padding: 0;
  min-height: 0;
  border: 0;
  background: none;
  text-decoration: underline;
  color: var(--gold);
  font: inherit;
}
.story-connections {
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.story-connections p {
  font-size: 13px;
}
.text-link {
  display: inline-block;
  padding: 10px 0;
  min-height: 44px;
}
.story-body h1 {
  font-size: 36px;
}
.story-body h2 {
  font-size: 32px;
}
.story-body table {
  max-width: 100%;
  font-size: 12px;
}
.model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.model-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #10171d;
  overflow: hidden;
  transition: border-color 160ms;
}
.model-card:hover {
  border-color: var(--gold);
}
.model-card > div:last-child {
  padding: 20px;
}
.model-card img {
  transition: transform 160ms;
}
.model-card:hover img {
  transform: scale(1.015);
}
.model-card h3 {
  font-size: 28px;
}
.model-card .button {
  font-size: 12px;
}
.model-card p {
  font-size: 13px;
}
.setup-intro {
  display: flex;
  gap: 32px;
  align-items: center;
  padding: 25px 30px;
  margin-bottom: 25px;
  background: linear-gradient(100deg, #3f332d50, transparent);
  border: 1px solid #5b4d36;
  border-radius: 7px;
}
.setup-intro h2 {
  font-size: 36px;
}
.setup-intro p {
  margin: 0;
  color: var(--muted);
  max-width: 65ch;
}
.big-step {
  font: 95px Bebas;
  color: var(--gold);
  line-height: 1;
}
.setup-item {
  padding: 0;
  border: 1px solid var(--line);
  border-bottom: 0;
  background: #111820;
}
.setup-item:last-child {
  border-bottom: 1px solid var(--line);
}
.setup-item summary {
  display: grid;
  grid-template-columns: 28px 1fr minmax(170px, 0.5fr) 16px;
  align-items: center;
  gap: 15px;
  list-style: none;
  padding: 18px 22px;
}
.item-number {
  font: 12px Plex;
  color: var(--gold);
}
.item-checks {
  font-size: 11px;
  color: var(--muted);
}
.setup-instructions {
  padding: 10px 28px 26px 65px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.setup-instructions p {
  overflow-wrap: anywhere;
}
dialog {
  color: var(--ink);
  background: #0c131a;
  border: 1px solid #8c7343;
  border-radius: 9px;
  box-shadow: 0 25px 90px #000b;
  padding: 0;
  width: min(1120px, 94vw);
  max-height: 92vh;
}
dialog::backdrop {
  background: #020509c9;
  backdrop-filter: blur(6px);
}
dialog > header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--line);
  background: #0d141c;
}
dialog > header h2,
dialog > header p {
  margin: 0;
}
.detail-content {
  padding: 30px;
  overflow-wrap: anywhere;
}
.detail-dialog {
  width: min(820px, 94vw);
}
.install-progress {
  display: flex;
  gap: 5px;
  padding: 20px 28px 0;
}
.install-progress i {
  height: 3px;
  background: #293039;
  flex: 1;
}
.install-progress .ack {
  background: #697c76;
}
.install-progress .current {
  background: var(--gold);
}
.slide-content {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 32px;
  padding: 36px 36px 20px;
  animation: slide-in 220ms var(--ease);
}
.slide-content h2 {
  font-size: 52px;
}
.slide-instructions {
  padding-left: 23px;
}
.slide-instructions li {
  padding-left: 8px;
  margin: 20px 0;
  color: #c7cec9;
}
.done-when {
  padding: 18px;
  border-left: 3px solid var(--gold);
  background: #d6b76e0a;
  margin-top: 25px;
  font-size: 13px;
}
.done-when b {
  color: var(--gold);
}
.done-when p {
  margin: 6px 0 0;
}
.guide-image {
  margin: 0;
  border: 1px solid #82704c66;
  border-radius: 7px;
  background: #131b23;
}
.guide-image a {
  display: block;
  border-radius: 7px;
}
.guide-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 7px 7px 0 0;
}
.guide-image figcaption {
  font-size: 11px;
  color: var(--muted);
  padding: 12px 15px;
}
.account-help article {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.account-help li {
  margin: 12px 0;
}
.slide-downloads {
  margin: 22px 0;
}
.slide-downloads h3 {
  font-size: 24px;
}
.slide-downloads details {
  font-size: 12px;
}
.slide-downloads .button {
  font-size: 12px;
}
.guide-note {
  margin: 0 36px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.guide-help {
  margin: 0 36px;
  font-size: 13px;
}
.install-dialog > footer {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 20px 28px;
  background: #0d141cf5;
  border-top: 1px solid var(--line);
}
@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateX(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
main.page-enter > .page-heading {
  animation: page-in 260ms var(--ease);
}
main.home-first .office-card {
  animation: card-in 340ms var(--ease) both;
}
main.home-first .office-card:nth-child(2) {
  animation-delay: 50ms;
}
@media (max-width: 1150px) {
  #workspace {
    grid-template-columns: 185px minmax(0, 1fr);
  }
  aside {
    padding-left: 6px;
    padding-right: 6px;
  }
  main {
    padding-left: 24px;
    padding-right: 24px;
  }
  .page-heading {
    align-items: start;
    flex-direction: column;
    gap: 15px;
  }
  .bible-tools {
    grid-template-columns: 1fr 1fr;
  }
  .task-pane.on {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-grid {
    gap: 12px;
  }
  .office-card {
    padding: 24px 20px;
  }
  .model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .slide-content {
    gap: 25px;
  }
}
@media (max-width: 850px) {
  .top {
    padding: 10px 20px;
  }
  #workspace {
    display: block;
  }
  aside {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    padding: 0;
    z-index: 25;
    border: 0;
    border-top: 1px solid #665735;
    background: #0b1119f5;
  }
  #navigation {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
  }
  #navigation a {
    font-size: 11px;
    line-height: 1.3;
    text-align: center;
    min-height: 64px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    justify-content: center;
    border-left: 0;
    border-top: 2px solid transparent;
    padding: 6px 3px;
  }
  #navigation a span {
    font-size: 9px;
  }
  .tool-links,
  .sidebar-note {
    display: none;
  }
  main {
    padding: 30px 20px 110px;
  }
  .bible-layout {
    grid-template-columns: 1fr;
  }
  .bible-detail {
    position: static;
    max-height: none;
  }
  .entry-grid {
    max-height: 500px;
    min-height: 100px;
  }
  .office-grid {
    gap: 16px;
  }
  .sign-in {
    grid-template-columns: 1fr;
    padding: 34px 22px;
    gap: 30px;
  }
  .sign-in-story {
    min-height: 230px;
  }
  .sign-in-story h1 {
    font-size: 72px;
  }
  .sign-in-story .serif {
    font-size: 23px;
  }
  .orbit-art {
    width: 180px;
    height: 180px;
    right: 5%;
    bottom: 0;
  }
  .sign-in-form {
    max-width: none;
  }
  .sign-in-story h1 br {
    display: none;
  }
  .slide-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .install-dialog {
    max-height: 95vh;
  }
  .slide-content > div { display: contents; }
  .slide-content h2 { order: 1; }
  .guide-image { order: 2; }
  .slide-instructions { order: 3; margin: 0; }
  .done-when { order: 4; margin-top: 0; }
  .account-help { order: 5; }
  .slide-downloads { order: 6; }
  .slide-downloads {
    margin-top: 0;
  }
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .service-grid .panel {
    padding: 14px;
  }
}
@media (max-width: 580px) {
  body {
    font-size: 14px;
  }
  .top {
    height: 76px;
    padding: 10px 16px;
  }
  .brand {
    gap: 11px;
  }
  .brand img {
    width: 28px;
    height: 48px;
  }
  .brand b {
    font-size: 17px;
  }
  .brand small {
    font-size: 7px;
  }
  .identity {
    gap: 6px;
    font-size: 12px;
  }
  .identity button {
    font-size: 11px;
    padding: 7px 8px;
    min-height: 44px;
  }
  .identity #refresh-view {
    display: none;
  }
  main {
    padding: 22px 16px 100px;
  }
  h1 {
    font-size: 54px;
  }
  .page-heading {
    margin-top: 8px;
  }
  .page-heading .serif {
    font-size: 24px;
  }
  .page-heading .actions,
  .page-heading .actions > * {
    width: 100%;
  }
  .office-grid,
  .service-grid,
  .task-pane.on,
  .model-grid {
    grid-template-columns: 1fr;
  }
  .office-card h2 {
    font-size: 42px;
  }
  .service-grid .panel {
    padding: 22px;
  }
  .service-grid .panel p {
    font-size: 13px;
  }
  .task-tabs {
    gap: 5px;
  }
  .task-tab {
    font-size: 11px;
    padding: 8px 9px;
    gap: 5px;
  }
  .task-tab .count {
    padding: 2px 4px;
  }
  .bible-tools {
    gap: 12px;
  }
  .bible-tools .segmented,
  .bible-tools .search {
    grid-column: 1/-1;
  }
  .bible-tools .segmented button {
    flex: 1;
  }
  .entry-grid {
    gap: 10px;
  }
  .entry-card > div:last-child {
    padding: 12px;
  }
  .entry-card h3 {
    font-size: 23px;
  }
  .detail-copy {
    padding: 20px;
  }
  .model-grid {
    gap: 18px;
  }
  .setup-intro {
    padding: 20px;
    gap: 20px;
  }
  .setup-intro .big-step {
    font-size: 65px;
  }
  .setup-intro h2 {
    font-size: 30px;
  }
  .setup-intro p {
    font-size: 12px;
  }
  .setup-item summary {
    grid-template-columns: 22px 1fr 14px;
    padding: 16px 12px;
    gap: 10px;
  }
  .item-checks {
    grid-column: 2;
    grid-row: 2;
  }
  .setup-item summary > span:last-child {
    grid-column: 3;
    grid-row: 1;
  }
  .setup-instructions {
    padding: 15px 18px;
  }
  .setup-item small {
    font-size: 11px;
  }
  .sign-in-form {
    padding: 25px;
  }
  .sign-in-story h1 {
    font-size: 60px;
  }
  .sign-in-story {
    min-height: 240px;
  }
  .sign-in {
    padding: 30px 18px;
    gap: 14px;
  }
  .orbit-art {
    right: -40px;
    bottom: 0;
    opacity: 0.6;
  }
  .slide-content {
    padding: 25px 22px 15px;
    gap: 20px;
  }
  .slide-content h2 {
    font-size: 43px;
  }
  .slide-downloads {
    margin-top: 22px;
  }
  .guide-note,
  .guide-help {
    margin-left: 22px;
    margin-right: 22px;
  }
  dialog > header {
    padding: 15px 18px;
    gap: 10px;
  }
  dialog > header .eyebrow {
    font-size: 9px;
  }
  dialog > header h2 {
    font-size: 29px;
  }
  .install-dialog > footer {
    padding: 15px 14px;
    gap: 5px;
  }
  .install-dialog > footer button {
    font-size: 12px;
    padding: 10px;
  }
  .detail-content {
    padding: 22px;
  }
  .slide-instructions li {
    margin: 17px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* Approved replacement artwork decorates the office welcome cards only. */
.office-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 270px;
  background-position: right center;
  background-size: cover;
  opacity: 0.74;
  mask-image: linear-gradient(#000, transparent);
}
.office-card.tino::before {
  background-image: linear-gradient(90deg, #101820ee 10%, #10182033 80%), url('art/tino-desk.png');
}
.office-card.brian::before {
  background-image: linear-gradient(90deg, #101820ee 10%, #10182022 80%), url('art/tank-desk.png');
}
.office-card > * {
  position: relative;
}
.office-card .office-mark {
  position: absolute;
}
.office-card h2 {
  font-size: 44px;
}
.office-card dl {
  margin: 16px 0;
}
.office-card .quest-line {
  min-height: 36px;
}
.office-card {
  padding: 25px 24px 20px;
}
