/* mypath-v2/src/visual-board.css */
.editor-view-switch {
  display: flex;
  align-self: flex-start;
  padding: 3px;
  background: #edf1e8;
  border: 1px solid #dce4d7;
  border-radius: 9px;
  margin-bottom: 14px;
  gap: 3px;
}
.editor-view-switch button {
  border: 0;
  font-size: 12px;
  padding: 5px 18px;
  color: #72816a;
}
.editor-view-switch button[aria-pressed=true] {
  background: #fffefa;
  color: #2e573d;
  box-shadow: 0 1px 4px #253c2515;
}
.note-content.board-mode {
  padding: 20px 24px 16px;
  overflow: hidden;
}
.board-mode .breadcrumbs {
  margin-bottom: 14px;
  flex-shrink: 0;
}
.visual-board-panel {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 240px;
  min-width: 0;
  border: 1px solid #dce4d8;
  border-radius: 12px;
  overflow: hidden;
  background: #f6f8f1;
}
.visual-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #fcfdf8;
  border-bottom: 1px solid #dce4d8;
  flex-wrap: wrap;
}
.visual-toolbar > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.visual-toolbar strong {
  font-size: 12px;
}
.visual-toolbar span {
  font-size: 10px;
  color: #7e8d76;
}
.visual-tools {
  display: flex;
  align-items: center;
  gap: 4px;
}
.visual-tools button {
  padding: 5px 8px;
  font-size: 11px;
  background: white;
}
.visual-tools output {
  font-size: 10px;
  min-width: 34px;
  text-align: center;
  color: #74836e;
  font-variant-numeric: tabular-nums;
}
.visual-surface {
  position: relative;
  flex: 1;
  min-height: 160px;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  background-image: radial-gradient(#cad5c3 .8px, transparent .8px);
  background-size: 20px 20px;
  isolation: isolate;
}
.visual-surface:active {
  cursor: grabbing;
}
.visual-world {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
  will-change: transform;
}
.visual-connections {
  position: absolute;
  left: 0;
  top: 0;
  overflow: visible;
  pointer-events: none;
}
.visual-connections path {
  stroke: #a6bba0;
  stroke-width: 2;
  fill: none;
}
.visual-connections .active-connection {
  stroke: #42704a;
  stroke-width: 3;
}
.note-workspace .visual-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  text-align: left;
  background: #fffefa;
  border: 1px solid #ccd9c4;
  border-radius: 12px;
  padding: 15px 17px;
  box-shadow: 0 5px 18px #2543230c;
  color: #2e4836;
  cursor: pointer;
  overflow: hidden;
}
.note-workspace .visual-card:hover {
  background: #fffefa;
  border-color: #60895a;
  box-shadow: 0 6px 24px #25432322;
}
.note-workspace .visual-card.is-root {
  border-top: 4px solid #628258;
}
.note-workspace .visual-card.is-selected {
  border-color: #416e45;
  outline: 3px solid #75966b40;
  box-shadow: 0 5px 22px #416e451a;
}
.visual-card-kind {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 8px;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: #8a987e;
  margin-bottom: 9px;
}
.visual-card-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #aec497;
}
.visual-card strong {
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.15;
}
.visual-card p {
  font-size: 10px;
  line-height: 1.5;
  margin: 7px 0;
  color: #7d8c73;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.visual-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #829078;
}
.visual-card-footer > span {
  color: #617d4c;
}
.zoomed-out .visual-card p {
  display: none;
}
.zoomed-out .visual-card strong {
  font-size: 24px;
}
.zoomed-out .visual-card-kind {
  font-size: 10px;
}
.zoomed-out .visual-card-footer {
  font-size: 11px;
}
.visual-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #fcfdf8;
  border-top: 1px solid #dce4d8;
  flex-wrap: wrap;
}
.visual-bottom > span {
  font-size: 10px;
  color: #86937c;
}
.visual-bottom > div {
  display: flex;
  gap: 6px;
}
.visual-bottom button {
  font-size: 11px;
  padding: 6px 10px;
}
.visual-bottom .visual-add {
  background: #315c44;
  color: white;
  border-color: #315c44;
}
@media (max-width: 760px) {
  .note-content.board-mode {
    padding: 14px 12px 10px;
  }
  .visual-toolbar {
    padding: 10px;
    gap: 10px;
  }
  .visual-tools {
    width: 100%;
    justify-content: space-between;
  }
  .visual-tools button {
    font-size: 10px;
    padding: 5px 7px;
  }
  .visual-bottom {
    padding: 10px;
  }
  .visual-bottom > span {
    font-size: 9px;
  }
  .visual-bottom > div {
    width: 100%;
    justify-content: flex-end;
  }
  .visual-card {
    touch-action: none;
  }
  .board-mode .breadcrumbs {
    max-height: 58px;
    overflow: auto;
  }
  .visual-board-panel {
    min-height: 290px;
  }
  .editor-view-switch {
    margin-bottom: 10px;
  }
}

/* mypath-v2/src/dashboard.css */
#toolbar.dashboard-header {
  background: #fffefa;
  color: #294834;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 26px;
  min-height: 76px;
  box-sizing: border-box;
  border-bottom: 1px solid #dfe6d9;
  z-index: 20;
  flex-shrink: 0;
}
#toolbar.dashboard-header button {
  background: transparent;
  color: #405b41;
  border: 1px solid #dce5d6;
  border-radius: 7px;
  font: 12px "Segoe UI", sans-serif;
  padding: 8px 12px;
  cursor: pointer;
}
#toolbar.dashboard-header .add-main-node {
  background: #315c44;
  color: #fff;
  border-color: #315c44;
}
#toolbar.dashboard-header button:hover {
  background: #e5eddf;
  filter: none;
}
#toolbar.dashboard-header .add-main-node:hover {
  background: #244a35;
}
#toolbar.dashboard-header button:disabled {
  opacity: .45;
  cursor: default;
}
.dashboard-brand {
  font-weight: 750;
  font-size: 16px;
  letter-spacing: 2px;
  margin-right: 12px;
  white-space: nowrap;
}
.dashboard-brand small {
  letter-spacing: 0;
  color: #839478;
  font-size: 11px;
  font-weight: 400;
}
.header-dropdown {
  position: relative;
}
.header-dropdown summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border: 1px solid #dce5d6;
  border-radius: 8px;
  font-size: 13px;
}
.header-dropdown summary::-webkit-details-marker {
  display: none;
}
.path-dropdown {
  max-width: 250px;
  min-width: 100px;
}
.path-dropdown summary > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#current-path-name {
  background: none;
  padding: 0;
  color: #2d5139;
  font-weight: 600;
}
.header-popover {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  left: 0;
  background: #fffefa;
  border: 1px solid #dce5d6;
  border-radius: 10px;
  padding: 8px;
  min-width: 210px;
  box-shadow: 0 12px 35px #1a38232a;
}
.more-dropdown .header-popover {
  left: auto;
  right: 0;
}
#toolbar.dashboard-header .header-popover button {
  display: block;
  border: 0;
  width: 100%;
  text-align: left;
  border-radius: 6px;
  padding: 10px;
}
.autosave-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px;
  font-size: 12px;
  cursor: pointer;
}
.autosave-option input {
  accent-color: #315c44;
}
.main-zoom {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-zoom #zoom-display {
  font-size: 11px;
  min-width: 40px;
  text-align: center;
}
.workspace-type {
  font-size: 10px;
  color: #82917b;
  white-space: nowrap;
}
#save-label-slot {
  margin-left: auto;
  font-size: 11px;
  max-width: 180px;
}
#save-status {
  color: #70836a;
  font-size: 11px;
  min-width: 0;
  font-style: normal;
}
.more-dropdown summary {
  font-size: 20px;
  padding: 2px 12px;
}
.dashboard-frame {
  flex: 1;
  min-height: 0;
  display: flex;
  background: #fffefa;
}
.dashboard-sidebar {
  width: 244px;
  box-sizing: border-box;
  flex-shrink: 0;
  padding: 30px 18px;
  background: #f2f5ee;
  border-right: 1px solid #dfe6d9;
  overflow: auto;
  display: flex;
  flex-direction: column;
  color: #3c573c;
}
.dashboard-eyebrow {
  font-size: 9px;
  letter-spacing: 2px;
  color: #87977c;
  font-weight: 750;
}
.dashboard-sidebar h2 {
  font: 24px Georgia, serif;
  font-weight: 400;
  margin: 17px 0 10px;
}
.dashboard-sidebar p {
  font-size: 12px;
  line-height: 1.7;
  color: #83937a;
  margin-bottom: 25px;
}
.dashboard-tree button {
  display: block;
  text-align: left;
  width: 100%;
  background: transparent;
  border: 0;
  color: #526d4b;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}
.dashboard-tree button.selected {
  background: #dfeadb;
  color: #254b32;
  font-weight: 600;
}
.dashboard-sidebar-bottom {
  margin-top: auto;
  padding: 40px 8px 0;
  font: italic 21px/1.5 Georgia, serif;
  color: #9aaa91;
}
.dashboard-stage {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 22px 24px 18px;
}
.dashboard-board-caption {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #819075;
  font-size: 11px;
  margin-bottom: 15px;
}
.dashboard-board-tab {
  background: #e9efe2;
  color: #42633b;
  padding: 7px 20px;
  border-radius: 7px;
  border: 1px solid #dce5d4;
  font-size: 12px;
}
.browse-main-nodes {
  display: none;
}
.dashboard-stage #board {
  width: 100%;
  min-height: 0;
  border: 1px solid #dce5d4;
  border-radius: 12px;
  background-color: #f6f8f1;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
}
.dashboard-stage #board:active {
  cursor: grabbing;
}
.dashboard-stage .node {
  border: 1px solid #d3dfcb !important;
  padding: 14px;
  cursor: default;
  background: #fffefa;
}
.dashboard-stage .node.main-selected {
  outline: 3px solid #76996550;
  border-color: #638558 !important;
}
.dashboard-stage .node-title {
  font: 19px Georgia, serif;
  padding: 3px 0 10px;
  color: #304e36;
}
.dashboard-stage .node button {
  font-size: 10px;
  cursor: pointer;
}
.dashboard-board-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0 0;
  color: #7b8c72;
  font-size: 10px;
}
.dashboard-board-footer button {
  padding: 7px 11px;
  border: 1px solid #dce5d4;
  background: #fffefa;
  border-radius: 7px;
  color: #48643f;
  cursor: pointer;
}
.dashboard-board-footer .edit-main {
  background: #315c44;
  color: #fff;
  border-color: #315c44;
}
.selection-label {
  font-weight: 600;
  color: #4d6945;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.main-board-hint {
  margin-left: auto;
}
.dashboard-summary-hidden {
  display: none !important;
}
#toolbar.dashboard-header [hidden] {
  display: none !important;
}
.calendar-schedules {
  padding-top: 12px;
  border-top: 1px solid #dce5d4;
  margin-top: 12px;
  text-align: left;
}
.calendar-schedules h4 {
  margin: 0 0 8px;
  color: #375334;
}
.calendar-schedules p {
  font-size: 11px;
  color: #7c8d73;
  line-height: 1.5;
}
.calendar-schedules button {
  background: #e7eee0;
  color: #375334;
  border: 1px solid #d4e0cb;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 12px;
  cursor: pointer;
}
.calendar-schedules .scheduled-node {
  display: block;
  width: 100%;
  text-align: left;
  margin: 5px 0;
}
#calendarModal .modal-content {
  overflow: auto;
}
.dashboard-header :focus-visible,
.dashboard-frame :focus-visible {
  outline: 3px solid #79a272;
  outline-offset: 3px;
}
.dark-mode .dashboard-header,
.dark-mode .dashboard-stage {
  background: #26332a !important;
  color: #dce7d5 !important;
}
.dark-mode .dashboard-sidebar {
  background: #28382b;
}
.dark-mode .dashboard-sidebar h2 {
  color: #dce7d5;
}
@media (max-width: 1100px) {
  #toolbar.dashboard-header {
    gap: 8px;
    padding: 14px;
  }
  .workspace-type {
    display: none;
  }
  .dashboard-sidebar {
    width: 210px;
  }
  .dashboard-brand {
    margin-right: 0;
    font-size: 13px;
  }
  .main-board-hint {
    display: none;
  }
  .dashboard-board-footer .focus-main {
    margin-left: auto;
  }
  .path-dropdown {
    max-width: 190px;
  }
}
@media (max-width: 760px) {
  #toolbar.dashboard-header {
    padding: 10px;
    gap: 6px;
    min-height: 60px;
    flex-wrap: nowrap;
  }
  .dashboard-brand,
  .main-zoom,
  #save-label-slot {
    display: none;
  }
  .path-dropdown {
    flex: 1;
    min-width: 0;
    max-width: none;
  }
  .header-dropdown summary {
    font-size: 11px;
    padding: 8px;
    gap: 4px;
  }
  #toolbar.dashboard-header button {
    font-size: 11px;
    padding: 8px;
  }
  .more-dropdown summary {
    font-size: 19px;
    padding: 2px 9px;
  }
  .dashboard-sidebar {
    display: none;
  }
  .dashboard-sidebar.mobile-visible {
    display: flex;
    position: absolute;
    left: 0;
    top: 60px;
    bottom: 0;
    z-index: 12;
    width: 80%;
    box-shadow: 15px 0 35px #16351f30;
  }
  .dashboard-stage {
    padding: 14px 10px 10px;
  }
  .browse-main-nodes {
    display: block;
    margin-left: auto;
    background: #f4f7ef;
    border: 1px solid #dce5d4;
    color: #55704b;
    border-radius: 6px;
    padding: 6px;
    font-size: 10px;
  }
  .dashboard-board-footer {
    gap: 6px;
    font-size: 9px;
  }
  .selection-label {
    max-width: 110px;
  }
  .dashboard-board-footer button {
    font-size: 10px;
    padding: 7px;
  }
  .header-popover {
    max-width: calc(100vw - 36px);
  }
  .dashboard-board-caption {
    gap: 8px;
  }
  .dashboard-board-tab {
    padding: 6px 14px;
  }
}
#toolbar.dashboard-header {
  flex-direction: row;
}

/* mypath-v2/src/sharing.css */
.sharing-dialog {
  border: 1px solid #dce5d6;
  border-radius: 15px;
  max-width: 620px;
  width: calc(100% - 64px);
  max-height: 85vh;
  padding: 26px;
  background: #fffefa;
  color: #355039;
  font: 14px/1.6 "Segoe UI", sans-serif;
  overflow: auto;
}
.sharing-dialog::backdrop {
  background: #15322299;
  backdrop-filter: blur(4px);
}
.sharing-dialog header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sharing-dialog h2 {
  font: 27px Georgia, serif;
  margin: 0;
}
.sharing-dialog h3 {
  font-size: 14px;
  margin-top: 25px;
}
.sharing-dialog button,
.sharing-dialog a {
  background: #e9f0e1;
  border: 1px solid #d5e0cc;
  border-radius: 6px;
  padding: 7px 11px;
  font-size: 12px;
  color: #355039;
  cursor: pointer;
  text-decoration: none;
}
.sharing-dialog form {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 10px;
}
.sharing-dialog label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
}
.sharing-dialog input,
.sharing-dialog select {
  padding: 9px;
  border: 1px solid #d5e0cc;
  border-radius: 6px;
  font: inherit;
}
.sharing-message {
  color: #985339;
}
.share-person {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid #e1e8da;
}
.share-person span {
  flex-basis: 100%;
  font-size: 13px;
}
#collaboration-notice {
  background: #fff1ce;
  color: #694b1d;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  flex-wrap: wrap;
}
#collaboration-notice button {
  background: white;
  border: 1px solid #dfc997;
  border-radius: 5px;
  padding: 5px 9px;
  cursor: pointer;
}
@media (max-width: 760px) {
  #toolbar.dashboard-header > [data-action=share] {
    display: none;
  }
  .sharing-dialog {
    padding: 18px;
    width: calc(100% - 40px);
  }
}
#toolbar.dashboard-header .mobile-share-action {
  display: none;
}
@media (max-width: 760px) {
  #toolbar.dashboard-header .mobile-share-action {
    display: block;
  }
}

/* mypath-v2/src/style.css */
:root {
  --v2-ink:#213c35;
  --v2-green:#2f6552;
  --v2-line:#dfe7e0;
  --v2-muted:#758078;
}
body {
  font-family:
    Inter,
    "Segoe UI",
    sans-serif;
}
#toolbar {
  background: #233f35;
  padding: 12px 18px;
  box-shadow: none;
}
#toolbar button {
  border-radius: 7px;
  background: #365b4b;
  font-size: 12px;
}
#toolbar button:hover {
  filter: brightness(1.12);
}
.board-brand {
  font-size: 16px;
  font-weight: 750;
  letter-spacing: 2px;
  white-space: nowrap;
  margin-right: 20px;
}
#board {
  background-color: #f5f6f0;
  background-image: radial-gradient(#cfd7cd .8px, transparent .8px);
  background-size: 22px 22px;
}
.node {
  border-radius: 12px !important;
  border-color: #dbe2d8 !important;
  box-shadow: 0 4px 16px #193b2410 !important;
}
.node-title {
  color: #244a3c;
}
.node button {
  border-radius: 5px;
}
#summary {
  border-radius: 12px;
}
.node.start {
  border-top: 4px solid #52785e !important;
}
#notesModal.v2-modal {
  padding: 24px;
  box-sizing: border-box;
  background: #11271fc4;
  backdrop-filter: blur(6px);
  z-index: 2000;
}
.note-workspace {
  width: min(1320px, 100%);
  height: min(880px, 94vh);
  background: #fffefa;
  border: 1px solid #f7faf2;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 90px #0c1d2740;
  display: flex;
  flex-direction: column;
  position: relative;
  color: var(--v2-ink);
  text-align: left;
  font:
    14px Inter,
    "Segoe UI",
    sans-serif;
}
.note-workspace * {
  box-sizing: border-box;
}
.note-workspace button {
  font: inherit;
  cursor: pointer;
  border: 1px solid var(--v2-line);
  border-radius: 7px;
  background: transparent;
  color: var(--v2-ink);
  padding: 8px 12px;
  line-height: 1.4;
}
.note-workspace button:hover {
  background: #e8eee4;
}
.note-workspace button:disabled {
  cursor: default;
  opacity: .4;
}
.note-workspace :focus-visible {
  outline: 3px solid #76a992;
  outline-offset: 3px;
}
.workspace-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--v2-line);
}
.workspace-header .back-button {
  border: 0;
  color: #52695c;
}
.workspace-brand {
  letter-spacing: 3px;
  font-weight: 750;
  font-size: 16px;
}
.workspace-brand b {
  font-weight: 400;
  color: #78947c;
  font-size: 12px;
  letter-spacing: 0;
}
.save-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #668170;
  font-size: 12px;
}
.save-controls button {
  background: #f1f4ec;
}
.workspace-body {
  display: flex;
  flex: 1;
  min-height: 0;
}
.note-sidebar {
  width: 280px;
  min-width: 230px;
  background: #f2f5ee;
  border-right: 1px solid var(--v2-line);
  padding: 28px 16px;
  overflow: auto;
  display: flex;
  flex-direction: column;
}
.sidebar-heading,
.section-caption {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.7px;
  color: #7a897d;
  margin: 0 12px 20px;
}
.sidebar-heading > span:last-child,
.section-caption > span {
  letter-spacing: 0;
  background: #e4eadf;
  border-radius: 5px;
  padding: 1px 6px;
}
.note-sidebar .root-note {
  display: flex;
  gap: 10px;
  text-align: left;
  border: 0;
  font-weight: 650;
  align-items: center;
}
.root-note span {
  overflow-wrap: anywhere;
}
.note-sidebar .selected {
  background: #dfeadb;
  color: #214d36;
  border-radius: 7px;
}
.note-tree,
.note-tree ul {
  list-style: none;
  margin: 6px 0;
  padding: 0;
}
.note-tree ul {
  margin-left: 16px;
  padding-left: 8px;
  border-left: 1px solid #cdd8c9;
}
.tree-row {
  display: flex;
  align-items: center;
  min-height: 38px;
}
.note-sidebar .tree-title {
  border: 0;
  flex: 1;
  min-width: 0;
  text-align: left;
  padding: 8px 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.note-sidebar .chevron {
  border: 0;
  width: 25px;
  padding: 3px;
}
.child-count {
  font-size: 10px;
  color: #7b8e7e;
  padding: 0 7px;
}
.note-sidebar .add-root {
  border-style: dashed;
  margin: 20px 0;
  font-size: 12px;
  text-align: left;
  color: #607960;
}
.tree-empty {
  color: #7c8c7b;
  padding: 5px 12px;
  font-size: 12px;
  line-height: 1.7;
}
.sidebar-footer {
  margin-top: auto;
  padding: 36px 12px 0;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 20px;
  line-height: 1.5;
  color: #99a68e;
}
.note-content {
  flex: 1;
  min-width: 0;
  overflow: auto;
  padding: 28px 48px 18px;
  display: flex;
  flex-direction: column;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  color: #a5afa2;
  min-height: 25px;
  margin-bottom: 34px;
}
.breadcrumbs button {
  border: 0;
  padding: 2px 4px;
  font-size: 11px;
  color: #768573;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.breadcrumbs button:last-child {
  color: #386047;
}
.breadcrumbs .browse-button {
  display: none;
}
.note-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.note-heading > div {
  flex: 1;
  min-width: 0;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  color: #879579;
  font-weight: 750;
}
.note-title-input {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  color: #263f31;
  font: 400 34px Georgia, serif;
  margin: 10px 0 16px;
  padding: 0;
  outline-offset: 4px;
}
.status-pill {
  font-size: 10px;
  padding: 6px 10px;
  border-radius: 20px;
  background: #edf0df;
  color: #6e7951;
  white-space: nowrap;
}
.note-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}
.note-actions button {
  font-size: 11px;
}
.note-actions .primary {
  background: #315c44;
  color: white;
  border-color: #315c44;
}
.note-actions .delete-note {
  margin-left: auto;
  color: #986c60;
  border: 0;
}
.note-writing {
  display: block;
  resize: vertical;
  flex: 1;
  min-height: 200px;
  width: 100%;
  border: 0 !important;
  background: transparent !important;
  padding: 12px 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  color: #44574a;
  font:
    15px/1.9 Inter,
    "Segoe UI",
    sans-serif !important;
}
.note-writing::placeholder {
  color: #a0a99a;
}
.child-section {
  border-top: 1px solid var(--v2-line);
  margin-top: 22px;
  padding-top: 24px;
}
.section-caption {
  margin: 0 0 12px;
  justify-content: flex-start;
  gap: 8px;
}
.child-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.child-cards button {
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: left;
  padding: 15px;
  background: #f8f9f3;
}
.child-cards button > div {
  flex: 1;
  min-width: 0;
}
.child-cards strong {
  font-size: 12px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.child-cards p {
  font-size: 11px;
  color: #8a9786;
  margin: 6px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.editor-footer {
  display: flex;
  justify-content: space-between;
  color: #9aa391;
  font-size: 10px;
  margin-top: 25px;
  padding-top: 12px;
}
.details-grid {
  padding: 15px;
  border: 1px solid var(--v2-line);
  border-radius: 8px;
  background: #f3f5ec;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.details-grid label {
  font-size: 11px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.details-grid input,
.details-grid select {
  width: 100%;
  padding: 7px;
  background: white;
  border: 1px solid #cfd7c9;
  border-radius: 5px;
  color: #41543f;
}
.details-grid small {
  grid-column: 1/-1;
  color: #899480;
}
.undo-toast {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: #263f31;
  color: white;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 18px;
  border-radius: 10px;
  box-shadow: 0 4px 20px #0003;
  white-space: nowrap;
}
.undo-toast button {
  color: #d1e3a4;
  border: 0;
}
.recovery {
  padding: 12px 25px;
  background: #faf0ce;
  font-size: 12px;
}
.recovery button {
  margin-left: 10px;
  font-size: 12px;
}
.dark-mode .note-workspace {
  color: var(--v2-ink);
}
@media (max-width: 760px) {
  #notesModal.v2-modal {
    padding: 0;
  }
  .note-workspace {
    height: 100dvh;
    width: 100%;
    border-radius: 0;
  }
  .workspace-header {
    padding: 12px;
    gap: 8px;
    min-height: 60px;
  }
  .workspace-brand {
    display: none;
  }
  .save-controls {
    font-size: 10px;
    gap: 6px;
  }
  .workspace-header button {
    font-size: 12px;
  }
  .note-sidebar {
    display: none;
  }
  .note-sidebar.mobile-open {
    display: flex;
    position: absolute;
    z-index: 5;
    top: 62px;
    bottom: 0;
    width: 85%;
    box-shadow: 20px 0 60px #0003;
  }
  .note-content {
    padding: 20px;
  }
  .breadcrumbs {
    margin-bottom: 24px;
  }
  .breadcrumbs .browse-button {
    display: block;
    border: 1px solid var(--v2-line);
    padding: 5px 8px;
  }
  .note-title-input {
    font-size: 28px;
  }
  .note-heading {
    align-items: flex-start;
  }
  .note-actions {
    flex-wrap: wrap;
  }
  .child-cards {
    grid-template-columns: 1fr;
  }
  .note-writing {
    min-height: 250px;
  }
  .undo-toast {
    gap: 8px;
    padding: 8px;
    font-size: 11px;
  }
  .board-brand {
    font-size: 12px;
    margin-right: 4px;
  }
}
