:root {
  font-family: Inter, Arial, sans-serif;
  color: #15273b;
  background: #f4f6f8;
  font-synthesis: none;
  --blue: #0076b9;
  --border: #dbe2e9;
  --muted: #64748b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
.button {
  font: inherit;
}
button,
.button {
  cursor: pointer;
  border: 0;
  border-radius: 7px;
  background: #0879bc;
  color: white;
  padding: 11px 16px;
  font-weight: 650;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
button:hover,
.button:hover {
  filter: brightness(0.95);
}
button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #f7b846;
  outline-offset: 3px;
}
.secondary {
  background: white;
  color: #233b50;
  border: 1px solid #cdd8e2;
}
.quiet {
  color: #c7dae9;
  background: transparent;
}
.text-button {
  background: transparent;
  color: #0879bc;
  padding: 8px;
}
.topbar {
  height: 74px;
  background: #0a2237;
  color: white;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 4vw;
}
.wordmark {
  font-size: 18px;
  letter-spacing: 1px;
  text-decoration: none;
  color: white;
  font-weight: 850;
  display: flex;
  align-items: center;
  gap: 7px;
}
.mark {
  height: 29px;
  width: 29px;
  background: #75d5ee;
  border-radius: 5px;
  color: #092338;
  font-style: italic;
  font-size: 25px;
  text-align: center;
}
.brands {
  font-weight: 400;
  color: #aabfcf;
  font-size: 11px;
  letter-spacing: 2px;
}
.product {
  border-left: 1px solid #345064;
  padding-left: 28px;
  font-size: 13px;
  color: #c8d6e1;
}
.topbar #logout {
  margin-left: auto;
}
.topbar #google-link {
  margin-left: auto;
  font-size: 11px;
}
.topbar #google-link:not([hidden]) + #logout {
  margin-left: 0;
}
.google-signin {
  background: white;
  color: #24384c;
  border: 1px solid #cbd5df;
  margin-top: 12px;
}
main {
  max-width: 1560px;
  padding: 36px 4vw 24px;
  margin: auto;
}
.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 12px 0 28px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 800;
  color: #4a718b;
}
h1 {
  font-size: 34px;
  letter-spacing: -1.2px;
  margin: 10px 0 12px;
  line-height: 1.13;
}
p {
  font-size: 14px;
  line-height: 1.6;
  color: #5a6e80;
  margin: 8px 0;
}
h2 {
  font-size: 19px;
  margin: 0;
  letter-spacing: -0.4px;
}
.cadence {
  font-size: 11px;
  border: 1px solid #cfdbe5;
  background: white;
  border-radius: 30px;
  padding: 10px 14px;
  white-space: nowrap;
  color: #526d81;
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}
.brand-card {
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 9px;
  background: white;
  padding: 21px;
  min-height: 161px;
  box-shadow: 0 3px 10px #12283f03;
}
.brand-card.active {
  box-shadow: 0 0 0 2px var(--accent);
}
.brand-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.brand-name {
  font-size: 15px;
  letter-spacing: 1px;
  font-weight: 850;
}
.badge {
  border-radius: 30px;
  background: #edf3f8;
  color: #587188;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 700;
}
.badge.ready {
  color: #22744a;
  background: #eaf6ee;
}
.badge.error {
  color: #965a17;
  background: #fff3dd;
}
.brand-count {
  font-size: 32px;
  font-weight: 750;
  margin: 12px 0 0;
  letter-spacing: -1px;
}
.brand-count span {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
  margin-left: 8px;
}
.brand-detail {
  font-size: 11px;
  color: #738292;
  line-height: 1.6;
  margin-top: 7px;
}
.brand-detail.error {
  color: #98601b;
}
.library {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
  overflow: hidden;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 25px 25px 18px;
}
.section-title p {
  font-size: 11px;
  margin-bottom: 0;
}
.tools {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.filters {
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 6px 25px 22px;
}
.filters label,
.preview-controls label {
  display: grid;
  gap: 7px;
  font-size: 11px;
  font-weight: 650;
  color: #496174;
}
.filters .search {
  flex: 1;
  min-width: 200px;
}
.filters input,
.filters select,
.preview-controls select {
  border: 1px solid #ced9e3;
  background: #fff;
  border-radius: 6px;
  height: 42px;
  padding: 9px 11px;
  color: #243e53;
  min-width: 0;
  font-size: 12px;
  max-width: 100%;
}
.filters button {
  height: 42px;
}
.filters input[type="date"] {
  width: 150px;
}
.muted {
  color: #8b9aab;
  font-weight: 400;
}
.syncbar {
  border-top: 1px solid #e7edf2;
  border-bottom: 1px solid #e7edf2;
  background: #f9fbfc;
  padding: 8px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #627789;
  gap: 10px;
}
.syncbar > div {
  display: flex;
}
.table-scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 650px;
}
th {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #75879a;
  padding: 15px 24px;
  background: #fff;
  border-bottom: 1px solid #e5ebf0;
}
td {
  padding: 19px 24px;
  border-bottom: 1px solid #edf1f5;
  font-size: 12px;
  vertical-align: middle;
}
td:nth-child(2) {
  width: 52%;
}
#results td:last-child .secondary {
  white-space: nowrap;
}
.campaign-name {
  font-size: 13px;
  font-weight: 650;
  color: #223d53;
  display: block;
  margin-bottom: 6px;
}
.campaign-subject {
  font-size: 11px;
  color: #778799;
  display: block;
}
.brand-pill {
  color: #33556f;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 5px 7px;
  background: #eff5f8;
}
.pagination {
  padding: 16px 25px;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: end;
  color: #76899a;
  font-size: 11px;
}
.pagination button {
  font-size: 11px;
  padding: 8px 12px;
}
.footnote {
  font-size: 11px;
  color: #8694a4;
  margin: 17px 0;
  line-height: 1.6;
}
.notice {
  margin: 12px 25px;
  background: #eef5fb;
  color: #305d7c;
  padding: 13px;
  border: 1px solid #d8e8f4;
  border-radius: 6px;
  font-size: 12px;
}
.notice.error {
  color: #8c4e19;
  background: #fff7ed;
  border-color: #f5ddbb;
}
.empty {
  padding: 55px 24px;
  text-align: center;
}
.empty > span {
  color: #88a2b6;
  font-size: 32px;
}
.empty h3 {
  font-size: 16px;
  margin: 14px 0 7px;
}
.empty p {
  font-size: 12px;
}
.signin {
  max-width: 650px;
  padding: 12vh 0;
}
.signin h1 {
  font-size: 54px;
  letter-spacing: -2px;
}
.signin p {
  max-width: 480px;
  margin: 22px 0;
}
.signin button {
  padding: 15px 23px;
}
code {
  font-size: 12px;
  color: #1f5c85;
  background: #eef4f8;
  padding: 3px 5px;
  border-radius: 4px;
}
dialog {
  width: min(1060px, 96vw);
  height: 92vh;
  max-height: 100vh;
  border: 1px solid #d4e0e8;
  border-radius: 12px;
  padding: 0;
  color: #193449;
}
dialog::backdrop {
  background: #09233899;
  backdrop-filter: blur(4px);
}
dialog header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 23px;
  border-bottom: 1px solid #e2eaf0;
  align-items: center;
}
dialog header h2 {
  margin-top: 5px;
}
.preview-controls {
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 15px 23px;
  background: #f8fafc;
}
.preview-controls label {
  flex: 1;
}
.preview-controls select {
  width: 100%;
}
#email {
  display: block;
  width: 100%;
  height: calc(100% - 218px);
  border: 0;
  background: white;
}
#preview-note {
  margin: 9px 23px;
}
#import-dialog {
  height: auto;
  width: min(640px, 94vw);
  padding: 24px;
}
#import-dialog header {
  padding: 0 0 20px;
}
#import-dialog p {
  font-size: 13px;
  margin: 20px 0;
}
#import-dialog label {
  display: grid;
  gap: 12px;
  font-size: 13px;
  margin: 24px 0;
}
#import-dialog input {
  font-size: 13px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
[hidden] {
  display: none !important;
}
@media (max-width: 1100px) {
  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filters {
    flex-wrap: wrap;
  }
  .filters .search {
    flex-basis: 100%;
  }
  .intro {
    display: block;
  }
  .cadence {
    display: inline-block;
    margin-top: 10px;
  }
  .brand-heading {
    align-items: start;
    flex-direction: column;
  }
  .preview-controls {
    flex-wrap: wrap;
  }
  .preview-controls label {
    min-width: 200px;
  }
}
@media (max-width: 650px) {
  .topbar {
    gap: 14px;
    height: 64px;
  }
  .product {
    display: none;
  }
  main {
    padding-top: 20px;
  }
  .intro {
    margin-top: 8px;
  }
  h1 {
    font-size: 27px;
  }
  .brand-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .brand-card {
    min-height: 0;
    padding: 15px;
  }
  .brand-heading {
    flex-direction: row;
  }
  .brand-count {
    font-size: 26px;
    margin-top: 7px;
  }
  .section-title {
    display: block;
    padding: 20px 16px;
  }
  .tools {
    margin-top: 16px;
  }
  .filters {
    padding: 0 16px 16px;
    gap: 10px;
  }
  .filters label {
    flex: 1;
    min-width: 43%;
  }
  .filters input[type="date"] {
    width: 100%;
  }
  .filters button {
    width: 100%;
  }
  .syncbar {
    padding: 10px 16px;
    align-items: start;
    flex-direction: column;
  }
  .pagination {
    padding: 14px 16px;
  }
  .signin {
    padding-top: 10vh;
  }
  .signin h1 {
    font-size: 42px;
  }
  dialog header {
    padding: 16px;
  }
  .preview-controls {
    padding: 12px 16px;
  }
  .preview-controls label {
    min-width: 120px;
  }
  .preview-controls .button {
    width: 100%;
  }
  #email {
    height: calc(100% - 280px);
  }
}

.wordmark {
  flex-shrink: 0;
}
.wordmark img {
  display: block;
  width: 180px;
  height: auto;
}
.brand-logo {
  display: block;
  width: auto;
  max-width: 140px;
  height: 26px;
  object-fit: contain;
}

/* Original PNG is transparent; remove the white card and use a white wordmark on navy. */
.wordmark {
  background: transparent;
  padding: 0;
  border-radius: 0;
}
.wordmark img {
  filter: brightness(0) invert(1);
}
.brand-card {
  display: block;
  width: 100%;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
}
.brand-card:hover,
.brand-card:focus-visible {
  box-shadow: 0 0 0 2px var(--accent);
  outline-offset: 4px;
}
#all-brands {
  margin-bottom: 14px;
}
#all-brands[aria-pressed="true"] {
  background: #e5f2fa;
  border-color: #087cbc;
}
.campaign-link {
  display: block;
  padding: 0;
  background: transparent;
  border: 0;
  color: inherit;
  text-align: left;
  font: inherit;
}
.campaign-link:hover .campaign-name,
.campaign-link:hover .campaign-subject {
  text-decoration: underline;
}
#performance {
  padding: 0 22px;
}
.performance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  gap: 10px;
}
.performance-stat {
  background: #f2f6fa;
  border: 1px solid #dce6ee;
  padding: 12px;
  border-radius: 6px;
}
.performance-stat strong {
  display: block;
  font-size: 20px;
  margin-top: 5px;
}
.performance-stat span {
  font-size: 12px;
  color: #52697d;
}
.performance-note {
  color: #52697d;
  font-size: 12px;
}

.brand-pill {
  border-left: 3px solid;
  font-weight: 750;
  white-space: nowrap;
}
.brand-pill.brand-lectric {
  background: #e5f3fc;
  color: #075a88;
  border-color: #087cbc;
}
.brand-pill.brand-monarc {
  background: #eef3e7;
  color: #45582d;
  border-color: #758b53;
}
.brand-pill.brand-juiced {
  background: #f1eafa;
  color: #654395;
  border-color: #8160bb;
}
.brand-pill.brand-juiced_powersports {
  background: #fff0e5;
  color: #8b451c;
  border-color: #b8642d;
}

/* A full-height drawer keeps the email visible without scrolling the outer shell. */
#preview {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(900px, calc(100vw - 40px));
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  border: 0;
  border-left: 1px solid var(--border);
  border-radius: 14px 0 0 14px;
  overflow: hidden;
  box-shadow: -16px 0 60px #09233824;
}
#preview[open] {
  display: flex;
  flex-direction: column;
  animation: preview-drawer-in 220ms ease-out;
}
#preview::backdrop {
  background: #09233855;
  backdrop-filter: blur(1px);
}
#preview > header {
  padding: 18px 22px;
  flex: 0 0 auto;
}
#preview > header > div {
  min-width: 0;
}
#preview > header h2 {
  font-size: 19px;
  overflow-wrap: anywhere;
}
#preview-close {
  flex-shrink: 0;
}
.preview-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 22px;
  border-bottom: 1px solid var(--border);
}
.preview-navigation button {
  padding: 7px 12px;
}
.preview-navigation .footnote {
  margin: 0;
  text-align: center;
}
#preview .preview-controls {
  flex: 0 0 auto;
  padding: 12px 22px;
  flex-wrap: wrap;
  gap: 10px;
}
#preview .preview-controls label {
  min-width: 150px;
}
#preview .preview-controls select {
  padding: 9px;
}
#preview-performance {
  flex: 0 1 auto;
  min-height: 38px;
  max-height: 32vh;
  overflow: auto;
  border-block: 1px solid var(--border);
  background: #f8fafc;
}
#performance-summary {
  padding: 11px 22px;
  cursor: pointer;
  color: #244b68;
  font-size: 12px;
  font-weight: 650;
}
#preview #performance {
  padding: 0 22px 12px;
}
#preview .performance-grid {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}
#preview .performance-stat {
  padding: 9px;
}
#preview #preview-note {
  flex: 0 0 auto;
  margin: 8px 22px;
  font-size: 11px;
}
#preview #email {
  flex: 1 1 0;
  min-height: 140px;
  width: 100%;
  height: auto;
}
@keyframes preview-drawer-in {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
@media (max-width: 650px) {
  #preview {
    width: 100vw;
    border: 0;
    border-radius: 0;
  }
  #preview > header {
    padding: 14px 16px;
  }
  #preview > header h2 {
    font-size: 17px;
  }
  .preview-navigation {
    padding: 8px 16px;
  }
  #preview .preview-controls {
    padding: 10px 16px;
  }
  #preview .preview-controls label {
    min-width: 0;
    width: calc(50% - 5px);
  }
  #preview .preview-controls .button {
    width: auto;
    padding: 7px 10px;
    font-size: 11px;
  }
  #performance-summary {
    padding: 10px 16px;
  }
  #preview #performance {
    padding-inline: 16px;
  }
  #preview #preview-note {
    margin-inline: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #preview[open] {
    animation: none;
  }
}

.selection-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-block: 1px solid var(--border);
  background: #edf4f9;
}
.selection-bar > div {
  margin-right: auto;
  font-size: 13px;
}
.selection-help {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.selection-cell {
  width: 48px;
  padding-inline: 16px;
  text-align: center;
}
.selection-cell input {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #087cbc;
}
.page-buttons,
.page-jump {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
}
.pagination {
  flex-wrap: wrap;
  gap: 14px;
}
.page-jump {
  font-size: 12px;
}
.page-jump input {
  width: 76px;
  padding: 9px;
}
#preview-context {
  margin: 0;
  padding: 8px 22px;
  font-size: 12px;
  overflow-wrap: anywhere;
  flex: 0 0 auto;
  color: #52697d;
}
@media (max-width: 650px) {
  .selection-bar {
    padding: 12px 16px;
  }
  .selection-bar > div {
    flex-basis: 100%;
  }
  .selection-bar button {
    font-size: 11px;
    padding: 8px 10px;
  }
  .pagination {
    justify-content: center;
  }
  .page-buttons button {
    padding: 8px 10px;
  }
  #preview-context {
    padding-inline: 16px;
  }
}

#library-sentinel {
  height: 1px;
}
#compact-brands {
  display: none;
}
#library-slot.is-compact-slot {
  height: 100vh;
  height: 100dvh;
}
.library.is-compact {
  position: fixed;
  top: 0;
  left: var(--library-left);
  width: var(--library-width);
  z-index: 10;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 -2px 20px #19344916;
}
.is-compact .library-controls {
  flex: 0 0 auto;
  background: white;
  max-height: 55dvh;
  overflow: auto;
}
.is-compact .section-title {
  padding: 10px 16px;
  gap: 12px;
  flex-wrap: wrap;
}
.is-compact .section-title > div:first-child {
  display: none;
}
.is-compact #compact-brands {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}
.compact-brand-option {
  background: white;
  color: #28465b;
  border: 1px solid var(--border);
  border-bottom: 3px solid var(--accent, #9aabb8);
  padding: 7px 9px;
  min-height: 36px;
  font-size: 10px;
}
.compact-brand-option img {
  display: block;
  height: 15px;
  width: auto;
  max-width: 76px;
  object-fit: contain;
}
.compact-brand-option.active {
  background: #eaf3fa;
  border-color: var(--accent, #087cbc);
}
.is-compact .tools {
  margin: 0 0 0 auto;
}
.is-compact .tools button,
.is-compact .tools .button {
  padding: 8px 10px;
  font-size: 11px;
}
.is-compact .filters {
  padding: 0 16px 10px;
  gap: 8px;
}
.is-compact .filters input,
.is-compact .filters select {
  padding: 8px;
}
.is-compact .syncbar {
  padding: 7px 16px;
}
.is-compact .selection-bar {
  padding: 8px 16px;
  gap: 7px;
}
.is-compact .selection-bar button {
  padding: 7px 9px;
  font-size: 11px;
}
.is-compact .selection-help {
  font-size: 10px;
}
.is-compact #campaign-table-scroll {
  flex: 1 1 0;
  min-height: 100px;
  overflow: auto;
  overscroll-behavior: auto;
}
.is-compact thead {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f7fafc;
}
.is-compact th {
  background: #f7fafc;
}
.is-compact .pagination {
  flex: 0 0 auto;
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  background: white;
}
.is-compact:has(#empty:not([hidden])) #campaign-table-scroll {
  flex: 0 0 auto;
  min-height: 0;
}
.is-compact #empty:not([hidden]) {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 24px;
}
@media (max-width: 650px) {
  .is-compact .section-title {
    display: flex;
    padding: 8px 12px;
    gap: 8px;
  }
  .is-compact .compact-brand-option {
    padding: 6px;
    font-size: 9px;
  }
  .is-compact .compact-brand-option img {
    height: 12px;
    max-width: 58px;
  }
  .is-compact .filters {
    padding-inline: 12px;
  }
  .is-compact .filters .search {
    flex-basis: 100%;
  }
  .is-compact .filters label {
    min-width: 26%;
  }
  .is-compact .filters button {
    width: auto;
  }
  .is-compact .selection-help {
    display: none;
  }
  .is-compact .selection-bar > div {
    flex-basis: auto;
  }
  .is-compact .pagination {
    padding: 8px;
    gap: 8px;
  }
}

/* Reserve a single line for status; scale the mark within the remaining space. */
.brand-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  gap: 10px;
}
.brand-heading .brand-logo {
  justify-self: start;
  max-width: 100%;
}
.badge {
  white-space: nowrap;
}
.is-compact #campaign-table-scroll {
  min-height: 0;
}

/* Preview hierarchy: compact navigation, dark title + subject, then saved-file link. */
#preview .preview-navigation {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 8px;
  padding: 8px 16px;
  background: #071e32;
  border-bottom: 1px solid #38536b;
}
#preview .preview-navigation button {
  padding: 5px 9px;
  min-height: 29px;
  font-size: 11px;
  border-color: #56718a;
  color: #e5eef7;
  background: transparent;
}
#preview .preview-navigation .footnote {
  color: #c2d4e4;
  font-size: 10px;
}
#preview > .preview-heading {
  display: block;
  flex: 0 0 auto;
  padding: 19px 22px;
  background: #0a2d4b;
  color: white;
  border: 0;
  max-height: 30dvh;
  overflow: auto;
}
#preview .preview-heading .eyebrow {
  color: #9ed4ef;
}
#preview .preview-heading h2 {
  color: white;
  font-size: 23px;
  font-weight: 750;
  margin: 5px 0 8px;
  line-height: 1.25;
}
#preview-subject {
  color: #d9e9f6;
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
  overflow-wrap: anywhere;
}
#preview .preview-meta {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 10px 22px;
  background: #f5f8fb;
  border-bottom: 1px solid var(--border);
}
#preview .preview-meta #preview-context {
  padding: 0;
  font-size: 11px;
}
.preview-download {
  color: #075c91;
  font-size: 12px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.preview-download[aria-disabled="true"] {
  opacity: 0.45;
}
@media (max-width: 650px) {
  #preview > .preview-heading {
    padding: 16px;
  }
  #preview .preview-heading h2 {
    font-size: 20px;
  }
  #preview-subject {
    font-size: 13px;
  }
  #preview .preview-meta {
    padding: 9px 16px;
  }
  #preview .preview-navigation {
    padding: 7px 12px;
    gap: 6px;
  }
}
