:root {
  --ink: #15212f;
  --muted: #5f6f83;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --line: rgba(16, 38, 66, 0.12);
  --brand: #8c2333;
  --brand-deep: #5b1221;
  --accent: #c8a24a;
  --bg-a: #f5efe2;
  --bg-b: #eef3f8;
  --success: #0d6e5c;
  --warning: #b26d00;
  --shadow: 0 18px 40px rgba(21, 33, 47, 0.08);
  --radius: 24px;
}

html {
  font-size: 16px;
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(200, 162, 74, 0.16), transparent 34%),
    radial-gradient(circle at top right, rgba(140, 35, 51, 0.14), transparent 28%),
    linear-gradient(180deg, var(--bg-a), var(--bg-b));
  font-family: Georgia, "Times New Roman", serif;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-deep);
}

.app-shell main a:not(.btn):not(.nav-link) {
  color: #181643;
}

.app-shell main a:not(.btn):not(.nav-link):hover,
.app-shell main a:not(.btn):not(.nav-link):focus-visible {
  color: #0f1230;
}

.app-shell main a.btn-link:not(.nav-link) {
  border-color: transparent;
  background: transparent !important;
  color: #4b5563 !important;
  box-shadow: none;
}

.app-shell main a.btn-link:not(.nav-link):hover,
.app-shell main a.btn-link:not(.nav-link):focus-visible {
  border-color: transparent;
  background: transparent !important;
  color: #374151 !important;
  box-shadow: none;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(140, 35, 51, 0.16);
  border-color: rgba(140, 35, 51, 0.4);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(15, 29, 46, 0.88);
  box-shadow: 0 10px 30px rgba(10, 18, 30, 0.12);
}

.site-header-lit {
  backdrop-filter: none;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(22, 32, 58, 0.12);
}

.body-lit {
  --brand: #2a76c5;
  --brand-deep: #1f5fa4;
  --accent: #ef3f4e;
  background: linear-gradient(180deg, #f3f7f8 0%, #edf5f6 100%);
}

.body-lit a {
  color: #2a76c5;
}

.body-lit a:hover {
  color: #1f5fa4;
}

.body-lit .btn:focus,
.body-lit .btn:active:focus,
.body-lit .btn-link.nav-link:focus,
.body-lit .form-control:focus,
.body-lit .form-select:focus,
.body-lit .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(24, 22, 67, 0.18);
  border-color: rgba(24, 22, 67, 0.36);
}

.body-lit .btn:not(.navbar-toggler),
.body-lit a.btn,
.body-lit button.btn,
.body-lit span.btn {
  border-color: #181643;
  background: #181643;
  color: #ffffff !important;
}

.body-lit .btn:not(.navbar-toggler):hover,
.body-lit .btn:not(.navbar-toggler):focus-visible,
.body-lit a.btn:hover,
.body-lit a.btn:focus-visible,
.body-lit button.btn:hover,
.body-lit button.btn:focus-visible,
.body-lit span.btn:hover,
.body-lit span.btn:focus-visible {
  border-color: #0f1230;
  background: #0f1230;
  color: #ffffff !important;
}

.body-lit .btn.disabled,
.body-lit .btn:disabled {
  border-color: #181643;
  background: #181643;
  color: rgba(255, 255, 255, 0.8) !important;
  opacity: .55;
}

.site-header .container-xxl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.site-header-lit .container-xxl {
  display: block;
  padding-inline: 0;
  max-width: 100%;
}

.site-header .navbar {
  padding-top: .85rem;
  padding-bottom: .85rem;
}

.site-header-lit .navbar {
  display: block;
  padding: 0;
}

.site-header .navbar-collapse {
  flex-grow: 1;
}

.site-header .navbar-nav {
  flex-wrap: wrap;
  row-gap: .25rem;
}

.navbar-brand {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: normal;
  line-height: 1.15;
  max-width: min(100%, 18rem);
  color: #fff !important;
}

.navbar-brand-lit {
  display: inline-flex;
  align-items: center;
  gap: clamp(.55rem, 1.2vw, .9rem);
  max-width: min(100%, 32rem);
  min-width: 0;
  letter-spacing: 0;
  text-transform: none;
}

.lit-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(.75rem, 2vw, 1.25rem);
  padding: clamp(.7rem, 1.3vw, .95rem) clamp(.85rem, 2vw, 1.35rem) clamp(.8rem, 1.6vw, 1rem);
  background: #ffffff;
}

.lit-header-top-actions {
  display: none;
  align-items: center;
  gap: .9rem;
  margin-left: auto;
}

.lit-header-top-actions form {
  margin: 0;
}

.lit-header-user-card {
  display: grid;
  justify-items: end;
  gap: .15rem;
  min-width: 0;
  color: #2f3156;
}

.lit-header-user-name {
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.1;
}

.lit-header-user-role {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: .15rem .48rem;
  border-radius: 999px;
  background: rgba(42, 118, 197, 0.12);
  color: #2a76c5;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.navbar-brand-lit {
  gap: clamp(.55rem, 1vw, .7rem);
  max-width: min(100%, clamp(15rem, 42vw, 26rem));
}

.lit-header-menu-shell {
  min-height: 3rem;
  padding: 0 clamp(.85rem, 2vw, 1.35rem);
  background: #2a76c5;
}

.lit-navbar-collapse {
  width: 100%;
  padding: clamp(.7rem, 1.25vw, .85rem) 0 clamp(.85rem, 1.5vw, 1rem);
  background: #2a76c5;
}

.lit-navbar-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(8.5rem, 18vw, 10rem), 1fr));
  gap: .15rem clamp(.75rem, 1.5vw, 1rem);
  margin: 0;
}

.navbar-brand-logo {
  display: block;
  width: auto;
  height: clamp(2rem, 4.6vw, 2.45rem);
  flex: 0 0 auto;
}

.navbar-brand-text {
  display: block;
  max-width: clamp(8.4rem, 22vw, 10.5rem);
  font-size: clamp(.82rem, 1.5vw, 1rem);
  font-weight: 700;
  letter-spacing: clamp(.025em, .08vw, .045em);
  line-height: 1.15;
  text-transform: uppercase;
  color: #2f3156;
}

.site-header .nav-link {
  color: #fff !important;
  padding-inline: .6rem !important;
}

.site-header-lit .nav-link {
  padding: .65rem 0 !important;
  color: #ffffff !important;
  font-weight: 700;
}

.site-header .nav-link:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
}

.site-header-lit .nav-link:hover {
  background: transparent;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.9);
}

.navbar-brand:hover,
.navbar-brand:focus,
.site-header .user-name {
  color: #fff !important;
}

.site-header-lit .navbar-brand:hover,
.site-header-lit .navbar-brand:focus,
.site-header-lit .user-name {
  color: #253b6e !important;
}

.site-header-lit .navbar-toggler {
  border-color: #d6d9df;
}

.site-header-lit .lit-navbar-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: clamp(2.75rem, 6.2vw, 3.35rem);
  height: clamp(2.55rem, 5.8vw, 3.05rem);
  padding: 0;
  border: 1px solid #d6d9df;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(24, 22, 67, 0.05);
  margin-left: auto;
}

.site-header-lit .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(24, 22, 67, 0.12);
}

.site-header-lit .navbar-toggler-icon {
  width: clamp(1.1rem, 2.6vw, 1.45rem);
  height: clamp(1.1rem, 2.6vw, 1.45rem);
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath stroke='%23848b94' stroke-linecap='round' stroke-miterlimit='10' stroke-width='1.8' d='M3 6.5h18M3 12h18M3 17.5h18'/%3e%3c/svg%3e");
}

.site-header-lit .lit-navbar-toggle:hover,
.site-header-lit .lit-navbar-toggle[aria-expanded='true'] {
  border-color: #c4c9d2;
  background: #fbfbfc;
}

.lit-menu-user-card {
  display: grid;
  gap: .2rem;
  margin-bottom: .6rem;
  padding: .6rem .75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.lit-menu-user-name {
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.2;
}

.lit-menu-user-role {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: .18rem .5rem;
  border-radius: 999px;
  background: rgba(143, 109, 75, 0.95);
  color: #fff8eb;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.lit-menu-actions {
  margin-top: .85rem;
  padding-top: .85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.lit-menu-signout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8rem;
  padding: .55rem .9rem;
  border: 1px solid #181643;
  border-radius: 4px;
  background: #181643;
  color: #ffffff !important;
  font-weight: 700;
}

.lit-menu-signout-button:hover,
.lit-menu-signout-button:focus-visible {
  background: #0f1230;
  color: #ffffff !important;
}

.template-usage-trigger {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent !important;
  color: #4b5563 !important;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  box-shadow: none;
}

.template-usage-trigger:hover,
.template-usage-trigger:focus-visible {
  background: transparent !important;
  color: #374151 !important;
  text-decoration: underline;
  box-shadow: none;
}

@media (min-width: 768px) {
  .navbar-expand-md .navbar-nav {
    flex-direction: row;
    font-family: monospace;
  }

  .lit-header-top-actions {
    display: flex;
  }

  .site-header-lit .lit-navbar-toggle {
    display: none;
  }

  .site-header-lit .lit-header-top {
    padding-bottom: .8rem;
  }

  .site-header-lit .lit-header-menu-shell {
    display: flex;
    align-items: stretch;
    min-height: 3.2rem;
    padding-top: 0;
    padding-bottom: 0;
  }

  .site-header-lit .lit-navbar-collapse {
    display: block !important;
    width: 100%;
    padding: .42rem 0 .5rem;
  }

  .site-header-lit .lit-navbar-nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    gap: clamp(.2rem, .55vw, .65rem);
    margin: .6em 0 0;
  }

  .site-header-lit .lit-navbar-nav .nav-item {
    width: auto;
    min-width: 0;
    flex: 0 1 auto;
  }

  .site-header-lit .lit-navbar-nav .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: .38rem .18rem !important;
    text-align: center;
    white-space: nowrap;
    font-size: clamp(0.85rem, .8vw, .95rem);
    line-height: 1.1;
  }

  .site-header-lit .lit-menu-user-card {
    display: none;
  }

  .site-header-lit .lit-menu-actions {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .lit-header-top-actions {
    display: none;
  }

  .lit-header-user-card {
    display: none;
  }

  .site-header-lit .lit-menu-actions {
    display: block;
  }
}

.shell-glow {
  position: fixed;
  inset: auto 0 0 auto;
  width: 30vw;
  height: 30vw;
  background: radial-gradient(circle, rgba(200, 162, 74, 0.22), transparent 70%);
  pointer-events: none;
}

.body-lit .shell-glow {
  display: none;
}

.app-shell {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.hero-panel,
.content-panel,
.stat-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 2fr 1fr;
  padding: 2.2rem;
  margin-bottom: 1.8rem;
}

.compact-hero {
  align-items: center;
}

.hero-note {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  padding: 1.2rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(140, 35, 51, 0.08), rgba(200, 162, 74, 0.14));
}

.eyebrow {
  margin: 0 0 .35rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
}

.hero-copy {
  max-width: 58rem;
  margin: 0 0 .9rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.content-panel {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.narrow-panel {
  max-width: 720px;
  margin-inline: auto;
}

.search-panel {
  margin-top: -0.4rem;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.single-column-form {
  grid-template-columns: 1fr;
}

.filter-grid label,
.upload-title {
  display: inline-block;
  margin-bottom: .35rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--muted);
}

.filter-actions {
  display: flex;
  gap: .75rem;
  align-items: end;
}

.action-stack {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.btn-section-add {
  color: #fff;
  background: #1f6feb;
  border-color: #1f6feb;
}

.btn-section-add:hover,
.btn-section-add:focus {
  color: #fff;
  background: #1558bf;
  border-color: #1558bf;
}

.section-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.section-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.override-form {
  display: grid;
  gap: 1rem;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem 1rem;
}

.help-hero {
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
}

.help-hero-note {
  gap: .75rem;
}

.help-audience-pill,
.help-card-category {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: rgba(140, 35, 51, 0.1);
  color: var(--brand-deep);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.help-search-panel {
  padding-block: 1.25rem;
}

.help-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  align-items: end;
}

.help-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}

.help-role-switcher {
  display: grid;
  gap: .35rem;
  min-width: 220px;
}

.help-search-form .form-control {
  min-width: min(100%, 30rem);
}

.help-layout {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.help-sidebar,
.help-detail-panel {
  margin-bottom: 0;
}

.help-card-list {
  display: grid;
  gap: .9rem;
}

.help-tutorial-card {
  display: grid;
  gap: .65rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.help-tutorial-card:hover {
  transform: translateY(-2px);
  border-color: rgba(140, 35, 51, 0.3);
  box-shadow: 0 12px 26px rgba(21, 33, 47, 0.08);
}

.help-tutorial-card-active {
  border-color: rgba(140, 35, 51, 0.36);
  background: linear-gradient(180deg, rgba(140, 35, 51, 0.08), rgba(200, 162, 74, 0.08));
}

.help-tutorial-card h3,
.help-detail-panel h2,
.help-step-card h3,
.help-inline-card h3,
.help-empty-state h2,
.help-empty-state h3 {
  margin: 0;
}

.help-tutorial-card p,
.help-empty-state p,
.help-detail-summary-card span,
.help-inline-card p {
  margin: 0;
  color: var(--muted);
}

.help-card-meta,
.help-detail-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.help-detail-header {
  margin-bottom: 1.25rem;
}

.help-detail-summary-card,
.help-inline-card,
.help-step-card,
.help-empty-state {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
}

.help-detail-summary-card {
  display: grid;
  gap: .6rem;
  min-width: min(100%, 18rem);
  padding: 1rem 1.1rem;
}

.help-inline-card,
.help-empty-state {
  padding: 1.1rem 1.2rem;
}

.help-inline-card-soft {
  background: linear-gradient(180deg, rgba(200, 162, 74, 0.12), rgba(255, 255, 255, 0.84));
}

.help-steps {
  display: grid;
  gap: 1rem;
  margin-block: 1.25rem;
}

.help-step-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding: 1.15rem 1.2rem;
}

.help-step-number {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}

.help-list {
  margin: .75rem 0 0;
  padding-left: 1.2rem;
}

.help-list li + li {
  margin-top: .45rem;
}

.help-empty-state {
  display: grid;
  gap: .6rem;
}

.rich-editor-preview {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.8);
}

.rich-editor-toolbar {
  border: 1px solid var(--line);
  border-bottom: none;
  border-radius: 16px 16px 0 0;
  background: rgba(255, 255, 255, 0.94);
}

.rich-editor-selection-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  padding: .65rem .8rem;
  border: 1px solid var(--line);
  border-top: none;
  border-bottom: none;
  background: rgba(255, 255, 255, 0.9);
}

.rich-editor-selection-actions[hidden] {
  display: none !important;
}

.rich-editor-selection-label {
  margin-right: auto;
  font-size: .88rem;
  color: var(--muted);
}

.rich-editor .ql-toolbar,
.rich-editor .ql-container {
  border-color: var(--line);
}

.ql-snow .ql-picker.ql-font {
  width: 11rem;
}

.ql-snow .ql-picker.ql-font .ql-picker-label::before,
.ql-snow .ql-picker.ql-font .ql-picker-item::before {
  content: 'Default';
}

.ql-snow .ql-picker.ql-font .ql-picker-label[data-value="georgia"]::before,
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="georgia"]::before {
  content: 'Georgia';
}

.ql-snow .ql-picker.ql-font .ql-picker-label[data-value="arial"]::before,
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="arial"]::before {
  content: 'Arial';
}

.ql-snow .ql-picker.ql-font .ql-picker-label[data-value="helvetica"]::before,
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="helvetica"]::before {
  content: 'Helvetica';
}

.ql-snow .ql-picker.ql-font .ql-picker-label[data-value="times-new-roman"]::before,
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="times-new-roman"]::before {
  content: 'Times New Roman';
}

.ql-snow .ql-picker.ql-font .ql-picker-label[data-value="garamond"]::before,
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="garamond"]::before {
  content: 'Garamond';
}

.ql-snow .ql-picker.ql-font .ql-picker-label[data-value="courier-new"]::before,
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="courier-new"]::before {
  content: 'Courier New';
}

.ql-snow .ql-picker.ql-font .ql-picker-label[data-value="monospace"]::before,
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="monospace"]::before {
  content: 'Monospace';
}

.ql-font-serif {
  font-family: Georgia, "Times New Roman", serif;
}

.ql-font-georgia {
  font-family: Georgia, "Times New Roman", serif;
}

.ql-font-arial {
  font-family: Arial, Helvetica, sans-serif;
}

.ql-font-helvetica {
  font-family: Helvetica, Arial, sans-serif;
}

.ql-font-times-new-roman {
  font-family: "Times New Roman", Times, serif;
}

.ql-font-garamond {
  font-family: Garamond, Baskerville, "Times New Roman", serif;
}

.ql-font-courier-new {
  font-family: "Courier New", Courier, monospace;
}

.ql-font-monospace {
  font-family: "Courier New", Courier, monospace;
}

.rich-editor .ql-container {
  min-height: 220px;
  border-radius: 0 0 16px 16px;
  background: rgba(255, 255, 255, 0.9);
}

.rich-editor .ql-editor {
  min-height: 180px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.rich-editor .ql-editor img,
.rich-editor-preview img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem 0;
}

.rich-editor .ql-editor table,
.rich-editor-preview table {
  width: 100%;
  margin: 1rem 0;
  border-collapse: collapse;
}

.rich-editor .ql-editor th,
.rich-editor .ql-editor td,
.rich-editor-preview th,
.rich-editor-preview td {
  border: 1px solid var(--line);
  padding: .6rem .75rem;
  vertical-align: top;
}

.rich-editor .ql-editor .editor-table td,
.rich-editor-preview .editor-table td {
  min-width: 90px;
}

.rich-editor .ql-editor .editor-selected-node {
  outline: 3px solid rgba(140, 35, 51, 0.28);
  outline-offset: 2px;
}

.rich-editor .ql-editor .editor-selected-cell {
  box-shadow: inset 0 0 0 2px rgba(31, 111, 235, 0.4);
}

.legacy-template-editor .legacy-template-host {
  line-height: 1.7;
}

.legacy-template-editor .legacy-template-token {
  display: inline-block;
  min-width: 3ch;
  padding: .05rem .2rem;
  border-radius: 6px;
  background: rgba(190, 30, 45, 0.08);
  box-shadow: inset 0 -1px 0 rgba(190, 30, 45, 0.35);
  outline: none;
}

.legacy-template-editor .legacy-template-token:focus {
  background: rgba(31, 111, 235, 0.08);
  box-shadow: inset 0 0 0 2px rgba(31, 111, 235, 0.28);
}

.legacy-template-editor .legacy-template-token:empty::before {
  content: " ";
  white-space: pre;
}

.custom-section-card {
  border-style: dashed;
}

.preview-section + .preview-section {
  margin-top: 1.5rem;
}

.syllabus-document-preview {
  padding: 0;
}

.syllabus-document-sheet {
  max-width: 8.5in;
  margin: 0 auto;
  padding: .68in .72in .82in;
  background: #fff;
  border: 1px solid rgba(21, 33, 47, 0.12);
  box-shadow: 0 18px 42px rgba(21, 33, 47, 0.12);
}

.syllabus-document-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.4rem;
  padding-bottom: .15rem;
}

.syllabus-document-branding {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-width: 0;
  flex: 1;
}

.syllabus-document-logo-wrap {
  flex: 0 0 auto;
}

.syllabus-document-logo {
  display: block;
  max-width: 240px;
  max-height: 78px;
  width: auto;
  height: auto;
}

.syllabus-document-school {
  color: var(--brand-deep);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.15;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.syllabus-document-copy {
  margin-top: .2rem;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
  max-width: 34rem;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.syllabus-document-title-block {
  text-align: right;
  flex: 0 1 16rem;
  min-width: 11rem;
  max-width: 18rem;
  overflow-wrap: anywhere;
}

.syllabus-document-title {
  color: var(--brand-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.syllabus-document-subtitle {
  margin-top: .2rem;
  color: var(--muted);
  font-size: .92rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.syllabus-document-divider {
  margin: .75rem 0 1.3rem;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-deep));
}

.syllabus-document-alert {
  margin-bottom: 1.2rem;
  padding: .75rem .9rem;
  border: 1px solid rgba(178, 109, 0, 0.28);
  background: rgba(178, 109, 0, 0.08);
  color: #7a4a00;
  border-radius: 12px;
}

.syllabus-document-section {
  margin-top: 1.45rem;
  break-inside: auto;
  page-break-inside: auto;
}

.syllabus-document-section-intro {
  margin-top: 0;
  break-inside: avoid;
  page-break-inside: avoid;
}

.syllabus-document-section h1,
.syllabus-document-section h2 {
  margin: 0 0 .65rem;
  color: var(--brand-deep);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.2;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.syllabus-document-section h1 {
  font-size: 1.65rem;
  letter-spacing: -.02em;
}

.syllabus-document-section h2 {
  font-size: 1.45rem;
  border-top: 1px solid rgba(21, 33, 47, 0.12);
  padding-top: 1rem;
  break-after: avoid;
  page-break-after: avoid;
}

.syllabus-document-term {
  margin-bottom: 1rem;
  font-size: 1.02rem;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.syllabus-document-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem 1.8rem;
}

.syllabus-document-overview-grid > div {
  min-width: 0;
}

.syllabus-document-label {
  display: block;
  margin-bottom: .18rem;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.syllabus-document-content {
  border: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.syllabus-document-rich-content {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
}

.syllabus-document-rich-content p:first-child {
  margin-top: 0;
}

.syllabus-document-rich-content p:last-child {
  margin-bottom: 0;
}

.syllabus-document-rich-content p,
.syllabus-document-rich-content li,
.syllabus-document-rich-content td,
.syllabus-document-rich-content th,
.syllabus-document-rich-content blockquote {
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

.syllabus-document-rich-content ul,
.syllabus-document-rich-content ol {
  margin: .6rem 0 .85rem;
  padding-left: 1.45rem;
}

.syllabus-document-rich-content li {
  margin: .32rem 0;
  padding-left: .15rem;
}

.syllabus-document-rich-content li::marker {
  color: var(--brand-deep);
}

.syllabus-document-rich-content strong {
  color: #11202f;
}

.syllabus-document-rich-content a {
  color: var(--brand-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.syllabus-document-rich-content table {
  font-size: .95rem;
}

.syllabus-document-rich-content th {
  background: rgba(21, 33, 47, 0.05);
  font-weight: 700;
}

.syllabus-document-rich-content hr {
  border: 0;
  border-top: 1px solid rgba(21, 33, 47, 0.16);
  margin: 1rem 0;
}

.cv-format-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.cv-format-logo-preview {
  display: block;
  max-width: 240px;
  max-height: 96px;
  width: auto;
  height: auto;
  border-radius: 12px;
  background: #fff;
  padding: .5rem;
  border: 1px solid var(--line);
}

.cv-photo-placeholder {
  min-width: 150px;
  min-height: 170px;
  padding: 1rem;
  border: 2px dashed rgba(21, 33, 47, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: .92rem;
}

.btn-primary {
  background: var(--brand);
  border-color: var(--brand);
}

.btn-primary:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
}

.results-header,
.footer-row,
.result-card-header,
.user-menu,
.detail-metadata,
.document-stack,
.result-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.results-header {
  margin: 1.2rem 0;
}

.results-controls,
.pagination-nav,
.page-size-form {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.results-controls {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.table-search-control {
  min-width: 15rem;
  width: min(22rem, 100%);
}

.table-search-control .form-control {
  min-width: 12rem;
}

.page-size-form {
  margin: 0;
}

.page-size-label {
  color: var(--muted);
  font-size: .9rem;
}

.page-size-select {
  width: auto;
  min-width: 5rem;
}

.pagination-nav .disabled {
  pointer-events: none;
}

.user-identity {
  display: grid;
  gap: .2rem;
  padding: .45rem .8rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.user-name {
  color: rgba(255, 255, 255, 0.96);
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.2;
}

.user-role-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: .18rem .55rem;
  border-radius: 999px;
  background: rgba(215, 179, 95, 0.22);
  color: #fff7df;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.results-chip,
.status-pill,
.user-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .8rem;
  border-radius: 999px;
  background: rgba(21, 33, 47, 0.08);
  font-size: .82rem;
  color: var(--ink);
}

.status-success {
  background: rgba(39, 110, 73, 0.14);
  color: #1f6a46;
}

.status-review {
  background: rgba(37, 95, 156, 0.14);
  color: #1d568d;
}

.status-danger {
  background: rgba(165, 49, 49, 0.14);
  color: #8f2020;
}

.status-muted {
  background: rgba(82, 94, 106, 0.14);
  color: #53606c;
}

.status-warning {
  background: rgba(178, 109, 0, 0.14);
  color: var(--warning);
}

.table-panel {
  overflow: hidden;
}

.results-table thead th,
.dashboard-table thead th {
  border-bottom-color: var(--line);
  color: var(--muted);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.results-table thead th.sort-header {
  cursor: pointer;
  position: relative;
  user-select: none;
  padding-right: 1.45rem;
}

.results-table thead th.sort-header::after {
  content: '<>';
  position: absolute;
  right: .45rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: .72rem;
  opacity: .5;
}

.results-table thead th.sort-header[data-sort-dir="asc"]::after {
  content: '^';
  opacity: 1;
}

.results-table thead th.sort-header[data-sort-dir="desc"]::after {
  content: 'v';
  opacity: 1;
}

.results-table thead th.sort-header:focus-visible {
  outline: 2px solid rgba(140, 35, 51, 0.45);
  outline-offset: 2px;
}

.table-secondary-line,
.muted-status {
  color: var(--muted);
  font-size: .9rem;
}

.required-missing-note {
  margin-top: .45rem;
  color: #b26d00;
  font-size: .9rem;
  font-weight: 700;
}

.preview-warning-panel {
  border-color: rgba(178, 109, 0, 0.25);
  background: rgba(178, 109, 0, 0.08);
}

.mobile-only {
  display: none;
}

.result-card,
.stat-card {
  padding: 1.2rem;
}

.stat-card-button {
  width: 100%;
  border: 1px solid var(--line);
  text-align: left;
  font: inherit;
  color: inherit;
}

.stat-card-button:hover,
.stat-card-button:focus-visible {
  color: inherit;
  transform: translateY(-2px);
  border-color: rgba(140, 35, 51, 0.18);
  box-shadow: 0 22px 42px rgba(21, 33, 47, 0.12);
}

.stat-card-button:focus-visible {
  outline: 2px solid rgba(140, 35, 51, 0.35);
  outline-offset: 2px;
}

.result-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

a.stat-card {
  color: inherit;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

a.stat-card:hover {
  color: inherit;
  transform: translateY(-2px);
  border-color: rgba(140, 35, 51, 0.18);
  box-shadow: 0 22px 42px rgba(21, 33, 47, 0.12);
}

.stat-card-link-active {
  border-color: rgba(140, 35, 51, 0.32);
  background: linear-gradient(180deg, rgba(140, 35, 51, 0.06), rgba(255, 255, 255, 0.96));
}

.stat-card span {
  color: var(--muted);
  font-size: .9rem;
}

.stat-card strong {
  font-size: 1.8rem;
  color: var(--brand-deep);
}

.dashboard-table-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.dashboard-controls {
  display: flex;
  align-items: end;
  gap: .85rem;
  flex-wrap: wrap;
}

.dashboard-control-field {
  display: grid;
  gap: .35rem;
  min-width: 220px;
}

.dashboard-control-field span {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.dashboard-control-field-narrow {
  min-width: 110px;
}

.dashboard-empty-state {
  padding-top: 1rem;
}

.dashboard-table thead th.sort-header {
  cursor: pointer;
  position: relative;
  user-select: none;
  padding-right: 1.45rem;
}

.dashboard-table thead th.sort-header::after {
  content: '<>';
  position: absolute;
  right: .45rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: .72rem;
  opacity: .5;
}

.dashboard-table thead th.sort-header[data-sort-dir="asc"]::after {
  content: '^';
  opacity: 1;
}

.dashboard-table thead th.sort-header[data-sort-dir="desc"]::after {
  content: 'v';
  opacity: 1;
}

.dashboard-table thead th.sort-header:focus-visible {
  outline: 2px solid rgba(140, 35, 51, 0.45);
  outline-offset: 2px;
}

.upload-widget {
  display: grid;
  gap: .55rem;
  min-width: 280px;
}

.upload-cells {
  display: grid;
  gap: 1rem;
}

.upload-publish-toggle {
  font-size: .88rem;
  color: var(--muted);
}

.upload-progress {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: rgba(21, 33, 47, 0.08);
  overflow: hidden;
}

.upload-progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transition: width .25s ease;
}

.detail-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-meta-item {
  display: grid;
  gap: .2rem;
  min-width: 8rem;
}

.detail-meta-label {
  color: #4b5563;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.detail-meta-value {
  color: var(--ink);
  font-size: .98rem;
}

.detail-list {
  display: grid;
  gap: 1rem;
}

.detail-list div {
  display: grid;
  gap: .3rem;
}

.detail-list dt {
  color: var(--muted);
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.privacy-list {
  margin: 0;
  padding-left: 1.15rem;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0 2rem;
}

.footer-row {
  color: var(--muted);
}

.footer-lit {
  margin-top: 2.5rem;
  padding: 0;
  border-top: none;
  background: #3a4046;
  color: rgba(247, 245, 238, 0.94);
}

.footer-lit a {
  color: #ffffff;
  text-decoration: none;
}

.footer-lit a:hover,
.footer-lit a:focus-visible {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: #ef3f4e;
}

.footer-lit-shell {
  display: grid;
  gap: 2rem;
  padding: clamp(1.6rem, 3vw, 2rem) clamp(.85rem, 2vw, 1rem) clamp(1.6rem, 3vw, 2rem);
}

.footer-lit-top {
  background: #2a76c5;
}

.footer-lit-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: clamp(1rem, 2vw, 1.5rem);
  padding-top: clamp(1rem, 2.2vw, 1.2rem);
  padding-bottom: clamp(.9rem, 1.8vw, 1rem);
}

.footer-lit-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: nowrap;
  width: 100%;
}

.footer-lit-tsus-link {
  display: inline-flex;
  align-items: center;
  padding: .25rem 0;
}

.footer-lit-tsus-logo {
  display: block;
  height: clamp(2.1rem, 5vw, 3.7rem);
  width: auto;
}

.footer-lit-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  min-width: clamp(6.25rem, 14vw, 7.5rem);
  padding: clamp(.68rem, 1.5vw, .8rem) clamp(.95rem, 2vw, 1.1rem);
  border-radius: 4px;
  background: #ef3f4e;
  color: #ffffff !important;
  font-size: clamp(.84rem, 1.15vw, .9rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  box-shadow: none;
}

.footer-lit-action:hover,
.footer-lit-action:focus-visible {
  background: #d93645;
  color: #ffffff !important;
}

.footer-lit-main {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 2rem;
}

.footer-lit-column {
  display: grid;
  gap: 1rem;
}

.footer-lit-column h2 {
  margin: 0;
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #ffffff;
}

.footer-lit-contact-group {
  display: grid;
  gap: .28rem;
}

.footer-lit-label {
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #ffffff;
}

.footer-lit-contact-links,
.footer-lit-link-grid {
  display: grid;
  gap: .55rem;
}

.footer-lit-bottom {
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-lit-legal {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: .93rem;
  line-height: 1.6;
}

.footer-lit-legal-secondary {
  margin-top: .75rem;
  font-size: .88rem;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 1199.98px) {
  .filter-grid,
  .stats-grid,
  .detail-grid,
  .hero-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-lit-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .help-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1399.98px) {
  .site-header .container-xxl {
    align-items: flex-start;
  }

  .site-header .navbar-collapse {
    width: 100%;
    flex-basis: 100%;
    padding-top: .85rem;
  }

  .site-header-lit .navbar-collapse {
    padding-top: 0;
  }

  .site-header .navbar-collapse.show,
  .site-header .navbar-collapse.collapsing {
    display: block;
  }

  .site-header .navbar-nav {
    width: 100%;
    gap: .3rem;
  }

  .site-header .nav-item {
    width: 100%;
  }

  .site-header .nav-link {
    display: block;
    width: 100%;
    padding: .65rem .25rem !important;
  }

  .site-header .user-menu {
    width: 100%;
    justify-content: space-between;
    margin-top: .85rem;
    padding-top: .85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-header .user-identity {
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .site-header-lit .lit-navbar-collapse {
    width: 100%;
    flex-basis: 100%;
  }

  .site-header-lit .lit-navbar-nav {
    grid-template-columns: 1fr;
  }

  .site-header-lit .lit-menu-actions {
    margin-top: .85rem;
    padding-top: .85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }
}

@media (max-width: 767.98px) {
  .app-shell {
    padding-top: 1rem;
  }

  .hero-panel,
  .filter-grid,
  .stats-grid,
  .detail-grid,
  .checklist-grid {
    grid-template-columns: 1fr;
  }

  .help-toolbar,
  .help-detail-header,
  .help-search-form,
  .help-card-meta,
  .help-step-card {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .help-search-form,
  .help-search-form .form-control,
  .help-detail-summary-card {
    width: 100%;
    min-width: 0;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .results-header,
  .footer-row,
  .result-card-header,
  .user-menu,
  .detail-metadata,
  .document-stack,
  .result-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .results-controls,
  .pagination-nav,
  .page-size-form {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .upload-widget {
    min-width: 0;
  }

  .dashboard-controls,
  .dashboard-control-field {
    width: 100%;
  }

  .footer-lit-top {
    align-items: flex-start;
  }

  .footer-lit-main {
    grid-template-columns: 1fr;
  }

  .footer-lit-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .footer-lit-tsus-link {
    padding: 0;
  }

  .footer-lit-action {
    width: 100%;
    margin-left: 0;
  }

  .site-header-lit .lit-header-top {
    padding-inline: clamp(.8rem, 4vw, 1rem);
  }

  .lit-header-menu-shell {
    padding-inline: clamp(.8rem, 4vw, 1rem);
  }

  .lit-navbar-nav {
    grid-template-columns: 1fr;
  }

  .navbar-brand-lit {
    max-width: min(100%, calc(100% - clamp(3.15rem, 14vw, 3.75rem)));
  }

  .footer-lit-top-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-lit-top-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .syllabus-document-sheet {
    padding: 1.2rem;
    box-shadow: none;
  }

  .syllabus-document-header,
  .syllabus-document-branding {
    flex-direction: column;
  }

  .syllabus-document-title-block {
    text-align: left;
  }

  .syllabus-document-overview-grid {
    grid-template-columns: 1fr;
    gap: .8rem;
  }
}

@media print {
  .site-header,
  .footer {
    display: none !important;
  }

  .app-shell {
    padding: 0;
  }

  .syllabus-document-sheet {
    max-width: none;
    margin: 0;
    border: none;
    box-shadow: none;
    padding: .45in .35in .55in;
  }

  .syllabus-document-header,
  .syllabus-document-section-intro,
  .syllabus-document-alert {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .syllabus-document-rich-content p,
  .syllabus-document-rich-content li {
    orphans: 3;
    widows: 3;
  }

  .dashboard-control-field,
  .dashboard-control-field-narrow {
    min-width: 0;
  }

  .user-menu {
    width: 100%;
  }

  .user-identity {
    width: 100%;
  }

  .site-header .navbar-brand {
    max-width: calc(100% - 4.5rem);
    font-size: 1.05rem;
  }

  .site-header .navbar-brand.navbar-brand-lit {
    gap: .65rem;
  }

  .site-header .navbar-brand-logo {
    height: 2.35rem;
  }

  .site-header .navbar-brand-text {
    font-size: .92rem;
  }

  .site-header .navbar-toggler {
    margin-left: auto;
  }

  .cv-format-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .cv-format-logo-preview,
  .cv-photo-placeholder {
    max-width: 100%;
    width: 100%;
  }

  .dashboard-table,
  .dashboard-table tbody,
  .dashboard-table tr,
  .dashboard-table td {
    display: block;
    width: 100%;
  }

  .dashboard-table thead {
    display: none;
  }

  .dashboard-table tr {
    padding: 1rem 0;
    border-top: 1px solid var(--line);
  }

  .dashboard-table tbody tr:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .dashboard-table td {
    padding: 0 0 .85rem;
    border: 0;
  }

  .dashboard-table td:last-child {
    padding-bottom: 0;
  }

  .dashboard-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: .35rem;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
  }
}