/*
 * Bolight Wiki global CSS
 * Wiki.js: Administration → Theme → Code Injection → CSS
 * Design source: bolight-design-guide/DESIGN.md
 */

:root {
  color-scheme: light;
  /* Generated from bolight-design-guide/tokens/bolight.tokens.json. */
  --bolight-background: #ffffff;
  --bolight-foreground: #1f2328;
  --bolight-surface: #ffffff;
  --bolight-surface-low: #f8fbfd;
  --bolight-muted: #f3f5f7;
  --bolight-fill-secondary: #e5e9ed;
  --bolight-muted-foreground: #4b535b;
  --bolight-tertiary: #666f78;
  --bolight-disabled: #737c85;
  --bolight-primary: #285a7d;
  --bolight-primary-hover: #214a68;
  --bolight-primary-foreground: #ffffff;
  --bolight-selected: #e4edf5;
  --bolight-selected-foreground: #183b56;
  --bolight-success: #234b37;
  --bolight-warning: #5b4718;
  --bolight-destructive: #8a2f2f;
  --bolight-info: #23425e;
  --bolight-border: #d0d6dc;
  --bolight-border-strong: #737c85;
  --bolight-ring: #285a7d;
  --bolight-brand: #96233c;
  --bolight-auth-brand: #183b56;
  --bolight-focus-shadow: 0 0 0 2px rgb(40 90 125 / 18%);
  --bolight-radius-control: 8px;
  --bolight-radius-panel: 12px;
  --bolight-shadow-panel: none;
  --bolight-shadow-auth: 0 12px 32px rgb(31 35 40 / 9%);
  --bolight-topbar-height: 64px;
  --bolight-sidebar-width: 264px;
  --bolight-content-reading: 960px;
  --bolight-content-default: 960px;
  --bolight-content-wide: 1200px;
}

.v-application.theme--dark {
  color-scheme: dark;
  --bolight-background: #090b0d;
  --bolight-foreground: #f2f4f5;
  --bolight-surface: #0e1114;
  --bolight-surface-low: #0b0e11;
  --bolight-muted: #171b1f;
  --bolight-fill-secondary: #20252a;
  --bolight-muted-foreground: #b7bec5;
  --bolight-tertiary: #8d969f;
  --bolight-disabled: #707981;
  --bolight-primary: #9bc7e5;
  --bolight-primary-hover: #ddeffc;
  --bolight-primary-foreground: #0d2a3d;
  --bolight-selected: #1d3c52;
  --bolight-selected-foreground: #ddeffc;
  --bolight-success: #9fd3ae;
  --bolight-warning: #e1c878;
  --bolight-destructive: #e2a9aa;
  --bolight-info: #afcde3;
  --bolight-border: #2a3036;
  --bolight-border-strong: #707981;
  --bolight-ring: #9bc7e5;
  --bolight-focus-shadow: 0 0 0 2px rgb(155 199 229 / 24%);
}

.login {
  color-scheme: light;
}

html,
body,
.application,
.v-application {
  background: var(--bolight-background) !important;
  color: var(--bolight-foreground);
  font-family:
    "Noto Sans SC",
    "Ubuntu Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif !important;
}

/* Keep the reading canvas continuous with the navigation surface. */
html body .v-application .v-main,
html body .v-application .v-main__wrap,
html body .v-application .v-main__wrap > .container.grey,
html body .v-application .page-header-section {
  background: var(--bolight-surface) !important;
  background-color: var(--bolight-surface) !important;
}

[role="button"]:focus-visible,
[tabindex]:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--bolight-ring) !important;
  outline-offset: 2px !important;
}

.bolight-skip-link {
  position: fixed;
  z-index: 60;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  border-radius: var(--bolight-radius-control);
  background: var(--bolight-surface);
  color: var(--bolight-primary) !important;
  box-shadow: 0 4px 12px rgb(31 35 40 / 0.16);
  transform: translateY(calc(-100% - 16px));
  transition: transform 100ms ease;
}

.bolight-skip-link:focus {
  transform: translateY(0);
}

/* ApplicationShell: 64px TopBar, text-first navigation. */
.v-app-bar,
.v-toolbar {
  box-shadow: none !important;
}

.nav-header.v-app-bar,
.nav-header .nav-header-inner {
  min-height: var(--bolight-topbar-height) !important;
}

.v-app-bar:not(.v-app-bar--is-scrolled),
.v-toolbar:not(.v-toolbar--prominent) {
  border-bottom: 1px solid var(--bolight-border);
}

.nav-header.v-app-bar,
.nav-header .nav-header-inner {
  background: var(--bolight-surface) !important;
  color: var(--bolight-foreground) !important;
}

.nav-header .v-icon,
.nav-header .v-btn,
.nav-header .v-toolbar__title {
  color: var(--bolight-foreground) !important;
}

.nav-header .v-btn {
  min-width: 40px !important;
  height: 40px !important;
}

.nav-header .v-btn.v-btn--icon,
.nav-header .v-avatar {
  border-radius: 50% !important;
}

/* Preserve the brand mark ratio; Wiki.js defaults VImg to cover. */
.nav-header-inner > .v-avatar {
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  overflow: visible;
}

.nav-header .org-logo,
.nav-header .org-logo .v-image__image,
.login-logo .v-image__image {
  background-color: transparent !important;
  background-position: center !important;
  background-size: contain !important;
}

.nav-header-inner .v-toolbar__title {
  margin-right: 0 !important;
  margin-left: 10px !important;
}

.nav-header-inner .v-toolbar__title .subheading {
  font-size: 18px !important;
  font-weight: 600;
  letter-spacing: 0;
}

/*
 * Wiki.js renders the desktop search inside the toolbar extension rather than
 * with a stable search-bar class. Target the actual Vuetify field structure so
 * its dark default theme cannot leak into the light Bolight header.
 */
.nav-header .v-text-field.v-text-field--solo > .v-input__control > .v-input__slot,
.nav-header .nav-header-inner .v-text-field .v-input__slot,
.nav-header .v-toolbar__extension .v-text-field .v-input__slot,
.nav-header .search-bar {
  min-height: 40px !important;
  border: 1px solid var(--bolight-border) !important;
  border-radius: var(--bolight-radius-control) !important;
  background: var(--bolight-surface) !important;
  background-color: var(--bolight-surface) !important;
  color: var(--bolight-foreground) !important;
  box-shadow: none !important;
}

.nav-header .v-text-field .v-input__control,
.nav-header .v-text-field .v-input__slot,
.nav-header .v-text-field .v-input__append-inner,
.nav-header .v-text-field .v-input__prepend-inner {
  background-color: transparent !important;
}

.nav-header .v-text-field .v-input__slot {
  background-color: var(--bolight-surface) !important;
}

.nav-header .v-toolbar__extension .v-text-field .v-input__slot::before,
.nav-header .v-toolbar__extension .v-text-field .v-input__slot::after,
.nav-header .nav-header-inner .v-text-field .v-input__slot::before,
.nav-header .nav-header-inner .v-text-field .v-input__slot::after {
  display: none !important;
}

.nav-header .v-text-field input {
  color: var(--bolight-foreground) !important;
  -webkit-text-fill-color: var(--bolight-foreground) !important;
  caret-color: var(--bolight-primary) !important;
}

.nav-header .v-text-field input::placeholder,
.nav-header .v-text-field .v-label {
  color: var(--bolight-muted-foreground) !important;
  -webkit-text-fill-color: var(--bolight-muted-foreground) !important;
  opacity: 1 !important;
}

.nav-header .v-text-field .v-icon,
.nav-header .v-text-field .v-progress-linear__background {
  color: var(--bolight-muted-foreground) !important;
  caret-color: var(--bolight-muted-foreground) !important;
}

.nav-header .v-text-field.v-input--is-focused .v-input__slot {
  border-color: var(--bolight-ring) !important;
  box-shadow: var(--bolight-focus-shadow) !important;
}

/* Navigation: restrained active state rather than a saturated block */
html body .v-application .v-navigation-drawer.primary {
  background: var(--bolight-surface) !important;
  background-color: var(--bolight-surface) !important;
  color: var(--bolight-foreground) !important;
  border-right: 1px solid var(--bolight-border) !important;
  box-shadow: none !important;
}

.v-navigation-drawer .v-icon,
.v-navigation-drawer .v-list-item,
.v-navigation-drawer .v-list-item__title,
.v-navigation-drawer .v-list-item__subtitle,
.v-navigation-drawer .v-treeview-node__label {
  color: var(--bolight-foreground) !important;
}

.v-navigation-drawer .v-list-item__content,
.v-navigation-drawer .v-list-item__title,
.v-navigation-drawer .v-treeview-node__content,
.v-navigation-drawer .v-treeview-node__label {
  overflow: hidden;
  opacity: 1 !important;
  visibility: visible !important;
}

.v-navigation-drawer .v-list-item__title,
.v-navigation-drawer .v-treeview-node__label {
  font-size: 14px !important;
  font-weight: 400;
  line-height: 20px !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v-navigation-drawer .v-list-item:hover,
.v-navigation-drawer .v-treeview-node__root:hover {
  background: var(--bolight-muted) !important;
}

html body .v-application .v-navigation-drawer .pa-3.d-flex.blue,
html body .v-application .v-navigation-drawer .v-list.primary {
  background: var(--bolight-surface) !important;
  background-color: var(--bolight-surface) !important;
}

.v-navigation-drawer .v-divider {
  border-color: var(--bolight-border) !important;
}

html body .v-application .v-navigation-drawer .v-btn.blue {
  background: var(--bolight-muted) !important;
  background-color: var(--bolight-muted) !important;
  color: var(--bolight-foreground) !important;
  box-shadow: none !important;
}

.v-navigation-drawer .v-list-item {
  min-height: 40px;
  margin: 4px 8px;
  padding: 0 16px;
  border-radius: var(--bolight-radius-control);
  font-size: 14px;
}

/* Wiki.js supplies a real MDI icon for every global navigation item. */
.v-navigation-drawer .v-list.py-2 .v-list-item__avatar {
  display: flex !important;
  min-width: 24px !important;
  margin-right: 12px !important;
}

.v-navigation-drawer .v-list.py-2 .v-list-item__avatar .v-icon {
  color: var(--bolight-muted-foreground) !important;
  font-size: 20px !important;
}

.v-navigation-drawer .v-list-item--active {
  color: var(--bolight-primary) !important;
  background: var(--bolight-selected) !important;
  box-shadow: none;
}

.v-navigation-drawer .v-list-item--active .v-list-item__title,
.v-navigation-drawer .v-treeview-node--active .v-treeview-node__label {
  color: var(--bolight-selected-foreground) !important;
  font-weight: 500;
}

.v-navigation-drawer .v-list-item--active .v-list-item__avatar .v-icon {
  color: var(--bolight-selected-foreground) !important;
}

.v-navigation-drawer .v-list-item--active::before {
  opacity: 0 !important;
}

/* Permission-aware disclosure navigation generated from accessible pages. */
.v-navigation-drawer .bolight-native-navigation {
  display: none !important;
}

.bolight-navigation-tree {
  padding: 8px;
}

.bolight-navigation-list,
.bolight-navigation-children {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bolight-navigation-children {
  margin-inline-start: 20px;
  padding-inline-start: 4px;
  border-inline-start: 1px solid var(--bolight-border);
}

.bolight-navigation-children[hidden] {
  display: none !important;
}

.bolight-navigation-item {
  min-width: 0;
}

.bolight-navigation-row {
  display: flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  margin-block: 2px;
  border-radius: var(--bolight-radius-control);
  color: var(--bolight-foreground);
  transition:
    background-color 150ms ease,
    color 150ms ease;
}

.bolight-navigation-row:hover,
.bolight-navigation-row:focus-within {
  background: var(--bolight-muted);
}

.bolight-navigation-row--active {
  background: var(--bolight-selected);
  color: var(--bolight-selected-foreground);
}

.bolight-navigation-row--ancestor {
  color: var(--bolight-primary);
  font-weight: 500;
}

.bolight-navigation-link {
  display: flex;
  min-width: 0;
  min-height: 44px;
  flex: 1 1 auto;
  align-items: center;
  padding: 0 8px;
  color: inherit !important;
  text-decoration: none !important;
}

.bolight-navigation-link:focus-visible,
.bolight-navigation-toggle:focus-visible,
.bolight-navigation-status a:focus-visible,
.bolight-navigation-status button:focus-visible {
  outline: 2px solid var(--bolight-ring);
  outline-offset: 2px;
}

.bolight-navigation-icon {
  display: inline-flex;
  width: 24px;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  margin-inline-end: 12px;
  color: var(--bolight-muted-foreground);
}

.bolight-navigation-row--active .bolight-navigation-icon,
.bolight-navigation-row--ancestor .bolight-navigation-icon {
  color: currentcolor;
}

.bolight-navigation-icon .v-icon {
  color: inherit !important;
  font-size: 20px !important;
}

.bolight-navigation-label {
  min-width: 0;
  overflow: hidden;
  font-size: 14px;
  font-weight: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bolight-navigation-row--active .bolight-navigation-label {
  font-weight: 500;
}

.bolight-navigation-toggle {
  display: inline-flex;
  width: 40px;
  min-width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-inline-end: 2px;
  padding: 0;
  border: 0;
  border-radius: var(--bolight-radius-control);
  background: transparent;
  color: var(--bolight-muted-foreground);
  cursor: pointer;
  user-select: none;
}

.bolight-navigation-toggle:hover {
  background: var(--bolight-background);
  color: var(--bolight-primary);
}

.bolight-navigation-toggle::before {
  display: block;
  width: 7px;
  height: 7px;
  border-inline-end: 1.5px solid currentcolor;
  border-block-end: 1.5px solid currentcolor;
  content: "";
  transform: rotate(-45deg);
  transition: transform 150ms ease;
}

.bolight-navigation-toggle[aria-expanded="true"]::before {
  transform: rotate(45deg);
}

.bolight-navigation-status {
  margin: 8px;
  padding: 12px;
  color: var(--bolight-muted-foreground);
  font-size: 14px;
}

.bolight-navigation-status p {
  margin: 0;
}

.bolight-navigation-status__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 12px;
}

.bolight-navigation-status a,
.bolight-navigation-status button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--bolight-primary) !important;
  font: inherit;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

/* Content */
.page-col-sd {
  display: none !important;
}

.page-col-content,
.page-col-content.is-page-header {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
}

/* Wide knowledge pages expose only the TOC and last-edited metadata. */
.page-tags-card,
.page-comments-card,
.page-author-card,
.page-shortcuts-card {
  display: none !important;
}

.page-toc-card {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.page-toc-card {
  border-bottom: 1px solid var(--bolight-border) !important;
}

.page-toc-card .overline {
  padding: 0 0 8px !important;
  color: var(--bolight-muted-foreground) !important;
  font-size: 12px !important;
  font-weight: 500;
  letter-spacing: 0 !important;
}

.page-toc-card .v-list {
  padding: 0 0 16px !important;
  background: transparent !important;
}

.page-toc-card .v-list-item {
  min-height: 40px;
  margin: 0;
  padding: 0 8px;
  border-radius: var(--bolight-radius-control);
}

.page-toc-card .v-list-item-title {
  color: var(--bolight-muted-foreground) !important;
  font-size: 13px !important;
}

@media (min-width: 1200px) {
  .v-main__wrap > .container.grid-list-xl > .layout > .page-col-sd {
    display: block !important;
    flex: 0 0 240px !important;
    width: 240px !important;
    max-width: 240px !important;
    padding-right: 24px !important;
  }

  .v-main__wrap > .container.grid-list-xl > .layout > .page-col-content {
    min-width: 0;
    flex: 1 1 0 !important;
    max-width: calc(100% - 240px) !important;
  }

  .v-main__wrap > .container.grid-list-xl > .layout > .page-col-sd:not(:has(.page-toc-card)) {
    display: none !important;
  }

  .v-main__wrap > .container.grid-list-xl > .layout:not(:has(> .page-col-sd .page-toc-card)) > .page-col-content {
    max-width: 100% !important;
  }
}

@media (min-width: 840px) {
  html body .v-application .v-navigation-drawer.primary {
    width: var(--bolight-sidebar-width) !important;
    max-width: var(--bolight-sidebar-width) !important;
  }

  html body .v-application:has(.v-navigation-drawer.primary:not(.v-navigation-drawer--close)) .v-main {
    padding-left: var(--bolight-sidebar-width) !important;
  }
}

@media (max-width: 839px) {
  html body .v-application .v-navigation-drawer.primary {
    width: min(320px, calc(100vw - 48px)) !important;
    max-width: calc(100vw - 48px) !important;
  }

  html body .v-application .v-main {
    padding-left: 0 !important;
  }
}

.page-header-section .page-col-content {
  padding-right: 32px !important;
  padding-left: 32px !important;
}

.page-header-section {
  height: auto !important;
  min-height: 96px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.page-header-section .page-col-content,
.page-header-headings {
  min-width: 0;
}

.page-header-headings {
  display: block !important;
  width: 100%;
}

.page-header-headings .headline {
  margin: 0;
  color: var(--bolight-foreground) !important;
  font-size: 32px !important;
  font-weight: 600;
  line-height: 1.25 !important;
  overflow-wrap: anywhere;
  white-space: normal;
}

.page-header-headings .caption {
  margin-top: 4px;
  color: var(--bolight-muted-foreground) !important;
  font-size: 14px !important;
  line-height: 1.6;
}

.bolight-page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: baseline;
  margin-top: 8px;
  color: var(--bolight-muted-foreground);
  font-size: 12px;
  line-height: 1.6;
}

.page-header-section .page-col-content > .v-btn,
.page-header-section .page-col-content > .v-menu {
  align-self: flex-start;
  flex: 0 0 auto;
}

.bolight-page-meta__label {
  font-weight: 500;
}

.bolight-page-meta a {
  color: var(--bolight-primary);
  text-underline-offset: 3px;
}

.contents .bolight-duplicate-title {
  display: none !important;
}

/* Result states are deliberately flat: one message and one recovery action. */
.contents:has(.bolight-system-actions) {
  max-width: 720px;
  min-height: 320px;
  padding-top: 64px !important;
}

.contents .bolight-system-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.contents .bolight-system-actions a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid var(--bolight-border-strong);
  border-radius: var(--bolight-radius-control);
  color: var(--bolight-foreground) !important;
  font-weight: 500;
  text-decoration: none;
}

.contents .bolight-system-actions .bolight-system-primary {
  border-color: var(--bolight-primary);
  background: var(--bolight-primary);
  color: var(--bolight-primary-foreground) !important;
}

.contents .bolight-system-actions a:hover {
  border-color: var(--bolight-primary-hover);
}

.v-main__wrap > .container.grid-list-xl {
  max-width: var(--bolight-content-reading);
  margin: 0 auto;
  padding: 32px !important;
}

.v-main__wrap:has(.bolight-home) > .container.grid-list-xl {
  max-width: var(--bolight-content-default);
}

.contents {
  color: var(--bolight-foreground);
  font-size: 16px;
  line-height: 1.55;
}

.contents h1 {
  margin: 0 0 16px;
  color: var(--bolight-foreground);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
}

.contents h2 {
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--bolight-border);
  color: var(--bolight-foreground);
  font-size: 18px;
  font-weight: 600;
}

.contents h3 {
  margin: 24px 0 8px;
  color: var(--bolight-foreground);
  font-size: 16px;
  font-weight: 600;
}

.contents p,
.contents li {
  max-width: 72ch;
}

.contents a {
  color: var(--bolight-primary);
  text-underline-offset: 3px;
}

.contents a:hover {
  text-decoration: underline;
}

.contents code {
  border-radius: 4px;
  background: var(--bolight-muted);
  color: var(--bolight-foreground);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.contents pre {
  border: 1px solid var(--bolight-border);
  border-radius: var(--bolight-radius-control);
  box-shadow: none;
}

.contents blockquote {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--bolight-muted-foreground);
  font-style: italic;
}

.contents table {
  overflow: hidden;
  width: 100%;
  border: 1px solid var(--bolight-border);
  border-radius: var(--bolight-radius-panel);
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bolight-surface);
  box-shadow: none;
}

.contents th {
  padding: 12px 20px;
  border-bottom: 1px solid var(--bolight-border);
  background: var(--bolight-muted);
  color: var(--bolight-muted-foreground);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
}

.contents td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--bolight-border);
}

.contents tr:last-child td {
  border-bottom: 0;
}

.contents tbody tr:hover {
  background: var(--bolight-muted);
}

/* Comments remain a calm document section, using the native Wiki.js workflow. */
.comments-container {
  margin-top: 48px;
  border-top: 1px solid var(--bolight-border);
  border-radius: 0 !important;
  background: transparent !important;
}

.comments-header {
  display: flex;
  min-height: 0;
  align-items: center;
  padding: 24px 0 12px !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--bolight-foreground) !important;
  font-size: 18px !important;
  font-weight: 600;
}

.comments-header .v-icon {
  display: none !important;
}

.comments-main {
  padding: 0 0 32px !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--bolight-foreground);
}

.bolight-comments-guidance {
  max-width: 72ch;
  margin: 0 0 12px;
  color: var(--bolight-muted-foreground);
  font-size: 13px;
}

.comments-main .v-textarea .v-input__slot,
.comments-main .v-text-field .v-input__slot {
  border-radius: var(--bolight-radius-control) !important;
  background: var(--bolight-surface) !important;
  box-shadow: none !important;
}

.comments-main .v-textarea fieldset,
.comments-main .v-text-field fieldset {
  border-width: 1px !important;
  border-color: var(--bolight-border-strong) !important;
}

.comments-main .v-input--is-focused .v-input__slot {
  box-shadow: var(--bolight-focus-shadow) !important;
}

.comments-main .v-input--is-focused fieldset {
  border-color: var(--bolight-ring) !important;
}

.comments-main textarea:focus-visible,
.comments-main input:focus-visible {
  outline: none !important;
}

.comments-main > div > .d-flex.align-center.pt-3 {
  flex-wrap: wrap;
  gap: 8px 12px;
  padding-top: 12px !important;
}

.comments-main > div > .d-flex.align-center.pt-3 > .v-icon,
.comments-main > div > .d-flex.align-center.pt-3 > .v-btn .v-icon {
  display: none !important;
}

.comments-main > div > .d-flex.align-center.pt-3 > .v-btn {
  min-height: 40px;
  margin: 0 !important;
  border-radius: var(--bolight-radius-control) !important;
  background: var(--bolight-primary) !important;
  color: var(--bolight-primary-foreground) !important;
  box-shadow: none !important;
}

.comments-main .blue-grey--text,
.comments-main .grey--text {
  color: var(--bolight-muted-foreground) !important;
}

.comments-main > div > .pt-5.text-center,
.comments-main > div > .text-center.body-2 {
  padding-top: 24px !important;
  color: var(--bolight-muted-foreground) !important;
  text-align: left !important;
}

.comments-post .v-card {
  border: 0 !important;
  border-bottom: 1px solid var(--bolight-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 839px) {
  .comments-main > div > .d-flex.align-center.pt-3 > .spacer {
    display: none;
  }

  .comments-main > div > .d-flex.align-center.pt-3 > .v-btn {
    margin-left: auto !important;
  }
}

/* Shared homepage primitives */
.bolight-directory-page__intro {
  max-width: 72ch;
  margin: 0 0 24px;
  color: var(--bolight-muted-foreground);
}

.bolight-link-list {
  overflow: visible;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--bolight-border);
  border-bottom: 1px solid var(--bolight-border);
  list-style: none !important;
}

.contents .bolight-link-list > li {
  margin: 0;
  border-bottom: 1px solid var(--bolight-border);
}

.contents .bolight-link-list > li::before,
.contents .bolight-link-list > li::marker {
  display: none !important;
  content: none !important;
}

.contents .bolight-link-list > li:last-child {
  border-bottom: 0;
}

.bolight-link-list a {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  min-height: 64px;
  align-items: center;
  gap: 24px;
  padding: 12px 16px;
  color: var(--bolight-foreground) !important;
  text-decoration: none !important;
}

.bolight-link-list a:hover {
  background: var(--bolight-muted);
}

.bolight-link-list strong,
.bolight-link-list span {
  display: block;
}

.bolight-link-list span,
.bolight-directory-page__note {
  color: var(--bolight-muted-foreground);
}

.bolight-directory-page__note {
  margin-top: 24px;
}

.bolight-empty-state {
  max-width: 640px;
  padding: 24px 0;
  border-top: 1px solid var(--bolight-border);
  border-bottom: 1px solid var(--bolight-border);
}

.bolight-empty-state h2 {
  margin-top: 0 !important;
}

.bolight-empty-state p {
  color: var(--bolight-muted-foreground);
}

.bolight-empty-state a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--bolight-primary) !important;
  font-weight: 500;
}

.bolight-inline-notice {
  padding: 12px 16px;
  border: 1px solid var(--bolight-border);
  border-radius: var(--bolight-radius-control);
  background: var(--bolight-muted);
}

.bolight-definition-list {
  margin: 0;
}

.bolight-definition-list > div {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px solid var(--bolight-border);
}

.bolight-definition-list dt {
  font-weight: 600;
}

.bolight-definition-list dd {
  margin: 0;
  color: var(--bolight-muted-foreground);
}

.bolight-document-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin: 0 0 32px;
  border-top: 1px solid var(--bolight-border);
  border-bottom: 1px solid var(--bolight-border);
}

.bolight-document-meta > div {
  display: grid;
  grid-template-columns: minmax(120px, 160px) minmax(0, 1fr);
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--bolight-border);
}

.bolight-document-meta dt {
  color: var(--bolight-muted-foreground);
  font-weight: 500;
}

.bolight-document-meta dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.bolight-meta-missing {
  color: var(--bolight-warning);
}

.bolight-external-action,
.bolight-template-use {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid var(--bolight-primary);
  border-radius: var(--bolight-radius-control);
  background: var(--bolight-primary);
  color: var(--bolight-primary-foreground) !important;
  font: inherit;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
}

.bolight-template-intro {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--bolight-border);
}

.bolight-template-use:disabled {
  border-color: var(--bolight-border);
  background: var(--bolight-muted);
  color: var(--bolight-disabled) !important;
  cursor: not-allowed;
}

.bolight-template-use__status {
  margin: 8px 0 0;
  color: var(--bolight-muted-foreground);
  font-size: 12px;
}

.bolight-home {
  max-width: var(--bolight-content-default);
  margin: 0 auto;
}

.bolight-home__intro {
  max-width: 72ch;
  margin-bottom: 24px;
}

.bolight-home__intro p {
  margin: 0;
  color: var(--bolight-muted-foreground);
  font-size: 14px;
}

.bolight-home-search {
  margin: 24px 0 32px;
}

.bolight-home-search > label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.bolight-home-search__controls {
  display: flex;
  max-width: 720px;
  gap: 8px;
}

.bolight-home-search__controls input {
  min-width: 0;
  min-height: 44px;
  flex: 1 1 auto;
  padding: 8px 12px;
  border: 1px solid var(--bolight-border-strong);
  border-radius: var(--bolight-radius-control);
  background: var(--bolight-surface);
  color: var(--bolight-foreground);
  font: inherit;
}

.bolight-home-search__controls input::placeholder {
  color: var(--bolight-muted-foreground);
  opacity: 1;
}

.bolight-home-search__controls button {
  min-width: 88px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--bolight-primary);
  border-radius: var(--bolight-radius-control);
  background: var(--bolight-primary);
  color: var(--bolight-primary-foreground);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.bolight-home-search__help,
.bolight-home-search__status {
  margin: 8px 0 0;
  color: var(--bolight-muted-foreground);
  font-size: 12px;
}

.bolight-home-search__status:empty {
  display: none;
}

.bolight-home__section {
  margin-top: 24px;
}

.bolight-home__section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.bolight-home__section-title {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 18px !important;
}

.contents .bolight-home__section-title::before,
.contents .bolight-home__section-title::after {
  display: none !important;
  content: none !important;
}

.bolight-home__section-description {
  margin: 0;
  color: var(--bolight-muted-foreground);
  font-size: 14px;
}

.bolight-home__directory,
.bolight-home__resource-list,
.bolight-home__updates {
  overflow: visible;
  margin: 0;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--bolight-border);
  border-bottom: 1px solid var(--bolight-border);
  border-radius: 0;
  background: transparent;
  list-style: none !important;
}

.contents .bolight-home__directory > li::marker,
.contents .bolight-home__resource-list > li::marker,
.contents .bolight-home__updates > li::marker {
  content: "";
  font-size: 0;
}

.contents .bolight-home__directory > li::before,
.contents .bolight-home__resource-list > li::before,
.contents .bolight-home__updates > li::before {
  display: none !important;
  content: none !important;
}

.bolight-home__directory > li,
.bolight-home__resource-list > li,
.bolight-home__updates > li {
  margin: 0;
  border-bottom: 1px solid var(--bolight-border);
}

.bolight-home__directory > li:last-child,
.bolight-home__resource-list > li:last-child,
.bolight-home__updates > li:last-child {
  border-bottom: 0;
}

.bolight-home__directory-link,
.bolight-home__resource-list a,
.bolight-home__updates a {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  min-height: 64px;
  align-items: center;
  gap: 24px;
  padding: 12px 20px;
  color: var(--bolight-foreground) !important;
  text-decoration: none !important;
  transition: background-color 100ms ease;
}

.bolight-home__directory-link:hover,
.bolight-home__resource-list a:hover,
.bolight-home__updates a:hover {
  background: var(--bolight-muted);
}

.bolight-home__directory-link:focus-visible,
.bolight-home__resource-list a:focus-visible,
.bolight-home__updates a:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--bolight-ring);
  outline-offset: 2px;
}

.bolight-home__directory-title,
.bolight-home__resource-list strong,
.bolight-home__updates strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.bolight-home__directory-description,
.bolight-home__resource-list span,
.bolight-home__updates span,
.bolight-home__updates time {
  display: block;
  color: var(--bolight-muted-foreground);
  font-size: 14px;
  line-height: 1.6;
}

.bolight-home__updates a {
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr) auto;
}

.bolight-home__updates time {
  white-space: nowrap;
}

.bolight-home__async-status,
.bolight-home__empty {
  margin: 0;
  padding: 20px 0;
  border-top: 1px solid var(--bolight-border);
  border-bottom: 1px solid var(--bolight-border);
  color: var(--bolight-muted-foreground);
}

.bolight-home__async-status[data-state="loading"] {
  position: relative;
  padding-left: 28px;
}

.bolight-home__async-status[data-state="loading"]::before {
  position: absolute;
  top: 23px;
  left: 4px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--bolight-border);
  border-top-color: var(--bolight-primary);
  border-radius: 50%;
  content: "";
  animation: bolight-spin 800ms linear infinite;
}

.bolight-home__async-status[data-state="error"] {
  color: var(--bolight-destructive);
}

.bolight-home__state-action {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  margin-top: 12px;
  padding: 8px 14px;
  border: 1px solid var(--bolight-border-strong);
  border-radius: var(--bolight-radius-control);
  background: var(--bolight-surface);
  color: var(--bolight-foreground);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

@keyframes bolight-spin {
  to {
    transform: rotate(1turn);
  }
}

.bolight-home__empty p {
  margin: 0 0 8px;
}

.bolight-home__empty a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--bolight-primary) !important;
  font-weight: 500;
}

.bolight-home__maintenance {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--bolight-border);
}

.bolight-home__maintenance h2 {
  margin: 0 0 8px !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 16px !important;
}

.bolight-home__maintenance p {
  margin: 0;
  color: var(--bolight-muted-foreground);
  font-size: 14px;
  line-height: 1.6;
}

/* Controls */
.v-btn {
  border-radius: var(--bolight-radius-control) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.v-card,
.v-dialog .v-card {
  border: 1px solid var(--bolight-border);
  border-radius: var(--bolight-radius-panel) !important;
  box-shadow: var(--bolight-shadow-panel) !important;
}

.v-dialog {
  border-radius: var(--bolight-radius-panel) !important;
}

.v-overlay__scrim {
  background: var(--bolight-foreground) !important;
  opacity: 0.56 !important;
}

.v-snack__wrapper {
  border-radius: var(--bolight-radius-control) !important;
  box-shadow: 0 4px 12px rgb(31 35 40 / 14%) !important;
}

.v-progress-linear,
.v-progress-circular {
  color: var(--bolight-primary) !important;
}

.v-pagination .v-pagination__item,
.v-pagination .v-pagination__navigation {
  min-width: 40px;
  height: 40px;
  border-radius: var(--bolight-radius-control) !important;
  box-shadow: none !important;
}

.v-pagination .v-pagination__item--active {
  background: var(--bolight-selected) !important;
  color: var(--bolight-selected-foreground) !important;
}

@media (pointer: coarse) {
  .nav-header .v-btn,
  .v-navigation-drawer .v-list-item,
  .bolight-navigation-link,
  .bolight-navigation-toggle,
  .v-pagination .v-pagination__item,
  .v-pagination .v-pagination__navigation {
    min-height: 44px !important;
  }
}

.v-text-field > .v-input__control > .v-input__slot,
.v-select > .v-input__control > .v-input__slot {
  border-radius: var(--bolight-radius-control) !important;
}

/* Login: SSO-first enterprise entry */
.login {
  display: grid;
  grid-template-columns: 46% 54%;
  align-items: stretch;
  overflow: auto;
  padding: 0;
  background: var(--bolight-surface) !important;
}

.login::after,
.login::before {
  display: none;
}

.bolight-auth-brand {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  padding: 48px 64px;
  background: var(--bolight-auth-brand);
  color: var(--bolight-primary-foreground);
}

.bolight-auth-brand__identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bolight-auth-brand__identity img {
  display: none;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.bolight-auth-brand__identity::before {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  background: var(--bolight-primary-foreground);
  content: "";
  -webkit-mask: url("/_assets/bolight-symbol.svg") center / contain no-repeat;
  mask: url("/_assets/bolight-symbol.svg") center / contain no-repeat;
}

.bolight-auth-brand__identity strong,
.bolight-auth-brand__identity span {
  display: block;
}

.bolight-auth-brand__identity strong {
  font-size: 18px;
  font-weight: 600;
}

.bolight-auth-brand__identity span {
  margin-top: 4px;
  color: rgb(255 255 255 / 0.76);
  font-family: "Ubuntu Sans", sans-serif;
  font-size: 14px;
}

.bolight-auth-brand__message {
  max-width: 560px;
  margin: auto 0 40px;
}

.bolight-auth-brand__message strong {
  display: block;
  max-width: 18em;
  font-size: clamp(28px, 2.4vw, 34px);
  font-weight: 600;
  line-height: 1.4;
}

.bolight-auth-brand__message p {
  max-width: 36em;
  margin: 20px 0 0;
  color: rgb(255 255 255 / 0.8);
  font-size: 16px;
  line-height: 1.7;
}

.bolight-auth-brand__capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0 0 48px;
}

.bolight-auth-brand__capabilities div {
  min-width: 0;
  padding-top: 12px;
  border-top: 1px solid rgb(255 255 255 / 0.28);
}

.bolight-auth-brand__capabilities dt,
.bolight-auth-brand__capabilities dd {
  margin: 0;
}

.bolight-auth-brand__capabilities dt {
  color: rgb(255 255 255 / 0.72);
  font-size: 12px;
}

.bolight-auth-brand__capabilities dd {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
}

.bolight-auth-brand__legal {
  margin: 0;
  color: rgb(255 255 255 / 0.64);
  font-size: 12px;
}

.login-sd {
  align-self: center;
  justify-self: center;
  overflow-y: auto;
  width: min(432px, calc(100% - 64px)) !important;
  height: auto !important;
  max-height: calc(100vh - 64px);
  margin: 0 !important;
  border: 1px solid var(--bolight-border) !important;
  border-radius: 16px !important;
  background: var(--bolight-surface) !important;
  box-shadow: var(--bolight-shadow-auth);
}

.login-sd > .d-flex {
  align-items: center;
  gap: 12px;
  margin-bottom: 0 !important;
  padding: 40px 40px 24px;
}

.login-sd .login-logo {
  display: none !important;
}

.login-logo {
  display: flex;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-left: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.login-logo .v-avatar {
  width: 34px !important;
  min-width: 34px !important;
  height: 34px !important;
}

.login-title {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  height: auto !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  text-shadow: none !important;
}

.bolight-auth-product {
  display: block;
  margin-bottom: 4px;
  color: var(--bolight-muted-foreground);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.login-title .text-h6 {
  margin: 0;
  color: var(--bolight-foreground) !important;
  font-size: 24px !important;
  font-weight: 600;
  line-height: 1.4;
}

.login-subtitle {
  padding: 0 40px 12px !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--bolight-muted-foreground) !important;
  font-weight: 500 !important;
  text-align: left !important;
  text-shadow: none !important;
}

.login-subtitle .text-subtitle-1 {
  font-size: 14px !important;
  line-height: 24px;
}

.login-list,
.login-form,
.login-info {
  padding: 0 40px 24px !important;
  border: 0 !important;
}

.login-list .v-list {
  padding: 0;
  border: 0;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.login-list .v-list-item {
  min-height: 48px;
  height: auto;
  border-radius: var(--bolight-radius-control) !important;
  color: var(--bolight-foreground) !important;
}

.login-list .v-list-item .text-none {
  padding-top: 10px;
  padding-bottom: 10px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  white-space: normal;
}

.login-list .v-list-item .v-avatar {
  display: inline-flex;
  flex: 0 0 34px;
  width: 34px !important;
  min-width: 34px !important;
  height: 34px !important;
  align-items: center;
  justify-content: center;
}

.login-list .v-list-item .v-avatar > svg,
.login-list .v-list-item .v-avatar > .v-icon {
  width: 24px !important;
  height: 24px !important;
  font-size: 24px !important;
}

.login-list .v-list-item--active {
  background: var(--bolight-selected);
  color: var(--bolight-primary) !important;
}

.login-list .v-list-item--active::before {
  opacity: 0 !important;
}

.login-form .v-text-field {
  margin-top: 8px !important;
}

.login-form .v-text-field:first-child {
  margin-top: 0 !important;
}

.login-form .v-input__slot {
  min-height: 48px !important;
  border: 1px solid var(--bolight-border);
  border-radius: var(--bolight-radius-control) !important;
  background: var(--bolight-surface) !important;
  color: var(--bolight-foreground) !important;
  box-shadow: none !important;
}

.login-form .v-input--is-focused .v-input__slot {
  border-color: var(--bolight-ring);
  box-shadow: var(--bolight-focus-shadow) !important;
}

.login-form input {
  color: var(--bolight-foreground) !important;
  caret-color: var(--bolight-primary) !important;
}

.login-form input::placeholder {
  color: var(--bolight-muted-foreground) !important;
  opacity: 1;
}

.login-form .v-icon {
  color: var(--bolight-muted-foreground) !important;
}

.login-form .v-btn.primary {
  min-height: 48px;
  border-radius: var(--bolight-radius-control) !important;
  background: var(--bolight-primary) !important;
  box-shadow: none !important;
  font-size: 14px;
  font-weight: 500;
}

.login-sd > .v-alert.error,
.login-sd > .v-alert.red {
  margin: 0 40px 12px !important;
  border: 1px solid rgb(138 47 47 / 0.28);
  border-radius: var(--bolight-radius-control) !important;
  background: rgb(138 47 47 / 0.08) !important;
  color: var(--bolight-destructive) !important;
}

.bolight-auth-strategy--primary {
  background: var(--bolight-primary) !important;
  color: var(--bolight-primary-foreground) !important;
}

.v-application .login-list .bolight-auth-strategy--primary,
.v-application .login-list .bolight-auth-strategy--primary span {
  color: var(--bolight-primary-foreground) !important;
}

.v-application .login-list .bolight-auth-strategy--primary svg,
.v-application .login-list .bolight-auth-strategy--primary path {
  color: var(--bolight-primary-foreground) !important;
  fill: var(--bolight-primary-foreground) !important;
}

.bolight-auth-strategy--primary svg,
.bolight-auth-strategy--primary path {
  fill: currentColor !important;
}

.bolight-auth-strategy--primary:hover,
.bolight-auth-strategy--primary:focus {
  background: var(--bolight-primary-hover) !important;
}

.bolight-auth-strategy--recovery {
  margin-top: 12px;
  border: 1px solid var(--bolight-border);
  background: var(--bolight-surface) !important;
  color: var(--bolight-muted-foreground) !important;
}

.bolight-auth-help {
  margin: 0 40px 40px;
  padding-top: 16px;
  border-top: 1px solid var(--bolight-border);
  color: var(--bolight-muted-foreground);
  font-size: 12px;
  line-height: 1.6;
}

.bolight-auth-help p {
  margin: 0;
}

.bolight-auth-help p + p {
  margin-top: 8px;
}

.bolight-auth-help details {
  margin-top: 8px;
}

.bolight-auth-help summary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  width: fit-content;
  padding: 8px 0;
  color: var(--bolight-primary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.bolight-auth-help ol {
  margin: 12px 0;
  padding-inline-start: 20px;
}

.bolight-auth-help li + li {
  margin-top: 8px;
}

/* Wiki.js server-rendered 403 / 404 / 500 states. */
.bolight-result-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px;
  background: var(--bolight-surface);
  color: var(--bolight-foreground);
}

.bolight-result {
  width: min(640px, 100%);
}

.bolight-result__brand {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 32px;
  object-fit: contain;
}

.bolight-result h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.4;
}

.bolight-result > p {
  max-width: 56ch;
  margin: 16px 0 0;
  color: var(--bolight-muted-foreground);
  font-size: 14px;
  line-height: 1.6;
}

.bolight-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.bolight-result__actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid var(--bolight-border-strong);
  border-radius: var(--bolight-radius-control);
  color: var(--bolight-foreground);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.bolight-result__actions .bolight-result__primary {
  border-color: var(--bolight-primary);
  background: var(--bolight-primary);
  color: var(--bolight-primary-foreground);
}

.bolight-result__actions a:hover {
  border-color: var(--bolight-primary-hover);
}

@media (max-width: 839px) {
  .bolight-link-list a,
  .bolight-definition-list > div,
  .bolight-home__updates a {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .bolight-home-search__controls {
    flex-direction: column;
  }

  .bolight-home-search__controls button {
    align-self: stretch;
  }

  .bolight-document-meta {
    grid-template-columns: 1fr;
  }

  .bolight-document-meta > div {
    grid-template-columns: minmax(112px, 136px) minmax(0, 1fr);
  }

  .bolight-result-page {
    place-items: start;
    padding: 64px 16px 24px;
  }

  .bolight-result h1 {
    font-size: 24px;
  }
}

@media (forced-colors: active) {
  .bolight-result__brand,
  .bolight-auth-brand__identity img {
    forced-color-adjust: none;
  }

  .bolight-navigation-row--active,
  .bolight-navigation-row--ancestor {
    border: 1px solid currentcolor;
  }

  .bolight-navigation-toggle::before {
    border-color: ButtonText;
  }
}

@media (max-width: 1199px) and (min-width: 992px) {
  .bolight-auth-brand {
    padding: 40px 48px;
  }
}

@media (max-width: 991px) {
  .login {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 20px;
    background: var(--bolight-background) !important;
  }

  .bolight-auth-brand {
    display: block;
    width: min(432px, 100%);
    min-height: 0;
    padding: 0 0 20px;
    background: transparent;
    color: var(--bolight-foreground);
  }

  .bolight-auth-brand__identity img {
    display: block;
    width: 40px;
    height: 40px;
  }

  .bolight-auth-brand__identity::before {
    display: none;
  }

  .bolight-auth-brand__identity span {
    color: var(--bolight-muted-foreground);
  }

  .bolight-auth-brand__message,
  .bolight-auth-brand__capabilities,
  .bolight-auth-brand__legal {
    display: none;
  }

  .login-sd {
    width: min(432px, 100%) !important;
    max-height: none;
  }
}

@media (max-width: 839px) {
  .page-header-section .page-col-content,
  .v-main__wrap > .container.grid-list-xl {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  .bolight-home__section {
    margin-top: 24px;
  }

  .bolight-home__section-header {
    display: block;
  }

  .bolight-home__section-description {
    margin-top: 4px;
  }

  .bolight-home__directory-link,
  .bolight-home__resource-list a {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 16px;
  }

  .contents table {
    display: block;
    overflow-x: auto;
  }

}

@media (max-width: 599px) {
  .login {
    padding: 24px 20px;
  }

  .login-sd {
    border-radius: 12px !important;
    box-shadow: none;
  }

  .login-sd > .d-flex {
    padding: 28px 28px 20px;
  }

  .login-subtitle {
    padding: 0 28px 12px !important;
  }

  .login-list,
  .login-form,
  .login-info {
    padding: 0 28px 24px !important;
  }

  .login-sd > .v-alert.error,
  .login-sd > .v-alert.red {
    margin: 0 28px 12px !important;
  }

  .bolight-auth-help {
    margin: 0 28px 28px;
  }

  .login-form input {
    font-size: 16px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 80ms !important;
    animation-duration: 80ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  @page {
    margin: 16mm;
  }

  html,
  body,
  .application,
  .v-application,
  .v-main,
  .v-main__wrap,
  .page-header-section {
    background: #ffffff !important;
    color: #1f2328 !important;
  }

  .nav-header,
  .v-navigation-drawer,
  .page-col-sd,
  .comments-container,
  .bolight-skip-link,
  footer {
    display: none !important;
  }

  .v-main {
    padding: 0 !important;
  }

  .page-header-section .page-col-content,
  .v-main__wrap > .container.grid-list-xl {
    max-width: none !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .contents a {
    color: inherit !important;
    text-decoration: underline;
  }

  .contents pre,
  .contents table,
  .contents blockquote {
    break-inside: avoid;
  }
}
