.wp-nt {
  --nt-top: 80px;
  display: grid;
  grid-template-columns: 230px minmax(260px, 340px) minmax(0, 1fr);
  min-height: 480px;
  height: calc(100dvh - var(--nt-top) - 20px);
  overflow: hidden;
  background: #0A1220;
  border: 1px solid rgba(87, 187, 255, 0.13);
  border-radius: 14px;
  color: #C8D6EA;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.wp-nt * {
  box-sizing: border-box;
}
.wp-nt button, .wp-nt input, .wp-nt select, .wp-nt textarea {
  font: inherit;
}
.wp-nt button {
  cursor: pointer;
}
.wp-nt button:disabled {
  cursor: default;
  opacity: 0.5;
}
.wp-nt button:focus-visible, .wp-nt a:focus-visible {
  outline: 2px solid #57BBFF;
  outline-offset: 2px;
}
.wp-nt button {
  color: inherit;
}
.wp-nt [hidden] {
  display: none !important;
}
.wp-nt.is-wide {
  grid-template-columns: 200px minmax(200px, 240px) minmax(0, 1fr);
}

.wp-nt-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: #7890AD;
}
.wp-nt-icon:hover {
  background: rgba(87, 187, 255, 0.09);
  color: #F0F6FF;
}
.wp-nt-icon.is-on {
  color: #F5CE82;
}

.wp-nt-primary {
  border: 1px solid rgba(87, 187, 255, 0.3);
  border-radius: 8px;
  background: rgba(87, 187, 255, 0.12);
  color: #57BBFF !important;
  padding: 8px 12px;
  white-space: nowrap;
}

.wp-nt-rail {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  border-right: 1px solid rgba(87, 187, 255, 0.13);
  background: #0E1828;
}
.wp-nt-rail__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #F0F6FF;
  font-size: 18px;
  font-weight: 750;
  padding: 20px 16px 12px;
}
.wp-nt-rail__brand > i {
  color: #F5CE82;
}
.wp-nt-rail__foot {
  display: flex;
  gap: 6px;
  padding: 12px;
  border-top: 1px solid rgba(87, 187, 255, 0.13);
}
.wp-nt-rail__foot button {
  border: 1px solid rgba(87, 187, 255, 0.13);
  background: transparent;
  border-radius: 7px;
  padding: 7px 9px;
  font-size: 12px;
  color: #7890AD;
}
.wp-nt-rail__foot button:first-child {
  flex: 1;
  text-align: left;
}

#wp-nt-rail-close, #wp-nt-rail-toggle {
  display: none;
}

.wp-nt-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 12px 16px;
  padding: 10px;
  border: 1px solid rgba(87, 187, 255, 0.13);
  background: #070D17;
  border-radius: 8px;
  color: #7890AD;
}
.wp-nt-search input {
  min-width: 0;
  width: 100%;
  border: none;
  outline: none;
  color: #F0F6FF;
  background: transparent;
  font-size: 12px;
}
.wp-nt-search:focus-within {
  border-color: rgba(87, 187, 255, 0.5);
}

#wp-nt-smart {
  padding: 0 10px 12px;
  border-bottom: 1px solid rgba(87, 187, 255, 0.13);
}
#wp-nt-smart button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  text-align: left;
  font-size: 12px;
  color: #C8D6EA;
}
#wp-nt-smart button i {
  width: 18px;
  text-align: center;
  color: #57BBFF;
}
#wp-nt-smart button:hover {
  background: rgba(87, 187, 255, 0.05);
}
#wp-nt-smart button.is-active {
  border-color: rgba(87, 187, 255, 0.25);
  background: rgba(87, 187, 255, 0.1);
  color: #F0F6FF;
}
#wp-nt-smart button[data-view=starred] i {
  color: #F5CE82;
}
#wp-nt-smart button[data-view=archive] i {
  color: #A78BFA;
}
#wp-nt-smart button[data-view=trash] i {
  color: #F07070;
}

.wp-nt-tree {
  --text-primary: #C8D6EA;
  --text-secondary: #7890AD;
  --text-dim: #7890AD;
  --bg-content: #0E1828;
  --bg-window: transparent;
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 12px 8px;
}
.wp-nt-tree__head {
  display: flex;
  gap: 3px;
  align-items: center;
  padding: 0 5px 8px;
}
.wp-nt-tree__head span {
  flex: 1;
  font-size: 11px;
  font-weight: 700;
  color: #7890AD;
}
.wp-nt-tree .nodes-window {
  background: transparent;
  border: 0;
  box-shadow: none;
  height: auto;
  min-height: 100px;
  color: #C8D6EA;
}
.wp-nt-tree .finder-body, .wp-nt-tree .content-area, .wp-nt-tree .tree-container {
  background: transparent;
}
.wp-nt-tree .content-area {
  padding: 0;
}
.wp-nt-tree .statusbar {
  display: none;
}

.wp-nt-list {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  border-right: 1px solid rgba(87, 187, 255, 0.13);
}
.wp-nt-list__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 14px 12px;
}
.wp-nt-list__head > div {
  flex: 1;
  min-width: 0;
}
.wp-nt-list__head h1 {
  font-size: 19px;
  color: #F0F6FF;
  margin: 0 0 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wp-nt-list__head span {
  font-size: 11px;
  color: #7890AD;
}
.wp-nt-list__head .wp-nt-primary {
  font-size: 11px;
  padding: 8px;
}
.wp-nt-list__tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 10px;
  border-bottom: 1px solid rgba(87, 187, 255, 0.13);
}
.wp-nt-list__tools select {
  background: transparent;
  border: 0;
  color: #7890AD;
  font-size: 11px;
  max-width: 160px;
}
.wp-nt-list__tools option {
  background: #101B2C;
}

.wp-nt-rows {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 8px;
}

.wp-nt-row {
  display: block;
  width: 100%;
  padding: 14px 12px;
  margin: 0 0 5px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  text-align: left;
}
.wp-nt-row:hover {
  background: rgba(87, 187, 255, 0.04);
}
.wp-nt-row.is-selected {
  background: rgba(87, 187, 255, 0.08);
  border-color: rgba(87, 187, 255, 0.28);
}
.wp-nt-row__title {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #F0F6FF;
}
.wp-nt-row__title strong {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}
.wp-nt-row__title i {
  color: #F5CE82;
  font-size: 10px;
}
.wp-nt-row p {
  color: #7890AD;
  margin: 8px 0 10px;
  font-size: 11.5px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wp-nt-row__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 9.5px;
  color: #7890AD;
}
.wp-nt-row__meta span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wp-nt-row__meta span:last-child {
  white-space: nowrap;
}

.wp-nt-detail {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}
.wp-nt-detail__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(87, 187, 255, 0.13);
  min-height: 55px;
}
.wp-nt-detail__actions {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.wp-nt-detail__scroll {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  padding: 24px 26px 36px;
}

.wp-nt-status {
  padding: 0;
  border: 0;
  background: transparent;
  color: #7890AD !important;
  font-size: 10px !important;
  text-align: left;
}
.wp-nt-status.is-error {
  color: #F07070 !important;
}

.wp-nt-title {
  display: block;
  width: 100%;
  min-height: 40px;
  max-height: 240px;
  padding: 0;
  border: 0;
  outline: none;
  resize: none;
  overflow: hidden;
  background: transparent;
  font-size: 28px !important;
  font-weight: 750 !important;
  line-height: 1.35;
  color: #F0F6FF;
}

.wp-nt-note-meta {
  font-size: 10px;
  color: #7890AD;
  margin: 10px 0 20px;
}

.wp-nt-rich-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}
.wp-nt-rich-tools button {
  border: 1px solid rgba(87, 187, 255, 0.13);
  border-radius: 6px;
  background: transparent;
  padding: 5px 9px;
  color: #7890AD;
  font-size: 10.5px;
}
.wp-nt-rich-tools button:hover {
  border-color: rgba(87, 187, 255, 0.4);
  color: #57BBFF;
}

.wp-nt-rich {
  min-height: 250px;
  outline: none;
  font-size: 13.5px;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.wp-nt-rich p {
  min-height: 1.75em;
  margin: 0;
}
.wp-nt-rich h3 {
  font-size: 1.5em;
  color: #F0F6FF;
  margin: 14px 0 5px;
}
.wp-nt-rich h4 {
  font-size: 1.2em;
  color: #F0F6FF;
  margin: 10px 0 4px;
}
.wp-nt-rich:empty::before {
  content: attr(data-placeholder);
  color: #7890AD;
  pointer-events: none;
}

.wp-nt-note-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0;
  padding: 16px 0;
  border-block: 1px solid rgba(87, 187, 255, 0.13);
}
.wp-nt-note-options label {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  font-size: 10px;
  color: #7890AD;
}
.wp-nt-note-options select, .wp-nt-note-options input {
  min-width: 130px;
  padding: 7px;
  border: 1px solid rgba(87, 187, 255, 0.13);
  border-radius: 7px;
  background: #101B2C;
  color: #C8D6EA;
  color-scheme: dark;
  font-size: 11px;
}

.wp-nt-attachments, .wp-nt-comments {
  margin-top: 22px;
}
.wp-nt-attachments h3, .wp-nt-comments h3 {
  font-size: 11px;
  font-weight: 700;
  color: #7890AD;
  margin-bottom: 12px;
}

.wp-nt-file {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  padding: 7px 0;
}
.wp-nt-file a {
  flex: 1;
  color: #57BBFF;
  overflow-wrap: anywhere;
}
.wp-nt-file span {
  color: #7890AD;
  white-space: nowrap;
}

.wp-nt-upload {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: #57BBFF;
  font-size: 11px;
  margin-top: 9px;
}

.wp-nt-comment {
  margin: 8px 0;
  padding: 12px;
  background: rgba(7, 13, 23, 0.45);
  border: 1px solid rgba(87, 187, 255, 0.13);
  border-radius: 8px;
}
.wp-nt-comment > div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
}
.wp-nt-comment time {
  margin-left: auto;
  color: #7890AD;
}
.wp-nt-comment p {
  margin: 6px 0 0;
  font-size: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

#wp-nt-comment-form {
  display: flex;
  gap: 7px;
  align-items: flex-end;
}
#wp-nt-comment-form textarea {
  flex: 1;
  min-width: 0;
  padding: 10px;
  background: #101B2C;
  color: #C8D6EA;
  border: 1px solid rgba(87, 187, 255, 0.13);
  border-radius: 8px;
  font-size: 12px;
  resize: vertical;
}
#wp-nt-comment-form button {
  padding: 9px;
  color: #57BBFF;
  background: rgba(87, 187, 255, 0.08);
  border: 1px solid rgba(87, 187, 255, 0.13);
  border-radius: 8px;
  font-size: 11px;
}

.wp-nt-placeholder, .wp-nt-empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
  text-align: center;
  padding: 32px;
  color: #7890AD;
}
.wp-nt-placeholder h2, .wp-nt-empty h2 {
  color: #C8D6EA;
  font-size: 18px;
}
.wp-nt-placeholder p, .wp-nt-empty p {
  font-size: 12px;
  line-height: 1.6;
}
.wp-nt-placeholder > i, .wp-nt-empty > i {
  font-size: 34px;
  color: rgba(87, 187, 255, 0.35);
  margin-bottom: 10px;
}

.wp-nt-muted {
  color: #7890AD;
  font-size: 11px;
}

.wp-nt-trash-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid rgba(245, 206, 130, 0.3);
  border-radius: 8px;
  color: #F5CE82;
  margin-bottom: 18px;
  font-size: 11px;
}
.wp-nt-trash-banner button {
  color: #F5CE82;
  border: 0;
  background: transparent;
  text-decoration: underline;
}

#wp-nt-more {
  margin: 8px;
  background: transparent;
  border: 1px solid rgba(87, 187, 255, 0.13);
  border-radius: 7px;
  padding: 9px;
  font-size: 12px;
}

.wp-nt-context {
  position: fixed;
  z-index: 20020;
  max-height: calc(100dvh - 16px);
  overflow-y: auto;
  min-width: 195px;
  padding: 6px;
  background: #142137;
  color: #C8D6EA;
  border: 1px solid rgba(87, 187, 255, 0.2);
  border-radius: 10px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.wp-nt-context button {
  display: block;
  width: 100%;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: inherit;
  text-align: left;
  font: inherit;
  font-size: 12px;
  padding: 8px 12px;
  cursor: pointer;
}
.wp-nt-context button:hover, .wp-nt-context button:focus-visible {
  background: rgba(87, 187, 255, 0.12);
  color: #F0F6FF;
}

.wp-nt-overlay {
  position: fixed;
  inset: 0;
  z-index: 20100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
  padding: 20px;
}

.wp-nt-dialog {
  width: min(480px, 100%);
  max-height: 90dvh;
  overflow: auto;
  padding: 24px;
  background: #101B2C;
  color: #C8D6EA;
  border: 1px solid rgba(87, 187, 255, 0.13);
  border-radius: 14px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.wp-nt-dialog h2, .wp-nt-dialog h3 {
  color: #F0F6FF;
  font-size: 17px;
  margin: 0 0 16px;
}
.wp-nt-dialog h3 {
  font-size: 13px;
  margin-top: 20px;
}
.wp-nt-dialog p {
  font-size: 12px;
  line-height: 1.6;
}
.wp-nt-dialog label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 12px 0;
  font-size: 12px;
}
.wp-nt-dialog input:not([type=checkbox]), .wp-nt-dialog select {
  width: 100%;
  box-sizing: border-box;
  padding: 9px;
  border: 1px solid rgba(87, 187, 255, 0.13);
  border-radius: 7px;
  background: #070D17;
  color: #F0F6FF;
  font: inherit;
}
.wp-nt-dialog input[type=color] {
  height: 40px;
}
.wp-nt-dialog button {
  padding: 8px 12px;
  background: rgba(87, 187, 255, 0.1);
  border: 1px solid rgba(87, 187, 255, 0.13);
  border-radius: 7px;
  color: #C8D6EA;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
}
.wp-nt-dialog footer, .wp-nt-dialog > div:last-child {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
}
.wp-nt-dialog .wp-nt-check {
  flex-direction: row;
  align-items: center;
}

.wp-nt-dialog-error {
  color: #F07070;
}

.wp-nt-conflict {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 10px;
  background: #070D17;
  max-height: 300px;
  overflow: auto;
  font-size: 11px;
}

.wp-nt-members > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 8px 0;
  font-size: 12px;
}

#wp-nt-toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  transform: translate(-50%, 15px);
  opacity: 0;
  pointer-events: none;
  z-index: 21000;
  max-width: 90vw;
  padding: 12px 20px;
  border: 1px solid rgba(87, 187, 255, 0.25);
  border-radius: 10px;
  background: #142137;
  color: #F0F6FF;
  font: 12px "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transition: opacity 0.2s, transform 0.2s;
}
#wp-nt-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1200px) {
  .wp-nt {
    grid-template-columns: 190px minmax(220px, 280px) minmax(0, 1fr);
  }
  .wp-nt-detail__scroll {
    padding: 20px;
  }
  .wp-nt-title {
    font-size: 24px !important;
  }
}
@media (max-width: 1000px) {
  .wp-nt, .wp-nt.is-wide {
    position: relative;
    grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
  }
  .wp-nt-rail {
    display: none;
  }
  .wp-nt.rail-open .wp-nt-rail {
    display: flex;
    position: absolute;
    inset: 0 auto 0 0;
    width: 250px;
    z-index: 20;
    box-shadow: 15px 0 40px rgba(0, 0, 0, 0.5);
  }
  #wp-nt-rail-toggle, #wp-nt-rail-close {
    display: inline-flex;
  }
  #wp-nt-rail-close {
    margin-left: auto;
  }
}
@media (max-width: 650px) {
  .wp-nt, .wp-nt.is-wide {
    display: flex;
    border-radius: 8px;
    min-height: 400px;
    height: calc(100dvh - var(--nt-top) - 10px);
  }
  .wp-nt-list {
    flex: 1;
  }
  .wp-nt-detail {
    display: none;
  }
  .wp-nt.has-detail .wp-nt-list {
    display: none;
  }
  .wp-nt.has-detail .wp-nt-detail {
    display: flex;
    width: 100%;
  }
  .wp-nt-detail__scroll {
    padding: 18px;
  }
}
.wp-nt-md {
  font-size: 13.5px;
  line-height: 1.55;
  color: #C8D6EA;
  word-break: break-word;
}
.wp-nt-md > :first-child {
  margin-top: 0;
}
.wp-nt-md > :last-child {
  margin-bottom: 0;
}
.wp-nt-md__p {
  margin: 0 0 8px;
  white-space: pre-wrap;
}
.wp-nt-md__h1, .wp-nt-md__h2 {
  margin: 12px 0 6px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #F0F6FF;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.wp-nt-md__h1 {
  font-size: 19px;
  font-weight: 900;
}
.wp-nt-md__h2 {
  font-size: 15.5px;
  font-weight: 700;
}
.wp-nt-md a {
  color: #57BBFF;
  text-decoration: underline;
  text-decoration-color: rgba(87, 187, 255, 0.45);
  text-underline-offset: 2px;
}
.wp-nt-md a:hover {
  text-decoration-color: #57BBFF;
}
.wp-nt-md__code {
  position: relative;
  margin: 8px 0;
  padding: 12px 14px;
  overflow-x: auto;
  background: rgba(7, 13, 23, 0.85);
  border: 1px solid rgba(87, 187, 255, 0.14);
  border-radius: 9px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 12.5px;
  line-height: 1.6;
  color: #D6E2F5;
  white-space: pre;
  tab-size: 2;
}
.wp-nt-md__code[data-lang]::before {
  content: attr(data-lang);
  position: absolute;
  top: 4px;
  right: 9px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(120, 144, 173, 0.8);
  pointer-events: none;
}
.wp-nt-md__code code {
  font: inherit;
  color: inherit;
  background: none;
  padding: 0;
}
.wp-nt-md__code .token.comment, .wp-nt-md__code .token.prolog, .wp-nt-md__code .token.doctype, .wp-nt-md__code .token.cdata {
  color: #6B7F9C;
  font-style: italic;
}
.wp-nt-md__code .token.punctuation {
  color: #9DB3D1;
}
.wp-nt-md__code .token.operator, .wp-nt-md__code .token.entity, .wp-nt-md__code .token.url {
  color: #C8D8EE;
}
.wp-nt-md__code .token.keyword, .wp-nt-md__code .token.atrule, .wp-nt-md__code .token.rule, .wp-nt-md__code .token.important, .wp-nt-md__code .token.module {
  color: #A78BFA;
}
.wp-nt-md__code .token.string, .wp-nt-md__code .token.char, .wp-nt-md__code .token.attr-value, .wp-nt-md__code .token.template-string, .wp-nt-md__code .token.inserted {
  color: #34D399;
}
.wp-nt-md__code .token.number, .wp-nt-md__code .token.boolean, .wp-nt-md__code .token.constant, .wp-nt-md__code .token.symbol, .wp-nt-md__code .token.unit, .wp-nt-md__code .token.hexcode, .wp-nt-md__code .token.attr-name {
  color: #F5CE82;
}
.wp-nt-md__code .token.function, .wp-nt-md__code .token.class-name, .wp-nt-md__code .token.selector, .wp-nt-md__code .token.builtin {
  color: #57BBFF;
}
.wp-nt-md__code .token.property, .wp-nt-md__code .token.tag, .wp-nt-md__code .token.deleted {
  color: #F07070;
}
.wp-nt-md__code .token.variable, .wp-nt-md__code .token.parameter {
  color: #F472B6;
}
.wp-nt-md__code .token.regex {
  color: #FB923C;
}
.wp-nt-md__code .token.delimiter, .wp-nt-md__code .token.interpolation-punctuation {
  color: #FB923C;
  font-weight: 700;
}
.wp-nt-md__code .token.bold {
  font-weight: 700;
}
.wp-nt-md__code .token.italic {
  font-style: italic;
}

::highlight(wp-note-keyword), ::highlight(wp-note-atrule), ::highlight(wp-note-important) {
  color: #A78BFA;
}

::highlight(wp-note-string), ::highlight(wp-note-char), ::highlight(wp-note-attr-value), ::highlight(wp-note-inserted), ::highlight(wp-note-template-string) {
  color: #34D399;
}

::highlight(wp-note-number), ::highlight(wp-note-boolean), ::highlight(wp-note-constant), ::highlight(wp-note-symbol), ::highlight(wp-note-attr-name) {
  color: #F5CE82;
}

::highlight(wp-note-function), ::highlight(wp-note-class-name), ::highlight(wp-note-selector), ::highlight(wp-note-builtin) {
  color: #57BBFF;
}

::highlight(wp-note-property), ::highlight(wp-note-tag), ::highlight(wp-note-deleted) {
  color: #F07070;
}

::highlight(wp-note-variable), ::highlight(wp-note-parameter) {
  color: #F472B6;
}

::highlight(wp-note-comment), ::highlight(wp-note-prolog), ::highlight(wp-note-doctype), ::highlight(wp-note-cdata) {
  color: #6B7F9C;
}

::highlight(wp-note-operator), ::highlight(wp-note-entity), ::highlight(wp-note-url) {
  color: #C8D8EE;
}

::highlight(wp-note-punctuation) {
  color: #9DB3D1;
}

::highlight(wp-note-regex), ::highlight(wp-note-delimiter) {
  color: #FB923C;
}

#wp-nt button.wp-nt-icon {
  width: 30px;
  height: 30px;
  padding: 0;
  font-size: 13px;
  line-height: 1;
  color: #7890AD;
}
#wp-nt button.wp-nt-icon > i {
  width: 1em;
  height: 1em;
  font-size: 13px;
  line-height: 1;
}
#wp-nt button.wp-nt-icon > svg {
  width: 13px;
  height: 13px;
}
#wp-nt button.wp-nt-icon:hover {
  color: #F0F6FF;
}
#wp-nt button.wp-nt-icon.is-on {
  color: #F5CE82;
}

#wp-nt .wp-nt-tree__head .wp-nt-icon {
  border: 1px solid rgba(87, 187, 255, 0.13);
  background: rgba(87, 187, 255, 0.04);
  border-radius: 7px;
}

#wp-nt .wp-nt-search > i {
  width: 15px;
  font-size: 14px;
}

#wp-nt .wp-nt-file > i {
  font-size: 14px;
  color: #7890AD;
}

#wp-nt .wp-nt-rich-tools [hidden] {
  display: none !important;
}

#wp-nt .wp-nt-rich-tools [data-exit-code] {
  color: #57BBFF;
  border-color: rgba(87, 187, 255, 0.35);
}

#wp-nt .wp-nt-rich-tools [data-attach-file] > i {
  font-size: 11px;
}

.wp-nt-rich.is-file-drop {
  outline: 2px dashed #57BBFF;
  outline-offset: 8px;
  border-radius: 6px;
}

.wp-nt-rich .wp-nt-inline-file {
  display: block;
  width: min(100%, 620px);
  margin: 16px 0;
  overflow: hidden;
  border: 1px solid rgba(87, 187, 255, 0.2);
  border-radius: 10px;
  background: rgba(7, 13, 23, 0.5);
  white-space: normal;
  user-select: none;
}
.wp-nt-rich .wp-nt-inline-file figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  font-size: 12px;
  line-height: 1.4;
}
.wp-nt-rich .wp-nt-inline-file figcaption > i {
  font-size: 20px;
  color: #57BBFF;
}
.wp-nt-rich .wp-nt-inline-file figcaption > span {
  flex: 1;
  min-width: 0;
}
.wp-nt-rich .wp-nt-inline-file strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.wp-nt-rich .wp-nt-inline-file small {
  display: block;
  margin-top: 3px;
  color: #7890AD;
  font-size: 10px;
}
.wp-nt-rich .wp-nt-inline-file figcaption button, .wp-nt-rich .wp-nt-inline-file figcaption > a, .wp-nt-rich .wp-nt-inline-file [data-remove-block] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  padding: 0;
  border: 1px solid rgba(87, 187, 255, 0.13);
  border-radius: 6px;
  background: transparent;
  color: #7890AD;
  text-decoration: none;
  cursor: pointer;
}
.wp-nt-rich .wp-nt-inline-file figcaption button i, .wp-nt-rich .wp-nt-inline-file figcaption > a i {
  font-size: 12px;
}
.wp-nt-rich .wp-nt-inline-file figcaption button:hover, .wp-nt-rich .wp-nt-inline-file figcaption > a:hover {
  color: #57BBFF;
  border-color: rgba(87, 187, 255, 0.4);
}
.wp-nt-rich .wp-nt-inline-file.is-document {
  max-width: 360px;
}
.wp-nt-rich .wp-nt-inline-file.is-missing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  color: #7890AD;
  font-size: 12px;
}

.wp-nt-inline-file__image {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: rgba(7, 13, 23, 0.6);
  cursor: zoom-in;
}
.wp-nt-inline-file__image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
}

.wp-nt-inline-file__pdf {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
  border-bottom: 1px solid rgba(87, 187, 255, 0.13);
  background: #263144;
}

.wp-nt-preview-overlay {
  position: fixed;
  inset: 0;
  z-index: 20200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  background: rgba(0, 0, 0, 0.85);
}

.wp-nt-preview {
  display: flex;
  flex-direction: column;
  width: min(1200px, 100%);
  max-height: calc(100dvh - 50px);
  border: 1px solid rgba(87, 187, 255, 0.13);
  border-radius: 12px;
  overflow: hidden;
  background: #101B2C;
  color: #C8D6EA;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.wp-nt-preview header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 16px;
  font-size: 12px;
}
.wp-nt-preview strong {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.wp-nt-preview a {
  color: #57BBFF;
  text-decoration: none;
}
.wp-nt-preview button {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(87, 187, 255, 0.13);
  border-radius: 6px;
  background: transparent;
  color: #C8D6EA;
  font-size: 22px;
  cursor: pointer;
}

.wp-nt-preview__body {
  min-height: 0;
  overflow: auto;
  text-align: center;
  background: #070D17;
}
.wp-nt-preview__body img {
  display: block;
  max-width: 100%;
  max-height: calc(100dvh - 120px);
  margin: auto;
  object-fit: contain;
}
.wp-nt-preview__body iframe {
  display: block;
  width: 100%;
  height: calc(100dvh - 130px);
  border: 0;
  background: #263144;
}

@media (max-width: 650px) {
  .wp-nt-inline-file__pdf {
    height: 280px;
  }
  .wp-nt-preview-overlay {
    padding: 10px;
  }
}
.wp-nt-inline-file__pdf {
  position: relative;
  height: auto;
  min-height: 220px;
  max-height: 420px;
  overflow: hidden;
  padding: 0;
  color: #C8D6EA;
  text-align: center;
  cursor: zoom-in;
}
.wp-nt-inline-file__pdf canvas {
  display: block;
  margin: 0 auto;
}

.wp-nt-pdf-message {
  display: block;
  padding: 45px 20px;
  color: #7890AD;
  font-size: 12px;
}

.wp-nt-pdf-page-count {
  position: absolute;
  bottom: 8px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 5px;
  background: rgba(7, 13, 23, 0.85);
  color: #F0F6FF;
  font-size: 10px;
}

.wp-nt-pdf-viewer {
  min-height: 280px;
  height: calc(100dvh - 130px);
  overflow: auto;
}

.wp-nt-pdf-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 8px;
  background: #101B2C;
  color: #C8D6EA;
  font-size: 12px;
}
.wp-nt-pdf-controls button {
  width: 28px;
  height: 28px;
  font-size: 18px;
}

.wp-nt-pdf-page {
  padding: 16px;
  overflow: auto;
}
.wp-nt-pdf-page canvas {
  display: block;
  margin: auto;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.25);
}

.wp-nt-rich a[href] {
  cursor: pointer;
}
.wp-nt-rich a[href]:hover {
  text-decoration-thickness: 2px;
}

.wp-nt-rich pre.wp-nt-md__code {
  scrollbar-width: thin;
  scrollbar-color: rgba(87, 187, 255, 0.65) transparent;
}
.wp-nt-rich pre.wp-nt-md__code::-webkit-scrollbar {
  height: 5px !important;
  width: 5px !important;
}
.wp-nt-rich pre.wp-nt-md__code::-webkit-scrollbar-track {
  background: transparent;
}
.wp-nt-rich pre.wp-nt-md__code::-webkit-scrollbar-thumb {
  background: rgba(87, 187, 255, 0.65);
  border-radius: 5px;
  border: 0;
}

body.wp-detail-popout .wp-sidebar, body.wp-detail-popout .wp-db-sidebar, body.wp-detail-popout #cc-notify-bell, body.wp-detail-popout .wp-tk-rail, body.wp-detail-popout .wp-tk-main, body.wp-detail-popout .wp-tk-scrim, body.wp-detail-popout .wp-nt-rail, body.wp-detail-popout .wp-nt-list {
  display: none !important;
}
body.wp-detail-popout .wp-db-layout, body.wp-detail-popout .wp-db-main {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  min-height: 0;
}
body.wp-detail-popout #wp-tk, body.wp-detail-popout #wp-nt {
  display: block !important;
  width: 100%;
  height: 100dvh !important;
  min-height: 0;
  border: 0;
  border-radius: 0;
}
body.wp-detail-popout #wp-tk-detail {
  position: relative;
  inset: auto;
  width: 100% !important;
  height: 100dvh;
  border: 0;
  box-shadow: none;
  transition: none;
  transform: none;
}
body.wp-detail-popout #wp-nt-detail {
  display: flex !important;
  width: 100%;
  height: 100dvh;
}
body.wp-detail-popout [data-act=d-popout], body.wp-detail-popout [data-act=note-popout], body.wp-detail-popout [data-act=d-width], body.wp-detail-popout [data-act=wide], body.wp-detail-popout .wp-tk-d__back {
  display: none !important;
}

/*# sourceMappingURL=wpNotes.css.map */
