/* Dashboard — deep dive card, recommendations, library spotlight */

.dashboard-deep-dive .deep-dive-card {
  background-color: #fff !important;
  border: 2px solid #1a1c1e !important;
  border-radius: 0.5rem !important;
  position: relative !important;
  padding: 1.75rem 2rem !important;
}
.dashboard-deep-dive .deep-dive-card__footer {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
}
.dashboard-deep-dive .deep-dive-card__discuss-cell {
  margin-left: auto !important;
  flex-shrink: 0 !important;
}
.dashboard-deep-dive .deep-dive-card__title {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: #1a1c1e !important;
}
.dashboard-deep-dive .deep-dive-card__byline {
  font-size: 0.8125rem !important;
  color: #5c6066 !important;
  letter-spacing: 0.02em !important;
}
.dashboard-deep-dive .deep-dive-card__body {
  font-size: 0.75rem !important;
  font-weight: 400 !important;
  padding: 1rem 0 !important;
}
.dashboard-deep-dive .deep-dive-card__tag {
  padding: 0.2rem 0.5rem !important;
  border: 1px solid #1a1c1e !important;
  display: inline-block !important;
}
.dark .dashboard-deep-dive .deep-dive-card {
  background-color: var(--md-surface) !important;
  border-color: var(--md-outline) !important;
}
.dark .dashboard-deep-dive .deep-dive-card__title,
.dark .dashboard-deep-dive .deep-dive-card__body {
  color: var(--md-on-surface) !important;
}
.dark .dashboard-deep-dive .deep-dive-card__byline {
  color: var(--md-on-surface-variant) !important;
}
.dark .dashboard-deep-dive .deep-dive-card__tag {
  border-color: var(--md-outline) !important;
  color: var(--md-on-surface) !important;
}

.dashboard-recommendations .recommendations-card {
  background-color: #fff !important;
  border: 2px solid #1a1c1e !important;
  border-radius: 0.5rem !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: hidden;
}
.dark .dashboard-recommendations .recommendations-card {
  background-color: var(--md-surface) !important;
  border-color: var(--md-outline) !important;
}
.dashboard-recommendations .recommendations-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
}
.dark .dashboard-recommendations .recommendations-card__head {
  border-bottom-color: var(--md-outline-variant);
}
.dashboard-recommendations .recommendations-header {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  color: #1a1c1e;
  margin: 0;
}
.dashboard-recommendations .recommendations-view-all {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1a1c1e;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}
.dashboard-recommendations .recommendations-view-all:hover {
  border-bottom-color: #1a1c1e;
}
.dashboard-recommendations .recommendations-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.dashboard-recommendations .recommendation-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
}
.dashboard-recommendations .recommendation-item:last-child {
  border-bottom: none;
}
.dashboard-recommendations .recommendation-item__thumb {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 0.375rem;
  border: 1px solid #e5e7eb;
  background-color: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
}
.dashboard-recommendations .recommendation-item__body {
  flex: 1;
  min-width: 0;
}
.dashboard-recommendations .recommendation-item__title {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  color: #1a1c1e;
}
.dashboard-recommendations .recommendation-item__title a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.dashboard-recommendations .recommendation-item__title a:hover {
  border-bottom-color: #1a1c1e;
}
.dashboard-recommendations .recommendation-item__summary {
  font-size: 0.8125rem;
  color: #5c6066;
  font-family: system-ui, -apple-system, sans-serif;
  letter-spacing: 0.02em;
  line-height: 1.45;
  margin-top: 0.35rem;
}
.dashboard-recommendations .recommendation-item__dismiss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  font-size: 1.375rem;
  font-weight: 300;
  line-height: 1;
  color: #5c6066;
  background: none;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  align-self: center;
  font-family: system-ui, -apple-system, sans-serif;
}
.dashboard-recommendations .recommendation-item__dismiss:hover {
  color: #1a1c1e;
  background-color: rgba(26, 28, 30, 0.06);
}
.dark .dashboard-recommendations .recommendations-header,
.dark .dashboard-recommendations .recommendations-view-all {
  color: var(--md-on-surface);
}
.dark .dashboard-recommendations .recommendations-view-all:hover {
  border-bottom-color: var(--md-on-surface);
}
.dark .dashboard-recommendations .recommendation-item {
  border-bottom-color: var(--md-outline-variant);
}
.dark .dashboard-recommendations .recommendation-item__thumb {
  border-color: var(--md-outline-variant);
  background-color: var(--md-surface-container-high);
  color: var(--md-on-surface-variant);
}
.dark .dashboard-recommendations .recommendation-item__title,
.dark .dashboard-recommendations .recommendation-item__title a {
  color: var(--md-on-surface);
}
.dark .dashboard-recommendations .recommendation-item__title a:hover {
  border-bottom-color: var(--md-on-surface);
}
.dark .dashboard-recommendations .recommendation-item__summary {
  color: var(--md-on-surface-variant);
}
.dark .dashboard-recommendations .recommendation-item__dismiss {
  color: var(--md-on-surface-variant);
}
.dark .dashboard-recommendations .recommendation-item__dismiss:hover {
  color: var(--md-on-surface);
  background-color: rgba(255, 255, 255, 0.08);
}

.dashboard-library-spotlight .library-spotlight-eyebrow {
  margin: 0 0 0.2rem;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5c6066;
  line-height: 1.2;
}
.dashboard-library-spotlight .library-spotlight-header {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  color: #1a1c1e;
  line-height: 1.25;
  margin: 0;
}
.dashboard-library-spotlight .library-spotlight-card {
  background-color: #fff !important;
  border: 2px solid #1a1c1e !important;
  border-radius: 0.5rem !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: hidden;
}
.dashboard-library-spotlight .library-spotlight-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
  padding: 1.125rem 1.25rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}
.dashboard-library-spotlight .library-spotlight-card__head-text {
  min-width: 0;
  flex: 1 1 12rem;
}
.dashboard-library-spotlight .library-spotlight-card__head-aside {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem 0.75rem;
  flex-shrink: 0;
}
.dashboard-library-spotlight .library-spotlight-open {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1a1c1e;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.dashboard-library-spotlight .library-spotlight-open:hover {
  border-bottom-color: #1a1c1e;
}
.dashboard-library-spotlight .library-spotlight-open__arrow {
  margin-left: 0.15em;
  transition: transform 0.2s ease;
}
.dashboard-library-spotlight .library-spotlight-open:hover .library-spotlight-open__arrow {
  transform: translateX(3px);
}
.dark .dashboard-library-spotlight .library-spotlight-card__head {
  border-bottom-color: var(--md-outline-variant);
  background: var(--md-surface-container-low);
}
.dark .dashboard-library-spotlight .library-spotlight-eyebrow {
  color: var(--md-on-surface-variant);
}
.dark .dashboard-library-spotlight .library-spotlight-open {
  color: var(--md-on-surface);
}
.dark .dashboard-library-spotlight .library-spotlight-open:hover {
  border-bottom-color: var(--md-on-surface);
}
.dashboard-library-spotlight .library-spotlight-card__body {
  padding: 0;
}
.dashboard-library-spotlight .library-spotlight-layout {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.125rem;
  padding: 1.25rem 1.25rem 1.35rem;
}
.dashboard-library-spotlight .library-spotlight-body-wrap {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  background-color: #f9fafb;
  border: 1px solid #f3f4f6;
  max-height: 16rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.dark .dashboard-library-spotlight .library-spotlight-body-wrap {
  background-color: var(--md-surface-container-highest);
  border-color: var(--md-outline-variant);
}
.dashboard-library-spotlight .library-spotlight-body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #1a1c1e;
}
.dashboard-library-spotlight .library-spotlight-body.prose :first-child {
  margin-top: 0;
}
.dashboard-library-spotlight .library-spotlight-body.prose :last-child {
  margin-bottom: 0;
}
.dashboard-library-spotlight .library-spotlight-body.prose p {
  margin-top: 0.65em;
  margin-bottom: 0.65em;
}
.dashboard-library-spotlight .library-spotlight-citation {
  margin: 0;
  padding: 0.75rem 1.25rem 1.25rem;
  font-family: ui-serif, Georgia, 'Times New Roman', serif;
  font-size: 0.8125rem;
  font-style: italic;
  line-height: 1.5;
  color: #5c6066;
  border-top: 1px dashed #e5e7eb;
  background-color: #fff;
}
.dark .dashboard-library-spotlight .library-spotlight-header,
.dark .dashboard-library-spotlight .library-spotlight-body {
  color: var(--md-on-surface);
}
.dark .dashboard-library-spotlight .library-spotlight-citation {
  color: var(--md-on-surface-variant);
  border-top-color: var(--md-outline-variant);
  background-color: transparent;
}
.dark .dashboard-library-spotlight .library-spotlight-card {
  background-color: var(--md-surface) !important;
  border-color: var(--md-outline) !important;
}
.dashboard-library-recommendations-row {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.dashboard-library-recommendations-row > * {
  min-width: 0;
}
@media (min-width: 768px) {
  .dashboard-library-recommendations-row--split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    align-items: start;
  }
}

/* Recommendations page — empty state (matches library spotlight / batch card rhythm) */
.recommendations-editorial .recommendations-empty {
  padding: 0 !important;
  overflow: hidden;
  text-align: left;
}

.recommendations-editorial .recommendations-empty__head {
  padding: 1.125rem 1.25rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}

.recommendations-editorial .recommendations-empty__title {
  margin: 0;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.25;
  color: #1a1c1e;
}

.recommendations-editorial .recommendations-empty__body {
  padding: 1.25rem 1.25rem 1.5rem;
}

.recommendations-editorial .recommendations-empty__panel {
  margin: 0;
  padding: 1rem 1.125rem;
  border-radius: 0.375rem;
  background-color: #f9fafb;
  border: 1px solid #f3f4f6;
}

.recommendations-editorial .recommendations-empty__text {
  margin: 0;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #374151;
}

.dark .recommendations-editorial .recommendations-empty__head {
  border-bottom-color: var(--md-outline-variant);
  background: var(--md-surface-container-low);
}

.dark .recommendations-editorial .recommendations-empty__title {
  color: var(--md-on-surface);
}

.dark .recommendations-editorial .recommendations-empty__panel {
  background-color: var(--md-surface-container-highest);
  border-color: var(--md-outline-variant);
}

.dark .recommendations-editorial .recommendations-empty__text {
  color: var(--md-on-surface);
}

/* ----- Batch show — editorial header + note cards ----- */

.batch-show-editorial .batch-header-title {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: #1a1c1e;
  margin-bottom: 0.5rem;
}

.batch-show-editorial .batch-meta {
  font-size: 0.8125rem;
  color: #5c6066;
  letter-spacing: 0.02em;
}

.batch-show-editorial .batch-badge {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.2rem 0.5rem;
  border: 1px solid #1a1c1e;
  border-radius: 0.25rem;
  background: transparent;
  color: #1a1c1e;
}

.batch-show-editorial .batch-status-complete {
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.2rem 0.5rem;
  border: 1px solid #1a1c1e;
  border-radius: 0.25rem;
  background: transparent;
  color: #1a1c1e;
}

.batch-show-editorial .batch-status-processing {
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  background-color: var(--md-primary-container);
  color: var(--md-on-primary-container);
}

.batch-show-editorial .batch-status-failed {
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  background-color: var(--md-error-container);
  color: var(--md-on-error-container);
}

.batch-show-editorial .batch-status-queued {
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.2rem 0.5rem;
  border: 1px solid #1a1c1e;
  border-radius: 0.25rem;
  background: transparent;
  color: #5c6066;
}

.batch-show-editorial .batch-btn-outlined {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 500;
  background: transparent !important;
  color: #1a1c1e !important;
  border: 2px solid #1a1c1e !important;
  border-radius: 0.25rem !important;
  padding: 0.35rem 0.75rem !important;
  font-size: 0.875rem;
  text-decoration: none;
  cursor: pointer;
}

.batch-show-editorial .batch-btn-outlined:hover {
  opacity: 0.9;
}

.batch-show-editorial .batch-btn-text-danger {
  color: var(--md-error) !important;
  background: none !important;
  border: none !important;
  cursor: pointer;
  font-size: 0.875rem;
  padding: 0.35rem 0.5rem;
}

/* Note card shell */
.batch-show-editorial .batch-note-card {
  background-color: #fff !important;
  border: 2px solid #1a1c1e !important;
  border-radius: 0.5rem !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: hidden;
}

.batch-show-editorial .batch-note-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
  padding: 1.125rem 1.25rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}

.batch-show-editorial .batch-note-card__head-text {
  min-width: 0;
  flex: 1 1 10rem;
}

.batch-show-editorial .batch-note-card__title {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  color: #1a1c1e;
  margin: 0;
  line-height: 1.25;
}

.batch-show-editorial .batch-note-card__head-aside {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem 1rem;
  flex-shrink: 0;
}

.batch-show-editorial .batch-note-card__body {
  padding: 1.25rem 1.25rem 1.5rem;
}

.batch-show-editorial .batch-note-card__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 1024px) {
  .batch-show-editorial .batch-note-card__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    align-items: start;
  }
}

.batch-show-editorial .batch-note-card__media {
  min-width: 0;
}

.batch-show-editorial .batch-note-card__thumb-frame {
  border-radius: 0.375rem;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  line-height: 0;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.batch-show-editorial .batch-note-card__thumb-frame:hover {
  border-color: #1a1c1e;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.batch-show-editorial .batch-note-card__thumb-img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.batch-show-editorial .batch-note-card__thumb-img:hover {
  opacity: 0.92;
}

.batch-show-editorial .batch-note-card__thumb-placeholder {
  border-radius: 0.375rem;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  background-color: var(--md-surface-variant);
  color: var(--md-on-surface-variant);
  border: 1px solid var(--md-outline-variant);
}

.batch-show-editorial .batch-note-card__main {
  min-width: 0;
}

/* Inset panels (raw OCR, processed text, citation) */
.batch-show-editorial .batch-note-card__section-label {
  display: block;
  margin: 0 0 0.5rem;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5c6066;
}

.batch-show-editorial .batch-note-card__panel {
  border-radius: 0.375rem;
  padding: 0.75rem 1rem;
  background-color: #f9fafb;
  border: 1px solid #f3f4f6;
}

.batch-show-editorial .batch-note-card__panel--ocr .batch-note-card__ocr-scroll {
  margin: 0;
  max-height: 24rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0.25rem;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #374151;
  white-space: pre-wrap;
}

.batch-show-editorial .batch-note-card__panel--notes {
  max-height: 24rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.batch-show-editorial .batch-note-card__panel--notes.prose {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #1a1c1e;
}

.batch-show-editorial .batch-note-card__panel--notes.prose :first-child {
  margin-top: 0;
}

.batch-show-editorial .batch-note-card__panel--notes.prose :last-child {
  margin-bottom: 0;
}

.batch-show-editorial .batch-note-card__panel--citation {
  font-family: ui-serif, Georgia, 'Times New Roman', serif;
  font-size: 0.875rem;
  font-style: italic;
  line-height: 1.5;
  color: #5c6066;
  border-style: dashed;
  border-color: #e5e7eb;
}

.batch-show-editorial .batch-note-card__panel--error {
  padding: 1rem 1.125rem;
  background-color: var(--md-error-container);
  color: var(--md-on-error-container);
  border: 2px solid var(--md-error);
}

.batch-show-editorial .batch-note-card__error-title {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 1rem;
}

.batch-show-editorial .batch-note-card__panel--loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 1rem;
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  color: #5c6066;
  font-size: 0.875rem;
}

.batch-show-editorial .batch-note-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.batch-show-editorial .batch-note-card__tag {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.2rem 0.5rem;
  border: 1px solid #1a1c1e;
  border-radius: 0.25rem;
  background: transparent;
  color: #1a1c1e;
}

.batch-show-editorial .batch-note-card__pending {
  text-align: center;
  padding: 0.5rem 0 0;
}

/* Dark mode — batch page */
.dark .batch-show-editorial .batch-header-title,
.dark .batch-show-editorial .batch-note-card__title {
  color: var(--md-on-surface);
}

.dark .batch-show-editorial .batch-meta {
  color: var(--md-on-surface-variant);
}

.dark .batch-show-editorial .batch-badge,
.dark .batch-show-editorial .batch-status-complete {
  color: var(--md-on-surface) !important;
  border-color: var(--md-outline) !important;
}

.dark .batch-show-editorial .batch-status-queued {
  color: var(--md-on-surface-variant);
  border-color: var(--md-outline);
}

.dark .batch-show-editorial .batch-note-card {
  background-color: var(--md-surface) !important;
  border-color: var(--md-outline) !important;
}

.dark .batch-show-editorial .batch-note-card__head {
  border-bottom-color: var(--md-outline-variant);
  background: var(--md-surface-container-low);
}

.dark .batch-show-editorial .batch-note-card__section-label {
  color: var(--md-on-surface-variant);
}

.dark .batch-show-editorial .batch-btn-outlined {
  color: var(--md-on-surface) !important;
  border-color: var(--md-outline) !important;
}

.dark .batch-show-editorial .batch-note-card__thumb-frame {
  border-color: var(--md-outline-variant);
  box-shadow: none;
}

.dark .batch-show-editorial .batch-note-card__thumb-frame:hover {
  border-color: var(--md-outline);
}

.dark .batch-show-editorial .batch-note-card__panel {
  background-color: var(--md-surface-container-highest);
  border-color: var(--md-outline-variant);
}

.dark .batch-show-editorial .batch-note-card__panel--ocr .batch-note-card__ocr-scroll {
  color: var(--md-on-surface-variant);
}

.dark .batch-show-editorial .batch-note-card__panel--notes.prose {
  color: var(--md-on-surface);
}

.dark .batch-show-editorial .batch-note-card__panel--citation {
  color: var(--md-on-surface-variant);
  border-color: var(--md-outline-variant);
}

.dark .batch-show-editorial .batch-note-card__panel--loading {
  background-color: var(--md-surface-container-highest);
  border-color: var(--md-outline-variant);
  color: var(--md-on-surface-variant);
}

.dark .batch-show-editorial .batch-note-card__tag {
  color: var(--md-on-surface);
  border-color: var(--md-outline);
}
