/* MODIFIED 2023-12-19 */

.theme-dark {
  --window-border: 1px solid var(--window-border-color); /* Thanks Damian K from the Prism theme! */
  --window-border-color: var(--background-secondary-alt);
  color-scheme: dark;
  --background-primary: #2f3136;
  --background-primary-alt: #36393f;
  --background-secondary: #141414;
  --background-secondary-alt: #222222;
  --text-normal: #5dbcd2;
  --text-faint: #999999;
  --text-muted: #aaaaaa;
  --text-selection: #164f92;
  --text-on-accent: #5dbcd2;
  --text-accent: #319cb4;
  --text-error: rgb(244, 105, 188);
  --bold-color: rgb(158, 138, 255);
  --bold-weight: 700;
  --italic-color: rgb(186, 192, 79);
  --h1-color: #c7c400; /* CyberYellow: fcf601, FullYellow: fffb00, H1Yellow: c7c400 */
  --h2-color: #b9adff;
  --h3-color: #52c1da;
  --h4-color: #67c073; /*6fcf7f*/
  --h5-color: #de87ca; /*d8d8d8*/
  --h6-color: #b4b4b4;
  --inline-title-color: rgb(93, 188, 210);
  --link-color: rgb(214, 105, 188);
  --link-external-color: rgb(214, 105, 188);
  --link-external-color-hover: rgb(236, 154, 217);
  --link-external-decoration: underline;
  --link-external-decoration-hover: underline;
  --text-mark: transparent; /* SEE HIGHLIGHTER */
  /* pre-code referenced in cm-inline-code */
  --pre-code: rgb(64, 68, 77);
  --code-size: 13.125px;
  --code-background: rgb(54, 57, 63);
  --code-normal: rgb(170, 170, 170);
  --code-tag: rgb(49, 156, 180);
  --code-punctuation: rgb(49, 156, 180);
  --text-highlight-bg: rgba(252, 246, 1, 0.4); /* SEE HIGHLIGHTER */
  --interactive-accent: rgba(252, 246, 1, 0.95);
  --interactive-accent-muted: rgba(252, 246, 1, 0.55);
  --interactive-accent-hover: #9e8aff; /* for Calendar Plugin*/
  --interactive-before: #5e6565;
  --interactive-hover: #36393f; /* for Calendar Plugin*/
  --background-modifier-border: #595959; /*595959*/
  /* Matching blockquote border to screenshot rather than code */
  --blockquote-border-color: rgb(130, 114, 208);
  --blockquote-border-thickness: 2px;
  --blockquote-color: rgb(93, 188, 210);
  --interactive-accent: #fe8019;
  --font-text-theme: Avenir, Avenir Next, var(--default-font), sans-serif;
  --font-editor-theme: Avenir, Avenir Next, var(--default-font), sans-serif;
  /* Usage of preferred monospace font */
  /* --font-monospace-theme: Menlo, SFMono-Regular, Consolas, "JetBrains Mono",
    "Fira Coda", SFMono-Regular, "Roboto Mono", "Source Code Pro", monospace; */
  --font-monospace-theme: "JetBrains Mono", Menlo, SFMono-Regular, Consolas,
    "Fira Coda", SFMono-Regular, "Roboto Mono", "Source Code Pro", monospace;
  --scrollbar-bg: rgba(20, 20, 20, 0);
  --scrollbar-thumb-bg: #595959;
  --background-modifier-error: #36393f;
  --background-modifier-success: #36393f;
  --background-modifier-form-field: #2f3136;
  --background-modifier-form-field-highlighted: #2f3136;
  --graph-text: rgb(204, 204, 204);
  --graph-node: rgb(252, 246, 1);
  --graph-node-focused: rgb(38, 121, 140);
  --graph-node-unresolved: rgb(158, 138, 255);
  --graph-node-attachment: rgb(214, 105, 188);
  --graph-node-tag: rgb(93, 188, 210);
  --graph-line: rgb(38, 121, 140);
  --table-background: var(--background-secondary-alt);
  --table-header-weight: 800;
  --hr-color: var(--text-normal);
  --ribbon-background: rgb(20, 20, 20);
  --ribbon-background-collapsed: rgb(20, 20, 20);
  --tag-color: rgb(252, 246, 1);
}

/**********************/
/* Graph View */
/**********************/
/* Graph arrow coloring */
.theme-dark .graph-view.color-arrow {
  color: #d669bc;
}

/* Graph line highlighting */
.graph-view.color-line-highlight {
  color: #5dbcd2;
}

/**********************/
/* HIGHLIGHTER */
/**********************/
mark {
  background-color: var(--text-mark) !important;
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  padding-right: 0px;
}

.cm-s-obsidian span.cm-highlight {
  color: #6ce4ff;
  font-weight: 500;
  background-color: transparent;
  text-shadow: 0 0 0.6em #fcf60159;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0 0.1rem;
  background-image: linear-gradient(60deg, #86c3ff 0%, #ddb9ff 100%) !important;
}

.markdown-preview-view mark {
  color: #6ce4ff;
  font-weight: 500;
  text-shadow: 0 0 0.6em #fcf60159;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0 0.1rem;
  background-image: linear-gradient(60deg, #86c3ff 0%, #ddb9ff 100%) !important;
}

/*settings pop-up*/
.modal-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(252, 246, 1, 0.1);
}

.modal {
  background-color: var(--background-primary);
  border-radius: 4px;
  border: 1px solid var(--background-primary);
  box-shadow: 0 2px 8px var(--background-modifier-box-shadow);
  padding: 30px 50px;
  position: relative;
  min-width: 560px;
}

.vertical-tab-content {
  background-color: var(--background-primary);
  padding: 5px 30px;
}

.u-pop {
  color: var(--text-title-h2);
}

.mod-settings .setting-item {
  padding: 0;
}

.setting-item-name {
  color: #b9adff;
}

/* icons at top of panes*/
.file-view-actions a {
  color: var(--text-muted) !important;
}

.file-view-actions a:hover {
  color: var(--link-color) !important;
}

.clickable-icon.view-action {
  color: var(--link-color);
}

/* in-line code for editor and preview and code block for editor*/
code,
.cm-inline-code {
  background-color: var(--pre-code) !important;
  color: var(--text-muted) !important;
  bottom: 0px !important;
}

/* Code block error coloring */
.cm-s-obsidian span.cm-error {
  color: var(--text-error);
}

/**********/
/* tables */
/**********/
thead {
  border-bottom: 4px solid var(--background-modifier-border);
}

.table {
  background-color: var(--background-secondary-alt);
  border: 1px solid var(--background-modifier-border);
  padding: 4px;
  line-height: normal;
  display: block;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
}

/* embedded images */
img {
  display: block;
}

/***************************************/
/*             Presentation Mode              */
/***************************************/
.reveal h1 {
  color: var(--text-title-h1);
}

.reveal h2 {
  color: var(--text-title-h2);
}

.reveal h3 {
  color: var(--text-title-h3);
}

.reveal h4 {
  color: var(--text-title-h4);
}

.reveal h5 {
  color: var(--text-title-h5);
}

.reveal h6 {
  color: var(--text-title-h6);
}

/*************/
/* checkboxes */
/*************/
/* Death-au */
/* 3.9.3. Task lists! (I'm proud of this, but could use improvement) */
.markdown-preview-view .task-list-item-checkbox {
  -webkit-appearance: none;
  top: 1.8px !important;
  box-sizing: border-box;
  border: 1px solid #888888;
  position: relative;
  width: 1em;
  height: 1em;
  margin: 0;
  margin-right: 0.7em;
}

.markdown-preview-view .task-list-item-checkbox:checked::before {
  content: "✓";
  position: absolute;
  color: #999999;
  font-size: 1em;
  line-height: 1em;
  width: 1em;
  text-align: center;
  text-shadow: 0 0 0.1em #8d8d8d;
}

.markdown-preview-view .task-list-item-checkbox {
  top: 0px;
}

.checkbox-container {
  background-color: #9196a1;
  border-radius: 14px;
  display: inline-block;
  height: 22px;
  position: relative;
  top: 4px;
  user-select: none;
  width: 42px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.15);
  transition: background 0.15s ease-in-out, box-shadow 0.15s ease-in-out,
    border 0.15s ease-in-out, opacity 0.15s ease-in-out,
    -webkit-box-shadow 0.15s ease-in-out;
}

.checkbox-container.is-enabled {
  background-color: #5dbcd2;
}

.list-item-ending-flair {
  position: absolute;
  top: 7px;
  right: 10px;
  font-size: 12px;
  color: var(--text-accent);
  background-color: var(--background-secondary-alt);
  line-height: 12px;
  border-radius: 3px;
  padding: 2px 4px;
}

.list-item:hover .list-item-ending-flair {
  color: var(--text-accent);
  background-color: var(--background-secondary-alt);
}

button.mod-cta {
  background-color: #5dbcd2;
  color: #36393f;
}

.cm-hmd-frontmatter {
  font-size: 13px;
}

/*************/
/* LEFT side dock --------- FILE EXPLORER*/
/*************/
.nav-folder-title {
  color: #cccccc;
  background-color: #141414;
  font-weight: 500;
  margin-top: 0px;
  margin-bottom: -2px;
}

.nav-file-title {
  color: #999999;
  background-color: #141414;
}

.nav-folder-children {
  background-color: #141414;
}

/*************/
/* RIGHT side dock SPECIAL STUFF*/
/*************/
/*Search result TEXT*/
.search-result-file-matches {
  color: #999999;
  background-color: #141414;
}

.search-result-file-match:hover {
  color: #d669bc;
  background-color: #141414;
}

/*Search result TITLE*/
.search-result-file-title {
  color: #5dbcd2;
  background-color: #141414;
}

.search-result-file-title:hover {
  color: #d669bc;
  background-color: #333333; /* filename hover*/
}

/*Search result MATCHED TEXT*/
.search-result-file-matched-text {
  color: #cccccc;
  background-color: #141414;
}

/*Search result BACKGROUND*/
.search-result-container {
  color: #999999;
  background-color: #141414;
}

/*************/
/* RIGHT side dock ******* RIBBON*/
/*************/
.side-dock-ribbon-tab.is-active .side-dock-ribbon-tab-inner:hover {
  color: var(--text-normal) !important;
  background-color: #1a1a1a;
}

.side-dock-ribbon-tab.is-active .side-dock-ribbon-tab-inner:hover {
  color: #d669bc !important;
  background-color: #1a1a1a;
}

.nav-file-tag {
  color: var(--text-normal);
} /* for the PNG text, but can't specifically target "PNG", just all of those filetype tags. */
.nav-file.is-active .nav-file-tag {
  color: var(--text-normal);
}

/* side dock text, like file names and backlink context */
.side-dock-panels-container * {
  font-size: 13px !important;
}

.side-dock-plugin-panel-inner {
  background-color: #1a1a1a;
}

/* side dock titles at top */
.side-dock-title {
  font-size: 20px !important;
  font-weight: 800 !important;
}

/* hover actions on side dock navigation */
.side-dock-ribbon-tab:hover,
.side-dock-ribbon-tab-inner:hover,
.side-dock-ribbon-action:hover,
.side-dock-ribbon-action.is-active:hover,
.nav-action-button:hover,
.side-dock-collapse-btn:hover {
  color: var(--text-a);
}

/* condense line spacing on file explorer title list. also avoids character-level word breaks */
.nav-file-title-content,
.search-result-file-title,
.search-result-file-match {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: normal !important;
  word-break: keep-all;
  font-size: 14px;
}

/* clean up side bar empty state (e.g. unlinked mentions) */
.search-empty-state {
  width: auto;
  padding-left: 15px;
  padding-right: 15px;
  line-height: normal;
}

/* font for everything outside of editor/preview panes */
.app-container {
  font-family: var(--font-family-preview);
}

.status-bar-item {
  font-family: var(--font-family-preview);
  font-size: 12px;
}

/******************/
/* editor section */
/******************/
/* EDITOR Text (outside of headings and code) */
.cm-s-obsidian {
  font-family: var(--font-family-editor);
  font-size: 15px;
  color: var(--text-normal);
  padding-left: 3% !important;
  padding-right: 0% !important;
}

.mod-single-child .cm-s-obsidian {
  font-family: var(--font-family-editor);
  font-size: 15px;
  color: var(--text-normal);
  padding-left: 8% !important;
  padding-right: 4% !important;
}

/* EDITOR headings */
.cm-header-1 {
  font-family: var(--font-family-editor);
  font-weight: 500;
  font-size: 28px;
  font-weight: bold;
  color: var(--text-title-h1);
}

.cm-header-2 {
  font-family: var(--font-family-editor);
  font-weight: 500;
  font-size: 26px;
  font-weight: bold;
  color: var(--text-title-h2);
}

.cm-header-3 {
  font-family: var(--font-family-editor);
  font-weight: 500;
  font-size: 23px;
  font-weight: bold;
  color: var(--text-title-h3);
}

.cm-header-4 {
  font-family: var(--font-family-editor);
  font-weight: 500;
  font-size: 19px;
  font-weight: bold;
  line-height: 30px;
  color: var(--text-title-h4);
}

.cm-header-5 {
  font-family: var(--font-family-editor);
  font-weight: 500;
  font-size: 18px;
  font-weight: bold;
  line-height: 30px;
  color: var(--text-title-h5);
}

.cm-header-6 {
  font-family: var(--font-family-editor);
  font-weight: 500;
  font-size: 16px;
  font-weight: bold;
  line-height: 30px;
  color: var(--text-title-h6);
}

.cm-strong {
  color: #9e8aff;
  font-weight: 700;
}

.cm-em {
  color: #bac04f;
}

.cm-s-obsidian span.cm-hashtag {
  color: #d669bc;
  text-decoration: underline;
}

/* This is the dashes in bullets. Color does not work, 
but font weight does. */
.cm-formatting-list {
  color: #fcf601;
  font-weight: 700;
}

.cm-formatting  /* This is the color of header hashtags. Don't change. */
.cm-formatting-list-ul
.cm-list-1 /* This is the color of text in lists. Don't change. */

/******************/
/* Editor Code Appearance - */
/******************/
.CodeMirror-code span.cm-inline-code {
  color: #d4d4d4 !important;
}

/* Editor CodeBlock TEXT Appearance - */
.cm-s-obsidian pre.HyperMD-codeblock {
  color: #d4d4d4 !important;
}

.cm-s-obsidian pre.HyperMD-list-line {
  padding-top: 0em;
  min-height: 1em;
}

/******************/
/* Naked Embeds - But I'm keeping Border and Scroll! */
/******************/
.markdown-embed-link {
  color: #5bb983 !important;
  right: 2px !important;
}

.markdown-embed-link:hover {
  color: #38dc7f !important;
}

/******************/
/* Custom addition by randulfr */
/******************/
.theme-dark .notice {
  background-color: #2f3136;
  color: rgb(252, 246, 1);
}

/***************************************/
/* Title Bar Button */
/***************************************/
.titlebar-button {
  -webkit-app-region: no-drag;
  padding: 0 10px;
  cursor: pointer;
  opacity: 0.9;
  display: inline-block;
  color: #52c1da;
}

.titlebar-text {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  flex-grow: 1;
  font-size: 12px;
  text-align: center;
  letter-spacing: 0.05em;
  opacity: 0.9;
  color: #52c1da;
}

/***************************************/
/* Transcluded notes embeds - By Ryan JA Murphy */
/***************************************/
.markdown-preview-view .markdown-embed {
  padding: 0 calc(var(--nested-padding) / 2) 0 var(--nested-padding);
}
.markdown-embed-title {
  line-height: 18px;
  height: 24px;
  display: none;
}
.markdown-embed .markdown-preview-sizer {
  padding-left: 0em !important;
  padding-top: 0.25em !important;
  padding-bottom: 0em !important;
  min-height: 0em !important;
}
.markdown-embed .markdown-preview-sizer:first-child ul {
  margin-block-start: 2px;
}
.markdown-embed .markdown-preview-section:last-child p,
.markdown-embed .markdown-preview-section:last-child ul {
  margin-block-end: 15px;
}
.markdown-embed-link,
.file-embed-link {
  top: 0px;
  right: 0;
  text-align: right;
}
.file-embed-link svg,
.markdown-embed-link svg {
  width: 16px;
  opacity: 0;
}
.markdown-embed:hover .file-embed-link svg,
.markdown-embed:hover .markdown-embed-link svg {
  opacity: 1;
}
.markdown-preview-view .markdown-embed-content > .markdown-preview-view {
  max-height: none !important;
}
.markdown-embed .markdown-preview-view {
  padding: 0;
}
.internal-embed .markdown-embed {
  border: 0;
  border: 0.5px solid var(--background-tertiary);
  border-left: 2px solid #37aec8;
  border-radius: 0;
  padding-left: 0;
  background-color: var(--background-primary-alt);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.internal-embed .markdown-embed:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  transform: translate3d(0px, -3px, 0px);
}
br + .internal-embed {
  margin-top: 1rem;
}
.markdown-embed-title ~ .markdown-embed-link,
.internal-embed[src*="#"] .markdown-embed-link {
  right: 0 !important;
  width: 3%;
}

.internal-embed:not([src*="#^"]) .markdown-embed-link {
  left: auto;
}
.internal-embed[src*="^"] .markdown-preview-sizer {
  padding-left: 0.25em !important;
  padding-top: 0 !important;
}
li > div.internal-embed {
  display: inline-flex;
  width: 99%;
}

li .internal-embed .markdown-embed {
  width: 99%;
}

.markdown-embed-title {
  line-height: 18px;
  height: 24px;
  display: none;
}
.markdown-embed .markdown-preview-sizer {
  padding-left: 1em;
  padding-top: 0.5em;
}

.popover {
  box-shadow: 0 20px 40px var(--background-modifier-box-shadow);
  pointer-events: auto !important;
  border: 1px solid var(--background-modifier-border);
}
.popover .markdown-embed-link {
  display: none;
}
.popover .markdown-embed .markdown-preview-view {
  padding-bottom: 1em;
}
.popover.hover-popover .markdown-embed .markdown-embed-content {
  max-height: none !important;
}

.popover.hover-popover .internal-embed[src*="^"] .markdown-embed {
  height: 100%;
  max-height: none;
}

.popover.hover-popover .internal-embed[src*="^"] {
  height: 3.25em;
}

.popover.hover-popover {
  max-height: 40vh;
}

/***************************************/
/*    at a rule line before ul list    */
/***************************************/
ul ul {
  position: relative;
}
ul ul::before {
  content: "";
  border-left: 0px solid #2c8ba0;
  position: absolute;
}
ul ul::before {
  left: -1em;
  top: 0;
  bottom: 0;
}

/* rule line when there are checkboxes*/
ul .task-list-item ul::before {
  left: -1.03em !important;
}

li::marker {
  color: var(--text-title-h2);
}

.markdown-preview-view li .collapse-indicator {
  display: flex;
  margin-top: 6px;
}

.markdown-preview-view .collapse-indicator {
  display: flex;
  margin-top: 0.5em;
}

/***************************************/
/*    Tiny Tweaks now that Nick knows a smidgen more */
/***************************************/
/* To make all my hovering actions the same */
.side-dock-ribbon-tab:hover,
.side-dock-ribbon-tab-inner:hover,
.side-dock-ribbon-action:hover,
.side-dock-ribbon-action.is-active:hover,
.nav-action-button:hover,
.side-dock-collapse-btn:hover .workspace-tab-header-inner:hover,
.workspace-tab-header-inner-icon:hover {
  color: var(--text-normal);
}

/* The "other" Vertical Lines */
.workspace-ribbon.mod-left,
.workspace-ribbon.mod-left.is-collapsed {
  border-right-color: rgba(158, 138, 255, 0.66);
}

.workspace-ribbon.mod-right,
.workspace-ribbon.mod-right.is-collapsed {
  border-left-color: rgba(61, 216, 127, 0.66);
}

/* The "other" Vertical Lines - The "Resizers" */
.workspace-split.mod-vertical > * > 
.workspace-leaf-resize-handle, 
.workspace-split.mod-left-split > /*Can't figure out how to hide these bars*/
.workspace-leaf-resize-handle, 
.workspace-split.mod-right-split > /*Can't figure out how to hide these bars*/
.workspace-leaf-resize-handle {
  right: 0px;
  top: 0px;
  width: 2px;
  height: 100%;
  color: #d669bc;
  background-color: rgba(20, 20, 20, 0);
  z-index: rgba(20, 20, 20, 0);
  cursor: col-resize;
}

/* Bottom Status Bar */
.sync-status-icon.mod-success {
  color: rgba(61, 216, 127, 0.44);
}

/* ScrollBar */
::-webkit-scrollbar {
  width: 9px;
  height: 8px;
  border-radius: 0px;
}

::-webkit-scrollbar {
  background-color: var(--scrollbar-bg);
}
::-webkit-scrollbar-corner {
  background: transparent;
}
::-webkit-scrollbar-thumb,
::-webkit-scrollbar-thumb:active {
  border-radius: 2px;
}

::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-thumb-bg);
}

::-webkit-scrollbar-thumb:active {
  background-color: rgba(93, 188, 210, 0.9);
}

/* Nick's Tiny Sliding Panes Tweaks */
.workspace-split.mod-root
  > .workspace-leaf:last-of-type
  .workspace-leaf-content {
  border-top-right-radius: 0px; /*instead of 6px*/
}

/* Publish Pop-up*/
.file-tree-item.mod-new .flair {
  background-color: var(--background-modifier-success);
  color: #5dd263;
}

.file-tree-item.mod-deleted .flair,
.file-tree-item.mod-to-delete .flair {
  background-color: var(--background-modifier-error);
}

.file-tree-item .flair {
  line-height: 1.4;
  padding: 3px 8px;
  color: #e65959;
}

.file-tree-item.mod-changed .flair {
  background-color: var(--background-modifier-error);
  color: rgba(252, 246, 1, 0.75);
}

/* CALIFORNIA COAST MODIFIED MODALS */
.progress-bar-message {
  color: var(--text-faint);
}
.modal.mod-sync-history {
  background-color: var(--shade-0);
}
.modal {
  border-top: 1px solid #8272d0;
  border-bottom: 1px solid #8272d0;
  background: var(--background-primary);
  border-radius: 0px;
  max-width: 1000px;
  max-height: 90vh;
}
.modal.mod-settings .vertical-tab-content-container {
  border-left: var(--border-width) solid var(--background-modifier-border);
  padding-bottom: 0;
  padding-right: 0;
}
.modal.mod-settings {
  max-width: 1000px;
  width: 90vw;
  height: 90vh;
}

.modal.mod-settings .vertical-tab-header {
  height: 90vh;
}

.modal.mod-settings .vertical-tab-content-container {
  height: 90vh;
}

.modal.mod-community-theme,
.modal.mod-community-plugin {
  width: 90vw;
}

.modal,
.prompt,
.suggestion-container {
  box-shadow: 0px 20px 30px rgba(0, 0, 0, 0.2);
}

.prompt-instructions {
  color: var(--text-title-h6);
}

/* CALIFORNIA COAST MODIFIED SETTINGS  */
.modal-close-button:before {
  font-weight: 200;
}

.horizontal-tab-content,
.vertical-tab-content {
  background: var(--background-primary);
}

.modal.mod-settings .vertical-tab-header {
  background: var(--background-secondary-alt);
  padding-top: 0px;
  padding-left: 10px;
}

.vertical-tab-header-group-title {
  font-size: 16px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  padding: 6px 18px;
  background: var(--background-secondary-alt);
}

.vertical-tab-nav-item {
  font-size: 15px;
  padding: 7px 6px;
  line-height: 1;
  cursor: var(--cursor);
  color: var(--text-normal);
  border-radius: var(--radius-s);
  background: var(--background-secondary-alt);
}

.vertical-tab-nav-item:hover {
  background: var(--background-secondary);
}

.vertical-tab-nav-item.is-active {
  color: var(--text-normal);
  background: var(--background-secondary);
}

.hotkey-list-container,
.hotkey-search-container {
  padding-left: 2px;
}
.setting-hotkey {
  background-color: var(--background-modifier-border);
  padding: 4px 0 4px 0;
  line-height: 8px;
  min-height: 0;
}
.setting-add-hotkey-button,
.setting-restore-hotkey-button {
  color: var(--text-muted);
}
.setting-hotkey.mod-empty {
  background: transparent;
}

/*    Settings Popup   */
/*                    */
button.mod-cta {
  background-color: var(--background-primary);
  color: var(--text-on-accent);
  border: 1px solid var(--background-modifier-border);
}

button.mod-cta:hover {
  background-color: var(--background-primary);
  color: var(--text-on-accent);
  border: 1px solid var(--interactive-accent);
}

.tree-item-self:hover .tree-item-flair {
  background-color: var(--interactive-accent);
  color: var(--background-secondary-alt);
}

.flair.mod-pop {
  background-color: var(--background-primary);
  color: var(--text-on-accent);
}

/* Tag List in Right Sidebar*/
.tree-item-self {
  display: flex;
  align-items: flex-start;
  padding-top: 0px;
  padding-right: 6px;
  padding-bottom: 0px;
  padding-left: 20px;
  border-radius: 3px;
  color: var(--text-muted);
}

/* Making sure "Conflict" text looks good*/
.theme-dark .setting-hotkey.has-conflict {
  background-color: var(--background-modifier-error);
  color: #ff7575;
}
.setting-hotkey-icon.setting-delete-hotkey:hover {
  color: #5dbcd2;
}

button.mod-warning {
  background-color: var(--background-modifier-error);
  color: #b9adff;
}
button.mod-warning:hover {
  background-color: var(--background-modifier-error);
  color: #ff7575;
}

/* This is to hide queries in Preview Mode. Thanks Kassapa!*/
.markdown-preview-view .internal-query.is-embed .internal-query-header {
  display: none;
}

/*TAG PANE selected button thing
/*fixing YAML tag color*/
.frontmatter-container .tag,
.frontmatter-container .frontmatter-alias {
  text-decoration: none;
  background-color: var(--background-secondary-alt);
  border-radius: 30px;
  color: var(--text-a);
  font-size: 0.9em;
  padding: 2px 8px;
  margin: 2px 4px;
  line-height: 19px;
  border: 1px solid transparent;
  white-space: nowrap;
}

/*less rounded tag pills*/
.frontmatter-container .tag,
.frontmatter-container .frontmatter-alias {
  text-decoration: none;
  background-color: var(--background-secondary-alt);
  border-radius: 8px;
  color: var(--text-a);
  font-size: 0.9em;
  padding: 2px 8px;
  margin: 2px 4px;
  line-height: 19px;
  border: 1px solid transparent;
  white-space: nowrap;
}

/*  EMOJI INLINE FIX   */
img.emoji {
  display: inline-block;
}

/* Active buttons */
.nav-action-button.is-active {
  background-color: transparent;
  color: var(--text-on-accent);
}

/* Making the search dropdown box have smaller fonts */
.suggestion-container.mod-search-suggestion {
  font-family: var(--font-family-preview);
  font-size: 16px; /* doesn't work */
  line-height: 18px; /* this works, which is good enough */
}





/* CALLOUTS, TRYING TO FIX USING PRISM'S SETTINGS WITH A SLOPPY COPY AND PASTE */ 






body:not(.pt-disable-callout-styling) {
  --callout-padding: 4px;
  --callout-radius: var(--radius-m);
  --callout-background-alpha: 20%;
} 



body:not(.pt-disable-callout-styling) .callout {
  background-color: unset;
}




/* THIS IS THE ONE THAT FIXES CALLOUTS WITH HEADERS, THANKS DAMIAN OF THE PRISM THEME! */ 

body:not(.pt-disable-callout-styling) .callout .callout-title {
  position: relative;
  z-index: 5;
  gap: unset;
  align-items: center;
  min-height: 36px;
  border: 2px solid;
  border-radius: var(--radius-m);
}

body:not(.pt-disable-callout-styling) .callout .callout-title:empty + .callout-content {
  padding: var(--size-4-1) var(--size-4-3);
  border-top-style: solid;
  border-top-width: 1px;
  border-radius: var(--radius-m);
}
body:not(.pt-disable-callout-styling) .callout .callout-title-inner {
  padding: var(--size-4-1) 0;
  margin: 0 var(--size-4-1);
}
body:not(.pt-disable-callout-styling) .callout .callout-icon {
  align-self: unset;
  margin: 0 var(--size-4-1) 0 var(--size-4-2);
  border-radius: var(--radius-m);
}
body:not(.pt-disable-callout-styling) .callout .callout-fold {
  display: flex;
  align-self: unset;
  margin-top: unset;
  margin-left: auto;
}


body:not(.pt-disable-callout-styling) .callout .callout-content {
  padding: var(--size-4-5) var(--size-4-3) var(--size-4-1) var(--size-4-3);
  margin-top: -16px;
  border-right: 1px solid;
  border-bottom: 1px solid;
  border-left: 1px solid;
  border-bottom-right-radius: var(--radius-m);
  border-bottom-left-radius: var(--radius-m);
}




/* PROPERTIES: SLOPPY COPY AND PASTE OF DAMIAN K.'S PRISM THEME */


.metadata-properties-heading {
  display: inline-flex;
  width: 100%;
  padding: var(--size-4-2);
  margin-bottom: unset;
  background-color: var(--background-secondary-alt);
  border: var(--window-border);
}
.metadata-properties-heading .collapse-indicator {
  position: relative;
  left: unset;
  order: 2;
  opacity: 1;
}
.metadata-properties-heading .collapse-indicator .collapse-icon svg.svg-icon {
  width: 18px;
}

.metadata-properties-title {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: unset;
  font-weight: var(--bold-weight);
}
.metadata-properties-title::before {
  align-items: center;
  width: var(--icon-size);
  height: var(--icon-size);
  margin-right: var(--size-4-2);
  content: "";
  background-color: var(--text-muted);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-archive'%3E%3Crect width='20' height='5' x='2' y='4' rx='2'/%3E%3Cpath d='M4 9v9a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9'/%3E%3Cpath d='M10 13h4'/%3E%3C/svg%3E");
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 18px;
}

.cm-editor .metadata-content,
.markdown-preview-view .metadata-content {
  padding: var(--size-4-3) var(--size-4-2);
  border: var(--window-border);
  border-top: unset;
}

.metadata-property-key {
  align-items: center;
}

.metadata-property-icon {
  height: fit-content;
  padding: var(--size-2-1);
  margin-left: var(--size-4-1);
}
.metadata-property-icon:hover {
  background-color: var(--interactive-accent-base);
  border-radius: var(--radius-s);
}
.metadata-property-icon::before {
  display: none;
}

.metadata-container {
  transform: unset;
}
.metadata-container .metadata-add-button {
  margin-top: var(--size-4-2);
  margin-left: var(--size-4-1);
  border: var(--window-border);
}

.multi-select-container {
  gap: var(--size-4-2);
}

.metadata-property:not([data-property-key=tags]) .multi-select-pill {
  line-height: unset;
}

.metadata-property[data-property-key=tags] {
  --pill-radius: var(--radius-s);
}

.workspace-leaf-content[data-type=all-properties] .view-content,
.workspace-leaf-content[data-type=file-properties] .view-content,
.workspace-leaf-content[data-type=properties] .view-content {
  padding: var(--size-4-1);
}

.metadata-property:focus-within {
  box-shadow: 0 0 0 1px var(--window-border-color);
}
