/* Notewise demo, the paper theme's shell, the editor canvas and the
   editor-specific chrome. arvion.css stays untouched so every project in the
   showcase shares the same components. */

:root {
  /* An editorial serif for the writing surface, system UI for the chrome. */
  --reading: "P052", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "C059",
    "Liberation Serif", "Times New Roman", serif;
  --ui: var(--font-sans);
  --editor-ink: #241f18;
  --editor-soft: #6d6354;
  --editor-line: #e9e2d5;
  --editor-faint: #b6a992;
  --sidebar-w: 268px;
  --panel-w: 424px;
}

html,
body {
  height: 100%;
}

body {
  overflow: hidden;
  background: var(--bg);
}

/* The paper theme already paints the aurora warm; this keeps it away from the
   writing column so the sheet stays the brightest thing on screen. */
.aurora {
  opacity: 0.7;
}

/* ---------------------------------------------------------------- shell -- */
.app.shell {
  height: 100vh;
  grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
}

.workspace {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100vh;
}

.workspace-body {
  display: flex;
  flex: 1;
  min-height: 0;
}

/* -------------------------------------------------------------- sidebar -- */
.sidebar {
  height: 100vh;
  padding: 20px 14px 16px;
  gap: 7px;
  overflow: hidden;
}

.app-brand {
  padding: 2px 8px 15px;
}

.theme-paper .app-brand .brand-mark {
  background: linear-gradient(180deg, #c34d3b, #a33224);
  border-color: #8d2a1e;
  box-shadow: 0 8px 18px -12px rgba(140, 42, 30, 0.6);
  color: #fff8ef;
  font-family: var(--reading);
  font-size: 17px;
  font-weight: 600;
}

.app-brand .brand-word {
  font-family: var(--ui);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.app-brand .brand-sub {
  font-size: 9.5px;
  letter-spacing: 0.2em;
}

.new-page {
  width: 100%;
  justify-content: flex-start;
  margin: 2px 0 11px;
  padding: 9px 12px;
  letter-spacing: 0.005em;
  background: #fff;
  border-color: var(--line-strong);
  color: var(--text-2);
  box-shadow: 0 1px 2px rgba(28, 22, 14, 0.04);
}

.new-page:hover {
  background: #fff;
  border-color: var(--gold-line);
  color: var(--gold);
}

.new-page-plus {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  font-size: 15px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.9;
}

.page-search .input {
  padding: 9px 12px 9px 34px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.66);
}

.page-search::before {
  content: "";
  left: 14px;
  top: 13px;
  width: 10px;
  height: 10px;
  border: 1.6px solid var(--muted);
  border-radius: 50%;
  transform: none;
  opacity: 0.8;
}

.page-search::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 23px;
  width: 5px;
  height: 1.6px;
  border-radius: 2px;
  background: var(--muted);
  transform: rotate(45deg);
  opacity: 0.8;
}

.page-search .input:focus {
  background: #fff;
}

.sidebar .nav-label {
  padding: 11px 10px 5px;
  font-size: 9.5px;
  letter-spacing: 0.18em;
}

.page-list {
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 12px;
  margin: 0 -2px;
}

.page-item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-left: 2px solid transparent;
  background: transparent;
  border-radius: 9px;
  padding: 8px 10px 8px 10px;
  cursor: pointer;
  color: var(--text-2);
  font-family: var(--ui);
  transition: background 0.12s var(--ease), border-color 0.12s;
}

.page-item:hover {
  background: rgba(28, 22, 14, 0.045);
}

.page-item.is-active {
  background: #fff;
  border-left-color: var(--gold);
  box-shadow: 0 1px 2px rgba(28, 22, 14, 0.07), 0 0 0 1px rgba(28, 22, 14, 0.035);
}

.page-item .page-title-text {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-item.is-active .page-title-text {
  color: var(--text);
}

.page-item .page-meta-text {
  display: flex;
  gap: 6px;
  align-items: baseline;
  margin-top: 2px;
  font-size: 10.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.page-item .hit {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--editor-soft);
  font-style: italic;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.search-empty {
  padding: 14px 12px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.sidebar-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 8px 2px;
  border-top: 1px solid var(--line);
}

.storage-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--muted);
}

.storage-note .dot {
  background: var(--green);
}

.storage-note.is-warn .dot {
  background: var(--red);
}

.sidebar-keys {
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.9;
}

.sidebar-keys kbd {
  background: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  padding: 0 4px;
}

.sidebar-link {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}

.sidebar-link:hover {
  color: var(--gold);
  text-decoration: none;
}

/* --------------------------------------------------------------- topbar -- */
.doc-topbar {
  flex: none;
  height: var(--topbar-h);
  gap: 12px;
  padding: 0 20px 0 26px;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 30;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-family: var(--ui);
  font-size: 12.5px;
  color: var(--muted);
}

.crumb-root {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 600;
}

.crumb-sep {
  opacity: 0.5;
}

#crumb-page {
  color: var(--text-2);
  font-weight: 600;
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.doc-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.doc-actions .btn.icon {
  width: 30px;
  height: 30px;
  font-size: 15px;
  color: var(--text-2);
  border-radius: 8px;
}

.doc-actions .btn.icon[disabled] {
  opacity: 0.45;
}

.save-badge {
  font-variant-numeric: tabular-nums;
}

.save-badge .dot {
  background: var(--green);
}

.save-badge[data-state="saving"] .dot {
  background: var(--amber);
}

.save-badge[data-state="error"] .dot {
  background: var(--red);
}

.save-badge[data-state="error"] {
  color: var(--red);
  border-color: var(--red-soft);
}

.words-badge {
  font-variant-numeric: tabular-nums;
  color: var(--text-2);
}

.doc-actions .btn.sm {
  padding: 7px 12px;
}

.markdown-btn.is-active {
  border-color: var(--gold-line);
  background: var(--gold-soft);
  color: var(--gold);
}

/* -------------------------------------------------------------- writing -- */
.editor-stage {
  flex: 1;
  min-width: 0;
  overflow: auto;
  padding: 28px 30px 96px;
  background:
    radial-gradient(880px 420px at 50% -8%, rgba(255, 255, 255, 0.8), transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 220px);
  scrollbar-width: thin;
  scrollbar-color: rgba(28, 22, 14, 0.18) transparent;
}

.editor-stage::-webkit-scrollbar {
  width: 11px;
}

.editor-stage::-webkit-scrollbar-thumb {
  background: rgba(28, 22, 14, 0.16);
  border: 3px solid transparent;
  border-radius: 99px;
  background-clip: content-box;
}

.sheet {
  width: min(824px, 100%);
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(28, 22, 14, 0.1);
  border-radius: 16px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 28px 70px -48px rgba(28, 22, 14, 0.55),
    0 4px 14px -10px rgba(28, 22, 14, 0.12);
  padding: 50px 62px 28px;
}

.page-title {
  width: 100%;
  display: block;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--text);
  font-family: var(--reading);
  font-size: clamp(30px, 3vw, 39px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.018em;
  border-radius: 4px;
}

.page-title:focus {
  outline: none;
}

.page-title::placeholder {
  color: #c6b9a4;
}

.page-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--editor-line);
  font-family: var(--ui);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.meta-dot {
  opacity: 0.55;
}

/* --------------------------------------------------------------- blocks -- */
.editor {
  font-family: var(--reading);
  font-size: 18.5px;
  line-height: 1.72;
  color: var(--editor-ink);
  font-variant-numeric: tabular-nums;
}

.block-row {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  margin-left: calc(var(--depth, 0) * 24px);
}

.block-row + .block-row {
  margin-top: 2px;
}

.gutter {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding-top: 7px;
  opacity: 0;
  transition: opacity 0.12s var(--ease);
}

.block-row.is-active > .gutter,
.block-row:hover > .gutter {
  opacity: 1;
}

.gutter button {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #ab9e88;
  cursor: pointer;
  font-family: var(--ui);
}

.gutter button:hover {
  background: rgba(28, 22, 14, 0.06);
  color: var(--text);
}

.gutter-add {
  font-size: 15px;
  line-height: 1;
  opacity: 0.8;
}

.gutter-drag {
  cursor: grab;
}

.gutter-drag::before {
  content: "";
  width: 10px;
  height: 14px;
  background-image: radial-gradient(circle, currentColor 1px, transparent 1.3px);
  background-size: 5px 5px;
  background-position: 0 0;
  opacity: 0.9;
}

.gutter-drag:active {
  cursor: grabbing;
}

.block-main {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 1px 0;
}

.block-content {
  flex: 1;
  min-width: 0;
  outline: none;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  caret-color: var(--gold);
  border-radius: 4px;
}

.block-content:focus {
  outline: none;
}

.block-content[data-empty="true"]::before {
  content: attr(data-placeholder);
  color: var(--editor-faint);
  pointer-events: none;
}

.marker {
  flex: none;
  width: 18px;
  font-family: var(--ui);
  font-size: 15px;
  line-height: 2.12;
  color: #9c8f7c;
  text-align: right;
  font-variant-numeric: tabular-nums;
  user-select: none;
}

/* depth guide: a hairline that shows which parent a block hangs from */
.block-row[data-depth]:not([data-depth="0"]) .block-main::before {
  content: "";
  position: absolute;
  left: -14px;
  top: -1px;
  bottom: -1px;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(28, 22, 14, 0.1) 10%,
    rgba(28, 22, 14, 0.1) 90%,
    transparent
  );
}

.block-row[data-type="heading1"] {
  margin-top: 22px;
}

.block-row[data-type="heading1"] .block-content {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.015em;
}

.block-row[data-type="heading2"] {
  margin-top: 20px;
}

.block-row[data-type="heading2"] .block-content {
  font-size: 23.5px;
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.01em;
}

.block-row[data-type="heading3"] {
  margin-top: 16px;
}

.block-row[data-type="heading3"] .block-content {
  font-size: 19.5px;
  font-weight: 600;
  line-height: 1.4;
}

.block-row[data-type="quote"] .block-main {
  border-left: 3px solid var(--gold-line);
  padding-left: 17px;
  margin: 7px 0;
}

.block-row[data-type="quote"] .block-content {
  font-size: 19.5px;
  font-style: italic;
  line-height: 1.65;
  color: var(--editor-soft);
}

.block-row[data-type="callout"] .block-main {
  background: #fdf4ef;
  border: 1px solid rgba(178, 58, 43, 0.16);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  padding: 12px 15px 12px 13px;
  margin: 7px 0;
}

.block-row[data-type="callout"] .block-content {
  font-size: 17.5px;
  line-height: 1.62;
}

.callout-mark {
  flex: none;
  width: 19px;
  height: 19px;
  margin-top: 4px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #fff8ef;
  font-family: var(--ui);
  font-size: 10.5px;
  font-weight: 600;
  font-style: italic;
  line-height: 1;
}

.block-row[data-type="code"] .block-main {
  display: block;
  margin: 6px 0;
}

.block-row[data-type="code"] .block-content {
  display: block;
  background: #f7f3ea;
  border: 1px solid var(--editor-line);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.68;
  color: #4a4030;
  tab-size: 2;
}

.block-row[data-type="divider"] .block-main {
  padding: 15px 0 12px;
}

.divider-line {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line-strong);
  margin: 0;
}

/* to-do */
.todo-box {
  flex: none;
  width: 19px;
  height: 19px;
  margin-top: 6px;
  padding: 0;
  border-radius: 5px;
  border: 1.5px solid #c8bcaa;
  background: #fff;
  cursor: pointer;
  position: relative;
  transition: background 0.12s, border-color 0.12s;
}

.todo-box:hover {
  border-color: var(--gold);
}

.todo-box[aria-checked="true"] {
  background: var(--gold);
  border-color: var(--gold);
}

.todo-box[aria-checked="true"]::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 1.5px;
  width: 4px;
  height: 9px;
  border: solid #fffaf2;
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}

.block-row[data-type="todo"][data-checked="true"] .block-content {
  color: #8d8170;
  text-decoration: line-through;
  text-decoration-color: rgba(178, 58, 43, 0.4);
}

/* drag feedback */
.block-row.is-dragging {
  opacity: 0.38;
}

.block-row.drop-before::before,
.block-row.drop-after::after {
  content: "";
  position: absolute;
  left: 34px;
  right: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
  z-index: 2;
}

.block-row.drop-before::before {
  top: -2px;
}

.block-row.drop-after::after {
  bottom: -2px;
}

.sheet-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  padding-top: 15px;
  border-top: 1px solid var(--editor-line);
  font-family: var(--ui);
  font-size: 11.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.shortcut-line kbd {
  font-size: 10px;
  padding: 1px 5px;
  background: #faf7f0;
  border-color: var(--editor-line);
}

/* ---------------------------------------------------------- slash menu -- */
.slash-menu {
  position: fixed;
  z-index: 80;
  width: 336px;
  max-height: min(360px, calc(100vh - 96px));
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  box-shadow: 0 28px 70px -34px rgba(28, 22, 14, 0.55), 0 2px 6px rgba(28, 22, 14, 0.06);
  padding: 6px;
  font-family: var(--ui);
}

.slash-menu[hidden] {
  display: none;
}

.slash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 9px 6px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.slash-query {
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.slash-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 7px 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text-2);
  text-align: left;
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.slash-option .ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-2);
  color: var(--editor-soft);
  font-size: 11px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0;
}

.slash-option .label {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.slash-option .label b {
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
}

.slash-option .label small {
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.35;
}

.slash-option .key {
  margin-left: auto;
  font-size: 10px;
  color: var(--muted);
  opacity: 0;
}

.slash-option.is-selected {
  background: var(--gold-soft);
}

.slash-option.is-selected .ico {
  border-color: var(--gold-line);
  background: #fff;
  color: var(--gold);
}

.slash-option.is-selected .key {
  opacity: 1;
}

.slash-empty {
  padding: 16px 12px 18px;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.slash-foot {
  margin-top: 4px;
  padding: 8px 10px 5px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* ------------------------------------------------------- markdown panel -- */
.md-panel {
  width: var(--panel-w);
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  overflow: hidden;
  padding: 20px 20px 16px;
  border-left: 1px solid var(--line-strong);
  background: var(--bg-soft);
  animation: panel-in 0.18s var(--ease);
}

.md-panel[hidden] {
  display: none;
}

@keyframes panel-in {
  from {
    transform: translateX(12px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

.panel-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.panel-head h2 {
  margin: 0;
  font-family: var(--reading);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.panel-head .eyebrow {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  margin-bottom: 3px;
}

.panel-head .btn {
  margin-left: auto;
}

.md-tabs {
  display: flex;
  width: 100%;
}

.md-tabs .tab {
  flex: 1;
}

.md-body {
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
  min-height: 0;
}

.md-body[hidden] {
  display: none;
}

.panel-note {
  margin: 0;
  font-family: var(--ui);
  font-size: 11.5px;
  line-height: 1.55;
  color: #5f5647;
}

.panel-note code {
  color: var(--editor-soft);
  font-size: 10.5px;
}

.md-source {
  flex: 1;
  min-height: 260px;
  width: 100%;
  resize: none;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: #3b3428;
  font-family: var(--font-mono);
  font-size: 11.8px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  overflow: auto;
}

.md-source:focus {
  outline: none;
  border-color: var(--gold-line);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.md-meta {
  font-family: var(--ui);
  font-size: 10.5px;
  color: #6a6153;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.panel-actions {
  gap: 8px;
}

.panel-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--ui);
}

.panel-foot .small {
  font-size: 10.5px;
}

/* ------------------------------------------------------------- responsive */
@media (max-width: 1240px) {
  .words-badge {
    display: none;
  }

  .crumb-root,
  .crumbs .crumb-sep {
    display: none;
  }
}

@media (max-width: 1080px) {
  :root {
    --sidebar-w: 240px;
  }

  .sheet {
    padding: 44px 44px 26px;
  }

  .doc-actions .btn.sm {
    padding: 7px 10px;
  }
}

@media (max-width: 940px) {
  .md-panel {
    position: fixed;
    top: var(--topbar-h);
    right: 0;
    bottom: 0;
    z-index: 60;
    width: min(var(--panel-w), 100vw);
    box-shadow: -40px 0 80px -50px rgba(28, 22, 14, 0.6);
  }

  .md-tabs,
  .md-body,
  .panel-foot {
    flex: none;
  }
}

@media (max-width: 860px) {
  body {
    overflow: auto;
  }

  .app.shell {
    display: block;
    height: auto;
  }

  .workspace {
    height: auto;
    min-height: 100vh;
  }

  .sidebar {
    display: none;
  }

  .doc-topbar {
    padding: 0 12px;
    gap: 8px;
  }

  #crumb-page {
    max-width: 130px;
  }

  .doc-actions .btn.sm {
    display: none;
  }

  .doc-actions .btn.primary.sm {
    display: inline-flex;
  }

  .editor-stage {
    padding: 14px 12px 72px;
    overflow: visible;
  }

  .sheet {
    border-radius: 12px;
    padding: 30px 22px 22px;
  }

  .block-row {
    grid-template-columns: 26px minmax(0, 1fr);
    margin-left: calc(var(--depth, 0) * 16px);
  }

  .gutter {
    opacity: 0.55;
  }

  .editor,
  .block-content {
    font-size: 17px;
  }

  .block-row[data-type="heading1"] .block-content {
    font-size: 26px;
  }

  .shortcut-line {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .md-panel {
    animation: none;
  }
}

/* search result rows inside the sidebar */
.page-hit {
  display: block;
  width: 100%;
  margin: -1px 0 3px;
  padding: 3px 10px 3px 22px;
  border: 0;
  border-left: 2px solid var(--editor-line);
  border-radius: 0 6px 6px 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--ui);
  font-size: 10.8px;
  font-style: italic;
  line-height: 1.5;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.page-hit:hover {
  background: rgba(28, 22, 14, 0.045);
  color: var(--text-2);
  border-left-color: var(--gold-line);
}

/* Screenshot runs should never catch the panel mid-animation. */
.shot .md-panel {
  animation: none;
}
