:root {
  --v2-shell-bg: var(--tblr-bg-surface-secondary, #f4f6fb);
  --v2-panel-height: calc(100vh - 9rem);
  --v2-editor-border: var(--tblr-border-color, #dce1ea);
  --v2-editor-bg: #fff;
}

html,
body {
  min-height: 100%;
}

html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body.v2-auth-body .container,
body.v2-auth-body .container-fluid,
body.v2-auth-body .container-lg,
body.v2-auth-body .container-md,
body.v2-auth-body .container-sm,
body.v2-auth-body .container-xl,
body.v2-auth-body .container-xxl,
.v2-app .container,
.v2-app .container-fluid,
.v2-app .container-lg,
.v2-app .container-md,
.v2-app .container-sm,
.v2-app .container-xl,
.v2-app .container-xxl {
  padding-left: calc(var(--tblr-gutter-x) * 1.5);
  padding-right: calc(var(--tblr-gutter-x) * 1);
}

body.v2-auth-body {
  min-height: 100vh;
  background: linear-gradient(180deg, rgba(32, 107, 196, 0.05), rgba(244, 246, 251, 1) 28%);
}

body.v2-auth-body .navbar-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.v2-auth-body .navbar-brand-image {
  width: 4.25rem;
  height: auto;
  max-width: none;
}

.v2-top-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, #2b7de9, #6aa9ff);
  box-shadow: 0 0 12px rgba(43, 125, 233, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.18s ease, opacity 0.18s ease;
  z-index: 2000;
}

.v2-top-progress.is-visible {
  opacity: 1;
}

.v2-app {
  min-height: 100vh;
  background: var(--v2-shell-bg);
  --tblr-navbar-vertical-width: 18.5rem;
}

.v2-sidebar {
  position: relative;
  overflow: visible;
  isolation: isolate;
  border-right: 1px solid var(--tblr-border-color);
  box-shadow: none;
  z-index: 1032;
}

.v2-sidebar.navbar-vertical.navbar-expand-lg {
  width: var(--tblr-navbar-vertical-width);
  min-width: var(--tblr-navbar-vertical-width);
  overflow-x: visible !important;
  overflow-y: auto !important;
  box-shadow: none !important;
  z-index: 1040;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

.v2-sidebar.navbar-vertical.navbar-expand-lg > [class^='container'] {
  width: 100%;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.v2-sidebar.navbar-vertical.navbar-expand-lg::-webkit-scrollbar {
  width: 8px;
}

.v2-sidebar.navbar-vertical.navbar-expand-lg::-webkit-scrollbar-track {
  background: transparent;
}

.v2-sidebar.navbar-vertical.navbar-expand-lg::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 999px;
}

.v2-sidebar.navbar-vertical.navbar-expand-lg:hover {
  scrollbar-color: rgba(124, 139, 161, 0.3) transparent;
}

.v2-sidebar.navbar-vertical.navbar-expand-lg:hover::-webkit-scrollbar-thumb {
  background: rgba(124, 139, 161, 0.3);
}

.v2-sidebar::after {
  display: none;
}

.v2-brand {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  text-align: left;
  gap: 0.45rem;
}

.v2-brand-logo {
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 0.35rem;
  object-fit: cover;
}

.v2-brand-title {
  line-height: 1.1;
  font-size: 0.88rem;
  text-align: left;
}

.v2-brand-title small {
  font-size: 0.58rem;
  letter-spacing: 0.12em;
}

.v2-brand-title strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.v2-user-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  max-width: 100%;
  vertical-align: middle;
}

.v2-user-inline-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v2-user-avatar {
  flex: 0 0 auto;
  background-position: center;
  background-size: cover;
}

.v2-user-avatar--initials {
  background: #206bc4;
  color: #fff;
  font-weight: 700;
}

.v2-menu-label {
  font-weight: 600;
  letter-spacing: 0.04em;
}

.v2-sidebar .navbar-nav {
  gap: 0.08rem;
}

.v2-sidebar-section + .v2-sidebar-section {
  margin-top: 1rem;
}

.v2-sidebar-context-card {
  padding: 0.35rem 0 0.35rem 0.6rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.v2-sidebar-context-label {
  color: #6b7a90;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.v2-sidebar-context-title {
  margin-top: 0.18rem;
  color: #24324a;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  word-break: break-word;
}

.v2-sidebar-context-link {
  color: inherit;
  text-decoration: none;
}

.v2-sidebar-context-link:hover {
  color: #0d6efd;
}

.v2-sidebar .nav-link {
  padding: 0.45rem 0.65rem;
  border-radius: calc(var(--tblr-border-radius) - 1px);
  min-height: 2.2rem;
}

.v2-sidebar .nav-link-icon {
  width: 1.1rem;
  min-width: 1.1rem;
  margin-right: 0.55rem;
}

.v2-sidebar .nav-link-title {
  font-size: 0.93rem;
}

.v2-topbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.9);
}

.v2-topbar .container-fluid,
.v2-topbar .navbar-collapse {
  width: 100%;
}

.v2-topbar .navbar-nav.me-auto {
  margin-left: 0;
}

.v2-page-content {
  min-height: calc(100vh - 4rem);
}

.v2-app .page-wrapper {
  background: transparent;
  min-width: 0;
}

@media (min-width: 992px) and (max-width: 1919.98px) {
  .v2-sidebar.navbar-vertical.navbar-expand-lg ~ .page-wrapper,
  .v2-sidebar.navbar-vertical.navbar-expand-lg ~ .navbar {
    margin-left: calc(var(--tblr-navbar-vertical-width) - 1rem) !important;
  }
}

@media (min-width: 1920px) {
  .v2-sidebar.navbar-vertical.navbar-expand-lg ~ .page-wrapper,
  .v2-sidebar.navbar-vertical.navbar-expand-lg ~ .navbar {
    margin-left: var(--tblr-navbar-vertical-width) !important;
  }
}

.v2-page-content--docs {
  padding: 0;
  margin-top: 0 !important;
  background: transparent;
}

.v2-page-surface--docs {
  max-width: none;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.v2-page-content--notes {
  padding: 0;
  margin-top: 0 !important;
  background: #fff;
}

.v2-page-surface--notes {
  max-width: none;
  margin: 0;
  min-height: calc(100vh - 4rem);
  background: #fff;
  border: 0;
  box-shadow: none;
}

.v2-scroll-card,
.v2-scroll-panel {
  max-height: var(--v2-panel-height);
  overflow: auto;
}

.v2-tree .list-group-item.active {
  border-color: transparent;
}

.v2-editor-textarea {
  min-height: 28rem;
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.v2-preview {
  min-height: 28rem;
}

.v2-doc-tree {
  padding: 0.5rem 0;
}

.v2-doc-tree-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--tblr-border-radius);
  color: inherit;
  text-decoration: none;
  padding: 0.45rem 0.75rem;
}

.v2-doc-tree-link.active {
  background: var(--tblr-primary-lt);
  color: var(--tblr-primary);
}

.v2-sidebar-docs,
.v2-sidebar-notes {
  margin-top: 0.2rem;
  margin-left: 1.7rem;
  padding-left: 0.35rem;
  border-left: 1px solid var(--tblr-border-color);
}

.v2-sidebar-doc-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--tblr-border-radius);
  color: inherit;
  text-decoration: none;
  padding: 0.22rem 0.45rem;
  font-size: 0.87rem;
}

.v2-sidebar-doc-link.active {
  background: var(--tblr-primary-lt);
  color: var(--tblr-primary);
}

.v2-sidebar-notes-folder {
  position: relative;
  cursor: grab;
}

.v2-sidebar-notes-link.is-drop-target {
  background: rgba(32, 107, 196, 0.12);
  color: var(--tblr-primary);
}

.v2-sidebar-notes-folder:active {
  cursor: grabbing;
}

.v2-sidebar-notes-folder.is-dragging {
  opacity: 0.48;
}

.v2-sidebar-notes-folder.is-drop-before::before,
.v2-sidebar-notes-folder.is-drop-after::after {
  content: '';
  position: absolute;
  left: 0.4rem;
  right: 0.4rem;
  height: 2px;
  border-radius: 999px;
  background: var(--tblr-primary);
}

.v2-sidebar-notes-folder.is-drop-before::before {
  top: -1px;
}

.v2-sidebar-notes-folder.is-drop-after::after {
  bottom: -1px;
}

.v2-sidebar-docs .v2-doc-tree-children,
.v2-sidebar-notes .v2-doc-tree-children {
  margin-left: 0.65rem;
}

.v2-doc-tree-children {
  margin-left: 1rem;
  border-left: 1px solid var(--tblr-border-color);
  padding-left: 0.5rem;
}

.v2-doc-content {
  min-height: 30rem;
  line-height: 1.7;
}

.v2-doc-content iframe,
.v2-rich-editor iframe {
  max-width: 100%;
}

.v2-doc-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--tblr-border-radius);
}

.v2-doc-content table {
  width: 100%;
  margin-bottom: 1rem;
}

.v2-doc-content pre,
.v2-doc-content code {
  white-space: pre-wrap;
  word-break: break-word;
}

.v2-doc-attachments {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
}

.v2-doc-attachments-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  color: #334155;
  font-weight: 700;
}

.v2-doc-attachments-list {
  display: grid;
  gap: 0.65rem;
}

.v2-doc-attachment {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 0.5rem;
  color: inherit;
  text-decoration: none;
  background: #fff;
}

.v2-doc-attachment:hover {
  color: inherit;
  text-decoration: none;
  border-color: rgba(32, 107, 196, 0.35);
}

.v2-doc-attachment-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.25rem;
  background: #eef4ff;
  color: #206bc4;
}

.v2-doc-attachment-main {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.v2-doc-attachment-name {
  font-weight: 600;
  overflow-wrap: anywhere;
}

.v2-doc-attachment-meta {
  color: #64748b;
  font-size: 0.8rem;
}

.v2-doc-sidebar-card .list-group-item {
  padding-inline: 0;
}

.v2-code-preview {
  white-space: pre-wrap;
  word-break: break-word;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.85rem;
}

.v2-stat-card .card-body {
  min-height: 8rem;
}

.v2-empty-state {
  min-height: 18rem;
}

.v2-page-tabs .nav-link {
  font-weight: 600;
}

.v2-rich-editor-shell {
  border: 1px solid var(--v2-editor-border);
  border-radius: var(--tblr-border-radius);
  overflow: hidden;
  background: var(--v2-editor-bg);
}

.v2-rich-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem;
  background: var(--tblr-bg-surface);
  border-bottom: 1px solid var(--v2-editor-border);
}

.v2-rich-toolbar-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.v2-rich-toolbar .btn {
  --tblr-btn-padding-y: 0.35rem;
  --tblr-btn-padding-x: 0.55rem;
}

.v2-rich-editor {
  min-height: 30rem;
  padding: 1rem 1.1rem;
  outline: none;
  font-size: 0.97rem;
  line-height: 1.75;
}

.v2-rich-editor.is-file-drag-over {
  outline: 2px dashed #206bc4;
  outline-offset: -0.65rem;
  background: rgba(32, 107, 196, 0.04);
}

.v2-rich-editor:empty::before {
  content: attr(data-placeholder);
  color: var(--tblr-secondary);
}

.v2-rich-editor h1,
.v2-rich-editor h2,
.v2-rich-editor h3,
.v2-doc-content h1,
.v2-doc-content h2,
.v2-doc-content h3 {
  margin-top: 1.2em;
  margin-bottom: 0.55em;
}

.v2-rich-editor table,
.v2-doc-content table {
  width: 100%;
  border-collapse: collapse;
}

.v2-rich-editor th,
.v2-rich-editor td,
.v2-doc-content th,
.v2-doc-content td {
  border: 1px solid var(--tblr-border-color);
  padding: 0.55rem 0.65rem;
  vertical-align: top;
}

.v2-rich-editor pre,
.v2-doc-content pre {
  background: var(--tblr-bg-surface);
  border-radius: var(--tblr-border-radius);
  padding: 0.85rem 1rem;
}

.v2-rich-editor blockquote,
.v2-doc-content blockquote {
  border-left: 3px solid var(--tblr-primary);
  padding-left: 0.85rem;
  color: var(--tblr-body-color);
}

.v2-rich-editor ul[data-note-checklist],
.v2-doc-content ul[data-note-checklist] {
  margin: 0.9rem 0;
  padding: 0;
  list-style: none;
}

.v2-rich-editor ul[data-note-checklist] li,
.v2-doc-content ul[data-note-checklist] li {
  position: relative;
  min-height: 1.45rem;
  padding-left: 2.05rem;
  margin: 0.45rem 0;
  line-height: 1.5;
}

.v2-rich-editor ul[data-note-checklist] li::before,
.v2-doc-content ul[data-note-checklist] li::before {
  content: '';
  position: absolute;
  top: 0.16rem;
  left: 0;
  width: 1.1rem;
  height: 1.1rem;
  border: 1.5px solid #c4c4cb;
  border-radius: 999px;
  background: #fff;
  transition: border-color 120ms ease, background-color 120ms ease, box-shadow 120ms ease;
}

.v2-rich-editor ul[data-note-checklist] li[data-note-checked="1"],
.v2-doc-content ul[data-note-checklist] li[data-note-checked="1"] {
  color: #71717a;
  text-decoration: line-through;
}

.v2-rich-editor ul[data-note-checklist] li[data-note-checked="1"]::before,
.v2-doc-content ul[data-note-checklist] li[data-note-checked="1"]::before {
  border-color: rgba(32, 107, 196, 0.6);
  background: rgba(32, 107, 196, 0.12);
}

.v2-rich-editor ul[data-note-checklist] li[data-note-checked="1"]::after,
.v2-doc-content ul[data-note-checklist] li[data-note-checked="1"]::after {
  content: '';
  position: absolute;
  top: 0.33rem;
  left: 0.36rem;
  width: 0.34rem;
  height: 0.58rem;
  border-right: 2px solid var(--tblr-primary);
  border-bottom: 2px solid var(--tblr-primary);
  transform: rotate(40deg);
}

.v2-rich-editor ul[data-note-checklist] li[data-note-checkbox-hover="1"],
.v2-doc-content ul[data-note-checklist] li[data-note-checkbox-hover="1"] {
  cursor: pointer;
}

.v2-rich-editor ul[data-note-checklist] li[data-note-checkbox-hover="1"]::before,
.v2-doc-content ul[data-note-checklist] li[data-note-checkbox-hover="1"]::before {
  border-color: rgba(32, 107, 196, 0.48);
  box-shadow: 0 0 0 3px rgba(32, 107, 196, 0.08);
}

.v2-macro {
  border-radius: var(--tblr-border-radius);
  padding: 0.9rem 1rem;
  margin: 1rem 0;
  border: 1px solid transparent;
}

.v2-macro strong {
  display: block;
  margin-bottom: 0.35rem;
}

.v2-macro-info {
  background: rgba(32, 107, 196, 0.08);
  border-color: rgba(32, 107, 196, 0.18);
}

.v2-macro-warning {
  background: rgba(245, 159, 0, 0.12);
  border-color: rgba(245, 159, 0, 0.2);
}

.v2-macro-danger {
  background: rgba(214, 57, 57, 0.1);
  border-color: rgba(214, 57, 57, 0.18);
}

.v2-drawio-embed {
  margin: 1rem 0;
  border: 1px solid var(--tblr-border-color);
  border-radius: var(--tblr-border-radius);
  overflow: hidden;
  background: #fff;
}

.v2-drawio-embed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  background: var(--tblr-bg-surface);
  border-bottom: 1px solid var(--tblr-border-color);
}

.v2-drawio-embed iframe {
  display: block;
  width: 100%;
  min-height: 32rem;
  border: 0;
}

.v2-view-switch {
  gap: 0.45rem;
}

.v2-view-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.7);
  color: var(--tblr-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: none;
}

.v2-view-switch-btn:hover {
  border-color: rgba(32, 107, 196, 0.24);
  color: var(--tblr-primary);
  background: rgba(32, 107, 196, 0.06);
}

.v2-view-switch-btn.active {
  background: rgba(32, 107, 196, 0.1);
  border-color: rgba(32, 107, 196, 0.26);
  color: var(--tblr-primary);
}

.v2-list-sort-link {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.18s ease;
}

.v2-list-sort-link:hover {
  color: var(--tblr-primary);
  text-decoration: none;
}

.v2-list-sort-link i {
  font-size: 0.9rem;
  opacity: 0.48;
}

.v2-list-sort-link.is-active {
  color: var(--tblr-primary);
}

.v2-list-sort-link.is-active i {
  opacity: 1;
}

.v2-item-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
}

.v2-item-card {
  height: 100%;
}

.v2-item-card-cover,
.v2-item-card-cover-placeholder {
  aspect-ratio: 16 / 9;
  width: 100%;
  border-bottom: 1px solid var(--tblr-border-color);
}

.v2-item-card-cover {
  object-fit: cover;
  background: #fff;
  cursor: zoom-in;
}

.v2-item-card-cover-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(32, 107, 196, 0.1), rgba(32, 107, 196, 0.02));
  color: var(--tblr-primary);
  font-size: 2rem;
}

.v2-item-card .card-body {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.v2-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.v2-item-excerpt {
  color: var(--tblr-secondary);
  line-height: 1.6;
}

.v2-item-actions {
  margin-top: auto;
}

.v2-kanban-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  align-items: start;
}

.v2-kanban-column {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--tblr-border-color);
  border-radius: var(--tblr-border-radius-lg);
  overflow: hidden;
}

.v2-kanban-column-header {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--tblr-border-color);
  background: rgba(255, 255, 255, 0.8);
}

.v2-kanban-column-body {
  padding: 0.85rem;
  display: grid;
  gap: 0.75rem;
  min-height: 10rem;
  transition: background-color 0.16s ease, box-shadow 0.16s ease;
}

.v2-kanban-column-body.is-drop-target {
  background: rgba(32, 107, 196, 0.06);
  box-shadow: inset 0 0 0 1px rgba(32, 107, 196, 0.14);
}

.v2-kanban-card {
  border: 1px solid var(--tblr-border-color);
  border-radius: var(--tblr-border-radius);
  padding: 0.85rem;
  background: #fff;
  cursor: grab;
  transition: box-shadow 0.16s ease, transform 0.16s ease, opacity 0.16s ease;
}

.v2-kanban-card:hover {
  box-shadow: 0 10px 24px rgba(23, 36, 58, 0.08);
}

.v2-kanban-card.is-dragging {
  opacity: 0.5;
  transform: rotate(1deg);
}

.v2-kanban-card.is-saving {
  opacity: 0.65;
  pointer-events: none;
}

.v2-kanban-card-controls {
  margin-top: 0.7rem;
}

.v2-kanban-assignee-label {
  margin-bottom: 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #728198;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.v2-kanban-assignee {
  font-size: 0.84rem;
}

.v2-kanban-empty {
  border: 1px dashed rgba(159, 173, 194, 0.5);
  border-radius: var(--tblr-border-radius);
  padding: 0.9rem 0.8rem;
  color: #728198;
  font-size: 0.84rem;
  background: rgba(255, 255, 255, 0.55);
}

.v2-sidebar-user-card {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--tblr-border-color);
  overflow: visible;
}

.v2-sidebar-user-card .nav-link,
.v2-sidebar-footer .nav-link {
  padding-inline: 0;
  min-height: auto;
  font-weight: 600;
}

.v2-topbar .input-icon {
  min-width: 18rem;
}

.v2-global-search {
  width: min(31rem, 34vw);
}

.v2-topbar-actions {
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.v2-topbar-workspace-btn {
  --tblr-btn-color: #3a4760;
  --tblr-btn-bg: transparent;
  --tblr-btn-border-color: transparent;
  --tblr-btn-hover-color: #17233a;
  --tblr-btn-hover-bg: rgba(58, 71, 96, 0.06);
  --tblr-btn-hover-border-color: transparent;
  --tblr-btn-active-color: #17233a;
  --tblr-btn-active-bg: rgba(58, 71, 96, 0.08);
  --tblr-btn-active-border-color: transparent;
  display: inline-flex;
  align-items: center;
  max-width: min(22rem, 32vw);
  border-color: transparent;
  box-shadow: none;
}

.v2-topbar-workspace-btn.dropdown-toggle::after {
  display: none;
}

.v2-topbar-workspace-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v2-topbar-caret {
  margin-left: 0.38rem;
  color: currentColor;
  font-size: 0.86rem;
  opacity: 0.58;
  line-height: 1;
}

.v2-notification-wrap {
  position: relative;
}

.v2-notification-btn {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  border-color: transparent;
  background: transparent;
  color: #3a4760;
  box-shadow: none;
}

.v2-notification-btn:hover,
.v2-notification-btn:focus {
  color: #17233a;
  background: rgba(58, 71, 96, 0.06);
  border-color: transparent;
}

.v2-notification-badge {
  position: absolute;
  top: 0.28rem;
  right: 0.28rem;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.2rem;
  border-radius: 999px;
  background: #d63939;
  color: #fff;
  font-size: 0.67rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.v2-notification-menu {
  width: min(26rem, calc(100vw - 2rem));
  border-radius: 1rem;
  overflow: hidden;
}

.v2-notification-panel {
  display: flex;
  flex-direction: column;
  max-height: min(72vh, 34rem);
  background: rgba(255, 255, 255, 0.98);
}

.v2-notification-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 0.85rem;
  border-bottom: 1px solid var(--tblr-border-color);
}

.v2-notification-head-title {
  font-weight: 700;
  color: #1f2a44;
}

.v2-notification-head-subtitle {
  margin-top: 0.1rem;
  color: #728198;
  font-size: 0.8rem;
}

.v2-notification-list {
  overflow: auto;
  padding: 0.45rem;
}

.v2-notification-row {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.75rem;
  border-radius: 0.9rem;
  color: inherit;
  text-decoration: none;
}

.v2-notification-row:hover {
  background: rgba(43, 125, 233, 0.06);
  color: inherit;
  text-decoration: none;
}

.v2-notification-row.is-unread {
  background: rgba(43, 125, 233, 0.05);
}

.v2-notification-avatar {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.v2-notification-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.v2-notification-title {
  font-weight: 700;
  color: #1f2a44;
}

.v2-notification-text {
  color: #5f6f86;
  font-size: 0.9rem;
  line-height: 1.45;
}

.v2-notification-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  color: #728198;
  font-size: 0.76rem;
}

.v2-notification-empty {
  padding: 1rem;
  color: #728198;
  text-align: center;
  font-size: 0.9rem;
}

.v2-global-search {
  position: relative;
}

.v2-search-live-panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  width: min(38rem, calc(100vw - 3rem));
  max-height: min(70vh, 34rem);
  overflow: auto;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--tblr-border-color);
  border-radius: 1rem;
  box-shadow: 0 18px 48px rgba(23, 36, 58, 0.14);
  z-index: 1200;
}

.v2-search-results-shell {
  padding: 0.45rem;
}

.v2-search-section + .v2-search-section {
  margin-top: 0.25rem;
}

.v2-search-section-title {
  padding: 0.55rem 0.65rem 0.35rem;
  color: #728198;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.v2-search-section-list {
  display: grid;
  gap: 0.2rem;
}

.v2-search-result {
  display: block;
  padding: 0.7rem 0.8rem;
  border-radius: 0.8rem;
  color: inherit;
  text-decoration: none;
}

.v2-search-result-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.v2-search-result-media {
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  overflow: hidden;
  flex: 0 0 2rem;
  background: #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #475569;
}

.v2-search-result-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.v2-search-result-media--icon {
  font-size: 1rem;
}

.v2-search-result-media--docs,
.v2-search-file-thumb--docs {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

.v2-search-result-media--notes,
.v2-search-file-thumb--notes {
  background: rgba(79, 70, 229, 0.12);
  color: #4338ca;
}

.v2-search-result-media--tasks,
.v2-search-file-thumb--tasks {
  background: rgba(14, 116, 144, 0.12);
  color: #0f766e;
}

.v2-search-result-media--vaults,
.v2-search-file-thumb--vaults {
  background: rgba(124, 58, 237, 0.12);
  color: #6d28d9;
}

.v2-search-result-media--repositories,
.v2-search-file-thumb--repositories {
  background: rgba(51, 65, 85, 0.12);
  color: #334155;
}

.v2-search-result-media--workspaces,
.v2-search-file-thumb--workspaces {
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
}

.v2-search-result:hover,
.v2-search-result.is-active {
  background: rgba(32, 107, 196, 0.08);
  color: inherit;
}

.v2-search-result-title {
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.35;
}

.v2-search-result-meta {
  margin-top: 0.14rem;
  color: #728198;
  font-size: 0.79rem;
  line-height: 1.35;
}

.v2-search-result-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.v2-search-result-copy .v2-search-result-meta + .v2-search-result-meta {
  margin-top: 0.18rem;
}

.v2-search-empty {
  padding: 0.95rem 1rem;
  color: #728198;
  font-size: 0.9rem;
}

.v2-search-footer {
  margin-top: 0.35rem;
  padding: 0.55rem 0.65rem 0.35rem;
  border-top: 1px solid rgba(159, 173, 194, 0.22);
}

.v2-search-show-all {
  color: var(--tblr-primary);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.v2-search-show-all:hover {
  text-decoration: underline;
}

.v2-search-page-card {
  border-radius: 1.1rem;
}

.v2-search-page-form .form-label {
  font-weight: 700;
  color: #516074;
}

.v2-search-filter-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.v2-search-filter-chip {
  min-width: 10.5rem;
  justify-content: flex-start;
  border-radius: 999px;
  font-weight: 600;
}

.v2-search-page-row {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  min-width: 0;
}

.v2-search-page-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.v2-notes-page {
  --v2-notes-list-width: 22.5rem;
  display: grid;
  grid-template-columns: minmax(17.5rem, var(--v2-notes-list-width)) 0.5rem minmax(0, 1fr);
  height: calc(100vh - 4rem);
  min-height: calc(100vh - 4rem);
  overflow: hidden;
  background: #fff;
}

.v2-notes-page.is-loading {
  grid-template-columns: 1fr;
}

.v2-notes-page.is-resizing {
  cursor: col-resize;
}

.v2-notes-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 4rem);
  color: #7c8ba1;
  font-size: 0.95rem;
}

body.v2-notes-resizing {
  cursor: col-resize;
  user-select: none;
}

.v2-notes-pane {
  min-width: 0;
  min-height: 0;
  background: #fff;
}

.v2-notes-pane--list {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #fafafa;
}

.v2-notes-resizer {
  position: relative;
  min-width: 0.5rem;
  cursor: col-resize;
  touch-action: none;
  background: transparent;
}

.v2-notes-resizer::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: rgba(148, 163, 184, 0.22);
  transition: background-color 0.16s ease, width 0.16s ease;
}

.v2-notes-resizer:hover::before,
.v2-notes-page.is-resizing .v2-notes-resizer::before,
.v2-notes-resizer:focus-visible::before {
  width: 3px;
  background: rgba(32, 107, 196, 0.35);
}

.v2-notes-resizer:focus-visible {
  outline: none;
}

.v2-notes-pane--editor {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  min-height: calc(100vh - 4rem);
  overflow: hidden;
}

.v2-notes-pane-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem 0.7rem;
}

.v2-notes-pane-copy {
  min-width: 0;
}

.v2-notes-pane-title {
  color: #3f3f46;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.v2-notes-pane-subtitle {
  margin-top: 0.1rem;
  color: #71717a;
  font-size: 0.92rem;
}

.v2-notes-pane-actions,
.v2-notes-toolbar-right,
.v2-notes-note-statuscopy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  min-width: 0;
  gap: 0.55rem;
}

.v2-notes-toolbar-right {
  margin-left: auto;
  justify-content: flex-end;
}

.v2-item-uid-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  max-width: 100%;
  min-height: 2.25rem;
  padding: 0.34rem 0.34rem 0.34rem 0.78rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
  color: #516072;
}

.v2-item-uid-chip-label {
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a8698;
}

.v2-item-uid-chip-value {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #22324b;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.v2-item-uid-chip-copy {
  width: 1.72rem;
  height: 1.72rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 0.55rem;
  background: rgba(241, 245, 249, 0.92);
  color: #516072;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.v2-item-uid-chip-copy:hover,
.v2-item-uid-chip-copy:focus-visible {
  background: rgba(32, 107, 196, 0.1);
  color: var(--tblr-primary);
  outline: none;
}

.v2-notes-list-shell {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
  padding: 0 0.85rem 1rem;
  transition: scrollbar-color 0.16s ease;
}

.v2-notes-list-shell:hover,
.v2-notes-list-shell:focus-within,
.v2-notes-page.is-resizing .v2-notes-list-shell {
  scrollbar-color: rgba(113, 113, 122, 0.42) transparent;
}

.v2-notes-list-shell::-webkit-scrollbar {
  width: 0.65rem;
}

.v2-notes-list-shell::-webkit-scrollbar-track {
  background: transparent;
}

.v2-notes-list-shell::-webkit-scrollbar-thumb {
  border: 0.18rem solid transparent;
  border-radius: 999px;
  background: transparent;
  background-clip: padding-box;
}

.v2-notes-list-shell:hover::-webkit-scrollbar-thumb,
.v2-notes-list-shell:focus-within::-webkit-scrollbar-thumb,
.v2-notes-page.is-resizing .v2-notes-list-shell::-webkit-scrollbar-thumb {
  background-color: rgba(113, 113, 122, 0.42);
}

.v2-notes-list-tools {
  padding: 0 1.35rem 0.9rem;
}

.v2-notes-list-search {
  width: 100%;
  margin-bottom: 0;
}

.v2-notes-list-search .form-control {
  min-height: 2.5rem;
}

.v2-notes-context-menu,
.v2-docs-context-menu {
  position: fixed;
  z-index: 2140;
  min-width: 13rem;
  padding: 0.35rem;
  border: 1px solid rgba(148, 163, 184, 0.36);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.25rem) scale(0.98);
  transition: opacity 120ms ease, transform 140ms ease;
}

.v2-notes-context-menu.is-open,
.v2-docs-context-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.v2-notes-context-menu button,
.v2-docs-context-menu button {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  border: 0;
  border-radius: 0.55rem;
  background: transparent;
  color: #3f3f46;
  padding: 0.52rem 0.62rem;
  text-align: left;
  font-size: 0.9rem;
}

.v2-notes-context-menu button:hover,
.v2-docs-context-menu button:hover {
  background: rgba(32, 107, 196, 0.08);
  color: var(--tblr-primary);
}

.v2-notes-context-menu button.is-danger,
.v2-docs-context-menu button.is-danger {
  color: #b91c1c;
}

.v2-notes-context-menu button.is-danger:hover,
.v2-docs-context-menu button.is-danger:hover {
  background: rgba(220, 38, 38, 0.1);
  color: #991b1b;
}

.v2-notes-context-menu i,
.v2-docs-context-menu i {
  width: 1rem;
  color: currentColor;
  font-size: 1rem;
}

.v2-docs-context-menu {
  min-width: 14.5rem;
}

.v2-notes-group + .v2-notes-group {
  margin-top: 1rem;
}

.v2-notes-group-title {
  padding: 0 0.6rem 0.55rem;
  color: #27272a;
  font-size: 0.96rem;
  font-weight: 700;
}

.v2-notes-group-items {
  display: grid;
  gap: 0.35rem;
}

.v2-notes-row {
  display: grid;
  gap: 0.24rem;
  width: 100%;
  padding: 0.95rem 1rem;
  border: 0;
  border-radius: 1rem;
  background: transparent;
  color: #3f3f46;
  text-align: left;
  transition: background-color 0.16s ease;
}

.v2-notes-row[draggable="true"] {
  cursor: grab;
}

.v2-notes-row.is-dragging {
  opacity: 0.48;
  cursor: grabbing;
}

.v2-notes-row-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.8rem;
  min-width: 0;
}

.v2-notes-row-copy {
  min-width: 0;
}

.v2-notes-row-titleline {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 0.45rem;
}

.v2-notes-row:hover {
  background: rgba(228, 228, 231, 0.48);
}

.v2-notes-row.is-active {
  background: rgba(212, 212, 216, 0.7);
}

.v2-notes-row-title {
  min-width: 0;
  color: #27272a;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.v2-notes-row-scope-badge {
  flex: 0 0 auto;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  background: rgba(32, 107, 196, 0.1);
  color: var(--tblr-primary);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.15;
}

.v2-notes-row-meta-line,
.v2-notes-row-excerpt {
  color: #71717a;
  font-size: 0.88rem;
  line-height: 1.35;
}

.v2-notes-row-excerpt {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.v2-notes-row-thumb {
  width: 4rem;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.9rem;
  background: rgba(228, 228, 231, 0.55);
  flex-shrink: 0;
}

.v2-notes-row-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v2-notes-row-author {
  margin-top: 0.1rem;
}

.v2-notes-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.35rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.v2-notes-toolbar-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  min-width: 0;
  gap: 0.5rem;
}

.v2-notes-toolbar-btn {
  --tblr-btn-padding-y: 0.45rem;
  --tblr-btn-padding-x: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  border-radius: 0.65rem;
  box-shadow: none;
  line-height: 1;
}

.v2-notes-toolbar-btn.btn-icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
}

.v2-notes-toolbar-btn--text {
  min-width: 3rem;
  font-weight: 700;
}

.v2-notes-toolbar-btn > .ti {
  font-size: 1.05rem;
}

.v2-notes-menu[open] > .v2-notes-toolbar-btn {
  border-color: rgba(32, 107, 196, 0.3);
  background: rgba(32, 107, 196, 0.06);
  color: var(--tblr-primary);
}

.v2-notes-menu {
  position: relative;
}

.v2-notes-menu summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  cursor: pointer;
}

.v2-notes-menu summary::-webkit-details-marker {
  display: none;
}

.v2-notes-menu-panel {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  z-index: 5;
  display: grid;
  min-width: 13rem;
  padding: 0.35rem;
  border: 1px solid rgba(228, 228, 231, 0.9);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.v2-notes-menu-panel button {
  border: 0;
  border-radius: 0.8rem;
  padding: 0.7rem 0.85rem;
  background: transparent;
  color: #3f3f46;
  text-align: left;
  font-size: 0.92rem;
}

.v2-notes-menu-panel button:hover {
  background: rgba(244, 244, 245, 0.96);
}

.v2-notes-menu-panel button.is-danger {
  color: #b91c1c;
}

.v2-notes-toolbar-left .v2-notes-menu-panel {
  left: 0;
  right: auto;
}

.v2-notes-format-menu .v2-notes-menu-panel {
  min-width: 16.5rem;
}

.v2-notes-format-option {
  display: grid;
  gap: 0.2rem;
  width: 100%;
}

.v2-notes-format-option-label {
  color: #27272a;
  font-size: 0.82rem;
  font-weight: 700;
}

.v2-notes-format-option-preview {
  color: #3f3f46;
  font-size: 0.98rem;
  line-height: 1.25;
}

.v2-notes-format-option-preview--h1 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.v2-notes-format-option-preview--h2 {
  font-size: 1.08rem;
  font-weight: 700;
}

.v2-notes-format-option-preview--quote {
  padding-left: 0.65rem;
  border-left: 3px solid rgba(32, 107, 196, 0.35);
  color: #52525b;
}

.v2-notes-format-option-preview--bold {
  font-weight: 800;
}

.v2-notes-format-option-preview--italic {
  font-style: italic;
}

.v2-notes-format-option-preview--code {
  display: inline-flex;
  width: fit-content;
  padding: 0.14rem 0.42rem;
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 0.45rem;
  background: rgba(15, 23, 42, 0.06);
  color: #1e293b;
  font-family: "SFMono-Regular", "Cascadia Code", "Liberation Mono", Menlo, Consolas, monospace;
  font-size: 0.82rem;
}

.v2-notes-toolbar-search {
  flex: 0 1 24rem;
  width: min(24rem, 100%);
  min-width: 14rem;
  margin-bottom: 0;
}

.v2-notes-toolbar-search .form-control {
  min-height: 2.5rem;
}

.v2-notes-editor-inner,
.v2-notes-editor-empty {
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  align-self: stretch;
  overflow-y: auto;
  scrollbar-gutter: stable;
}

.v2-notes-editor-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 56rem;
  min-width: 0;
  margin: 0 auto;
  padding: 0.1rem 2rem 1.4rem;
}

.v2-notes-pane--editor > *,
.v2-notes-editor-inner > * {
  min-width: 0;
  max-width: 100%;
}

.v2-notes-editor-date {
  align-self: stretch;
  width: 100%;
  margin-top: 0;
  color: #a1a1aa;
  font-size: 0.88rem;
  text-align: center;
  white-space: nowrap;
}

.v2-notes-editor-date:empty {
  display: none;
}

.v2-notes-title-editor {
  display: block;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  margin-top: 0.3rem;
  color: #3f3f46;
  font-size: clamp(2rem, 2.6vw, 3rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
  outline: none;
  overflow-wrap: normal;
  word-break: normal;
  white-space: pre-wrap;
}

.v2-notes-title-editor:empty::before {
  content: attr(data-placeholder);
  color: #c4c4cb;
}

.v2-notes-note-statusline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-self: stretch;
  width: 100%;
  min-height: 1.6rem;
  min-width: 0;
  gap: 1rem;
  margin-top: 0.3rem;
  color: #71717a;
  font-size: 0.88rem;
}

.v2-notes-note-statuscopy {
  gap: 0.6rem;
}

.v2-notes-note-statuscopy:empty {
  display: none;
}

.v2-notes-note-statusactions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.75rem;
  min-width: 0;
}

.v2-notes-related-commits-button {
  position: relative;
  overflow: visible;
}

.v2-notes-personal-toggle.is-active {
  border-color: rgba(32, 107, 196, 0.32);
  background: rgba(32, 107, 196, 0.1);
  color: var(--tblr-primary);
}

.v2-notes-related-commits-count {
  position: absolute;
  top: -0.38rem;
  right: -0.38rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.22rem;
  border-radius: 999px;
  background: #e2e8f0;
  color: #475569;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.96);
}

.v2-notes-visibility-badge {
  display: inline-flex;
  align-items: center;
  height: 1.6rem;
  padding: 0 0.68rem;
  border-radius: 999px;
  background: rgba(244, 244, 245, 0.95);
  color: #52525b;
  font-size: 0.78rem;
  font-weight: 700;
}

.v2-notes-workspace-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-width: 0;
  max-width: 18rem;
  height: 1.6rem;
  padding: 0 0.68rem;
  border-radius: 999px;
  background: rgba(32, 107, 196, 0.08);
  color: var(--tblr-primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.v2-notes-workspace-link:hover,
.v2-notes-workspace-link:focus-visible {
  background: rgba(32, 107, 196, 0.14);
  color: var(--tblr-primary);
  outline: none;
}

.v2-notes-workspace-link span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v2-notes-note-author {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.35rem;
  line-height: 1.15;
  max-width: 100%;
}

.v2-notes-note-author-label {
  white-space: nowrap;
}

.v2-notes-note-person {
  min-width: 0;
}

.v2-notes-note-person.v2-user-inline {
  gap: 0.35rem;
}

.v2-notes-save-state {
  min-width: 8.5rem;
  min-height: 1.25rem;
  line-height: 1.25rem;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: right;
  opacity: 1;
  transition: opacity 140ms ease, color 140ms ease;
}

#v2-notes-save-state[data-state="saved"] {
  color: #15803d;
  opacity: 0;
}

#v2-notes-save-state[data-state="dirty"] {
  color: #a16207;
}

#v2-notes-save-state[data-state="saving"] {
  color: #2563eb;
}

#v2-notes-save-state[data-state="error"] {
  color: #b91c1c;
}

.v2-notes-editor-surface {
  flex: 1 1 auto;
  align-self: stretch;
  min-height: 0;
  min-width: 0;
  width: 100%;
  margin-top: 0.45rem;
}

.v2-notes-editor {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 100%;
  padding: 0.25rem 0 2rem;
  border: 0;
  background: transparent;
  font-size: 0.94rem;
  line-height: 1.8;
}

.v2-notes-editor .v2-file-embed {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.7rem;
  border-radius: 0.75rem;
  background: rgba(244, 244, 245, 0.96);
  color: #3f3f46;
  text-decoration: none;
}

.v2-notes-empty {
  display: grid;
  gap: 0.4rem;
  max-width: 28rem;
  margin: 8rem auto 0;
  text-align: center;
}

.v2-notes-empty-title {
  color: #27272a;
  font-size: 1.2rem;
  font-weight: 700;
}

.v2-notes-empty-copy {
  color: #71717a;
  line-height: 1.5;
}

.v2-notes-primary-button {
  justify-self: center;
  margin-top: 0.45rem;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 999px;
  background: #27272a;
  color: #fff;
  font-weight: 600;
}

.v2-detail-layout .card {
  height: 100%;
}

.v2-detail-body {
  line-height: 1.7;
}

.v2-detail-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--tblr-border-radius);
}

.v2-doc-content img,
.v2-detail-body img,
.macro-diagram-view img {
  cursor: zoom-in;
}

.v2-toast-container {
  position: fixed;
  top: auto;
  bottom: 1rem;
  right: 1rem;
  z-index: 1100;
}

.v2-realtime-collab {
  position: fixed;
  right: 1rem;
  bottom: 5.25rem;
  z-index: 1095;
  pointer-events: none;
}

.v2-realtime-card {
  display: flex;
  align-items: center;
  gap: .75rem;
  max-width: min(420px, calc(100vw - 2rem));
  padding: .7rem .85rem;
  color: #182230;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(32, 41, 57, .12);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .18);
  pointer-events: auto;
}

.v2-realtime-card[hidden] {
  display: none;
}

.v2-realtime-pulse {
  width: .65rem;
  height: .65rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #16a34a;
  box-shadow: 0 0 0 .35rem rgba(22, 163, 74, .16);
}

.v2-realtime-copy {
  display: grid;
  gap: .1rem;
  min-width: 0;
}

.v2-realtime-copy strong {
  font-size: .84rem;
  line-height: 1.2;
}

.v2-realtime-copy span {
  overflow: hidden;
  color: #667085;
  font-size: .78rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v2-realtime-avatars {
  display: flex;
  align-items: center;
  margin-left: auto;
  padding-left: .25rem;
}

.v2-realtime-avatar {
  width: 1.8rem;
  height: 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-left: -.35rem;
  color: #fff;
  background: #2563eb;
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: .72rem;
  font-weight: 700;
}

.v2-realtime-avatar:first-child {
  margin-left: 0;
}

.v2-realtime-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.v2-realtime-cursors {
  position: fixed;
  inset: 0;
  z-index: 1101;
  pointer-events: none;
}

.v2-realtime-remote-cursor {
  position: absolute;
  pointer-events: none;
}

.v2-realtime-remote-caret {
  width: 2px;
  min-height: 18px;
  background: #2563eb;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, .08);
}

.v2-realtime-remote-label {
  display: inline-block;
  max-width: min(14rem, calc(100vw - 2rem));
  margin-top: 4px;
  padding: 3px 8px;
  overflow: hidden;
  color: #fff;
  background: #2563eb;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .v2-realtime-collab {
    right: .75rem;
    bottom: 4.5rem;
    left: .75rem;
  }

  .v2-realtime-card {
    max-width: none;
  }
}

.v2-session-warning {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1200;
  width: min(22rem, calc(100vw - 2rem));
  pointer-events: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.v2-session-warning.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.v2-session-warning-card {
  pointer-events: auto;
  border: 1px solid rgba(42, 58, 87, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(14px);
  padding: 0.95rem 1rem 1rem;
}

.v2-session-warning-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: #17233a;
}

.v2-session-warning-copy {
  margin-top: 0.3rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #52607a;
}

.v2-session-warning-copy strong {
  color: #17233a;
}

.v2-session-warning-actions {
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.v2-session-warning.is-visible + .v2-toast-container {
  bottom: 8rem;
}

.v2-media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1300;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 280ms ease, visibility 0s linear 280ms;
}

.v2-media-lightbox.is-visible {
  visibility: visible;
}

.v2-media-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

.v2-media-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 280ms ease, backdrop-filter 320ms ease;
}

.v2-media-lightbox.is-open .v2-media-lightbox-backdrop {
  opacity: 1;
  backdrop-filter: blur(8px);
}

.v2-media-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 1400px);
  max-height: 92vh;
  margin: 4vh auto;
  padding: 1rem 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transform: translateY(18px) scale(0.985);
  opacity: 0;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), opacity 240ms ease;
}

.v2-media-lightbox.is-open .v2-media-lightbox-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.v2-media-lightbox-close {
  align-self: flex-end;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.16s ease, transform 0.16s ease;
}

.v2-media-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: scale(1.04);
}

.v2-media-lightbox-stage {
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.v2-media-lightbox-stage img {
  display: block;
  max-width: 100%;
  max-height: calc(92vh - 6.5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.9rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.34);
  background: #fff;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 220ms ease, transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.v2-media-lightbox-stage img.is-ready {
  opacity: 1;
  transform: scale(1);
}

.v2-media-lightbox-caption {
  align-self: center;
  max-width: min(72rem, 100%);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms ease 60ms, transform 300ms cubic-bezier(0.22, 1, 0.36, 1) 60ms;
}

.v2-media-lightbox.is-open .v2-media-lightbox-caption {
  opacity: 1;
  transform: translateY(0);
}

body.v2-media-lightbox-open {
  overflow: hidden;
}

.v2-pill {
  border-radius: 999px;
}

.v2-auth-card {
  max-width: 28rem;
  width: 100%;
}

.v2-auth-sso-button {
  justify-content: flex-start;
  gap: 0.7rem;
  padding-inline: 0.95rem;
  border-color: rgba(124, 139, 161, 0.22);
  background: #fff;
  color: #24324a;
}

.v2-auth-sso-button:hover,
.v2-auth-sso-button:focus-visible {
  border-color: rgba(32, 107, 196, 0.28);
  background: rgba(32, 107, 196, 0.04);
  color: #1c2d44;
}

.v2-auth-sso-button .ti {
  font-size: 1rem;
}

.v2-tenant-badge {
  max-width: 14rem;
}

.v2-sidebar-footer .nav-link {
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .v2-scroll-card,
  .v2-scroll-panel {
    max-height: none;
  }

  .v2-page-content {
    min-height: auto;
  }

  .v2-topbar .input-icon {
    min-width: 0;
  }

  .v2-sidebar.navbar-vertical.navbar-expand-lg {
    width: auto;
    min-width: 0;
    box-shadow: none;
  }

  .v2-sidebar::after {
    display: none;
  }

  .v2-sidebar.navbar-vertical.navbar-expand-lg ~ .page-wrapper,
  .v2-sidebar.navbar-vertical.navbar-expand-lg ~ .navbar,
  .v2-app .page-wrapper {
    margin-left: 0 !important;
  }

  .v2-notes-page {
    grid-template-columns: 1fr;
  }

  .v2-notes-resizer {
    display: none;
  }

  .v2-notes-pane--list {
    min-height: 18rem;
    border-right: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  }

  .v2-notes-editor-toolbar,
  .v2-notes-note-statusline {
    flex-direction: column;
    align-items: stretch;
  }

  .v2-notes-editor-inner {
    width: 100%;
    padding: 0.1rem 1rem 1.2rem;
  }
}

.v2-sidebar {
  background: rgba(255, 255, 255, 0.9);
}

.v2-brand {
  gap: 0;
  padding: 0.8rem 0.15rem 0.45rem;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
}

.v2-sidebar-tenant-switcher,
.v2-sidebar-tenant-static {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 2.25rem;
  padding: 0.1rem 0.55rem 0.1rem 0.78rem;
  border: 0;
  border-radius: 0;
  color: #1f2a44;
  text-decoration: none;
  box-shadow: none;
}

.v2-sidebar-tenant-content {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  min-width: 0;
}

.v2-sidebar-tenant-logo {
  width: 1.32rem;
  height: 1.32rem;
  flex: 0 0 1.32rem;
  object-fit: contain;
  display: block;
}

.v2-sidebar-tenant-switcher:hover,
.v2-sidebar-tenant-switcher:focus,
.v2-sidebar-tenant-static:hover,
.v2-sidebar-tenant-static:focus {
  color: #1f2a44;
  text-decoration: none;
}

.v2-sidebar-tenant-switcher.dropdown-toggle::after {
  margin-left: 0.45rem;
  opacity: 0.45;
}

.v2-sidebar-tenant-name {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: #1f2a44;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v2-sidebar-tenant-menu {
  min-width: 100%;
}

.v2-sidebar-tenant-wrap {
  flex: 1 1 auto;
  min-width: 0;
}

.v2-sidebar-compact-toggle {
  --tblr-btn-color: #5c6880;
  --tblr-btn-bg: transparent;
  --tblr-btn-border-color: transparent;
  --tblr-btn-hover-color: #1f2a44;
  --tblr-btn-hover-bg: rgba(32, 107, 196, 0.08);
  --tblr-btn-hover-border-color: transparent;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  margin-left: auto;
  border-radius: 0.55rem;
  box-shadow: none;
}

.v2-sidebar-compact-icon {
  position: relative;
  display: inline-block;
  width: 1.08rem;
  height: 1rem;
  border: 1.7px solid currentColor;
  border-radius: 0.28rem;
  transition: transform 140ms ease, color 140ms ease;
}

.v2-sidebar-compact-icon::before {
  content: '';
  position: absolute;
  top: 0.12rem;
  bottom: 0.12rem;
  left: 0.36rem;
  width: 0.1rem;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.92;
}

.v2-sidebar-compact-icon::after {
  content: '';
  position: absolute;
  top: 0.12rem;
  bottom: 0.12rem;
  left: 0.12rem;
  width: 0.18rem;
  border-radius: 0.16rem;
  background: currentColor;
  opacity: 0.14;
}

.v2-sidebar-compact-toggle.is-compact .v2-sidebar-compact-icon,
.v2-sidebar-compact-icon.is-compact {
  transform: scaleX(-1);
}

.v2-sidebar-user-card .card-body {
  padding: 0.72rem 0.7rem;
  overflow: visible;
}

.v2-sidebar-user-row {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  min-width: 0;
}

.v2-sidebar-user-avatar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 999px;
}

.v2-sidebar-user-avatar-btn:focus-visible {
  outline: 2px solid rgba(32, 107, 196, 0.38);
  outline-offset: 3px;
}

.v2-sidebar-user-avatar-btn .avatar {
  display: block;
}

.v2-sidebar-user-meta {
  flex: 1 1 auto;
  min-width: 0;
}

.v2-sidebar-user-menu {
  width: 100%;
  position: relative;
}

.v2-sidebar-user-menu-btn {
  --tblr-btn-color: #5c6880;
  --tblr-btn-bg: transparent;
  --tblr-btn-border-color: transparent;
  --tblr-btn-hover-color: #1f2a44;
  --tblr-btn-hover-bg: rgba(32, 107, 196, 0.08);
  --tblr-btn-hover-border-color: transparent;
  width: 2rem;
  height: 2rem;
  margin-left: auto;
  border-radius: 0.55rem;
  box-shadow: none;
}

.v2-sidebar-user-menu-panel {
  position: absolute;
  left: calc(100% + 0.7rem);
  right: auto;
  bottom: -0.25rem;
  z-index: 20;
  display: grid;
  gap: 0.15rem;
  min-width: 15rem;
  max-width: min(16.75rem, calc(100vw - 1.5rem));
  padding: 0.4rem;
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.2rem) scale(0.98);
  transform-origin: bottom left;
  transition: opacity 120ms ease, transform 140ms ease;
}

.v2-sidebar-user-menu.is-open .v2-sidebar-user-menu-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.v2-sidebar-user-menu-item {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.62rem 0.7rem;
  border-radius: 0.7rem;
  color: #334155;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

.v2-sidebar-user-menu-item:hover,
.v2-sidebar-user-menu-item:focus-visible {
  background: rgba(32, 107, 196, 0.08);
  color: var(--tblr-primary);
  outline: none;
}

.v2-sidebar-user-menu-item i {
  font-size: 1rem;
  color: currentColor;
}

.v2-sidebar-user-menu-item span {
  min-width: 0;
}

.v2-sidebar-section--top {
  margin-top: 0.15rem;
}

.v2-sidebar-section--top .navbar-nav {
  gap: 0.1rem;
}

.v2-sidebar-top-item .nav-link {
  padding: 0.28rem 0.55rem;
  min-height: 1.85rem;
  color: #4f5d73;
}

.v2-sidebar-top-item .nav-link:hover,
.v2-sidebar-top-item .nav-link:focus {
  color: #1f2a44;
}

.v2-sidebar-top-item .nav-link-title {
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0;
}

.v2-sidebar-top-item.active .nav-link {
  background: rgba(32, 107, 196, 0.08);
  color: #1f2a44;
}

.v2-sidebar-top-item.active .nav-link-title {
  font-weight: 700;
}

.v2-sidebar .navbar-collapse {
  overflow: visible !important;
}

.v2-sidebar-scroll {
  min-height: 0;
}

.v2-sidebar-footer {
  flex: 0 0 auto;
}

.v2-sidebar .navbar-nav {
  gap: 0;
}

.v2-sidebar-section + .v2-sidebar-section {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(159, 173, 194, 0.22);
}

.v2-sidebar-context-card {
  padding: 0.35rem 0 0.35rem 0.75rem;
}

.v2-sidebar-context-label {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.v2-sidebar-context-title {
  font-size: 0.82rem;
}

.v2-sidebar .nav-link {
  padding: 0.38rem 0.55rem;
  min-height: 2rem;
}

.v2-sidebar .nav-link-title {
  font-size: 0.88rem;
}

@media (min-width: 992px) {
  .v2-sidebar.navbar-vertical.navbar-expand-lg {
    overflow: visible !important;
  }

  .v2-sidebar.navbar-vertical.navbar-expand-lg > [class^='container'] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: 100vh;
    overflow: visible;
  }

  .v2-sidebar .navbar-collapse {
    display: flex !important;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    overflow: visible !important;
  }

  .v2-sidebar-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: visible;
    overflow-y: auto;
    padding-bottom: 1.25rem;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
  }

  .v2-sidebar-scroll::-webkit-scrollbar {
    width: 8px;
  }

  .v2-sidebar-scroll::-webkit-scrollbar-track {
    background: transparent;
  }

  .v2-sidebar-scroll::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 999px;
  }

  .v2-sidebar:hover .v2-sidebar-scroll {
    scrollbar-color: rgba(124, 139, 161, 0.3) transparent;
  }

  .v2-sidebar:hover .v2-sidebar-scroll::-webkit-scrollbar-thumb {
    background: rgba(124, 139, 161, 0.3);
  }

  .v2-sidebar-footer {
    position: relative;
    z-index: 5;
    margin-top: 0;
    padding-top: 1rem;
    padding-bottom: max(0.85rem, env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.88) 18%, rgba(255, 255, 255, 0.98) 40%);
    backdrop-filter: blur(12px);
    overflow: visible;
  }

  .v2-app.is-sidebar-compact {
    --tblr-navbar-vertical-width: 5.15rem;
  }

  .v2-app.is-sidebar-compact .v2-sidebar.navbar-vertical.navbar-expand-lg ~ .page-wrapper,
  .v2-app.is-sidebar-compact .v2-sidebar.navbar-vertical.navbar-expand-lg ~ .navbar {
    margin-left: var(--tblr-navbar-vertical-width) !important;
  }

  .v2-app.is-sidebar-compact .v2-sidebar.navbar-vertical.navbar-expand-lg > [class^='container'] {
    padding-left: 0.45rem !important;
    padding-right: 0.45rem !important;
  }

  .v2-app.is-sidebar-compact .v2-brand {
    align-items: center;
    gap: 0.28rem;
    padding-inline: 0.15rem;
  }

  .v2-app.is-sidebar-compact .v2-sidebar-compact-toggle,
  .v2-app.is-sidebar-compact .v2-sidebar-user-menu-btn {
    width: 1.9rem;
    height: 1.9rem;
  }

  .v2-app.is-sidebar-compact .v2-sidebar-compact-toggle {
    display: none;
  }

  .v2-app.is-sidebar-compact .v2-sidebar-tenant-wrap {
    flex: 0 1 auto;
  }

  .v2-app.is-sidebar-compact .v2-sidebar-tenant-switcher,
  .v2-app.is-sidebar-compact .v2-sidebar-tenant-static {
    justify-content: center;
    width: auto;
    padding: 0.1rem 0.25rem;
    cursor: pointer;
  }

  .v2-app.is-sidebar-compact .v2-sidebar-tenant-name,
  .v2-app.is-sidebar-compact .v2-sidebar-tenant-switcher.dropdown-toggle::after,
  .v2-app.is-sidebar-compact .v2-menu-label,
  .v2-app.is-sidebar-compact .v2-sidebar-context-card,
  .v2-app.is-sidebar-compact .v2-sidebar-docs,
  .v2-app.is-sidebar-compact .v2-sidebar-notes,
  .v2-app.is-sidebar-compact .v2-sidebar-user-meta {
    display: none !important;
  }

  .v2-app.is-sidebar-compact .v2-sidebar-section + .v2-sidebar-section {
    margin-top: 0.6rem;
    padding-top: 0.6rem;
  }

  .v2-app.is-sidebar-compact .v2-sidebar .nav-link {
    justify-content: center;
    padding: 0.5rem 0.35rem;
  }

  .v2-app.is-sidebar-compact .v2-sidebar .nav-link-icon {
    width: 1.35rem;
    min-width: 1.35rem;
    margin-right: 0;
    font-size: 1.05rem;
    text-align: center;
  }

  .v2-app.is-sidebar-compact .v2-sidebar-user-card {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
  }

  .v2-app.is-sidebar-compact .v2-sidebar-user-card .card-body {
    padding: 0.35rem 0;
  }

  .v2-app.is-sidebar-compact .v2-sidebar-user-row {
    justify-content: center;
    gap: 0;
    flex-wrap: nowrap;
  }

  .v2-app.is-sidebar-compact .v2-sidebar-user-menu {
    display: flex;
    justify-content: center;
  }

  .v2-app.is-sidebar-compact .v2-sidebar-user-menu-btn {
    display: none;
  }

  .v2-app.is-sidebar-compact .v2-sidebar-user-avatar-btn {
    cursor: pointer;
  }

  .v2-app.is-sidebar-compact .v2-sidebar-user-menu-panel {
    left: calc(100% + 0.5rem);
    right: auto;
  }

  .v2-app.is-sidebar-compact .v2-sidebar-footer {
    padding-top: 0.75rem !important;
  }

  .v2-app.is-sidebar-compact .v2-sidebar-scroll {
    padding-bottom: 0.85rem;
  }
}

.v2-sidebar-docs,
.v2-sidebar-notes {
  margin-top: 0.15rem;
  margin-left: 1.35rem;
  padding-left: 0.35rem;
}

.v2-doc-tree-wrap {
  display: grid;
  gap: 0.15rem;
}

.v2-doc-tree-level {
  list-style: none;
  margin: 0;
  padding: 0 0 0 0.55rem;
  border-left: 1px solid rgba(159, 173, 194, 0.35);
}

.v2-doc-tree-level[data-doc-parent-id=""] {
  padding-left: 0;
  border-left: 0;
}

.v2-doc-tree-item {
  position: relative;
  padding: 0.1rem 0 0.1rem 0.2rem;
}

.v2-doc-tree-item:not(.is-open) > .v2-doc-tree-level {
  display: none;
}

.v2-doc-tree-row {
  display: flex;
  align-items: flex-start;
  gap: 0.12rem;
}

.v2-doc-tree-toggle,
.v2-doc-tree-spacer {
  width: 1rem;
  min-width: 1rem;
  height: 1.65rem;
  margin-top: 0.08rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.v2-doc-tree-toggle {
  padding: 0;
  border: 0;
  background: transparent;
  color: #7c8ba1;
  border-radius: 0.3rem;
}

.v2-doc-tree-toggle:hover {
  background: rgba(32, 107, 196, 0.08);
  color: var(--tblr-primary);
}

.v2-doc-tree-toggle i {
  font-size: 0.82rem;
  transition: transform 0.16s ease, color 0.16s ease;
}

.v2-doc-tree-item.is-open > .v2-doc-tree-row .v2-doc-tree-toggle i {
  transform: rotate(90deg);
}

.v2-doc-tree-item.is-dragging {
  opacity: 0.45;
}

.v2-doc-tree-item.is-drop-over > .v2-doc-tree-row > .v2-sidebar-doc-link {
  background: rgba(32, 107, 196, 0.14);
  color: var(--tblr-primary);
}

.v2-doc-tree-item.is-drop-before::before,
.v2-doc-tree-item.is-drop-after::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0.2rem;
  height: 2px;
  background: var(--tblr-primary);
  border-radius: 999px;
}

.v2-doc-tree-item.is-drop-before::before {
  top: -1px;
}

.v2-doc-tree-item.is-drop-after::after {
  bottom: -1px;
}

.v2-sidebar-doc-link {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 1.9rem;
  padding: 0.18rem 0.45rem;
  font-size: 0.82rem;
  gap: 0.35rem;
}

.v2-sidebar-doc-link span {
  display: block;
  min-width: 0;
  line-height: 1.28;
}

.v2-sidebar-doc-link i {
  font-size: 0.9rem;
}

.v2-doc-export-form {
  color: #2f3440;
}

.v2-doc-export-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  min-height: 2.25rem;
  align-items: center;
}

.v2-doc-export-page-box {
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 0.9rem;
  padding: 0.9rem;
  background: rgba(248, 250, 252, 0.82);
}

.v2-doc-export-page-list {
  max-height: min(42vh, 25rem);
  overflow: auto;
  display: grid;
  gap: 0.18rem;
  padding-right: 0.25rem;
}

.v2-doc-export-page {
  margin: 0;
  padding: 0.35rem 0.45rem 0.35rem calc(0.45rem + (var(--depth, 0) * 1rem));
  border-radius: 0.55rem;
}

.v2-doc-export-page:hover {
  background: rgba(32, 107, 196, 0.07);
}

.v2-doc-importer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: stretch;
}

.v2-doc-importer-drop {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  min-width: 0;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 0.9rem;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.96), rgba(239, 246, 255, 0.82));
}

.v2-doc-importer-icon {
  width: 2.65rem;
  height: 2.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.85rem;
  background: rgba(32, 107, 196, 0.1);
  color: var(--tblr-primary);
  font-size: 1.35rem;
  flex: 0 0 auto;
}

.v2-doc-importer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
  align-content: center;
}

.v2-workspace-docs-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.v2-workspace-docs-list {
  max-height: 22rem;
  overflow: auto;
  display: grid;
  gap: 0.25rem;
  padding-right: 0.25rem;
}

.v2-workspace-doc-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
  padding: 0.55rem 0.65rem 0.55rem calc(0.65rem + (var(--depth, 0) * 1rem));
  border: 1px solid transparent;
  border-radius: 0.75rem;
  cursor: pointer;
}

.v2-workspace-doc-row:hover {
  border-color: rgba(32, 107, 196, 0.18);
  background: rgba(32, 107, 196, 0.06);
}

.v2-workspace-doc-row-main {
  min-width: 0;
  display: grid;
  gap: 0.12rem;
}

@media (max-width: 768px) {
  .v2-doc-importer-grid {
    grid-template-columns: 1fr;
  }

  .v2-doc-importer-actions {
    justify-content: flex-start;
  }
}

.v2-doc-page {
  background: transparent;
  width: 100%;
}

.v2-doc-toolbar-area {
  background: #f1f4f8;
  border: 0;
  border-bottom: 1px solid rgba(220, 225, 234, 0.9);
  border-radius: 0;
  padding: 0;
}

.v2-doc-toolbar-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.v2-doc-toolbar-actions {
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.v2-doc-shell {
  max-width: 1320px;
  margin: 0 auto;
}

.v2-doc-shell--toolbar {
  padding: 0.7rem 3rem 0.95rem;
}

.v2-doc-shell--canvas {
  padding: 1.45rem 3rem 2.2rem;
}

.v2-doc-page-intro {
  flex: 1 1 52rem;
  min-width: 0;
  display: grid;
  gap: 0.35rem;
}

.v2-doc-kind {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a697f;
}

.v2-doc-title {
  margin: 0;
  font-size: clamp(1.7rem, 2.3vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: min(68rem, 100%);
  color: #22324b;
  font-weight: 700;
}

.v2-doc-title-input {
  width: min(68rem, 100%);
  max-width: 100%;
  min-width: 0;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 700;
  color: #22324b;
  border: none;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
  background: transparent;
}

.v2-doc-title-input:focus {
  background: transparent;
  box-shadow: none;
}

.v2-doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  color: #64758b;
  font-size: 0.82rem;
  font-weight: 500;
}

.v2-doc-meta code {
  font-size: 0.85em;
}

.v2-doc-canvas {
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.v2-doc-main-grid {
  display: grid;
  gap: 1.5rem;
}

.v2-doc-main-grid.has-aside {
  grid-template-columns: minmax(0, 1fr) 16rem;
  align-items: start;
}

.v2-doc-article {
  min-width: 0;
}

.v2-doc-content {
  min-height: 36rem;
  line-height: 1.8;
  font-size: 0.94rem;
  overflow-wrap: anywhere;
}

.v2-doc-content > :first-child {
  margin-top: 0;
}

.v2-doc-children-aside {
  position: sticky;
  top: 6rem;
}

.v2-doc-children-card {
  overflow: hidden;
  box-shadow: none;
}

.v2-doc-children-card summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  cursor: pointer;
  font-weight: 700;
  border-bottom: 1px solid var(--tblr-border-color);
}

.v2-doc-children-card summary::-webkit-details-marker {
  display: none;
}

.v2-doc-children-card summary::marker {
  content: '';
}

.v2-doc-comments-section {
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(220, 225, 234, 0.75);
}

.v2-comment-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.v2-comment-section-header h3 {
  font-size: 1rem;
  font-weight: 650;
}

.v2-comment-form {
  margin: 0;
}

.v2-comment-composer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
}

.v2-comment-composer-avatar .avatar {
  box-shadow: none;
}

.v2-comment-composer-main {
  border: 1px solid rgba(216, 223, 235, 0.82);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
  overflow: hidden;
}

.v2-comment-input-shell {
  padding: 0.85rem 0.95rem 0.4rem;
}

.v2-comment-form textarea {
  min-height: 5.6rem;
  resize: none;
  border: 0;
  box-shadow: none;
  padding: 0;
  background: transparent;
  font-size: 0.92rem;
  line-height: 1.6;
}

.v2-comment-form textarea:focus {
  box-shadow: none;
}

.v2-comment-composer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.65rem 0.95rem 0.75rem;
  border-top: 1px solid rgba(223, 229, 239, 0.72);
  background: transparent;
}

.v2-comment-list {
  display: grid;
  gap: 0;
}

.v2-comment-card {
  border: 0;
  border-top: 1px solid rgba(220, 226, 236, 0.82);
  border-radius: 0;
  padding: 1rem 0;
  background: transparent;
  box-shadow: none;
}

.v2-comment-card:first-child {
  border-top: 0;
  padding-top: 0.15rem;
}

.v2-comment-card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.v2-comment-card-meta {
  min-width: 0;
}

.v2-comment-card-author {
  font-weight: 600;
  color: #223043;
}

.v2-comment-card-time {
  margin-top: 0.1rem;
  color: #748196;
  font-size: 0.77rem;
}

.v2-comment-body {
  margin-top: 0.55rem;
  line-height: 1.6;
}

.v2-comment-bubble {
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: #2d3b50;
}

.v2-comment-empty {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 0;
  border: 0;
  border-top: 1px solid rgba(220, 226, 236, 0.82);
  border-bottom: 1px solid rgba(220, 226, 236, 0.82);
  border-radius: 0;
  background: transparent;
}

.v2-comment-empty-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(32, 107, 196, 0.08);
  color: var(--tblr-primary);
  font-size: 1.05rem;
}

.v2-comment-emoji-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.v2-comment-emoji-row .btn {
  min-width: 2.2rem;
  border-radius: 999px;
  border-color: rgba(216, 223, 235, 0.78);
  background: rgba(248, 250, 253, 0.85);
}

.v2-comment-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-left: auto;
}

@media (max-width: 767.98px) {
  .v2-comment-composer {
    grid-template-columns: 1fr;
  }

  .v2-comment-composer-avatar {
    display: none;
  }

  .v2-comment-composer-footer {
    align-items: stretch;
  }

  .v2-comment-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

.v2-version-list {
  display: grid;
  gap: 0.85rem;
}

.v2-version-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(220, 226, 236, 0.95);
  border-radius: 0.95rem;
  background: rgba(248, 250, 253, 0.92);
}

.v2-version-entry-main {
  min-width: 0;
}

.v2-version-entry-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.2rem;
}

.v2-version-compare-meta {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
  color: #5e6b80;
  font-size: 0.88rem;
}

.v2-version-compare-body {
  border: 1px solid rgba(223, 229, 239, 0.92);
  border-radius: 1rem;
  padding: 1rem;
  background: #fff;
  max-height: 28rem;
  overflow: auto;
}

.v2-version-compare-body--file {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 18rem;
}

.v2-version-compare-body--file img {
  max-width: 100%;
  max-height: 22rem;
  border-radius: 0.9rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

@media (max-width: 767.98px) {
  .v2-version-entry {
    flex-direction: column;
    align-items: stretch;
  }
}

.v2-doc-bottom-nav {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(220, 225, 234, 0.9);
}

.v2-doc-editor-shell {
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.v2-word-toolbar {
  display: block;
  padding: 0;
  background: #fff;
  border: 1px solid rgba(214, 221, 232, 0.95);
  border-radius: 0;
  overflow: hidden;
}

.v2-toolbar-flat-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  min-height: 3rem;
  padding: 0.35rem 0.45rem;
}

.v2-toolbar-flat-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.1rem;
}

.v2-toolbar-flat-group--select {
  min-width: 10rem;
}

.v2-toolbar-divider {
  width: 1px;
  align-self: stretch;
  margin: 0.15rem 0.45rem;
  background: rgba(214, 221, 232, 0.95);
}

.v2-word-toolbar .btn,
.v2-word-toolbar .form-select {
  border: 0;
  box-shadow: none;
}

.v2-word-toolbar .form-select {
  min-width: 10.5rem;
  background-color: transparent;
  background-position: right 0.55rem center;
  padding-right: 1.9rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.v2-word-toolbar .btn {
  background: transparent;
  color: #3f4e63;
  border-radius: 0.4rem;
  min-height: 2.2rem;
  min-width: 2.2rem;
  padding-inline: 0.55rem;
}

.v2-word-toolbar .btn:hover,
.v2-word-toolbar .btn:focus {
  background: rgba(32, 107, 196, 0.08);
  color: var(--tblr-primary);
}

.v2-word-toolbar .btn.is-active {
  background: rgba(32, 107, 196, 0.14);
  color: #174a86;
}

.v2-toolbar-letter {
  min-width: 2.15rem;
  padding-inline: 0.45rem !important;
  font-size: 0.98rem;
  font-weight: 700;
}

.v2-toolbar-underlined {
  text-decoration: underline;
}

.v2-toolbar-strike {
  text-decoration: line-through;
  font-size: 0.84rem;
}

.v2-doc-editor {
  min-height: 34rem;
  padding: 1rem 0 2rem;
  font-size: 0.93rem;
  line-height: 1.72;
}

.v2-doc-editor img,
.v2-doc-content img {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.v2-macro {
  border-radius: 1rem;
  padding: 1rem 1.1rem;
}

.v2-macro-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}

.v2-code-block {
  position: relative;
  margin: 1.15rem 0;
  background: #fff;
  color: #1f2937;
  border: 1px solid #d6e1ef;
  border-left: 4px solid #5da8ff;
  border-radius: 0.4rem;
  padding: 0;
  overflow: auto;
  box-shadow: none;
  white-space: pre;
  word-break: normal;
  tab-size: 2;
}

.v2-code-actions {
  position: absolute;
  top: 0.65rem;
  right: 0.7rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  opacity: 0;
  transition: opacity 120ms ease;
}

.v2-code-block:hover .v2-code-actions,
.v2-code-block:focus-within .v2-code-actions {
  opacity: 1;
}

.v2-code-action {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  height: 1.65rem;
  padding: 0 0.48rem;
  border: 1px solid rgba(203, 213, 225, 0.78);
  border-radius: 0.42rem;
  background: rgba(255, 255, 255, 0.92);
  color: #475569;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.v2-code-action:hover,
.v2-code-action:focus {
  border-color: rgba(32, 107, 196, 0.28);
  background: #fff;
  color: #174a86;
}

.v2-code-action--danger:hover,
.v2-code-action--danger:focus {
  border-color: rgba(214, 57, 57, 0.28);
  color: #b42323;
}

.v2-code-action.is-done {
  border-color: rgba(34, 197, 94, 0.28);
  color: #15803d;
}

.v2-code-action.is-error {
  border-color: rgba(214, 57, 57, 0.28);
  color: #b42323;
}

.v2-rich-editor pre.v2-code-block,
.v2-doc-content pre.v2-code-block {
  position: relative;
  margin: 1.15rem 0;
  padding: 0;
  overflow: auto;
  background: #fff;
  color: #1f2937;
  border: 1px solid #d6e1ef;
  border-left: 4px solid #5da8ff;
  border-radius: 0.4rem;
  box-shadow: none;
  white-space: pre;
  word-break: normal;
  tab-size: 2;
}

.v2-code-table {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  width: max-content;
  min-width: 100%;
  align-items: start;
  font-family: "SFMono-Regular", "Cascadia Code", "Liberation Mono", Menlo, Consolas, monospace;
  font-size: 0.88rem;
  line-height: 1.56;
}

.v2-code-line-numbers {
  display: block;
  min-width: 3.2rem;
  padding: 0.08rem 0.75rem 0.08rem 0.6rem;
  background-color: #fbfcfe;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(72, 123, 198, 0.045) 0,
    rgba(72, 123, 198, 0.045) 1.56em,
    transparent 1.56em,
    transparent 3.12em
  );
  color: #7a8798;
  text-align: right;
  user-select: none;
  border-right: 1px solid #dbe4ef;
  white-space: pre;
}

.v2-code-code {
  display: block;
  min-width: max-content;
  min-height: 0;
  padding: 0.08rem 4.4rem 0.08rem 0.8rem;
  background-color: #fff;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(72, 123, 198, 0.045) 0,
    rgba(72, 123, 198, 0.045) 1.56em,
    transparent 1.56em,
    transparent 3.12em
  );
  color: #1f2937;
  outline: none;
  white-space: pre;
}

.v2-rich-editor .v2-code-code,
.v2-doc-content .v2-code-code {
  white-space: pre;
  word-break: normal;
}

.v2-rich-editor :where(p, li, td, th, blockquote) code,
.v2-doc-content :where(p, li, td, th, blockquote) code {
  display: inline;
  margin: 0;
  padding: 0.02rem 0.3rem 0.05rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 0.35rem;
  background: rgba(148, 163, 184, 0.11);
  color: #334155;
  font-family: "SFMono-Regular", "Cascadia Code", "Liberation Mono", Menlo, Consolas, monospace;
  font-size: 0.82em;
  line-height: inherit;
  vertical-align: baseline;
  white-space: break-spaces;
  word-break: break-word;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.v2-rich-editor.v2-notes-editor :where(div, p, li, td, th, blockquote) code {
  display: inline;
  margin: 0;
  padding: 0.08rem 0.16rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-family: "SFMono-Regular", "Cascadia Code", "Liberation Mono", Menlo, Consolas, monospace;
  font-size: 0.86em;
  line-height: inherit;
  vertical-align: baseline;
  white-space: break-spaces;
  overflow-wrap: anywhere;
  word-break: break-word;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.v2-code-code.hljs {
  background: #fff;
  color: #1f2937;
}

.v2-code-code .hljs-comment,
.v2-code-code .hljs-quote {
  color: #22b14c;
  font-style: italic;
}

.v2-code-code .hljs-keyword,
.v2-code-code .hljs-built_in,
.v2-code-code .hljs-type {
  color: #245bda;
  font-weight: 700;
}

.v2-code-code .hljs-selector-tag,
.v2-code-code .hljs-selector-class,
.v2-code-code .hljs-selector-id,
.v2-code-code .hljs-selector-pseudo,
.v2-code-code .hljs-selector-attr {
  color: #45a438;
}

.v2-code-code .hljs-string,
.v2-code-code .hljs-regexp,
.v2-code-code .hljs-symbol {
  color: #2d74f2;
}

.v2-code-code .hljs-number,
.v2-code-code .hljs-literal {
  color: #d946ef;
}

.v2-code-code .hljs-title,
.v2-code-code .hljs-title.function_,
.v2-code-code .hljs-function .hljs-title {
  color: #1f4fd1;
}

.v2-code-code .hljs-params,
.v2-code-code .hljs-variable,
.v2-code-code .hljs-template-variable {
  color: #374151;
}

.v2-code-code .hljs-meta,
.v2-code-code .hljs-meta .hljs-keyword,
.v2-code-code .hljs-doctag {
  color: #1bb34a;
  font-weight: 600;
}

.v2-code-code .hljs-attr,
.v2-code-code .hljs-attribute,
.v2-code-code .hljs-property {
  color: #ef5b4c;
}

.v2-code-code .hljs-tag,
.v2-code-code .hljs-name {
  color: #c2255c;
}

.macro-diagram {
  border: 0;
  border-radius: 0;
  overflow: visible;
  margin: 1.25rem 0;
  background: transparent;
  box-shadow: none;
}

.macro-diagram-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0 0.55rem;
  border-bottom: 0;
  background: transparent;
}

.macro-diagram-title {
  font-size: 0.98rem;
  font-weight: 700;
}

.macro-diagram-view {
  padding: 0;
  pointer-events: none;
}

.macro-diagram-view img,
.macro-diagram-view svg,
.macro-diagram-view canvas {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  pointer-events: none;
  user-select: none;
}

.macro-diagram-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 12rem;
  color: var(--tblr-secondary);
  background: rgba(244, 246, 251, 0.55);
  border-radius: 0.8rem;
}

.macro-diagram-menu {
  position: relative;
}

.macro-diagram-menu-trigger {
  list-style: none;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(220, 225, 234, 0.9);
  border-radius: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  cursor: pointer;
}

.macro-diagram-menu-trigger:hover,
.macro-diagram-menu.is-open .macro-diagram-menu-trigger {
  border-color: rgba(32, 107, 196, 0.35);
  color: var(--tblr-primary);
}

.macro-diagram-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  min-width: 12rem;
  font-size: 0.9rem;
  background: #fff;
  border: 1px solid rgba(220, 225, 234, 0.98);
  border-radius: 0.85rem;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16);
  padding: 0.35rem;
  display: none;
  z-index: 20;
}

.macro-diagram-menu.is-open .macro-diagram-menu-panel {
  display: block;
}

.macro-diagram-menu-panel button {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 0.7rem;
  padding: 0.6rem 0.7rem;
  font: inherit;
  line-height: 1.2;
  cursor: pointer;
}

.macro-diagram-menu-panel button:hover {
  background: rgba(32, 107, 196, 0.08);
}

.macro-diagram-menu-panel button.is-danger,
.media-overlay-menu-panel button.is-danger,
.v2-editor-link-popover-panel button.is-danger {
  color: #d63939;
}

.macro-diagram-menu-panel button.is-danger:hover,
.media-overlay-menu-panel button.is-danger:hover,
.v2-editor-link-popover-panel button.is-danger:hover {
  background: rgba(214, 57, 57, 0.08);
  color: #b42323;
}

.v2-rich-editor a {
  cursor: pointer;
}

.v2-rich-editor a.v2-editor-link-active {
  border-radius: 0.45rem;
  background: rgba(37, 99, 235, 0.12);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
}

.v2-rich-editor img,
.v2-rich-editor .macro-diagram {
  transition: box-shadow 120ms ease, outline-color 120ms ease, opacity 120ms ease;
}

.v2-rich-editor img.v2-media-selected,
.v2-rich-editor .macro-diagram.v2-media-selected {
  outline: 2px solid rgba(32, 107, 196, 0.45);
  outline-offset: 4px;
  box-shadow: 0 0 0 6px rgba(32, 107, 196, 0.08), 0 10px 28px rgba(15, 23, 42, 0.08);
}

.media-resize-overlay {
  position: absolute;
  z-index: 1080;
  display: none;
  align-items: flex-end;
  gap: 0.45rem;
  transform: translate(-100%, -100%);
  margin-top: 10px;
  padding-right: 5px !important;
}

.media-resize-overlay.is-open {
  display: flex;
}

.v2-editor-link-popover {
  position: absolute;
  z-index: 1080;
  display: none;
}

.v2-editor-link-popover.is-open {
  display: block;
}

.v2-editor-link-popover-panel {
  min-width: 12rem;
  background: #fff;
  border: 1px solid rgba(220, 225, 234, 0.98);
  border-radius: 0.85rem;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16);
  padding: 0.35rem;
}

.v2-editor-link-popover-panel button {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 0.7rem;
  padding: 0.6rem 0.7rem;
  font: inherit;
  cursor: pointer;
}

.v2-editor-link-popover-panel button:hover {
  background: rgba(32, 107, 196, 0.08);
}

.media-overlay-menu {
  position: relative;
}

.media-overlay-menu-trigger {
  list-style: none;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(220, 225, 234, 0.92);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.96);
  color: #3f3f46;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.24);
}

.media-overlay-menu-trigger::-webkit-details-marker {
  display: none;
}

.media-overlay-menu-trigger::marker {
  content: '';
}

.media-overlay-menu-trigger:hover,
.media-overlay-menu[open] .media-overlay-menu-trigger {
  background: rgba(255, 255, 255, 1);
  color: var(--tblr-primary);
}

.media-overlay-menu-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.5rem);
  min-width: 12rem;
  background: #fff;
  border: 1px solid rgba(220, 225, 234, 0.98);
  border-radius: 0.85rem;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16);
  padding: 0.35rem;
  display: none;
  z-index: 20;
}

.media-overlay-menu[open] .media-overlay-menu-panel {
  display: block;
}

.media-overlay-menu-panel button {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 0.7rem;
  padding: 0.6rem 0.7rem;
  font: inherit;
  cursor: pointer;
}

.media-overlay-menu-panel button:hover {
  background: rgba(32, 107, 196, 0.08);
}

.media-resize-overlay .media-resize-handle {
  width: 1rem;
  height: 1rem;
  background: var(--tblr-primary);
  border: 2px solid #fff;
  border-radius: 0.35rem;
  cursor: nwse-resize;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.24);
}

.v2-rich-editor .is-block-dragging {
  opacity: 0.55;
}

.v2-rich-editor .v2-media-drop-before {
  box-shadow: inset 0 3px 0 var(--tblr-primary);
}

.v2-rich-editor .v2-media-drop-after {
  box-shadow: inset 0 -3px 0 var(--tblr-primary);
}

body.block-dragging {
  user-select: none;
  cursor: grabbing;
}

.diagram-editor-screen {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: #f4f7fb;
  transition: opacity 220ms ease, visibility 0s linear 220ms;
}

.diagram-editor-screen.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.diagram-editor-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.3rem;
  border-bottom: 1px solid rgba(220, 225, 234, 0.98);
  background: #fff;
  transform: translateY(-12px);
  opacity: 0;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease;
}

.diagram-editor-title-group {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.diagram-editor-title {
  font-size: 1.2rem;
  line-height: 1.1;
}

.diagram-editor-name {
  min-width: min(26rem, 45vw);
}

.diagram-editor-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.diagram-editor-shell {
  flex: 1 1 auto;
  min-height: 0;
  transform: translateY(18px);
  opacity: 0;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
}

.diagram-editor-screen.is-open .diagram-editor-topbar,
.diagram-editor-screen.is-open .diagram-editor-shell {
  transform: translateY(0);
  opacity: 1;
}

.diagram-editor-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #fff;
}

body.diagram-editor-open {
  overflow: hidden;
}

.slash-command-menu {
  position: absolute;
  z-index: 1200;
  display: none;
  min-width: 18rem;
  max-width: min(24rem, calc(100vw - 1rem));
  max-height: min(24rem, calc(100vh - 1rem));
  overflow: auto;
  background: #fff;
  border: 1px solid rgba(220, 225, 234, 0.98);
  border-radius: 1rem;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.18);
  padding: 0.45rem;
}

.slash-command-menu.is-open {
  display: block;
}

.slash-command-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0.45rem 0.6rem;
  color: var(--tblr-secondary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.slash-command-main {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  text-align: left;
}

.slash-command-main strong {
  font-size: 0.92rem;
  color: var(--tblr-body-color);
}

.slash-command-main small {
  color: var(--tblr-secondary);
}

.slash-command-preview {
  display: block;
  margin-top: 0.15rem;
  line-height: 1.35;
}

.slash-command-item {
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: 0.85rem;
  padding: 0.65rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
  cursor: pointer;
}

.slash-command-item:hover,
.slash-command-item.is-active {
  background: rgba(32, 107, 196, 0.08);
}

.slash-command-item .hint {
  margin-left: auto;
  color: var(--tblr-secondary);
  font-size: 0.75rem;
  align-self: flex-start;
}

@media (max-width: 1199.98px) {
  .v2-doc-main-grid.has-aside {
    grid-template-columns: minmax(0, 1fr);
  }

  .v2-doc-children-aside {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .v2-doc-shell--toolbar,
  .v2-doc-shell--canvas {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }

  .v2-doc-title {
    font-size: 1.5rem;
  }

  .v2-doc-title-input {
    font-size: 1.4rem;
  }

  .diagram-editor-topbar,
  .diagram-editor-title-group {
    flex-direction: column;
    align-items: stretch;
  }

  .diagram-editor-name {
    min-width: 0;
  }
}

.v2-file-embed {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0.75rem;
  background: #f8fafc;
  color: #1d4ed8;
  text-decoration: none;
  font-weight: 600;
}

.v2-file-embed-shell {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
  vertical-align: middle;
}

.v2-file-embed-menu {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}

.v2-file-embed-menu-trigger {
  width: 1.9rem;
  height: 1.9rem;
  border: 1px solid rgba(148, 163, 184, 0.36);
  border-radius: 0.55rem;
  background: #fff;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.v2-file-embed-menu-trigger:hover,
.v2-file-embed-menu.is-open .v2-file-embed-menu-trigger {
  border-color: rgba(32, 107, 196, 0.38);
  color: var(--tblr-primary);
  background: #f8fbff;
}

.v2-file-embed-menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 35;
  min-width: 13.5rem;
  padding: 0.35rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 0.65rem;
  background: #fff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
  display: none;
}

.v2-file-embed-menu.is-open .v2-file-embed-menu-panel {
  display: block;
}

.v2-file-embed-menu-panel a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.5rem;
  color: #334155;
  text-decoration: none;
  white-space: nowrap;
}

.v2-file-embed-menu-panel a:hover {
  background: rgba(32, 107, 196, 0.08);
  color: var(--tblr-primary);
  text-decoration: none;
}

.v2-file-embed-menu-panel i {
  width: 1rem;
  color: currentColor;
}

.v2-file-picker {
  position: fixed;
  inset: 0;
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 0s linear 220ms;
}

.v2-file-picker.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.v2-file-picker-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.36);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 220ms ease, backdrop-filter 260ms ease;
}

.v2-file-picker.is-open .v2-file-picker-backdrop {
  opacity: 1;
  backdrop-filter: blur(6px);
}

.v2-file-picker-dialog {
  position: relative;
  z-index: 1;
  width: min(880px, calc(100vw - 2rem));
  margin: 6vh auto 0;
  max-height: 88vh;
  overflow: hidden;
  transform: translateY(18px) scale(0.985);
  opacity: 0;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
}

.v2-file-picker.is-open .v2-file-picker-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.v2-file-picker-list {
  max-height: 60vh;
  overflow: auto;
}

.v2-file-picker-drop {
  border: 1px dashed rgba(32, 107, 196, 0.38);
  border-radius: 0.5rem;
  padding: 0.75rem;
  text-align: center;
  color: #475569;
  background: #f8fbff;
}

.v2-file-picker-drop.is-drag-over {
  border-color: #206bc4;
  background: #edf4ff;
}

.v2-file-picker-grid {
  display: grid;
  gap: 0.75rem;
}

.v2-file-picker-entry {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0.9rem;
  background: #fff;
  padding: 0.85rem 1rem;
}

.v2-file-picker-entry.is-folder {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: #334155;
}

.v2-file-picker-entry.is-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.v2-file-picker-entry-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.v2-file-table-entry {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.v2-file-table-entry:hover {
  color: inherit;
  text-decoration: none;
}

.v2-file-table-entry--button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.v2-file-table-media {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.8rem;
  overflow: hidden;
  flex: 0 0 2.8rem;
  background: #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #475569;
}

.v2-file-table-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.v2-file-table-media--icon {
  font-size: 1.15rem;
}

.v2-file-table-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0.18rem;
}

.v2-file-table-title {
  font-weight: 600;
  color: #1e293b;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.35;
}

.v2-file-table-meta {
  font-size: 0.78rem;
  color: #64748b;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.v2-file-table-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.v2-file-bulk-toolbar {
  align-items: center;
  gap: 0.75rem;
}

.v2-file-bulk-count {
  color: #475569;
  font-size: 0.85rem;
  font-weight: 600;
}

.v2-file-table-select {
  width: 3rem;
  text-align: center;
}

.v2-files-layout .table-responsive > .table {
  width: 100%;
  table-layout: fixed;
}

.v2-files-layout .table-responsive > .table th,
.v2-files-layout .table-responsive > .table td {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  vertical-align: top;
}

.v2-files-layout .table-responsive > .table th:nth-child(1),
.v2-files-layout .table-responsive > .table td:nth-child(1) {
  width: 4%;
}

.v2-files-layout .table-responsive > .table th:nth-child(2),
.v2-files-layout .table-responsive > .table td:nth-child(2) {
  width: 34%;
}

.v2-files-layout .table-responsive > .table th:nth-child(3),
.v2-files-layout .table-responsive > .table td:nth-child(3) {
  width: 12%;
}

.v2-files-layout .table-responsive > .table th:nth-child(4),
.v2-files-layout .table-responsive > .table td:nth-child(4) {
  width: 16%;
}

.v2-files-layout .table-responsive > .table th:nth-child(5),
.v2-files-layout .table-responsive > .table td:nth-child(5) {
  width: 11%;
}

.v2-files-layout .table-responsive > .table th:nth-child(6),
.v2-files-layout .table-responsive > .table td:nth-child(6) {
  width: 17%;
}

.v2-files-layout .table-responsive > .table th:nth-child(7),
.v2-files-layout .table-responsive > .table td:nth-child(7) {
  width: 10%;
}

.v2-files-layout .table-responsive > .table td .v2-user-inline {
  max-width: 100%;
  align-items: flex-start;
}

.v2-files-layout .table-responsive > .table td .v2-user-inline-name,
.v2-files-layout .table-responsive > .table td .badge {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.v2-files-layout .table-responsive > .table td .btn-list {
  flex-wrap: wrap;
  row-gap: 0.35rem;
}

.v2-files-layout .card {
  height: 100%;
}

.v2-file-detail-preview {
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(226, 232, 240, 0.65), rgba(248, 250, 252, 0.95));
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.v2-file-detail-preview img {
  display: block;
  width: 100%;
  max-height: 22rem;
  object-fit: contain;
  background: #fff;
}

.v2-file-upload-dropzone {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 8.75rem;
  border: 1px dashed rgba(37, 99, 235, 0.32);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.04), rgba(255, 255, 255, 0.95));
  cursor: pointer;
  text-align: center;
  transition: border-color 120ms ease, background-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

.v2-file-upload-dropzone:hover,
.v2-file-upload-dropzone.is-drag-over {
  border-color: rgba(37, 99, 235, 0.62);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.08), rgba(255, 255, 255, 1));
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.v2-file-tree-level {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

.v2-file-tree-level .v2-file-tree-level {
  padding-left: 1rem;
}

.v2-file-tree-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.7rem;
  color: #475569;
  text-decoration: none;
}

.v2-file-tree-link.active,
.v2-file-tree-link:hover {
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
}

.v2-search-file-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.v2-search-file-thumb {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  overflow: hidden;
  flex: 0 0 2.5rem;
  background: #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #475569;
}

.v2-search-file-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.v2-search-file-thumb--icon {
  font-size: 1rem;
}

.v2-file-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.v2-pill-preset i {
  font-size: 0.9em;
}

.v2-acl-row + .v2-acl-row {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.v2-vault-summary-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.v2-vault-summary-copy {
  min-width: 0;
  flex: 1 1 20rem;
}

.v2-vault-summary-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.55rem;
}

.v2-vault-summary-description {
  max-width: 48rem;
  line-height: 1.55;
}

.v2-vault-summary-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.75rem;
  color: #728198;
  font-size: 0.82rem;
}

.v2-vault-summary-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.v2-vault-list-row,
.v2-vault-entry-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: start;
}

.v2-vault-list-copy,
.v2-vault-entry-copy {
  min-width: 0;
}

.v2-vault-list-meta,
.v2-vault-entry-updated {
  min-width: 6.5rem;
  text-align: right;
}

.v2-vault-list-meta .badge {
  vertical-align: top;
}

.v2-vault-secret-value {
  white-space: pre-wrap;
}

.v2-vault-secret-value.is-masked {
  letter-spacing: 0.18em;
  user-select: none;
}

.v2-vault-secret-hint {
  margin-top: 0.55rem;
  color: #728198;
  font-size: 0.79rem;
}

@media (max-width: 767.98px) {
  .v2-vault-list-row,
  .v2-vault-entry-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .v2-vault-list-meta,
  .v2-vault-entry-updated {
    min-width: 0;
    text-align: left;
  }
}
