/*
  Alien — a deep-space terminal theme for Obsidian.
  Deep-space black, the green phosphor glow of an old CRT ship-computer,
  acid lime, hazard amber, and a red alert reserved for things that have
  gone wrong.
  Palette:
    Void Black        #04070a
    Hull              #0a1014
    Bulkhead          #111a1f
    Conduit           #1d2a30
    Gangway           #2b3a40
    Vapor             #7c8c89
    Bone              #ccd6d2
    Cryo White        #e6efe9
    Phosphor Green    #36e07a
    Phosphor Bright   #67ffac
    Acid Lime         #b6d957
    Hazard Amber      #ff9d2f
    Scanner Cyan      #45cfe0
    Red Alert         #e8473a
*/



.theme-dark {
  
  --al-void:           #04070a;
  --al-hull:           #0a1014;
  --al-bulkhead:       #111a1f;
  --al-conduit:        #1d2a30;
  --al-gangway:        #2b3a40;
  --al-vapor:          #7c8c89;
  --al-bone:           #ccd6d2;
  --al-cryo:           #e6efe9;
  --al-phosphor:       #36e07a;
  --al-phosphor-bright:#67ffac;
  --al-phosphor-deep:  #1c8f51;
  --al-acid:           #b6d957;
  --al-amber:          #ff9d2f;
  --al-cyan:           #45cfe0;
  --al-alert:          #e8473a;
  --al-violet:         #9a7ad6;

  
  --background-primary:           var(--al-void);
  --background-primary-alt:       var(--al-hull);
  --background-secondary:         var(--al-hull);
  --background-secondary-alt:     var(--al-bulkhead);
  --background-modifier-hover:    rgba(54, 224, 122, 0.06);
  --background-modifier-active-hover: rgba(54, 224, 122, 0.10);
  --background-modifier-border:   var(--al-conduit);
  --background-modifier-border-hover:  var(--al-gangway);
  --background-modifier-border-focus:  var(--al-phosphor);
  --background-modifier-form-field:    var(--al-hull);
  --background-modifier-form-field-highlighted: var(--al-bulkhead);
  --background-modifier-box-shadow: rgba(0, 0, 0, 0.6);
  --background-modifier-success:  rgba(54, 224, 122, 0.20);
  --background-modifier-error:    rgba(232, 71, 58, 0.20);
  --background-modifier-error-hover: rgba(232, 71, 58, 0.30);
  --background-modifier-cover:    rgba(2, 4, 6, 0.80);

  
  --text-normal:        var(--al-bone);
  --text-muted:         var(--al-vapor);
  --text-faint:         #56635f;
  --text-on-accent:     var(--al-void);
  --text-error:         var(--al-alert);
  --text-error-hover:   #ff6155;
  --text-success:       var(--al-phosphor);
  --text-warning:       var(--al-amber);
  --text-accent:        var(--al-phosphor);
  --text-accent-hover:  var(--al-phosphor-bright);
  --text-selection:     rgba(54, 224, 122, 0.22);
  --text-highlight-bg:  rgba(255, 157, 47, 0.28);
  --text-highlight-bg-active: rgba(255, 157, 47, 0.42);

  
  --h1-color: var(--al-phosphor-bright);
  --h2-color: var(--al-phosphor);
  --h3-color: #2bc46f;
  --h4-color: var(--al-cyan);
  --h5-color: #3aa6b3;
  --h6-color: var(--al-vapor);

  
  --interactive-accent:        var(--al-phosphor);
  --interactive-accent-hover:  var(--al-phosphor-bright);
  --interactive-normal:        var(--al-bulkhead);
  --interactive-hover:         var(--al-conduit);
  --interactive-success:       var(--al-phosphor);

  
  --link-color:           var(--al-phosphor);
  --link-color-hover:     var(--al-phosphor-bright);
  --link-unresolved-color: var(--al-alert);
  --link-external-color:  var(--al-cyan);

  
  --divider-color:        var(--al-conduit);
  --divider-color-hover:  var(--al-gangway);

  
  --tag-color:            var(--al-phosphor);
  --tag-color-hover:      var(--al-void);
  --tag-background:       rgba(54, 224, 122, 0.10);
  --tag-background-hover: var(--al-phosphor);
  --tag-border-color:     rgba(54, 224, 122, 0.30);
  --tag-border-color-hover: var(--al-phosphor);

  
  --al-terminal:      #7fe6a6;
  --code-background:  #080d10;
  --code-normal:      var(--al-terminal);
  --code-comment:     #4f7a63;
  --code-keyword:     var(--al-phosphor);
  --code-function:    var(--al-cyan);
  --code-tag:         var(--al-phosphor-bright);
  --code-property:    var(--al-violet);
  --code-string:      var(--al-acid);
  --code-value:       var(--al-amber);
  --code-operator:    #c3ccc8;
  --code-punctuation: #7c8c89;
  --code-important:   var(--al-alert);

  
  --caret-color:           var(--al-phosphor);
  --selection-background:  rgba(54, 224, 122, 0.20);

  
  --scrollbar-bg:           transparent;
  --scrollbar-thumb-bg:     var(--al-conduit);
  --scrollbar-active-thumb-bg: var(--al-phosphor);

  
  --graph-line:    var(--al-conduit);
  --graph-node:    var(--al-vapor);
  --graph-text:    var(--al-bone);
  --graph-node-tag:        var(--al-phosphor);
  --graph-node-attachment: var(--al-cyan);
  --graph-node-unresolved: var(--al-alert);
  --graph-node-focused:    var(--al-phosphor-bright);

  
  --titlebar-background:         var(--al-void);
  --titlebar-background-focused: var(--al-hull);
  --titlebar-text-color:         var(--al-bone);
  --titlebar-text-color-focused: var(--al-phosphor);
  --titlebar-border-color:       var(--al-conduit);

  --indentation-guide:        var(--al-conduit);
  --indentation-guide-active: var(--al-phosphor);

  --blockquote-border-color: var(--al-phosphor);
  --blockquote-background:   rgba(54, 224, 122, 0.04);

  --hr-color: var(--al-conduit);

  --table-header-background: var(--al-hull);
  --table-row-alt-background: rgba(54, 224, 122, 0.015);
  --table-row-hover-background: rgba(54, 224, 122, 0.05);
  --table-border-color: var(--al-conduit);

  --checkbox-color:        var(--al-phosphor);
  --checkbox-color-hover:  var(--al-phosphor-bright);
  --checkbox-border-color: var(--al-gangway);
  --checkbox-border-color-hover: var(--al-phosphor);

  --pill-color:            var(--al-bone);
  --pill-color-hover:      var(--al-void);
  --pill-background:       var(--al-bulkhead);
  --pill-background-hover: var(--al-phosphor);

  
  --input-focus-border-color: var(--al-phosphor);
  --input-focus-outline:      0 0 0 2px rgba(54, 224, 122, 0.25);

  
  --modal-background: var(--al-hull);
  --modal-border-color: var(--al-conduit);

  
  --font-interface-theme: "Inter", "Segoe UI", "Helvetica Neue", sans-serif;
  --font-text-theme:      "Inter", "Source Sans Pro", "Segoe UI", sans-serif;
  --font-monospace-theme: "JetBrains Mono", "IBM Plex Mono", "Fira Code", "Menlo", monospace;

  
  --radius-s: 3px;
  --radius-m: 5px;
  --radius-l: 8px;
}


.theme-light {
  --al-paper:        #eef2ee;
  --al-paper-2:      #e3e9e3;
  --al-paper-3:      #d3dbd4;
  --al-ink:          #131c1d;
  --al-ink-soft:     #36433f;
  --al-phosphor:       #157a45;
  --al-phosphor-bright:#1c9d57;
  --al-phosphor-deep:  #0f5e34;
  --al-acid:         #6f8f1f;
  --al-amber:        #b56a00;
  --al-cyan:         #1d7d8c;
  --al-alert:        #c0392b;
  --al-violet:       #6a4caa;

  --background-primary:           var(--al-paper);
  --background-primary-alt:       var(--al-paper-2);
  --background-secondary:         var(--al-paper-2);
  --background-secondary-alt:     var(--al-paper-3);
  --background-modifier-hover:    rgba(21, 122, 69, 0.10);
  --background-modifier-active-hover: rgba(21, 122, 69, 0.18);
  --background-modifier-border:   #bcc6bd;
  --background-modifier-border-hover: #9faa9f;
  --background-modifier-border-focus: var(--al-phosphor);

  --text-normal:       var(--al-ink);
  --text-muted:        var(--al-ink-soft);
  --text-faint:        #69756f;
  --text-on-accent:    var(--al-paper);
  --text-accent:       var(--al-phosphor);
  --text-accent-hover: var(--al-phosphor-bright);

  --h1-color: var(--al-ink);
  --h2-color: var(--al-phosphor);
  --h3-color: var(--al-phosphor-bright);
  --h4-color: var(--al-cyan);
  --h5-color: #2a8e9c;
  --h6-color: var(--al-ink-soft);

  --interactive-accent:       var(--al-phosphor);
  --interactive-accent-hover: var(--al-phosphor-bright);

  --link-color:           var(--al-phosphor);
  --link-color-hover:     var(--al-phosphor-bright);
  --link-unresolved-color: var(--al-alert);
  --link-external-color:  var(--al-cyan);

  --code-background: #e1e7e0;
  --code-normal:     #0f5e34;
  --code-comment:    #7c857d;
  --code-keyword:    var(--al-phosphor);
  --code-function:   var(--al-cyan);
  --code-string:     var(--al-acid);
  --code-property:   var(--al-violet);
  --code-value:      var(--al-amber);
  --code-important:  var(--al-alert);

  --blockquote-border-color: var(--al-phosphor);
  --blockquote-background:   rgba(21, 122, 69, 0.06);
}



.theme-dark body,
.theme-dark .app-container {
  background-color: var(--al-void);
}

.theme-dark .workspace,
.theme-dark .workspace-split,
.theme-dark .workspace-tabs {
  background-color: var(--al-void);
}

.theme-dark .workspace-tab-header-container {
  background-color: var(--al-void);
  border-bottom: 1px solid var(--al-conduit);
}

.theme-dark .workspace-tab-header {
  background-color: transparent;
  border: 1px solid transparent;
  border-bottom: none;
  border-radius: var(--radius-s) var(--radius-s) 0 0;
  transition: background-color 120ms ease, color 120ms ease;
}

.theme-dark .workspace-tab-header:hover {
  background-color: var(--al-hull);
}

.theme-dark .workspace-tab-header.is-active {
  background-color: var(--al-hull);
  border-color: var(--al-conduit);
  border-bottom-color: var(--al-hull);
}

.theme-dark .workspace-tab-header.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--al-phosphor-deep), var(--al-phosphor-bright), var(--al-phosphor-deep));
  box-shadow: 0 0 8px rgba(54, 224, 122, 0.50);
}

.theme-dark .workspace-tab-header-inner-title {
  color: var(--al-vapor);
}

.theme-dark .workspace-tab-header.is-active .workspace-tab-header-inner-title {
  color: var(--al-phosphor);
  text-shadow: 0 0 6px rgba(54, 224, 122, 0.30);
}


.theme-dark .workspace-ribbon,
.theme-dark .workspace-ribbon.mod-left {
  background-color: var(--al-void);
  border-right: 1px solid var(--al-conduit);
}

.theme-dark .side-dock-ribbon-action {
  color: var(--al-vapor);
  transition: color 120ms ease, background-color 120ms ease;
}

.theme-dark .side-dock-ribbon-action:hover {
  color: var(--al-phosphor);
  background-color: rgba(54, 224, 122, 0.06);
}

.theme-dark .side-dock-ribbon-action.is-active {
  color: var(--al-phosphor);
}

.theme-dark .nav-folder-title,
.theme-dark .nav-file-title {
  color: var(--al-bone);
  border-radius: var(--radius-s);
  transition: background-color 100ms ease, color 100ms ease;
}

.theme-dark .nav-file-title:hover,
.theme-dark .nav-folder-title:hover {
  background-color: rgba(54, 224, 122, 0.06);
  color: var(--al-phosphor-bright);
}

.theme-dark .nav-file-title.is-active,
.theme-dark .nav-file.is-active > .nav-file-title {
  background-color: rgba(54, 224, 122, 0.12);
  color: var(--al-phosphor);
  box-shadow: inset 2px 0 0 var(--al-phosphor);
}

.theme-dark .nav-folder-title-content {
  font-weight: 500;
}


.theme-dark .status-bar {
  background-color: var(--al-void);
  border-top: 1px solid var(--al-conduit);
  color: var(--al-vapor);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.theme-dark .status-bar-item {
  color: var(--al-vapor);
}

.theme-dark .status-bar-item:hover {
  color: var(--al-phosphor);
}


.theme-dark .titlebar {
  background-color: var(--al-void);
  border-bottom: 1px solid var(--al-conduit);
}



.theme-dark .markdown-source-view,
.theme-dark .markdown-preview-view {
  background-color: var(--al-void);
  color: var(--al-bone);
  line-height: 1.65;
}

.theme-dark .cm-editor {
  background-color: var(--al-void);
  color: var(--al-bone);
}

.theme-dark .cm-line {
  caret-color: var(--al-phosphor);
}



.theme-dark .markdown-preview-view h1,
.theme-dark .HyperMD-header-1,
.theme-dark .cm-header-1 {
  color: var(--h1-color);
  font-weight: 700;
  letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(54, 224, 122, 0.25);
  padding-bottom: 0.25em;
  text-shadow: 0 0 18px rgba(54, 224, 122, 0.22);
}

.theme-dark .markdown-preview-view h2,
.theme-dark .HyperMD-header-2,
.theme-dark .cm-header-2 {
  color: var(--h2-color);
  font-weight: 650;
  letter-spacing: -0.005em;
  border-bottom: 1px solid rgba(54, 224, 122, 0.15);
  padding-bottom: 0.2em;
}

.theme-dark .markdown-preview-view h3,
.theme-dark .HyperMD-header-3,
.theme-dark .cm-header-3 { color: var(--h3-color); font-weight: 600; }

.theme-dark .markdown-preview-view h4,
.theme-dark .HyperMD-header-4,
.theme-dark .cm-header-4 { color: var(--h4-color); font-weight: 600; }

.theme-dark .markdown-preview-view h5,
.theme-dark .HyperMD-header-5,
.theme-dark .cm-header-5 { color: var(--h5-color); font-weight: 600; }

.theme-dark .markdown-preview-view h6,
.theme-dark .HyperMD-header-6,
.theme-dark .cm-header-6 { color: var(--h6-color); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }


.theme-dark .markdown-preview-view strong,
.theme-dark .cm-strong { color: var(--al-acid); font-weight: 700; }

.theme-dark .markdown-preview-view em,
.theme-dark .cm-em { color: var(--al-cyan); }


.theme-dark .markdown-preview-view blockquote,
.theme-dark .HyperMD-quote {
  border-left: 3px solid var(--al-phosphor);
  background-color: var(--blockquote-background);
  color: var(--al-bone);
  padding: 0.6em 1em;
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  box-shadow: -2px 0 12px rgba(54, 224, 122, 0.10);
}


.theme-dark code,
.theme-dark .cm-inline-code {
  background-color: var(--code-background);
  color: var(--al-phosphor-bright);
  border: 1px solid var(--al-conduit);
  border-radius: var(--radius-s);
  padding: 0.1em 0.35em;
  font-size: 0.92em;
}


body.theme-dark pre,
body.theme-dark .markdown-preview-view pre,
body.theme-dark .HyperMD-codeblock-bg {
  background-color: var(--code-background);
  border: 1px solid var(--al-conduit);
  border-radius: var(--radius-m);
  color: var(--code-normal);
}

.theme-dark pre code {
  background: transparent;
  border: none;
  color: var(--code-normal);
  padding: 0;
}


.theme-dark .HyperMD-codeblock,
.theme-dark .cm-line.HyperMD-codeblock {
  color: var(--code-normal);
}


.theme-dark .token.comment,
.theme-dark .token.prolog,
.theme-dark .token.doctype,
.theme-dark .token.cdata        { color: var(--code-comment); font-style: italic; }
.theme-dark .token.keyword,
.theme-dark .token.atrule       { color: var(--code-keyword); font-weight: 600; }
.theme-dark .token.function,
.theme-dark .token.class-name   { color: var(--code-function); }
.theme-dark .token.string,
.theme-dark .token.attr-value   { color: var(--code-string); }
.theme-dark .token.number,
.theme-dark .token.boolean,
.theme-dark .token.constant     { color: var(--code-value); }
.theme-dark .token.property,
.theme-dark .token.attr-name    { color: var(--code-property); }
.theme-dark .token.tag,
.theme-dark .token.selector     { color: var(--code-tag); }
.theme-dark .token.operator,
.theme-dark .token.entity       { color: var(--code-operator); }
.theme-dark .token.punctuation  { color: var(--code-punctuation); }
.theme-dark .token.important,
.theme-dark .token.deleted      { color: var(--code-important); font-weight: 600; }


.theme-dark .cm-keyword     { color: var(--code-keyword); }
.theme-dark .cm-def,
.theme-dark .cm-variable-2  { color: var(--code-function); }
.theme-dark .cm-string,
.theme-dark .cm-string-2    { color: var(--code-string); }
.theme-dark .cm-number      { color: var(--code-value); }
.theme-dark .cm-comment     { color: var(--code-comment); font-style: italic; }
.theme-dark .cm-property    { color: var(--code-property); }
.theme-dark .cm-operator    { color: var(--code-operator); }
.theme-dark .cm-atom        { color: var(--code-value); }
.theme-dark .cm-tag         { color: var(--code-tag); }
.theme-dark .cm-attribute   { color: var(--code-property); }


.theme-dark .markdown-preview-view a,
.theme-dark .cm-link,
.theme-dark .cm-hmd-internal-link {
  color: var(--link-color);
  text-decoration: none;
  border-bottom: 1px dotted rgba(54, 224, 122, 0.4);
  transition: color 120ms ease, border-color 120ms ease;
}

.theme-dark .markdown-preview-view a:hover,
.theme-dark .cm-link:hover,
.theme-dark .cm-hmd-internal-link:hover {
  color: var(--link-color-hover);
  border-bottom-color: var(--al-phosphor-bright);
}

body.theme-dark .is-unresolved,
body.theme-dark .cm-hmd-internal-link.is-unresolved {
  color: var(--link-unresolved-color);
  border-bottom: 1px dashed rgba(232, 71, 58, 0.5);
}


.theme-dark hr,
.theme-dark .markdown-preview-view hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--al-phosphor) 20%, var(--al-phosphor) 80%, transparent);
  opacity: 0.55;
  margin: 2em 0;
}


.theme-dark .markdown-preview-view ul > li::marker {
  color: var(--al-phosphor);
}

.theme-dark .markdown-preview-view ol > li::marker {
  color: var(--al-phosphor);
  font-weight: 600;
}


.theme-dark .markdown-preview-view input[type="checkbox"],
.theme-dark .markdown-source-view input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--checkbox-border-color);
  border-radius: 3px;
  background-color: transparent;
  cursor: pointer;
  position: relative;
  vertical-align: middle;
  transition: border-color 120ms ease, background-color 120ms ease;
}

.theme-dark .markdown-preview-view input[type="checkbox"]:hover,
.theme-dark .markdown-source-view input[type="checkbox"]:hover {
  border-color: var(--al-phosphor);
}

.theme-dark .markdown-preview-view input[type="checkbox"]:checked,
.theme-dark .markdown-source-view input[type="checkbox"]:checked {
  background-color: var(--al-phosphor);
  border-color: var(--al-phosphor);
}

.theme-dark .markdown-preview-view input[type="checkbox"]:checked::after,
.theme-dark .markdown-source-view input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 4px;
  width: 4px;
  height: 8px;
  border: solid var(--al-void);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}


.theme-dark .tag,
.theme-dark a.tag {
  background-color: var(--tag-background);
  color: var(--tag-color);
  border: 1px solid var(--tag-border-color);
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 0.82em;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 120ms ease, color 120ms ease;
}

.theme-dark .tag:hover {
  background-color: var(--tag-background-hover);
  color: var(--tag-color-hover);
}


.theme-dark table,
.theme-dark .markdown-preview-view table {
  border-collapse: collapse;
  border: 1px solid var(--table-border-color);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.theme-dark th {
  background-color: var(--table-header-background);
  color: var(--al-phosphor);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--al-phosphor);
  padding: 0.5em 0.9em;
}

.theme-dark td {
  border-top: 1px solid var(--table-border-color);
  padding: 0.45em 0.9em;
}

.theme-dark tr:nth-child(even) td {
  background-color: var(--table-row-alt-background);
}

.theme-dark tr:hover td {
  background-color: var(--table-row-hover-background);
}


.theme-dark mark,
.theme-dark .markdown-preview-view mark,
.theme-dark .cm-highlight {
  background-color: var(--text-highlight-bg);
  color: var(--al-amber);
  border-radius: 2px;
  padding: 0 2px;
}


.theme-dark ::selection {
  background-color: var(--selection-background);
  color: var(--al-phosphor-bright);
}



.theme-dark button,
.theme-dark .clickable-icon,
.theme-dark input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
.theme-dark textarea,
.theme-dark select {
  background-color: var(--al-bulkhead);
  color: var(--al-bone);
  border: 1px solid var(--al-conduit);
  border-radius: var(--radius-s);
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease, box-shadow 120ms ease;
}

.theme-dark button:hover,
.theme-dark .clickable-icon:hover {
  background-color: var(--al-conduit);
  border-color: var(--al-gangway);
  color: var(--al-phosphor);
}

.theme-dark button.mod-cta,
.theme-dark .mod-cta {
  background-color: var(--al-phosphor);
  color: var(--al-void);
  border-color: var(--al-phosphor);
  font-weight: 600;
}

.theme-dark button.mod-cta:hover,
.theme-dark .mod-cta:hover {
  background-color: var(--al-phosphor-bright);
  border-color: var(--al-phosphor-bright);
  box-shadow: 0 0 12px rgba(54, 224, 122, 0.45);
}

.theme-dark button.mod-warning,
.theme-dark .mod-warning {
  background-color: var(--al-alert);
  color: var(--al-cryo);
  border-color: var(--al-alert);
}

.theme-dark input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):focus,
.theme-dark textarea:focus,
.theme-dark select:focus {
  border-color: var(--al-phosphor);
  outline: none;
  box-shadow: var(--input-focus-outline);
}


.theme-dark .modal,
.theme-dark .modal-bg + .modal,
.theme-dark .prompt {
  background-color: var(--modal-background);
  border: 1px solid var(--modal-border-color);
  border-radius: var(--radius-l);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(54, 224, 122, 0.06);
}

.theme-dark .modal-title {
  color: var(--al-phosphor);
}

.theme-dark .modal-bg {
  background-color: rgba(2, 4, 6, 0.80);
  backdrop-filter: blur(4px);
}


.theme-dark .suggestion-container,
.theme-dark .menu {
  background-color: var(--al-hull);
  border: 1px solid var(--al-conduit);
  border-radius: var(--radius-m);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75);
}

.theme-dark .suggestion-item,
.theme-dark .menu-item {
  color: var(--al-bone);
  border-radius: var(--radius-s);
  margin: 1px 4px;
  padding: 6px 10px;
}

.theme-dark .suggestion-item.is-selected,
.theme-dark .menu-item.selected,
.theme-dark .menu-item:hover {
  background-color: rgba(54, 224, 122, 0.12);
  color: var(--al-phosphor-bright);
}

.theme-dark .suggestion-hotkey {
  color: var(--al-vapor);
  background-color: var(--al-bulkhead);
  border: 1px solid var(--al-conduit);
  border-radius: 3px;
  padding: 1px 5px;
  font-size: 11px;
}


.theme-dark .tooltip {
  background-color: var(--al-hull);
  color: var(--al-bone);
  border: 1px solid var(--al-conduit);
  border-radius: var(--radius-s);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.65);
}


.theme-dark .setting-item {
  border-top: 1px solid var(--al-conduit);
}

.theme-dark .setting-item-name {
  color: var(--al-bone);
}

.theme-dark .setting-item-description {
  color: var(--al-vapor);
}

.theme-dark .vertical-tab-header {
  background-color: var(--al-hull);
  border-right: 1px solid var(--al-conduit);
}

.theme-dark .vertical-tab-nav-item.is-active {
  background-color: rgba(54, 224, 122, 0.10);
  color: var(--al-phosphor);
  box-shadow: inset 2px 0 0 var(--al-phosphor);
}



.theme-dark .graph-view.color-fill         { color: var(--graph-node); }
.theme-dark .graph-view.color-fill-focused { color: var(--graph-node-focused); }
.theme-dark .graph-view.color-fill-tag     { color: var(--graph-node-tag); }
.theme-dark .graph-view.color-fill-attachment { color: var(--graph-node-attachment); }
.theme-dark .graph-view.color-fill-unresolved { color: var(--graph-node-unresolved); }
.theme-dark .graph-view.color-line         { color: var(--graph-line); }
.theme-dark .graph-view.color-text         { color: var(--graph-text); }
.theme-dark .graph-view.color-circle       { color: var(--al-phosphor); }



.theme-dark ::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.theme-dark ::-webkit-scrollbar-track {
  background: transparent;
}

.theme-dark ::-webkit-scrollbar-thumb {
  background-color: var(--al-conduit);
  border-radius: 5px;
  border: 2px solid var(--al-void);
}

.theme-dark ::-webkit-scrollbar-thumb:hover {
  background-color: var(--al-phosphor);
}



.theme-dark .callout {
  border-radius: var(--radius-m);
  border: 1px solid var(--al-conduit);
  background-color: rgba(54, 224, 122, 0.03);
  padding: 0.6em 0.9em;
  margin: 1em 0;
}

.theme-dark .callout-title {
  color: var(--al-phosphor);
  font-weight: 600;
}

.theme-dark .callout[data-callout="note"]     { --callout-color: 54, 224, 122; }
.theme-dark .callout[data-callout="info"]     { --callout-color: 69, 207, 224; }
.theme-dark .callout[data-callout="tip"],
.theme-dark .callout[data-callout="hint"],
.theme-dark .callout[data-callout="success"]  { --callout-color: 182, 217, 87; }
.theme-dark .callout[data-callout="warning"],
.theme-dark .callout[data-callout="caution"]  { --callout-color: 255, 157, 47; }
.theme-dark .callout[data-callout="danger"],
.theme-dark .callout[data-callout="error"],
.theme-dark .callout[data-callout="failure"]  { --callout-color: 232, 71, 58; }
.theme-dark .callout[data-callout="quote"],
.theme-dark .callout[data-callout="cite"]     { --callout-color: 154, 122, 214; }




.theme-dark .workspace-leaf.mod-active .view-content {
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.50);
}


.theme-dark .frontmatter,
.theme-dark .metadata-container {
  background-color: var(--al-hull);
  border-left: 2px solid var(--al-phosphor);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  color: var(--al-vapor);
  font-family: var(--font-monospace-theme);
  font-size: 0.88em;
}


.theme-dark .markdown-embed,
.theme-dark .internal-embed {
  border: 1px solid var(--al-conduit);
  border-radius: var(--radius-m);
  background-color: rgba(10, 16, 20, 0.5);
}


.theme-dark .nav-file-title.is-being-dragged,
.theme-dark .nav-folder-title.is-being-dragged {
  background-color: rgba(54, 224, 122, 0.15);
  color: var(--al-phosphor-bright);
}


