/*!*****************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[5].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[15].oneOf[5].use[3]!./src/components/vault/vault.module.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************/
.vault_entry__vk4KZ {
  width: min(100% - 2 * var(--preview-gutter), 440px);
  margin: auto;
  padding: 32px 0;
  overflow-y: auto;
  font-size: var(--preview-type-body);
}
.vault_entry__vk4KZ h1 {
  margin: 24px 0 12px;
  font-size: 1.625rem;
  line-height: 1.25;
  font-weight: 550;
}
.vault_entry__vk4KZ p {
  color: var(--preview-muted);
  line-height: 1.55;
}
.vault_entryBrand__or6IN {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--preview-heading);
  font-weight: 550;
}
.vault_entryBrand__or6IN svg {
  color: var(--preview-accent);
}
.vault_entryAction__sJ3Rb.vault_dangerButton__bFd6e {
  background: var(--preview-solid-danger);
  color: var(--preview-danger-text);
  border-color: transparent;
}
.vault_entryAction__sJ3Rb.vault_dangerButton__bFd6e:disabled {
  color: var(--preview-danger-text);
  opacity: 0.5;
  cursor: default;
}
.vault_textButton__DC9IT {
  border: 0;
  background: transparent;
  color: var(--preview-heading);
  min-height: var(--preview-hit-control);
  padding: 4px 8px;
  font: inherit;
  font-size: var(--preview-type-support);
  cursor: pointer;
}
.vault_buttonRow__1XdpQ {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.vault_entryActions__yjDFS {
  display: flex;
  flex-direction: column;
  margin-top: var(--preview-space-4);
  overflow: hidden;
  border-radius: var(--preview-radius-control);
  background: var(--preview-soft);
}
.vault_entryAction__sJ3Rb {
  display: grid;
  grid-template-columns: var(--preview-icon-main, 24px) minmax(0, 1fr) var(--preview-icon-size);
  align-items: center;
  gap: var(--preview-space-3);
  width: 100%;
  min-height: var(--preview-hit-control);
  padding: var(--preview-space-3) var(--preview-space-4);
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--preview-text);
  font: inherit;
  text-align: start;
  text-decoration: none;
  cursor: pointer;
}
.vault_entryAction__sJ3Rb + .vault_entryAction__sJ3Rb {
  border-block-start: 1px solid var(--preview-divider);
}
.vault_entryAction__sJ3Rb > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.vault_entryAction__sJ3Rb > svg:last-child {
  color: var(--preview-muted);
}
.vault_entryAction__sJ3Rb:disabled {
  color: var(--preview-disabled-text);
  cursor: default;
}
.vault_entryActions__yjDFS > p {
  margin: 0;
  padding: var(--preview-space-3) var(--preview-space-4);
}
.vault_entryActions__yjDFS > .vault_warning__JUhp7 {
  margin: 0;
}
.vault_subtle__2HTBO {
  font-size: var(--preview-type-caption);
  color: var(--preview-muted);
}
.vault_warning__JUhp7 {
  padding: 12px;
  margin: 16px 0;
  border-left: 2px solid var(--preview-tag-amber);
  background: var(--preview-soft);
  color: var(--preview-text);
  font-size: var(--preview-type-support);
  line-height: 1.5;
}
/* Entry failures are secondary readable copy, separated from the action group. */
.vault_entry__vk4KZ .vault_entryError__2PPH6 {
  margin: var(--preview-space-4) 0 0;
  color: var(--preview-muted);
  font-size: var(--preview-type-support);
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.vault_error__xYazx {
  color: var(--preview-tag-red) !important;
}
.vault_wordGrid__bkVIS {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 16px 0;
}
.vault_wordGrid__bkVIS li {
  padding: 8px;
  border-radius: calc(var(--preview-radius-control) / 2);
  background: var(--preview-soft);
  font-size: var(--preview-type-support);
}
.vault_wordGrid__bkVIS li span {
  display: inline-block;
  width: 22px;
  color: var(--preview-muted);
  font-size: var(--preview-type-caption);
}
.vault_quiz__Eaqou {
  border: 1px solid var(--preview-divider);
  border-radius: var(--preview-radius-card);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px;
  margin: 16px 0;
}
.vault_quiz__Eaqou legend {
  padding: 0 4px;
  font-size: var(--preview-type-support);
}
.vault_quiz__Eaqou label {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--preview-type-support);
}
.vault_field__B0xpX {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: var(--preview-type-support);
  color: var(--preview-muted);
  margin: 16px 0;
}
.vault_field__B0xpX input,
.vault_field__B0xpX textarea,
.vault_field__B0xpX select {
  width: 100%;
  min-width: 0;
  min-height: var(--preview-hit-control);
  padding: 8px 12px;
  border: 0;
  border-radius: var(--preview-radius-control);
  background: var(--preview-soft);
  color: var(--preview-text);
  font: inherit;
  font-size: var(--preview-type-body);
}
.vault_field__B0xpX textarea {
  resize: vertical;
}
.vault_field__B0xpX .vault_recoveryPhrase__Nyksf {
  resize: none;
  overflow: auto;
}
/* Telegram-iOS setup geometry; latest operator typography overrides source
   letters/hollow dots. Neutral PIN roles derive exclusively from host colors. */
.vault_pinEntry__YzEE_ {
  --pin-standard-input-height: 335px;
  --pin-keyboard-background: var(--preview-bg);
  --pin-key-background: var(--preview-panel);
  --pin-key-pressed: var(--preview-soft);
  --pin-key-text: color-mix(in srgb, var(--preview-text) 88%, var(--preview-panel));
  --pin-dot-empty: color-mix(in srgb, var(--preview-text) 18%, var(--preview-bg));
  --pin-dot-filled: color-mix(in srgb, var(--preview-text) 78%, var(--preview-bg));
  position: relative;
  container-type: size;
  flex: 1;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--preview-bg);
}

.vault_pinFlow__WOgox,
.vault_pinControls__qeFe_ {
  width: 100%;
  height: 100%;
}
.vault_pinFlow__WOgox {
  --pin-keyboard-height: max(256px, calc(var(--pin-standard-input-height) - 49px));
}
.vault_pinPrompt__wHSrx {
  position: absolute;
  top: calc((100% - var(--pin-standard-input-height) - 24px) / 2 - 46px);
  left: 0;
  width: 100%;
  text-align: center;
}
.vault_pinEntry__YzEE_ .vault_pinFlow__WOgox .vault_pinPrompt__wHSrx h1 {
  margin: 0 14px 20px;
  font-size: var(--preview-type-section, 1.125rem);
  line-height: 26px;
  font-weight: 500;
  color: var(--pin-key-text);
}
.vault_pinPrompt__wHSrx[data-repeat="true"] {
  animation: vault_pinRepeatEnter___I7fZ 250ms ease-out both;
}
@keyframes vault_pinRepeatEnter___I7fZ {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
.vault_pinCells__Dh5rL {
  position: relative;
  display: flex;
  gap: 24px;
  width: 124px;
  height: 13px;
  margin-inline: auto;
}
.vault_pinDot__gxnBc {
  display: block;
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
  border: 0;
  border-radius: 50%;
  background: var(--pin-dot-empty);
  transition: background-color 250ms ease-out;
}
.vault_pinDot__gxnBc[data-filled="true"] {
  background: var(--pin-dot-filled);
  transition-duration: 50ms;
}
.vault_pinCells__Dh5rL input {
  position: absolute;
  inset: -12px -16px;
  width: calc(100% + 32px);
  height: 38px;
  margin: 0;
  padding: 0;
  opacity: 0;
  border: 0;
  background: transparent;
  caret-color: transparent;
}
.vault_pinKeypad__yaBWw {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 48px;
  align-content: start;
  gap: 6px;
  box-sizing: border-box;
  height: var(--pin-keyboard-height);
  padding: 16px var(--preview-gutter) 30px;
  background: var(--pin-keyboard-background);
}
.vault_pinKeypad__yaBWw button {
  position: relative;
  height: 48px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--pin-key-background);
  color: var(--pin-key-text);
  font: inherit;
}
.vault_pinKeypad__yaBWw button:active:not(:disabled) {
  scale: 1;
  background: var(--pin-key-pressed);
}
.vault_pinNumber__wo__x {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-family: inherit;
  font-size: 1.375rem;
  line-height: 28px;
  font-weight: 500;
  font-variant-numeric: lining-nums tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.vault_pinKeypad__yaBWw .vault_pinDelete__uzl54 {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: transparent;
}
.vault_pinKeypad__yaBWw .vault_pinDelete__uzl54:active:not(:disabled) {
  background: transparent;
}
@media (prefers-reduced-motion: reduce) {
  [data-motion-debug-force="false"] .vault_pinPrompt__wHSrx {
    animation: none;
  }
  [data-motion-debug-force="false"] .vault_pinDot__gxnBc {
    transition: none;
  }
}
.vault_workspace__4xDOe {
  display: block;
  flex: 1;
  min-height: 0;
  max-width: 1680px;
  width: 100%;
  margin-inline: auto;
}
.vault_sidebar__w054Z {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
  padding: 16px 12px;
  background: var(--preview-bg);
}
.vault_brand__US2Zt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px 24px;
  font-size: var(--preview-type-support);
}
.vault_brandIcon__3bnfL {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--preview-radius-control);
  background: var(--preview-solid-accent);
  color: var(--preview-action-text, var(--preview-on-accent));
  flex: 0 0 36px;
}
.vault_libraryItem__bkRwv,
.vault_tagItem__jKyb5 {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 36px;
  border: 0;
  padding: 8px 12px;
  background: transparent;
  text-align: left;
  color: var(--preview-text);
  font: inherit;
  font-size: var(--preview-type-support);
  cursor: pointer;
  border-inline-start: 2px solid transparent;
}
.vault_libraryItem__bkRwv > svg {
  flex: 0 0 20px;
  color: var(--preview-muted);
}
.vault_libraryItem__bkRwv > span,
.vault_tagItem__jKyb5 > span:last-child {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.vault_libraryItem__bkRwv small {
  min-width: 24px;
  text-align: center;
  color: var(--preview-muted);
  font-size: var(--preview-type-caption);
}
.vault_current__VtrRP {
  border-inline-start-color: var(--preview-accent);
  color: var(--preview-accent);
}
.vault_tagsSection__1_rNb {
  border-top: 1px solid var(--preview-divider);
  margin-top: 16px;
  padding-top: 12px;
}
.vault_tagsHeading__pXaPt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline-start: 12px;
  color: var(--preview-muted);
  font-size: var(--preview-type-caption);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.vault_tagDot__2c_5Q {
  width: 6px;
  height: 6px;
  margin-inline: 7px;
  border-radius: 50%;
  background: var(--preview-tag-blue);
}
.vault_libraryBottom__W3Xjs {
  margin-top: auto;
  padding-top: 24px;
}
.vault_storage__Yh3ty {
  padding: 8px 4px 16px;
  border-bottom: 1px solid var(--preview-divider);
  font-size: var(--preview-type-caption);
}
.vault_storage__Yh3ty > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.vault_storage__Yh3ty small {
  color: var(--preview-muted);
  font-size: inherit;
}
.vault_storage__Yh3ty progress,
.vault_settings__jPrEX progress {
  width: 100%;
  height: 4px;
  margin-top: 12px;
  accent-color: var(--preview-accent);
  appearance: none;
  border: 0;
  border-radius: var(--preview-space-1);
  background: var(--preview-soft);
}
.vault_storage__Yh3ty progress::-webkit-progress-bar,
.vault_settings__jPrEX progress::-webkit-progress-bar {
  border-radius: var(--preview-space-1);
  background: var(--preview-soft);
}
.vault_storage__Yh3ty progress::-webkit-progress-value,
.vault_settings__jPrEX progress::-webkit-progress-value {
  border-radius: var(--preview-space-1);
  background: var(--preview-accent);
}
.vault_storage__Yh3ty progress::-moz-progress-bar,
.vault_settings__jPrEX progress::-moz-progress-bar {
  border-radius: var(--preview-space-1);
  background: var(--preview-accent);
}
.vault_profile__uSuWM {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 4px 0;
  font-size: var(--preview-type-caption);
  color: var(--preview-muted);
}
.vault_profile__uSuWM > span {
  flex: 1;
  min-width: 0;
}
.vault_desktopSettings__VVgFc {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  align-items: center;
  border: 0;
  padding: 8px 4px;
  background: transparent;
  color: var(--preview-muted);
  font: inherit;
  font-size: var(--preview-type-support);
  cursor: pointer;
}
.vault_noteList__vtWMf {
  border-right: 1px solid var(--preview-divider);
  position: relative;
}
.vault_noteCard__2ZQX_ {
  width: 100%;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.vault_noteCard__2ZQX_ > p {
  line-height: 1.538462;
}
.vault_noteCard__2ZQX_:not([aria-pressed="true"]) {
  background: transparent;
}
.vault_noteTags___PoRa {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.vault_noteCard__2ZQX_ [class*="cardBottom"] {
  justify-content: space-between;
}
.vault_syncStatus__1aetP {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-top: 1px solid var(--preview-divider);
  color: var(--preview-muted);
  font-size: var(--preview-type-caption);
}
.vault_syncStatus__1aetP button {
  background: transparent;
  border: 0;
  color: var(--preview-accent);
  font: inherit;
  cursor: pointer;
}
.vault_menuButton___NDPE {
  display: none;
}
.vault_editor__DBAsB {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: var(--preview-panel);
}
.vault_editorHeader__ieoMk {
  min-height: var(--preview-header-height);
  display: grid;
  grid-template-columns: var(--preview-hit-editor-action) minmax(0, 1fr) max-content;
  align-items: center;
  padding-block: var(--preview-space-1);
  padding-inline: calc(
    var(--preview-gutter) - (var(--preview-hit-editor-action) - var(--preview-icon-size)) / 2
  );
  border-bottom: 1px solid var(--preview-divider);
}
.vault_backButton__URjXH {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--preview-hit-editor-action);
  height: var(--preview-hit-editor-action);
  min-height: var(--preview-hit-editor-action);
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--preview-text);
  font: inherit;
  font-size: var(--preview-type-support);
  cursor: pointer;
}
.vault_headerActions__9qtsv {
  grid-column: 3;
  display: flex;
  align-items: center;
  gap: 0;
}
.vault_historyActions__V_cqh {
  display: flex;
  align-items: center;
  gap: 0;
}
.vault_iconButton__vl8ai {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 var(--preview-hit-icon);
  width: var(--preview-hit-icon);
  height: var(--preview-hit-icon);
  border: 0;
  border-radius: calc(var(--preview-radius-control) / 2);
  padding: 0;
  background: transparent;
  color: var(--preview-muted);
  cursor: pointer;
  text-decoration: none;
}
.vault_headerActions__9qtsv .vault_iconButton__vl8ai {
  flex-basis: var(--preview-hit-editor-action);
  width: var(--preview-hit-editor-action);
  height: var(--preview-hit-editor-action);
}
.vault_iconButton__vl8ai:disabled {
  color: var(--preview-disabled-text);
  cursor: default;
}
.vault_documentScroll__n67Oc {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-color: var(--preview-scroll-thumb) transparent;
  scrollbar-width: thin;
  scrollbar-gutter: stable;
}
.vault_document__S27Nd {
  width: min(100%, 740px);
  padding: var(--preview-space-1) var(--preview-gutter);
  margin-inline: auto;
  min-width: 0;
}
/* Title leads the compact document cluster; routine status labels do not occupy it. */
.vault_documentHeader__f0xbx {
  display: grid;
  gap: 0;
  min-width: 0;
  margin-block-end: 0;
}
.vault_documentHistory__slibu {
  display: inline-flex;
  flex: 0 0 auto;
  margin-inline-start: auto;
  align-items: center;
  gap: var(--preview-space-1);
  min-height: var(--preview-hit-editor-action);

  border: 0;
  padding: 0;
  background: transparent;
  color: var(--preview-muted);
  font: inherit;
  font-size: var(--preview-type-caption);
  line-height: 1.5;
  white-space: nowrap;
  text-align: end;
  cursor: pointer;
}
.vault_documentHistory__slibu:disabled {
  cursor: default;
}
.vault_documentTags__DcLmn {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--preview-space-2);
  min-width: 0;
}
.vault_documentHeading__AgSaV {
  display: flex;
  align-items: center;
  gap: var(--preview-space-2);
  min-width: 0;
}
.vault_readerTitle__jl7iJ {
  flex: 1;
  min-width: 0;
  margin: 0;
  color: var(--preview-heading);
  font-size: var(--preview-type-title);
  font-weight: 550;
  line-height: 1.25;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}
.vault_documentStatus__pjnPS {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--preview-space-2);
  min-width: 0;
  min-height: 1.5em;
  margin: 0;
  color: var(--preview-muted);
  font-size: var(--preview-type-support);
  line-height: 1.5;
}
.vault_documentStatus__pjnPS .vault_edited__RfPLx {
  margin: 0;
  margin-inline-start: auto;
  white-space: nowrap;
}
.vault_modeAction__O9FLa,
.vault_modeSecondary__rr4ox {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--preview-space-2);
  min-height: var(--preview-hit-control);
  min-width: var(--preview-hit-control);
  flex: 0 0 auto;
  padding: var(--preview-space-2) var(--preview-space-3);
  border: 0;
  border-radius: var(--preview-radius-control);
  background: var(--preview-soft);
  color: var(--preview-text);
  font: inherit;
  font-size: var(--preview-type-support);
  line-height: 1.5;
  cursor: pointer;
}
.vault_modeSecondary__rr4ox {
  background: transparent;
  color: var(--preview-muted);
}
.vault_addTagAction__8BdCI {
  justify-content: flex-start;
  padding-inline: 0;
  border: 0;
  background: transparent;
}
.vault_modeAction__O9FLa:disabled,
.vault_modeSecondary__rr4ox:disabled {
  color: var(--preview-disabled-text);
  cursor: default;
}
.vault_toolbarGroup__jo_Ja {
  display: flex;
  align-items: center;
  gap: var(--preview-space-2);
}
.vault_toolbarHistory__ih1nd {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}
.vault_toolbarMenuButton__l1tH9 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--preview-space-1);
  flex: 0 0 auto;
  min-height: var(--preview-hit-control);
  padding: var(--preview-space-2);
  border: 0;
  border-radius: var(--preview-radius-control);
  background: transparent;
  color: var(--preview-text);
  font: inherit;
  font-size: var(--preview-type-support);
  white-space: nowrap;
  cursor: pointer;
}
.vault_insertChoices__yljrw {
  display: grid;
  gap: var(--preview-space-2);
}
.vault_insertChoices__yljrw > button {
  display: flex;
  align-items: center;
  gap: var(--preview-space-3);
  min-height: var(--preview-hit-control);
  padding: var(--preview-space-2) var(--preview-space-3);
  border: 0;
  border-radius: var(--preview-radius-control);
  background: var(--preview-soft);
  color: var(--preview-text);
  font: inherit;
  font-size: var(--preview-type-support);
  text-align: start;
  cursor: pointer;
}
.vault_readAttachments__LEvn7 {
  display: grid;
  gap: var(--preview-space-3);
  margin-block-start: var(--preview-space-6);
}
.vault_readAttachments__LEvn7:empty {
  display: none;
  margin: 0;
}
.vault_readAttachments__LEvn7 .vault_attachment__Hd9I0 {
  margin: 0;
}
.vault_fileSummary__oLAvC {
  display: flex;
  margin: 0;
  align-items: center;
  gap: var(--preview-space-3);
  min-width: 0;
  padding: var(--preview-space-3);
  border-radius: var(--preview-radius-card);
  background: var(--preview-soft);
  font-size: var(--preview-type-support);
  overflow-wrap: anywhere;
}
.vault_draftRowGroup__u1PsI {
  display: grid;
  gap: var(--preview-space-2);
  min-width: 0;
  padding-block-start: var(--preview-space-3);
}
.vault_draftRow__pyPM1 {
  min-width: 0;
}
.vault_localDraftBadge__vqW6b {
  flex: 0 0 auto;
  color: var(--preview-muted);
  font-size: var(--preview-type-caption);
  line-height: 1.45;
}
.vault_collectionEmpty__RnQMD,
.vault_detailEmpty__diP5k {
  display: grid;
  justify-items: center;
  gap: var(--preview-space-3);
  margin: auto;
  max-width: 360px;
  padding: var(--preview-space-8) var(--preview-space-6);
  color: var(--preview-muted);
  font-size: var(--preview-type-support);
  line-height: 1.5;
  text-align: center;
}
.vault_collectionEmpty__RnQMD h2,
.vault_detailEmpty__diP5k h2 {
  margin: 0;
  color: var(--preview-heading);
  font-size: 1.125rem;
  line-height: 1.444444;
  font-weight: 550;
}
.vault_collectionEmpty__RnQMD p,
.vault_detailEmpty__diP5k p {
  margin: 0;
}
.vault_documentMeta__tYFwt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.vault_contentTag__Kkbuc {
  background: var(--preview-soft);
  color: var(--preview-muted);
  border: 0;
  border-radius: calc(var(--preview-radius-control) / 2);
  padding: 4px 8px;
  font: inherit;
  font-size: var(--preview-type-caption);
  cursor: pointer;
}
.vault_desktopReading__RicNq,
.vault_mobileReading__ZSQkT {
  color: var(--preview-muted);
  font-size: var(--preview-type-caption);
  white-space: nowrap;
}
.vault_mobileReading__ZSQkT {
  display: none;
}
.vault_titleRow__j9HZW {
  display: flex;
  align-items: center;
  gap: 8px;
}
.vault_titleIcon__x8wM_ {
  margin-inline-start: calc((var(--preview-icon-size) - var(--preview-hit-icon)) / 2);
  display: grid;
  place-items: center;
  flex: 0 0 var(--preview-hit-icon);
  width: var(--preview-hit-icon);
  height: var(--preview-hit-icon);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.vault_titleIcon__x8wM_:not(button) {
  cursor: default;
}
.vault_titleIcon__x8wM_ > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: calc(var(--preview-radius-control) / 2);
  background: var(--preview-selected);
  color: var(--preview-accent);
}
/* Stable symbol size; the heading row centers its title and icon together. */
.vault_titleIcon__x8wM_ svg {
  display: block;
  width: var(--preview-icon-size);
  height: var(--preview-icon-size);
}
.vault_titleInput__7yh3P {
  flex: 1;
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--preview-heading);
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: var(--preview-type-title);
  line-height: 1.3;
  font-weight: 550;
  letter-spacing: -0.03em;
}
.vault_titleInput__7yh3P::placeholder {
  color: var(--preview-muted);
}
.vault_edited__RfPLx {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--preview-space-2);
  color: var(--preview-muted);
  font-size: var(--preview-type-caption);
  margin: 0;
}
.vault_edited__RfPLx button {
  margin-inline-start: auto;
  min-height: var(--preview-hit-control);
  padding: var(--preview-space-1) var(--preview-space-2);
  background: transparent;
  border: 0;
  border-radius: var(--preview-radius-control);
  color: var(--preview-text);
  font: inherit;
  font-size: var(--preview-type-support);
  cursor: pointer;
}
.vault_bodyInput__85K1C {
  display: block;
  min-width: 0;
  min-height: 3lh;
  field-sizing: content;
  max-height: max(12lh, 52dvh);
  resize: none;
  padding: 0 var(--preview-space-3);
  margin-inline: calc(-1 * var(--preview-space-3));
  width: calc(100% + var(--preview-space-6));
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--preview-text);
  font: inherit;
  font-size: var(--preview-type-body);
  line-height: 1.533333;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--preview-scroll-thumb) transparent;
}
.vault_bodyInput__85K1C::placeholder {
  font: inherit;
  color: var(--preview-muted);
  opacity: 1;
}

.vault_markdown__dta_r {
  display: flow-root;
  overflow-wrap: anywhere;
  font-size: var(--preview-type-body);
  line-height: 1.533333;
}
.vault_markdown__dta_r p {
  margin: 0;
  line-height: inherit;
}
.vault_markdown__dta_r h3 {
  margin: 0;
  color: var(--preview-heading);
  font-size: 1.125rem;
  line-height: 1.444444;
  font-weight: 550;
}
.vault_markdown__dta_r > br {
  display: none;
}
.vault_markdown__dta_r > :not(br) + :not(br),
.vault_markdown__dta_r > br + :not(br) {
  margin-block-start: var(--preview-space-4);
}
.vault_markdown__dta_r > h3:not(:first-child) {
  margin-block-start: var(--preview-space-6);
}
.vault_markdown__dta_r > h3 + :not(br),
.vault_markdown__dta_r > h3 + br + :not(br),
.vault_markdown__dta_r > .vault_bullet__ntQ6G + .vault_bullet__ntQ6G,
.vault_markdown__dta_r > .vault_checklistRow__OiXgS + .vault_checklistRow__OiXgS {
  margin-block-start: var(--preview-space-2);
}
.vault_markdown__dta_r > :first-child,
.vault_markdown__dta_r > br:first-child + :not(br) {
  margin-block-start: 0;
}
.vault_markdown__dta_r a {
  color: var(--preview-accent);
}
.vault_markdown__dta_r code {
  font:
    0.9em ui-monospace,
    monospace;
  background: var(--preview-soft);
  padding: 2px 4px;
  border-radius: calc(var(--preview-radius-control) / 2);
}
.vault_markdown__dta_r pre {
  max-width: 100%;
  margin: 0;
  overflow-x: auto;
  padding: var(--preview-space-3);
  background: var(--preview-soft);
  border-radius: var(--preview-radius-card);
}
.vault_markdown__dta_r blockquote {
  margin: 0;
  padding-inline-start: var(--preview-space-3);
  border-inline-start: 2px solid var(--preview-accent);
  color: var(--preview-muted);
}
.vault_bullet__ntQ6G::before {
  content: "•";
  margin-right: 8px;
}
.vault_checklistRow__OiXgS {
  display: flex;
  align-items: flex-start;
  gap: var(--preview-space-2);
  width: 100%;
  min-height: var(--preview-hit-control);
  padding: var(--preview-space-2) 0;
  border: 0;
  background: transparent;
  color: var(--preview-text);
  font: inherit;
  line-height: 1.533333;
  text-align: start;
  cursor: pointer;
}
.vault_checkbox__2EzSh {
  flex: 0 0 18px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid var(--preview-control-border);
  border-radius: calc(var(--preview-radius-control) / 2);
  margin-top: 2px;
}
.vault_checked__aIFz0 {
  background: var(--preview-solid-accent);
  color: var(--preview-action-text, var(--preview-on-accent));
  border-color: var(--preview-solid-accent);
}
.vault_credentials__qPx4C {
  margin-bottom: 24px;
}
.vault_passwordField__Ko82W {
  display: flex;
  align-items: center;
  min-width: 0;
}
.vault_passwordField__Ko82W > input {
  flex: 1;
  min-width: 0;
}
/* Attachment preview uses the existing touch-target size as a compact thumbnail. */
.vault_attachment__Hd9I0 {
  margin: var(--preview-space-3) 0;
  overflow: hidden;
}
.vault_photo__CmI3p {
  display: block;
  flex: 0 0 var(--preview-hit-icon);
  width: var(--preview-hit-icon);
  height: var(--preview-hit-icon);
  object-fit: contain;
}
/* Reading uses an image-only preview; editing keeps the compact attachment row. */
.vault_photoView__gibQw {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(var(--preview-hit-icon) * 4);
  object-fit: contain;
}
.vault_attachmentRow__yF2AQ {
  display: flex;
  align-items: center;
  gap: var(--preview-space-2);
  min-width: 0;
  font-size: var(--preview-type-support);
}
.vault_attachmentRow__yF2AQ > svg {
  flex-shrink: 0;
}
.vault_attachmentInfo__qY03F {
  flex: 1;
  min-width: 0;
}
.vault_attachmentName__Vlwgk {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.vault_attachmentRow__yF2AQ small {
  display: block;
  margin-top: var(--preview-space-1);
  color: var(--preview-muted);
  font-size: var(--preview-type-caption);
}
.vault_editorFooter__UrAAz {
  flex: 0 0 auto;
  min-width: 0;
  border-top: 1px solid var(--preview-divider);
  /* The 48px controls provide touch height; reserve only the actual safe inset. */
  padding: 0 var(--preview-space-4)
    var(--tg-content-safe-area-inset-bottom, env(safe-area-inset-bottom, 0px));
  background: var(--preview-bg);
}
.vault_toolbar__pLwKA {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.vault_tools__kjtHf {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--preview-scroll-thumb) transparent;
  scroll-padding-inline: var(--preview-space-1);
}
.vault_tools__kjtHf .vault_iconButton__vl8ai {
  flex-shrink: 0;
}
.vault_empty__r_3JM {
  margin: auto;
  padding: 32px 24px;
  text-align: center;
  color: var(--preview-muted);
}
.vault_empty__r_3JM > svg {
  margin: 0 auto 16px;
  color: var(--preview-accent);
}
.vault_empty__r_3JM h2 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--preview-heading);
}
.vault_empty__r_3JM p {
  font-size: var(--preview-type-support);
  line-height: 1.55;
}
.vault_settingsView__eq_6Y {
  grid-template-columns: minmax(0, 1fr);
}
.vault_settings__jPrEX {
  overflow-y: auto;
  padding: 24px var(--preview-gutter);
  background: var(--preview-panel);
}
.vault_settings__jPrEX h1 {
  margin: 0 0 var(--preview-space-6);
  font-size: var(--preview-type-body);
  line-height: 1.533333;
  font-weight: 500;
}
.vault_settingSection__Mo04a {
  max-width: 620px;
  padding: 16px 0;
  border-top: 1px solid var(--preview-divider);
}
.vault_settingSection__Mo04a h2 {
  margin: 0 0 var(--preview-space-2);
  line-height: 1.444444;
  font-size: 1.125rem;
  font-weight: 550;
}
.vault_settingSection__Mo04a h3 {
  margin: var(--preview-space-4) 0 var(--preview-space-2);
  font-size: var(--preview-type-body);
  font-weight: 550;
}
.vault_settingSection__Mo04a p {
  margin: 0 0 var(--preview-space-2);
  color: var(--preview-muted);
  font-size: var(--preview-type-support);
  line-height: 1.55;
}
.vault_deviceRow__V_tN6 {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  padding: 8px 0;
  font-size: var(--preview-type-caption);
}
.vault_demoBanner__q48z7 {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 16px;
  border-bottom: 1px solid var(--preview-divider);
  color: var(--preview-muted);
  background: var(--preview-soft);
  font-size: var(--preview-type-caption);
}
.vault_demoBanner__q48z7 > span {
  flex: 1;
}
.vault_demoBanner__q48z7 button {
  border: 0;
  background: transparent;
  color: var(--preview-accent);
  font: inherit;
  cursor: pointer;
}
.vault_banner__KshFU {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-top: 1px solid var(--preview-divider);
  background: var(--preview-soft);
  color: var(--preview-muted);
  font-size: var(--preview-type-caption);
}
.vault_banner__KshFU button {
  flex: 0 0 auto;
}
.vault_bottomNav__NtwAj {
  display: none;
}
.vault_dialog__Y7KSq {
  position: fixed;
  margin: auto;
  width: min(100% - 32px, 440px);
  max-height: calc(100dvh - 32px);
  border: 1px solid var(--preview-divider);
  border-radius: var(--preview-radius-card);
  padding: 16px;
  color: var(--preview-text);
  background: var(--preview-panel);
  overflow: auto;
}
.vault_dialog__Y7KSq::backdrop {
  background: var(--preview-overlay);
}
.vault_dialogHeader__t2btu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.vault_dialogHeader__t2btu h2 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 550;
}
.vault_dialog__Y7KSq p {
  color: var(--preview-muted);
  font-size: var(--preview-type-support);
  line-height: 1.55;
}
.vault_creationChoices__9UV6m {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vault_iconGrid__Hjsw7 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.vault_iconGrid__Hjsw7 button {
  display: grid;
  place-items: center;
  min-height: 48px;
  background: var(--preview-soft);
  color: var(--preview-text);
  border: 1px solid transparent;
  border-radius: var(--preview-radius-control);
  cursor: pointer;
}
.vault_iconGrid__Hjsw7 button[aria-pressed="true"] {
  border-color: var(--preview-accent);
  color: var(--preview-accent);
}
.vault_drawer__80v8_ {
  display: flex;
  flex-direction: column;
}
.vault_drawer__80v8_ .vault_desktopSettings__VVgFc {
  display: none;
}
.vault_toast__dVI1D {
  position: fixed;
  z-index: 20;
  inset-inline-start: 50%;
  bottom: calc(80px + var(--tg-content-safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--preview-space-2);
  width: max-content;
  max-width: min(480px, calc(100% - var(--preview-space-8)));
  max-height: min(30dvh, 240px);
  overflow-y: auto;
  padding: var(--preview-space-2) var(--preview-space-4);
  border: 1px solid var(--preview-divider);
  border-radius: var(--preview-radius-control);
  background: var(--preview-panel);
  color: var(--preview-text);
  font-size: var(--preview-type-support);
  line-height: 1.5;
  overflow-wrap: anywhere;
}
@media (min-width: 0px) {
  .vault_workspace__4xDOe {
    grid-template-columns: minmax(0, 1fr);
  }
  .vault_sidebar__w054Z {
    display: none;
  }
  .vault_menuButton___NDPE {
    display: grid;
    place-items: center;
    flex: 0 0 var(--preview-hit-icon);
    width: var(--preview-hit-icon);
    height: var(--preview-hit-icon);
    padding: 0;
    border: 0;
    color: var(--preview-text);
    background: transparent;
    cursor: pointer;
  }
  .vault_settingsView__eq_6Y {
    display: block;
  }
  .vault_settings__jPrEX {
    height: 100%;
  }
}
@media (min-width: 0px) {
  .vault_workspace__4xDOe {
    display: block;
  }
  .vault_noteList__vtWMf {
    height: 100%;
    border: 0;
  }
  .vault_editor__DBAsB {
    display: none;
    height: 100%;
  }
  .vault_noteView__UGEaf .vault_noteList__vtWMf {
    display: none;
  }
  .vault_noteView__UGEaf .vault_editor__DBAsB {
    display: flex;
  }
  .vault_document__S27Nd {
    padding: var(--preview-space-1) var(--preview-gutter);
  }
  .vault_documentMeta__tYFwt {
    margin-bottom: 8px;
  }
  .vault_desktopReading__RicNq {
    display: none;
  }
  .vault_mobileReading__ZSQkT {
    display: block;
    margin-top: 24px;
  }
  .vault_titleIcon__x8wM_ {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    margin-inline-start: calc((var(--preview-icon-size) - 48px) / 2);
  }
  .vault_titleIcon__x8wM_ > span {
    width: 28px;
    height: 28px;
  }
  .vault_titleInput__7yh3P {
    font-size: 1.625rem;
  }

  .vault_checklistRow__OiXgS {
    min-height: var(--preview-hit-control);
  }
  .vault_bottomNav__NtwAj {
    display: flex;
    flex: 0 0 auto;
    min-height: calc(
      64px + var(--tg-content-safe-area-inset-bottom, env(safe-area-inset-bottom, 0px))
    );
    padding: 4px 16px var(--tg-content-safe-area-inset-bottom, env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--preview-divider);
    background: var(--preview-panel);
  }
  .vault_bottomNav__NtwAj button {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 48px;
    border: 0;
    background: transparent;
    color: var(--preview-muted);
    font: inherit;
    font-size: var(--preview-type-caption);
    cursor: pointer;
  }
  .vault_bottomNav__NtwAj button[aria-current="page"] {
    color: var(--preview-accent);
  }
  [data-vault-view="editor"] > .vault_bottomNav__NtwAj {
    display: none;
  }
  .vault_syncStatus__1aetP {
    display: none;
  }
  .vault_demoBanner__q48z7 > span {
    display: none;
  }
  .vault_demoBanner__q48z7 {
    justify-content: space-between;
  }
  .vault_settings__jPrEX {
    padding: 16px var(--preview-gutter);
  }
  .vault_dialog__Y7KSq {
    width: calc(100% - 24px);
    padding: 12px;
  }
  .vault_entry__vk4KZ {
    padding: 24px 0;
  }
  .vault_wordGrid__bkVIS {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (prefers-reduced-motion: reduce) {
  .vault_dialog__Y7KSq,
  .vault_toast__dVI1D {
    scroll-behavior: auto;
  }
}

.vault_drawerDialog__6b24w {
  inset: 0 auto 0 0;
  margin: 0;
  width: min(320px, calc(100vw - 32px));
  height: 100dvh;
  max-height: 100dvh;
  border: 0;
  border-radius: 0;
  padding: 16px 12px;
}
.vault_drawerDialog__6b24w .vault_drawer__80v8_ {
  min-height: 100%;
}

.vault_replacementWarning__enP6Z {
  display: flex;
  flex-direction: column;
  gap: var(--preview-space-3);
  margin: var(--preview-space-4) 0;
  padding: var(--preview-space-4);
  min-width: 0;
  border: 1px solid var(--preview-divider);
  border-radius: var(--preview-radius-control);
}
.vault_replacementWarning__enP6Z legend {
  padding-inline: var(--preview-space-2);
  color: var(--preview-heading);
  font-weight: 550;
}
.vault_replacementWarning__enP6Z label {
  display: flex;
  align-items: flex-start;
  gap: var(--preview-space-2);
  font-size: var(--preview-type-support);
  line-height: 1.5;
}
.vault_replacementWarning__enP6Z input {
  accent-color: var(--preview-accent);
}

/* Tags are assigned immediately; rows use the shared neutral selection role. */
.vault_tagChoices__ZLD_a {
  display: grid;
  gap: var(--preview-space-1);
}
.vault_entry__vk4KZ input:is([type="checkbox"], [type="radio"]) {
  appearance: none;
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1px solid var(--preview-control-border);
  border-radius: calc(var(--preview-radius-control) / 2);
  background: var(--preview-panel);
  cursor: pointer;
}
.vault_entry__vk4KZ input[type="radio"] {
  border-radius: 50%;
}
.vault_entry__vk4KZ input:is([type="checkbox"], [type="radio"]):checked {
  background: var(--preview-solid-accent);
  border-color: var(--preview-solid-accent);
}
.vault_entry__vk4KZ input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--preview-action-text, var(--preview-on-accent));
  clip-path: polygon(10% 45%, 37% 70%, 85% 15%, 98% 28%, 38% 92%, 0 57%);
}
.vault_entry__vk4KZ input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--preview-action-text, var(--preview-on-accent));
}

/* VF-062: mobile navigation owns Library; headers never hide navigation in a menu. */
.vault_library__xoWww {
  grid-column: 2 / -1;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: auto;
  padding: var(--preview-space-4) var(--preview-gutter);
  background: var(--preview-panel);
}
.vault_libraryHeader___Kt8B {
  min-height: var(--preview-header-height);
  display: flex;
  align-items: center;
}
.vault_libraryHeader___Kt8B h1 {
  margin: 0;
  font-size: var(--preview-type-section, 1.125rem);
  font-weight: 550;
}
.vault_libraryLinks__ynSUf {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--preview-space-4);
}
.vault_libraryLinks__ynSUf button {
  display: flex;
  align-items: center;
  gap: var(--preview-space-3);
  width: 100%;
  min-height: var(--preview-hit-control);
  padding: var(--preview-space-3) 0;
  border: 0;
  border-bottom: 1px solid var(--preview-divider);
  color: var(--preview-text);
  background: transparent;
  font: inherit;
  text-align: start;
  cursor: pointer;
}
.vault_libraryLinks__ynSUf button span {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.vault_libraryLinks__ynSUf button small {
  color: var(--preview-muted);
}
.vault_credentials__qPx4C {
  display: grid;
  gap: var(--preview-space-3);
}
.vault_credentials__qPx4C .vault_field__B0xpX {
  margin: 0;
}
.vault_field__B0xpX input,
.vault_field__B0xpX textarea,
.vault_field__B0xpX select {
  border: 0;
  outline: none;
}
.vault_passwordField__Ko82W {
  position: relative;
  border-radius: var(--preview-radius-control);
  background: var(--preview-soft);
  padding-inline-end: var(--preview-space-1);
}
.vault_passwordField__Ko82W > input {
  background: transparent;
  padding-inline-end: calc(var(--preview-hit-icon) + var(--preview-space-2));
}
.vault_passwordReveal__IJ2nP {
  position: absolute;
  inset-inline-end: var(--preview-space-1);
  inset-block-start: 50%;
  transform: translateY(-50%);
}
@media (min-width: 0px) {
  .vault_bottomNav__NtwAj {
    display: flex;
    flex: 0 0 auto;
    min-height: calc(
      64px + var(--tg-content-safe-area-inset-bottom, env(safe-area-inset-bottom, 0px))
    );
    padding: 4px 16px var(--tg-content-safe-area-inset-bottom, env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--preview-divider);
    background: var(--preview-panel);
  }
  .vault_bottomNav__NtwAj button {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--preview-space-1);
    min-height: var(--preview-hit-icon);
    border: 0;
    background: transparent;
    color: var(--preview-muted);
    font: inherit;
    font-size: var(--preview-type-caption);
    cursor: pointer;
  }
  .vault_bottomNav__NtwAj button[aria-current="page"] {
    color: var(--preview-accent);
  }
}

@media (min-width: 0px) {
  .vault_library__xoWww {
    grid-column: 1 / -1;
  }
}

.vault_library__xoWww > .vault_tagsHeading__pXaPt {
  padding-inline: 0;
}

.vault_libraryHeader___Kt8B h1 {
  font-size: var(--preview-type-body);
  color: var(--preview-heading);
}
.vault_libraryLinks__ynSUf button {
  color: var(--preview-heading);
}
.vault_libraryLinks__ynSUf button > svg {
  color: var(--preview-muted);
}

.vault_draftStatus__nAJid {
  margin: 0 0 var(--preview-space-4);
  color: var(--preview-muted);
  font-size: var(--preview-type-caption);
  line-height: 1.5;
}

/* Read-only credential values use the existing compact text and touch roles.
   Copy/reveal actions never reduce the editable field's input space. */
.vault_credentialField__Zz3Wq {
  display: grid;
  gap: var(--preview-space-1);
  min-width: 0;
}
.vault_credentialLabel__t9xMY {
  color: var(--preview-muted);
  font-size: var(--preview-type-support);
}
.vault_credentialRow__uFKta {
  display: flex;
  align-items: center;
  gap: var(--preview-space-1);
  min-width: 0;
  min-height: max(44px, var(--preview-hit-icon));
}
.vault_credentialValue__T9AXl {
  flex: 1;
  min-width: 0;
  color: var(--preview-heading);
  font-size: var(--preview-type-body);
  overflow-wrap: anywhere;
  user-select: text;
}
.vault_credentialRow__uFKta .vault_iconButton__vl8ai {
  flex-basis: max(44px, var(--preview-hit-icon));
  width: max(44px, var(--preview-hit-icon));
  height: max(44px, var(--preview-hit-icon));
}

@media (min-width: 0px) {
  :is([data-vault-mode="edit"], [data-vault-mode="preview"]) > .vault_bottomNav__NtwAj {
    display: none;
  }
}
@media (pointer: coarse), (min-width: 0px) {
  .vault_modeAction__O9FLa,
  .vault_modeSecondary__rr4ox,
  .vault_toolbarMenuButton__l1tH9,
  .vault_insertChoices__yljrw > button {
    min-height: 48px;
    min-width: 48px;
  }
}
@media (min-width: 0px) {
  .vault_readerTitle__jl7iJ {
    font-size: 1.625rem;
  }
  .vault_documentHeader__f0xbx {
    margin-block-end: 0;
  }
  .vault_bodyInput__85K1C {
    min-height: 3lh;
    max-height: max(8lh, 42dvh);
  }
}

/* Current feedback: quiet outlined symbols, labelled menus and separate dismissal. */
.vault_documentStatus__pjnPS {
  margin-block-end: var(--preview-space-2);
}
.vault_titleIcon__x8wM_,
.vault_titleIcon__x8wM_ > span {
  border: 0;
  background: transparent;
  color: var(--preview-accent);
}
.vault_iconGrid__Hjsw7 {
  grid-template-columns: repeat(auto-fit, minmax(48px, 1fr));
  gap: var(--preview-space-1);
}
.vault_iconGrid__Hjsw7 > button,
.vault_iconGrid__Hjsw7 > button[aria-pressed="true"] {
  min-width: 0;
  min-height: 48px;
  padding: var(--preview-space-2);
  border: 0;
  background: transparent;
  color: var(--preview-heading);
}
.vault_iconGrid__Hjsw7 > button[aria-pressed="true"] {
  color: var(--preview-accent);
}
.vault_dialogHeading__gWHmG {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--preview-space-3);
  margin-block-end: var(--preview-space-3);
}
.vault_dialogHeading__gWHmG h2 {
  margin: 0;
  font-size: var(--preview-type-section);
  font-weight: 550;
}
.vault_dialogContent__d_gNP {
  min-width: 0;
}
.vault_dialogCancel__K_G0Q {
  display: none;
}
.vault_creationActionList__l7GM1 {
  gap: 0;
  overflow: hidden;
  border-radius: var(--preview-radius-control);
}
.vault_createOption___t5GR {
  display: grid;
  grid-template-columns: var(--preview-icon-main) minmax(0, 1fr);
  justify-content: start;
  align-items: center;
  gap: var(--preview-space-3);
  min-height: var(--preview-hit-control);
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: var(--preview-space-2) var(--preview-space-3);
  background: transparent;
  color: var(--preview-heading);
  font: inherit;
  font-size: var(--preview-type-support);
  text-align: start;
  cursor: pointer;
}
.vault_createOption___t5GR + .vault_createOption___t5GR {
  border-block-start: 1px solid var(--preview-divider);
}
.vault_createOptionLabel__c_Gd6 {
  min-width: 0;
  overflow-wrap: anywhere;
}
.vault_typeIcon__W5F2O {
  display: inline-grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--preview-accent);
}
.vault_formatPreviewBold__fw9Ka {
  font-weight: 700;
}
.vault_formatPreviewItalic__CFGKM {
  font-style: italic;
}
.vault_formatPreviewList__EYMwv {
  display: inline-flex;
  align-items: center;
  gap: var(--preview-space-2);
}
.vault_tagManager__ELIeF {
  display: grid;
  gap: var(--preview-space-3);
}
.vault_tagSearch__K3sUv {
  width: 100%;
  min-width: 0;
  min-height: var(--preview-hit-control);
  padding: var(--preview-space-2) var(--preview-space-3);
  border: 0;
  border-radius: var(--preview-radius-control);
  background: var(--preview-soft);
  color: var(--preview-text);
  font: inherit;
  font-size: var(--preview-type-support);
}
.vault_tagSelected__B_JWD {
  display: flex;
  flex-wrap: wrap;
  gap: var(--preview-space-2);
}
.vault_tagSelected__B_JWD:empty {
  display: none;
}
.vault_tagHelp__icleo {
  margin: 0;
  color: var(--preview-muted);
  font-size: var(--preview-type-support);
  line-height: 1.5;
}
.vault_tagSelected__B_JWD > button {
  display: inline-flex;
  align-items: center;
  gap: var(--preview-space-2);
  min-height: var(--preview-hit-control);
  max-width: 100%;
  padding: var(--preview-space-2) var(--preview-space-3);
  border: 0;
  border-radius: var(--preview-radius-control);
  background: var(--preview-soft);
  color: var(--preview-text);
  font: inherit;
  font-size: var(--preview-type-support);
  overflow-wrap: anywhere;
  cursor: pointer;
}
.vault_tagOption__lndYL,
.vault_tagCreate__HLCHb {
  display: flex;
  align-items: center;
  gap: var(--preview-space-2);
  min-height: var(--preview-hit-control);
  width: 100%;
  padding: var(--preview-space-2) var(--preview-space-3);
  border: 0;
  border-radius: var(--preview-radius-control);
  background: transparent;
  color: var(--preview-text);
  font: inherit;
  font-size: var(--preview-type-support);
  text-align: start;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.vault_tagOption__lndYL > span {
  flex: 1;
  min-width: 0;
}
.vault_tagOption__lndYL > svg,
.vault_tagCreate__HLCHb > svg,
.vault_tagSelected__B_JWD > button > svg {
  flex-shrink: 0;
}
.vault_tagOption__lndYL[aria-pressed="true"] {
  background: var(--preview-soft);
}
.vault_fileSummary__oLAvC .vault_modeSecondary__rr4ox {
  background: var(--preview-selected);
  color: var(--preview-accent);
}
.vault_libraryHeader___Kt8B h1 {
  font-size: var(--preview-type-body);
  line-height: 1.5;
  font-weight: 550;
}
@media (min-width: 0px) {
  .vault_dialog__Y7KSq {
    inset: auto var(--preview-space-4)
      calc(
        100dvh - min(100dvh, var(--tg-viewport-height, 100dvh)) +
          max(var(--preview-space-4), var(--tg-content-safe-area-inset-bottom, 0px))
      );
    width: auto;
    /* Same mobile canvas and two shared edge insets on every host. */
    max-width: calc(var(--preview-mobile-width) - var(--preview-space-8));
    max-height: calc(min(100dvh, var(--tg-viewport-height, 100dvh)) - 32px);
    margin: 0 auto;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: auto;
  }
  .vault_dialogHeading__gWHmG {
    display: none;
  }
  .vault_dialogContent__d_gNP {
    /* The shared 48px handle already provides the top inset. */
    padding: 0 var(--preview-space-4) var(--preview-space-4);
    border-radius: var(--preview-radius-card);
    background: var(--preview-panel);
  }
  .vault_dialogCancel__K_G0Q {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin-block-start: var(--preview-space-2);
    padding: var(--preview-space-3);
    border: 0;
    border-radius: var(--preview-radius-card);
    background: var(--preview-panel);
    color: var(--preview-accent);
    font: inherit;
    font-size: var(--preview-type-support);
    cursor: pointer;
  }
  .vault_createOption___t5GR,
  .vault_tagSearch__K3sUv,
  .vault_tagSelected__B_JWD > button,
  .vault_tagOption__lndYL,
  .vault_tagCreate__HLCHb {
    min-height: 48px;
  }
}

/* Shared mobile collection header axis; Library must not add a second top gutter. */
.vault_library__xoWww {
  padding-block-start: 0;
}
.vault_attachFileAction__tbrmr {
  background: var(--preview-selected);
  color: var(--preview-accent);
  font-weight: 500;
}

.vault_backupReminder__VRwee {
  display: flex;
  align-items: center;
  gap: var(--preview-space-2);
  padding: var(--preview-space-2) var(--preview-space-3);
  border-bottom: 1px solid var(--preview-divider);
  background: var(--preview-panel);
  color: var(--preview-text);
}
.vault_backupNoticeAction__QDMl9 {
  display: flex;
  align-items: center;
  gap: var(--preview-space-2);
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: var(--preview-type-support);
  text-align: start;
}
.vault_backupNoticeAction__QDMl9 span {
  flex: 1;
  overflow-wrap: anywhere;
}
.vault_backupNoticeAction__QDMl9 svg {
  flex: 0 0 auto;
}
.vault_backupStatus__1l_Ml {
  font-size: var(--preview-type-body);
}
.vault_backupStatus__1l_Ml p {
  margin: var(--preview-space-1) 0;
  color: var(--preview-muted);
  font-size: var(--preview-type-support);
}
@media (min-width: 0px) {
  .vault_dialog__Y7KSq {
    overflow: hidden;
  }
  .vault_dialog__Y7KSq[open] {
    display: flex;
    flex-direction: column;
  }
  .vault_dialogContent__d_gNP {
    flex: 0 1 auto;
    min-height: 0;
    overflow: auto;
  }
  .vault_dialogCancel__K_G0Q {
    flex: 0 0 auto;
  }
  .vault_backupReminder__VRwee > button {
    min-height: 48px;
  }
}

@media (min-width: 0px) {
  .vault_settings__jPrEX {
    padding-block-start: 0;
  }
  .vault_settings__jPrEX .vault_libraryHeader___Kt8B h1 {
    margin: 0;
    font-size: var(--preview-type-body);
    line-height: 1.5;
    font-weight: 550;
  }
}

/* Root tabs are named by bottom navigation. Only nested collection bars remain. */
@media (min-width: 0px) {
  .vault_noteList__vtWMf .vault_mainNotesHeader__GVkEa,
  .vault_library__xoWww > .vault_libraryHeader___Kt8B,
  .vault_settings__jPrEX > .vault_libraryHeader___Kt8B,
  .vault_backLabel__wf4So {
    display: none;
  }
  .vault_noteList__vtWMf > .vault_mainNotesListHeader__7zfYh {
    padding-block-start: var(--preview-space-4);
  }
  .vault_library__xoWww,
  .vault_settings__jPrEX {
    padding: var(--preview-space-4) var(--preview-gutter);
  }
  .vault_settings__jPrEX > .vault_libraryHeader___Kt8B + .vault_settingSection__Mo04a {
    border-top: 0;
    padding-block-start: 0;
  }
}

/* VF-076: one mobile canvas and one navigation model on every host. */
.vault_dialog__Y7KSq {
  width: calc(min(100vw, var(--preview-mobile-width)) - 32px);
  max-width: none;
}
.vault_toast__dVI1D {
  max-width: calc(min(100vw, var(--preview-mobile-width)) - 32px);
}

/* Notes creation: direct note and optional type chooser share one mobile anchor. */
.vault_creationControls__c2c_3 {
  position: absolute;
  z-index: 2;
  bottom: var(--preview-space-4);
  left: 50%;
  display: flex;
  transform: translateX(-50%);
  border-radius: var(--preview-radius-control);
  background: var(--preview-selected);
  overflow: hidden;
}
.vault_creationControls__c2c_3 > button {
  display: grid;
  place-items: center;
  width: var(--preview-hit-control);
  height: var(--preview-hit-control);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--preview-accent);
  cursor: pointer;
}
.vault_creationControls__c2c_3 > button + button {
  border-inline-start: 1px solid var(--preview-divider);
}
.vault_quickNoteGlyph__Gf_uZ {
  position: relative;
  display: flex;
}
.vault_quickNoteGlyph__Gf_uZ > svg:last-child {
  position: absolute;
  right: -4px;
  bottom: -2px;
  background: var(--preview-selected);
}

/* Explicit bounded-web profile mapping, detailed in the iOS research note. */
@container (max-width: 359px) {
  .vault_pinFlow__WOgox {
    --pin-standard-input-height: 253px;
  }
}
@container (min-width: 414px) {
  .vault_pinFlow__WOgox {
    --pin-standard-input-height: 345px;
  }
}
.vault_pinAuxiliary___mD5c {
  position: absolute;
  top: calc((100% - var(--pin-standard-input-height) - 24px) / 2 + 33px);
  left: 14px;
  right: 14px;
  max-height: max(
    0px,
    calc((100% + var(--pin-standard-input-height)) / 2 - var(--pin-keyboard-height) - 33px)
  );
  overflow: auto;
  text-align: center;
}
.vault_pinAuxiliary___mD5c p {
  margin: 0;
  color: var(--preview-text);
  font-size: 1rem;
  line-height: 1.3;
}

/*!*********************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[5].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[15].oneOf[5].use[3]!./src/components/preview/preview.module.css ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************/
.preview_preview__M_a7k {
  /* Role matrix: docs/DESIGN-SIZING.md; glyph size is not hit-target size. */
  --preview-mobile-width: 430px;
  --preview-space-1: 4px;
  --preview-space-2: 8px;
  --preview-space-3: 12px;
  --preview-space-4: 16px;
  --preview-space-6: 24px;
  --preview-space-8: 32px;
  --preview-gutter: var(--preview-space-6);
  --preview-sidebar-width: 224px;
  --preview-hit-icon: 28px;
  /* VF-092: compact native navigation actions, not general form targets. */
  --preview-hit-editor-action: 44px;
  --preview-hit-control: 36px;
  --preview-radius-control: 10px;
  --preview-radius-card: 12px;
  --preview-icon-size: 20px;
  --preview-icon-main: 24px;
  --preview-header-height: 56px;
  --preview-type-body: 0.9375rem;
  --preview-type-support: 0.8125rem;
  --preview-type-caption: 0.6875rem;
  --preview-type-page: 1.75rem;
  --preview-type-title: 1.75rem;
  --preview-bg: #f1f1f1;
  --preview-panel: #ffffff;
  --preview-text: #1a1d21;
  --preview-heading: color-mix(in srgb, var(--preview-text) 72%, var(--preview-panel));
  --preview-muted: #5b6978;
  --preview-border: #e9edf2;
  --preview-scroll-thumb: color-mix(in srgb, var(--preview-muted) 70%, var(--preview-panel));
  --preview-accent: #168acd;
  --preview-selected: #edf5fe;
  --preview-soft: #f5f7f9;
  --preview-search-bg: color-mix(in srgb, var(--preview-text) 4%, var(--preview-panel));
  --preview-search-border: color-mix(in srgb, var(--preview-text) 6%, var(--preview-panel));
  --preview-toolbar-background: #edf1f5;
  --preview-toolbar-border: #d9e1e9;
  --preview-disabled-bg: #e9edf2;
  --preview-disabled-text: #5b6978;
  --preview-count-background: transparent;
  --preview-count-size: 14px;
  --preview-add-background: #eaf3fd;
  --preview-add-color: #1269bd;
  --preview-tag-blue: #1b65a0;
  --preview-tag-green: #236d57;
  --preview-tag-purple: #705294;
  --preview-tag-amber: #806020;
  --preview-tag-red: #a3424c;
  --preview-on-accent: #ffffff;
  --preview-raw-button: #40a7e3;
  --preview-overlay: rgb(15 23 32 / 40%);
  --preview-shadow: none;
  color: var(--preview-text);
  background: var(--preview-bg);
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--preview-mobile-width);
  margin-inline: auto;
  height: 100svh;
  height: min(100dvh, var(--tg-viewport-height, 100dvh));
  padding-top: var(--tg-content-safe-area-inset-top, env(safe-area-inset-top, 0px));
  padding-left: var(--tg-content-safe-area-inset-left, env(safe-area-inset-left, 0px));
  padding-right: var(--tg-content-safe-area-inset-right, env(safe-area-inset-right, 0px));
  min-height: 0;
  overflow: hidden;
  font-size: var(--preview-type-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
.preview_dark__h9dA_ {
  --preview-bg: #17212b;
  --preview-panel: #17212b;
  --preview-text: #f5f5f5;
  --preview-heading: var(--preview-text);
  --preview-muted: #95a4b5;
  --preview-border: #273340;
  --preview-accent: #6ab3f3;
  --preview-selected: #21394e;
  --preview-soft: #1d2936;
  --preview-toolbar-background: color-mix(in srgb, var(--preview-bg) 60%, var(--preview-panel));
  --preview-toolbar-border: var(--preview-divider);
  --preview-disabled-bg: #263544;
  --preview-disabled-text: #b6c4d2;
  --preview-count-background: var(--preview-bg);
  --preview-count-size: 12px;
  --preview-add-background: var(--preview-selected);
  --preview-add-color: var(--preview-accent);
  --preview-tag-blue: #91c8ff;
  --preview-tag-green: #84d1b9;
  --preview-tag-purple: #c6a9e8;
  --preview-tag-amber: #e9c27a;
  --preview-tag-red: #f0a0aa;
  --preview-on-accent: #ffffff;
  --preview-raw-button: #2f6ea5;
  --preview-overlay: rgb(0 0 0 / 55%);
  --preview-shadow: none;
  --preview-search-bg: color-mix(in srgb, var(--preview-text) 7%, var(--preview-panel));
  --preview-search-border: color-mix(in srgb, var(--preview-text) 14%, var(--preview-panel));
  color-scheme: dark;
}
/* Soften light headings using the host foreground hue; body text stays untouched. */
.preview_preview__M_a7k:not(.preview_dark__h9dA_) :is(h1, h2, h3) {
  color: var(--preview-heading);
}

.preview_notice___e4NA {
  min-height: 48px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 24px;
  color: var(--preview-muted);
  border-bottom: 1px solid var(--preview-divider);
  font-size: var(--preview-type-caption);
  letter-spacing: 0.01em;
}
.preview_notice___e4NA strong {
  font-weight: 600;
  color: var(--preview-text);
}
.preview_noticeText__Qy_3e {
  display: flex;
  gap: 12px;
  align-items: center;
}
.preview_noticeLinks__a86zG {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.preview_notice___e4NA a {
  color: var(--preview-muted);
  text-decoration: none;
}
.preview_notice___e4NA a[aria-current="true"] {
  color: var(--preview-accent);
}
.preview_frame__bL3np {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  flex: 1;
  width: 100%;
  min-height: 0;
  max-width: 1680px;
  margin-inline: auto;
}
.preview_sidebar__b5Vn8 {
  border-right: 0;
}
.preview_list__iS_MD {
  min-width: 0;
  min-height: 0;
  background: var(--preview-panel);
  border-right: 1px solid var(--preview-divider);
}
.preview_detail__TEZ_g {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--preview-panel);
}
.preview_mobileNav___3KnY {
  display: none;
}
.preview_preview__M_a7k button:disabled {
  opacity: 1;
  cursor: default;
}
.preview_preview__M_a7k button,
.preview_preview__M_a7k input {
  font-family: inherit;
}
/* VF-091: native focus stays functional without visual focus/hover decoration. */
.preview_preview__M_a7k :focus {
  outline: none !important;
  box-shadow: none !important;
}
@media (min-width: 1680px) {
  .preview_frame__bL3np {
    border-inline: 1px solid var(--preview-divider);
  }
}
@media (min-width: 0px) {
  .preview_frame__bL3np {
    grid-template-columns: minmax(0, 1fr);
  }
  .preview_sidebar__b5Vn8 {
    display: none;
  }
}
@media (min-width: 0px) {
  .preview_preview__M_a7k {
    --preview-hit-icon: 48px;
    --preview-hit-control: 48px;
    --preview-radius-control: 12px;
    --preview-type-title: 1.75rem;
  }
  .preview_notice___e4NA {
    padding: 4px 16px;
    overflow-x: auto;
  }
  .preview_noticeText__Qy_3e > span {
    display: none;
  }
  .preview_frame__bL3np {
    display: block;
    min-height: 0;
  }
  .preview_list__iS_MD {
    border: 0;
    padding-bottom: 0;
    height: 100%;
  }
  .preview_detail__TEZ_g {
    display: none;
  }
  .preview_noteView__hG_rm .preview_list__iS_MD {
    display: none;
  }
  .preview_noteView__hG_rm .preview_detail__TEZ_g {
    display: block;
    min-height: 0;
    height: 100%;
  }
  .preview_mobileNav___3KnY {
    display: block;
    position: relative;
    flex: 0 0 auto;
    z-index: 10;
  }
  .preview_noteView__hG_rm .preview_mobileNav___3KnY {
    display: none;
  }
}

/* Platform fallbacks from Telegram upstream; host theme takes precedence below. */
.preview_preview__M_a7k[data-platform="ios"] {
  --preview-bg: #efeff4;
  --preview-panel: #ffffff;
  --preview-text: #1a1d21;
  --preview-accent: #0088ff;
  --preview-raw-button: #0088ff;
  --preview-on-accent: #ffffff;
}
.preview_preview__M_a7k.preview_dark__h9dA_[data-platform="ios"] {
  --preview-bg: #000000;
  --preview-panel: #1c1c1d;
  --preview-text: #ffffff;
  --preview-muted: #98989e;
  --preview-accent: #3e88f7;
  --preview-raw-button: #3e88f7;
  --preview-on-accent: #ffffff;
}
.preview_preview__M_a7k[data-platform="android"] {
  --preview-bg: #f1f1f3;
  --preview-panel: #ffffff;
  --preview-text: #1a1d21;
  --preview-accent: #4092cd;
  --preview-raw-button: #4092cd;
  --preview-on-accent: #ffffff;
}
.preview_preview__M_a7k.preview_dark__h9dA_[data-platform="android"] {
  --preview-bg: #151e27;
  --preview-panel: #1d2733;
  --preview-text: #ffffff;
  --preview-muted: #7d8b99;
  --preview-accent: #64b5ef;
  --preview-raw-button: #64b5ef;
  --preview-on-accent: #102334;
}

.preview_preview__M_a7k {
  --preview-selected: color-mix(in srgb, var(--preview-accent) 14%, var(--preview-panel));
  --preview-soft: color-mix(in srgb, var(--preview-text) 4%, var(--preview-panel));
  --preview-toolbar-background: var(--preview-bg);
  --preview-toolbar-border: color-mix(in srgb, var(--preview-text) 14%, var(--preview-panel));
  --preview-disabled-bg: color-mix(in srgb, var(--preview-text) 4%, var(--preview-panel));
  --preview-disabled-text: var(--preview-muted);
  --preview-add-background: var(--preview-selected);
  --preview-add-color: var(--preview-accent);
}

/* A wide tablet still needs touch targets; viewport width alone is insufficient. */
@media (pointer: coarse) {
  .preview_preview__M_a7k {
    --preview-hit-icon: 48px;
    --preview-hit-control: 48px;
    --preview-radius-control: 12px;
  }
}

/* Project visual policy: flat Telegram-style surfaces, including native control resets. */
.preview_preview__M_a7k,
.preview_preview__M_a7k *,
.preview_preview__M_a7k *::before,
.preview_preview__M_a7k *::after {
  box-shadow: none !important;
  text-shadow: none !important;
}

/* A scrollbar belongs only to a region that actually overflows. */
.preview_preview__M_a7k [data-scroll-region] {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--preview-scroll-thumb) transparent;
}
.preview_preview__M_a7k [data-scroll-region]::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.preview_preview__M_a7k [data-scroll-region]::-webkit-scrollbar-thumb {
  background: var(--preview-scroll-thumb);
  border-radius: 8px;
}
.preview_preview__M_a7k [data-scroll-region]::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

/* Chromium's native overlay thumb may disappear at rest; custom scrollbars stay
   visible when there is overflow, while auto overflow keeps fitting regions clean. */
@supports selector(::-webkit-scrollbar) {
  .preview_preview__M_a7k [data-scroll-region] {
    scrollbar-width: auto;
    scrollbar-color: auto;
  }
}

/* Structural separators remain quiet; VF-091 adds no focus or hover decoration. */
.preview_preview__M_a7k {
  --preview-divider: color-mix(in srgb, var(--preview-text) 8%, var(--preview-panel));
  --preview-control-border: color-mix(in srgb, var(--preview-text) 45%, var(--preview-panel));
  --preview-list-bg: color-mix(in srgb, var(--preview-text) 2%, var(--preview-panel));
  --preview-toolbar-background: var(--preview-soft);
  --preview-toolbar-border: var(--preview-divider);
}

.preview_libraryView__63RTI .preview_list__iS_MD {
  grid-column: 2 / -1;
}
.preview_libraryView__63RTI .preview_detail__TEZ_g {
  display: none;
}
@media (min-width: 0px) {
  .preview_libraryView__63RTI .preview_list__iS_MD {
    grid-column: 1 / -1;
  }
}
/* Neutral text and light labels apply before/without a host theme as well. */
.preview_preview__M_a7k {
  --preview-raw-text: var(--preview-text);
  --preview-raw-on-accent: var(--preview-on-accent);
  --preview-light-foreground: #ffffff;
  --preview-action-shade: #000000;
  --preview-solid-accent: color-mix(
    in srgb,
    var(--preview-raw-button) 70%,
    var(--preview-action-shade)
  );
  --preview-action-text: var(--preview-light-foreground);
  --preview-solid-danger: color-mix(
    in srgb,
    var(--preview-tag-red) 50%,
    var(--preview-action-shade)
  );
  --preview-danger-text: var(--preview-light-foreground);
}

/* Head bootstrap supplies presentation-only launch hints before application JS.
   Its variables must override this component's own fallback declarations. */
html[data-first-paint-theme] .preview_preview__M_a7k[data-vault-view]:not([data-theme-ready="true"]) {
  --preview-bg: var(--first-paint-bg);
  --preview-panel: var(--first-paint-panel);
  --preview-text: var(--first-paint-text);
  --preview-heading: var(--first-paint-heading);
  --preview-raw-text: var(--first-paint-raw-text);
  --preview-muted: var(--first-paint-muted);
  --preview-accent: var(--first-paint-accent);
  --preview-raw-button: var(--first-paint-raw-button);
  --preview-raw-on-accent: var(--first-paint-raw-on-accent);
  --preview-solid-accent: var(--first-paint-solid-accent);
  --preview-action-text: var(--first-paint-action-text);
  --preview-tag-red: var(--first-paint-tag-red);
  --preview-solid-danger: var(--first-paint-solid-danger);
  --preview-border: var(--first-paint-border);
  --preview-danger-text: #ffffff;
  color-scheme: var(--first-paint-scheme);
}

@media (prefers-color-scheme: dark) {
  html:not([data-first-paint-theme]) .preview_preview__M_a7k[data-vault-view] {
    --preview-bg: #17212b;
    --preview-panel: #17212b;
    --preview-text: #f5f5f5;
    --preview-muted: #95a4b5;
    --preview-accent: #6ab3f3;
    --preview-raw-button: #6ab3f3;
    --preview-tag-red: #f0a0aa;
    color-scheme: dark;
  }
}

/*!*************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[5].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[15].oneOf[5].use[3]!./src/components/preview/notes/notes.module.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************/
.notes_panel__kjoFQ {
  --note-icon-slot: 24px;
  --note-title-line-height: 1.25rem;
  --note-title-size: 0.875rem;
  --note-preview-size: 0.8125rem;
  --note-content-gap: var(--preview-space-3);
  --note-text-inset: calc(var(--note-icon-slot) + var(--note-content-gap));
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  background: var(--preview-list-bg);
  color: var(--preview-text);
}
.notes_header__vAxe8 {
  flex: 0 0 auto;
  padding: var(--preview-space-4) var(--preview-gutter) 0;
}
.notes_headingRow__DHdaz,
.notes_cardHeading__02tOZ,
.notes_cardBottom__oRCID,
.notes_groupHeading__a8Dx7 {
  display: flex;
  align-items: center;
}
.notes_headingRow__DHdaz {
  gap: var(--preview-space-2);
  min-width: 0;
}
.notes_visuallyHidden__GGeKl {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.notes_addButton__d3o_b {
  display: grid;
  place-items: center;
  flex: 0 0 var(--preview-hit-control);
  width: var(--preview-hit-control);
  height: var(--preview-hit-control);
  border: 0;
  border-radius: var(--preview-radius-control, 10px);
  background: var(--preview-add-background, var(--preview-accent));
  color: var(--preview-add-color);
  opacity: 1;
}
.notes_search__iUcAn {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  align-items: center;
  gap: 0;
  min-height: var(--preview-hit-control);
  padding: 0;
  border: 0;
  border-radius: var(--preview-radius-control, 10px);
  background: var(--preview-search-bg, var(--preview-soft));
  color: var(--preview-muted);
}
.notes_search__iUcAn input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--preview-text);
  font: inherit;
  font-size: var(--preview-type-support);
  font-weight: 400;
  line-height: 1.4286;
  opacity: 1;
  -webkit-text-fill-color: var(--preview-text);
}
.notes_search__iUcAn input::placeholder {
  color: var(--preview-muted);
  -webkit-text-fill-color: var(--preview-muted);
  opacity: 1;
}
.notes_searchIcon__3Fnsp,
.notes_search__iUcAn > button {
  display: inline-grid;
  place-items: center;
  flex: 0 0 var(--preview-hit-control);
  width: var(--preview-hit-control);
  height: var(--preview-hit-control);
}
.notes_search__iUcAn input::-webkit-search-cancel-button,
.notes_search__iUcAn input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
.notes_shortcut__LEhQz {
  flex: 0 0 auto;
  font-size: var(--preview-type-caption);
  letter-spacing: 1px;
  opacity: 1;
}
.notes_filters__WYeX4 {
  display: flex;
  gap: 0;
  min-width: 0;
  min-height: var(--preview-hit-control);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  margin-top: var(--preview-space-3);
  padding: var(--preview-space-1);
  border-radius: var(--preview-radius-control, 10px);
  background: var(--preview-soft);
}
.notes_filters__WYeX4::-webkit-scrollbar {
  display: none;
}
.notes_filter__fyXkR,
.notes_filterSelected__QIaY6 {
  flex: 1 0 0;
  min-width: max-content;
  min-height: calc(var(--preview-hit-control) - 2 * var(--preview-space-1));
  padding: var(--preview-space-1);
  border: 0;
  border-radius: calc(var(--preview-radius-control, 10px) - var(--preview-space-1));
  background: transparent;
  color: var(--preview-muted);
  font: inherit;
  font-size: var(--preview-type-support);
  line-height: 1.4286;
  font-weight: 500;
  white-space: nowrap;
  opacity: 1;
}
.notes_filterSelected__QIaY6 {
  background: var(--preview-panel);
  color: var(--preview-text);
}
.notes_scrollArea__oqbbs {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 12px 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--preview-scroll-thumb, var(--preview-divider)) transparent;
}
.notes_groupHeading__a8Dx7 {
  gap: var(--note-content-gap);
  min-height: 32px;
  padding: var(--preview-space-2) calc(var(--preview-space-4) + 1px) var(--preview-space-1);
  color: var(--preview-muted);
}
.notes_groupHeading__a8Dx7 h2 {
  margin: 0;
  font-size: var(--preview-type-caption);
  font-weight: 650;
  letter-spacing: 0.85px;
  text-transform: uppercase;
  line-height: 1.3333;
}
.notes_card__dTIar {
  display: flex;
  flex-direction: column;
  gap: var(--preview-space-2);
  margin: 0;
  padding: var(--preview-space-4);
  border: 1px solid transparent;
  border-bottom-color: var(--preview-divider);
  border-radius: 0;
  color: inherit;
  text-decoration: none;
}
.notes_selectedCard__G2dRk {
  border: 1px solid transparent;
  border-radius: var(--preview-radius-card, 12px);
  background: var(--preview-selected);
}
.notes_cardHeading__02tOZ {
  align-items: flex-start;
  gap: var(--note-content-gap);
  min-width: 0;
}
.notes_cardHeading__02tOZ h3 {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  margin: 0;
  font-size: var(--note-title-size);
  font-weight: 500;
  line-height: var(--note-title-line-height);
  color: var(--preview-heading, var(--preview-text));
  letter-spacing: -0.15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow-wrap: anywhere;
}
.notes_typeIcon__1SSc8 {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: var(--note-icon-slot);
  height: var(--note-title-line-height);
  border-radius: calc(var(--preview-radius-control, 10px) / 2);
}
.notes_blueIcon__HShQ9 {
  color: var(--preview-tag-blue);
}
.notes_greenIcon__A5rZb {
  color: var(--preview-tag-green);
}
.notes_purpleIcon__hiiSr {
  color: var(--preview-tag-purple);
}
.notes_amberIcon__jTv53 {
  color: var(--preview-tag-amber);
}
.notes_redIcon__yeDmN {
  color: var(--preview-tag-red);
}
.notes_time__vLFgL {
  flex: 0 0 auto;
  align-self: flex-end;
  margin-left: auto;
  color: var(--preview-muted);
  font-size: var(--preview-type-caption);
  line-height: 1.3333;
  font-variant-numeric: tabular-nums;
}
.notes_cardPreview___TOP2 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 0 var(--note-text-inset);
  color: var(--preview-muted);
  font-size: var(--note-preview-size);
  line-height: 1.461538;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.notes_cardBottom__oRCID {
  flex-wrap: wrap;
  gap: var(--preview-space-1);
  min-height: 24px;
  margin-inline-start: var(--note-text-inset);
  margin-inline-end: 0;
}
.notes_tag__oepS5 {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: var(--preview-space-1) var(--preview-space-2);
  border-radius: calc(var(--preview-radius-control, 10px) / 2);
  font-size: var(--preview-type-caption);
  line-height: 1.3333;
  font-weight: 550;
}
.notes_blueTag__BO1D8 {
  background: color-mix(in srgb, var(--preview-tag-blue) 9%, transparent);
  color: var(--preview-tag-blue);
}
.notes_greenTag__v8Qr4 {
  background: color-mix(in srgb, var(--preview-tag-green) 10%, transparent);
  color: var(--preview-tag-green);
}
.notes_purpleTag__7mN8j {
  background: color-mix(in srgb, var(--preview-tag-purple) 11%, transparent);
  color: var(--preview-tag-purple);
}
.notes_amberTag__Apjxy {
  background: color-mix(in srgb, var(--preview-tag-amber) 11%, transparent);
  color: var(--preview-tag-amber);
}
.notes_footer__NrDst {
  margin: var(--preview-space-6) var(--preview-space-3) 0;
  color: var(--preview-muted);
  font-size: var(--preview-type-caption);
  line-height: 1.5;
  text-align: center;
  opacity: 1;
}
@media (min-width: 0px) {
  .notes_shortcut__LEhQz {
    display: none;
  }
  .notes_header__vAxe8 {
    padding: 16px var(--preview-gutter) 0;
  }
  .notes_search__iUcAn {
    min-height: var(--preview-hit-control);
  }
  .notes_search__iUcAn input {
    font-size: var(--preview-type-support);
  }
  .notes_filter__fyXkR,
  .notes_filterSelected__QIaY6 {
    font-size: var(--preview-type-support);
  }
  .notes_card__dTIar {
    padding-top: var(--preview-space-4);
    padding-bottom: var(--preview-space-4);
  }

  .notes_time__vLFgL {
    font-size: var(--preview-type-caption);
  }
  .notes_tag__oepS5 {
    font-size: var(--preview-type-caption);
  }
  .notes_groupHeading__a8Dx7 h2 {
    font-size: var(--preview-type-caption);
  }
}

.notes_typeIcon__1SSc8 svg {
  display: block;
  width: var(--preview-icon-size);
  height: var(--preview-icon-size);
  flex-shrink: 0;
}

.notes_taskSummary__XNU4B {
  display: inline-flex;
  align-items: center;
  font-size: var(--preview-type-caption);
  line-height: 1.5;
  color: var(--preview-muted);
  font-variant-numeric: tabular-nums;
}

/* Search glyphs must not shrink when long labels or zoom consume the input width. */
.notes_search__iUcAn > svg {
  flex: 0 0 var(--preview-icon-size);
  width: var(--preview-icon-size);
  height: var(--preview-icon-size);
}

@media (pointer: coarse) {
  .notes_shortcut__LEhQz {
    display: none;
  }
}

/* One mobile creation action: the header action is desktop-only. */
.notes_floatingAdd__cnQ31 {
  display: none;
}

@media (min-width: 0px) {
  .notes_headerAdd__qKNdC {
    display: none;
  }
  .notes_floatingAdd__cnQ31 {
    position: absolute;
    z-index: 2;
    display: grid;
    bottom: var(--preview-space-4);
    left: 50%;
    width: 56px;
    height: 56px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: var(--preview-selected);
    color: var(--preview-accent);
    box-shadow: none;
  }
  .notes_scrollArea__oqbbs {
    padding-bottom: 88px;
  }
}

/* Section glyph and note glyph share the same leading slot and text axis. */
.notes_groupHeading__a8Dx7 > svg {
  flex: 0 0 var(--note-icon-slot);
  width: var(--note-icon-slot);
  height: 16px;
}

/* VF-057: the mobile app bar owns navigation; search has its own full-width row.
   Telegram top/content safe insets are already applied by the shared preview root. */
.notes_mobileHeader__7bCjW {
  display: none;
}
.notes_mobileHeaderTitle__ikily {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--preview-heading);
  font-size: var(--preview-type-body);
  line-height: inherit;
  font-weight: 550;
}
@media (min-width: 0px) {
  .notes_header__vAxe8 {
    padding-top: 0;
  }
  .notes_mobileHeader__7bCjW {
    display: flex;
    align-items: center;
    gap: var(--preview-space-2);
    min-height: var(--preview-header-height);
  }
  .notes_headingRow__DHdaz {
    width: 100%;
  }
}
.notes_mobileHeader__7bCjW > button {
  margin-inline-start: 0;
  border-radius: var(--preview-radius-control);
}

/*!*******************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[5].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[15].oneOf[5].use[3]!./src/components/motion/motion.module.css ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************/
.motion_scope__Wu938 {
  --motion-reaction: 130ms;
  --motion-dismiss: 250ms;
  --motion-quint: cubic-bezier(0.23, 1, 0.32, 1);
}
.motion_scope__Wu938 :is(button, a[href]) {
  transition:
    background-color var(--motion-reaction) ease,
    scale var(--motion-reaction) var(--motion-quint);
}
.motion_scope__Wu938 :is(button, a[href]):active:not(:disabled) {
  scale: 0.98;
}
.motion_sheet__Zq7D9::backdrop {
  animation: motion_backdrop-in__3JOWM 200ms linear;
}
.motion_scope__Wu938 .motion_sheet__Zq7D9 {
  background: var(--preview-panel);
}
.motion_sheetHandle__Xwl58 {
  --sheet-grip-width: var(--preview-space-8);
  --sheet-grip-height: var(--preview-space-1);
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 100%;
  /* Compact full-width drag strip; content actions retain their 48px targets. */
  min-height: var(--preview-space-6);
  padding: 0;
  border: 0;
  border-radius: var(--preview-radius-card) var(--preview-radius-card) 0 0;
  background: var(--preview-panel);
  color: var(--preview-muted);
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.motion_sheetHandle__Xwl58 > span {
  width: var(--sheet-grip-width);
  height: var(--sheet-grip-height);
  border-radius: var(--sheet-grip-height);
  background: currentColor;
  pointer-events: none;
}
.motion_scope__Wu938 .motion_sheetHandle__Xwl58:active:not(:disabled) {
  cursor: grabbing;
  scale: none;
}
.motion_sheet__Zq7D9[data-motion-closing="true"]::backdrop {
  animation: none;
  opacity: 0;
  transition: opacity var(--motion-dismiss, 250ms) ease-out;
}
.motion_scope__Wu938:not([data-motion-debug-force="true"]) .motion_sheet__Zq7D9[data-motion-policy="off"]::backdrop,
.motion_scope__Wu938:not([data-motion-debug-force="true"])
  .motion_sheet__Zq7D9[data-motion-policy="off"][data-motion-closing="true"]::backdrop {
  animation: none;
  transition: none;
}
@keyframes motion_backdrop-in__3JOWM {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .motion_scope__Wu938:not([data-motion-debug-force="true"]) :is(button, a[href]) {
    transition: none;
  }
  .motion_scope__Wu938:not([data-motion-debug-force="true"]) :is(button, a[href]):active:not(:disabled) {
    scale: none;
  }
  .motion_scope__Wu938:not([data-motion-debug-force="true"]) .motion_sheet__Zq7D9::backdrop,
  .motion_scope__Wu938:not([data-motion-debug-force="true"]) .motion_sheet__Zq7D9[data-motion-closing="true"]::backdrop {
    animation: none;
    transition: none;
  }
}

/*!************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[5].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[15].oneOf[5].use[3]!./src/components/vault/action-sheet.module.css ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************/
.action-sheet_actions__qm9wH {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.action-sheet_row__bcXUt {
  display: grid;
  grid-template-columns: var(--preview-icon-main, 24px) minmax(0, 1fr);
  align-items: center;
  gap: var(--preview-space-3);
  width: 100%;
  min-height: var(--preview-hit-control, 48px);
  padding: var(--preview-space-3) var(--preview-space-2);
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--preview-text);
  font: inherit;
  text-align: start;
  cursor: pointer;
}
.action-sheet_row__bcXUt + .action-sheet_row__bcXUt {
  border-block-start: 1px solid var(--preview-divider);
}
.action-sheet_row__bcXUt > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.action-sheet_row__bcXUt:disabled {
  opacity: 0.5;
  cursor: default;
}
.action-sheet_row__bcXUt.action-sheet_danger__Y0VL8 {
  background: var(--preview-solid-danger);
  color: var(--preview-danger-text, var(--preview-light-foreground));
  border-radius: var(--preview-radius-control);
}

