:root {
  --bg: #12161c;
  --panel: #1c2430;
  --ink: #e8eef4;
  --soft: #9aa8b8;
  --accent: #c9a86c;
  --line: rgba(201, 168, 108, 0.22);
  --ok: #8fbf9f;
}
html {
  overscroll-behavior-x: none;
}

* { box-sizing: border-box; }
html.auth-checking body { opacity: 1; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Georgia, "Palatino Linotype", serif;
  background: radial-gradient(1000px 520px at 15% 0%, #243044 0%, var(--bg) 55%), var(--bg);
  color: var(--ink);
  line-height: 1.55;
}
a { color: var(--accent); }
.muted { color: var(--soft); font-family: system-ui, "Segoe UI", sans-serif; font-size: 0.88rem; }
.header-nav {
  font-family: system-ui, sans-serif;
  font-size: 0.9rem;
  margin: 0 0 1rem;
}
.lk-wrap { max-width: 52rem; margin: 0 auto; padding: clamp(1rem, 4vw, 2rem); }
.lk-doc-wrap.lk-wrap {
  max-width: none;
  padding: clamp(0.65rem, 2vw, 1.15rem);
}
.lk-wrap h1 {
  font-size: clamp(1.65rem, 4vw, 2rem);
  font-weight: 400;
  color: var(--accent);
  margin: 0 0 0.35rem;
}
.lk-lead { color: var(--soft); margin: 0 0 1.25rem; font-size: 0.98rem; max-width: 42rem; }
.lk-auth-bar {
  font-family: system-ui, sans-serif;
  font-size: 0.88rem;
  color: var(--soft);
  margin-bottom: 1rem;
}
.lk-signout {
  background: none;
  border: none;
  color: var(--accent);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.lk-panel {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
  margin-bottom: 0.75rem;
}
.lk-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.75rem;
}
.lk-toolbar select,
.lk-toolbar input[type="search"],
.lk-panel input,
.lk-panel textarea,
.lk-panel select {
  font: inherit;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
  color: var(--ink);
}
.lk-panel-title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 600;
}
.lk-ask-lead { margin: 0 0 0.55rem; max-width: 42rem; }
.lk-ask-more { margin-top: 0; }
.lk-ask-more .lk-ask-privacy { margin: 0 0 0.85rem; max-width: 42rem; font-size: 0.88rem; }
.lk-tools-panel { padding-top: 0.65rem; }
.lk-tools-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 -0.25rem 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
}
.lk-tools-tab {
  font-family: system-ui, "Segoe UI", sans-serif;
  font-size: 0.88rem;
  padding: 0.45rem 0.85rem;
  border-radius: 10px 10px 0 0;
  border: 1px solid transparent;
  border-bottom: none;
  background: transparent;
  color: var(--soft);
  cursor: pointer;
}
.lk-tools-tab[aria-selected="true"] {
  background: rgba(0, 0, 0, 0.18);
  color: var(--accent);
  border-color: var(--line);
}
@media (hover: hover) and (pointer: fine) {
  .lk-tools-tab[aria-selected="false"]:hover {
    color: var(--ink);
    background: rgba(201, 168, 108, 0.06);
  }
}
.lk-tools-panel-body[hidden] { display: none !important; }
.lk-tools-panel-body .lk-ask-privacy,
.lk-tools-panel-body .lk-word-help-privacy {
  margin: 0 0 0.85rem;
  max-width: 42rem;
  font-size: 0.88rem;
}
.lk-panel-subtitle {
  margin: 1.1rem 0 0.35rem;
  font-size: 1rem;
  color: var(--accent);
  font-weight: 600;
}
.lk-word-help-answer {
  white-space: pre-wrap;
  margin-top: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--line);
  font-family: system-ui, "Segoe UI", sans-serif;
  font-size: 0.92rem;
  line-height: 1.5;
}
.lk-ask-answer {
  white-space: pre-wrap;
  margin: 0.75rem 0 0;
  padding: 0.85rem 0.95rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--line);
  font-size: 0.98rem;
}
.lk-ask-sources {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.lk-ask-source-btn {
  font-size: 0.85rem;
  padding: 0.35rem 0.65rem;
}
.lk-ask-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.lk-ask-correction {
  margin: 0.65rem 0 0;
  padding: 0.75rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.lk-ask-correction textarea {
  width: 100%;
  min-height: 4.5rem;
  resize: vertical;
  font: inherit;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
  color: var(--ink);
}
.lk-ask-correction .lk-btn {
  margin-top: 0.5rem;
}
.lk-doc-list,
.lk-page-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lk-doc-open,
.lk-page-tab {
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.45rem;
  cursor: pointer;
}
.lk-doc-open:hover,
.lk-page-tab:hover { border-color: var(--accent); }
.lk-page-tab.active {
  border-color: var(--accent);
  background: rgba(201, 168, 108, 0.12);
}
.lk-doc-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
}
.lk-doc-sidebar-shell {
  display: flex;
  align-items: stretch;
  min-width: 0;
  max-width: calc(18rem + 2.75rem);
  transition: max-width 0.2s ease;
}
.lk-doc-layout.is-sidebar-collapsed .lk-doc-sidebar-shell {
  max-width: 2.75rem;
}
.lk-doc-sidebar-rail {
  flex: 0 0 2.75rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0.2rem;
  padding: 0.45rem 0.15rem;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px 0 0 14px;
  background: var(--panel);
}
.lk-doc-sidebar-tab,
.lk-doc-sidebar-collapse {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.4rem 0.15rem;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--soft);
  font-family: system-ui, "Segoe UI", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.lk-doc-sidebar-tab:hover,
.lk-doc-sidebar-collapse:hover {
  border-color: var(--line);
  color: var(--accent);
  background: rgba(0, 0, 0, 0.12);
}
.lk-doc-sidebar-tab.is-active {
  border-color: var(--line);
  color: var(--accent);
  background: rgba(201, 168, 108, 0.1);
}
.lk-doc-sidebar-tab:focus-visible,
.lk-doc-sidebar-collapse:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.lk-doc-sidebar-collapse {
  margin-top: auto;
  color: var(--accent);
}
.lk-doc-sidebar-rail-icon {
  font-size: 1.15rem;
  line-height: 1;
}
.lk-doc-sidebar-rail-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.lk-doc-sidebar-panels {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.lk-doc-sidebar-shell.is-sidebar-tab-note #docSidebar {
  display: none;
}
.lk-doc-sidebar-shell.is-sidebar-tab-note #docQuickNotePanel {
  display: block;
}
.lk-doc-sidebar-shell.is-sidebar-tab-ask #docSidebar,
.lk-doc-sidebar-shell.is-sidebar-tab-ask #docQuickNotePanel {
  display: none;
}
.lk-doc-sidebar-shell.is-sidebar-tab-ask #docAskPanel {
  display: block;
}
.lk-doc-sidebar-shell.is-sidebar-tab-notes #docSidebar,
.lk-doc-sidebar-shell.is-sidebar-tab-notes #docQuickNotePanel,
.lk-doc-sidebar-shell.is-sidebar-tab-notes #docAskPanel {
  display: none;
}
.lk-doc-sidebar-shell.is-sidebar-tab-notes #docNotesPanel {
  display: block;
}
.lk-doc-sidebar-shell.is-sidebar-tab-settings #docQuickNotePanel,
.lk-doc-sidebar-shell.is-sidebar-tab-settings #docAskPanel,
.lk-doc-sidebar-shell.is-sidebar-tab-settings #docNotesPanel,
.lk-doc-sidebar-shell.is-sidebar-tab-note #docAskPanel,
.lk-doc-sidebar-shell.is-sidebar-tab-note #docNotesPanel,
.lk-doc-sidebar-shell.is-sidebar-tab-ask #docNotesPanel {
  display: none;
}
.lk-doc-notes-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  max-height: min(60vh, 28rem);
  overflow: auto;
}
.lk-doc-notes-item {
  margin: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
}
.lk-doc-notes-link {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  align-items: baseline;
  padding: 0.55rem 0.15rem;
  text-decoration: none;
  color: inherit;
}
.lk-doc-notes-link:hover .lk-doc-notes-title {
  text-decoration: underline;
}
.lk-doc-notes-title {
  font-weight: 600;
  flex: 1 1 auto;
}
.lk-doc-notes-kind {
  font-size: 0.78rem;
  color: var(--soft);
}
.lk-doc-notes-badge {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--soft);
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  border-radius: 4px;
  padding: 0.05rem 0.35rem;
}
.lk-doc-notes-toolbar {
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}
.lk-field-hint {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  line-height: 1.35;
}
.lk-field-hint code {
  font-size: 0.85em;
}
.lk-doc-ask .lk-doc-ask-scope {
  margin: 0 0 0.75rem;
  padding: 0;
  border: 0;
}
.lk-doc-ask .lk-doc-ask-scope-legend {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--soft);
  margin-bottom: 0.35rem;
}
.lk-doc-ask .lk-check {
  display: block;
  margin: 0.25rem 0;
  font-size: 0.88rem;
}
.lk-doc-ask textarea {
  width: 100%;
  min-height: 5rem;
  resize: vertical;
  font: inherit;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
  color: var(--ink);
}
.lk-doc-ask .lk-ask-toolbar .lk-btn {
  flex: 1 1 auto;
  min-width: 0;
}
.lk-doc-ask-answer {
  max-height: 14rem;
  overflow: auto;
  font-size: 0.9rem;
}
.lk-doc-ask-privacy {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  line-height: 1.35;
}
.lk-doc-quick-note .lk-quick-note-hint {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  line-height: 1.35;
}
.lk-doc-quick-note textarea {
  width: 100%;
  min-height: 5.5rem;
  resize: vertical;
  font: inherit;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
  color: var(--ink);
}
.lk-doc-quick-note .lk-doc-note-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.15rem;
}
.lk-doc-quick-note .lk-doc-note-actions .lk-btn {
  flex: 1 1 8rem;
}
.lk-doc-quick-note .lk-jot-append-hint {
  display: none;
}
@media (max-width: 720px) {
  .lk-doc-quick-note .lk-side-hint--desktop {
    display: none;
  }
  .lk-doc-quick-note .lk-jot-append-hint {
    display: block;
  }
}
.lk-doc-quick-note #docNoteSaveBtn {
  width: auto;
}
.lk-doc-sidebar {
  flex: 1 1 auto;
  width: min(18rem, 100%);
  min-width: 13rem;
  margin-bottom: 0;
  border-radius: 0 14px 14px 0;
  border-left: none;
  overflow: hidden;
  transition: opacity 0.2s ease, flex-basis 0.2s ease, min-width 0.2s ease, padding 0.2s ease;
}
.lk-doc-layout.is-sidebar-collapsed .lk-doc-sidebar-panels,
.lk-doc-layout.is-sidebar-collapsed .lk-doc-sidebar {
  flex: 0 0 0;
  min-width: 0;
  width: 0;
  padding-left: 0;
  padding-right: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}
.lk-doc-layout.is-sidebar-collapsed .lk-doc-sidebar-rail {
  border-radius: 14px;
}
.lk-doc-side-title {
  margin-top: 0.85rem;
  margin-bottom: 0.15rem;
}
.lk-side-hint {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
}
.lk-check {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  font-family: system-ui, sans-serif;
  font-size: 0.86rem;
  color: var(--soft);
  margin: 0 0 0.65rem;
  cursor: pointer;
}
.lk-page-break-btn {
  width: 100%;
  margin-bottom: 0.85rem;
}
.lk-word-count {
  margin: 0.35rem 0 0.75rem;
  font-size: 0.84rem;
}
@media (max-width: 720px) {
  .lk-doc-layout { grid-template-columns: 1fr; }
  .lk-doc-sidebar-shell {
    max-width: none;
    flex-direction: column;
  }
  .lk-doc-layout.is-sidebar-collapsed .lk-doc-sidebar-shell {
    max-width: none;
  }
  .lk-doc-sidebar-rail {
    flex: none;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    border-radius: 14px;
    padding: 0.45rem 0.55rem;
    gap: 0.35rem;
  }
  .lk-doc-sidebar-tab,
  .lk-doc-sidebar-collapse {
    flex-direction: row;
    padding: 0.4rem 0.55rem;
    margin-top: 0;
  }
  .lk-doc-sidebar-collapse {
    margin-top: 0;
    margin-left: auto;
  }
  .lk-doc-sidebar-rail-label {
    writing-mode: horizontal-tb;
    transform: none;
  }
  .lk-doc-sidebar-panels,
  .lk-doc-sidebar {
    width: 100%;
    min-width: 0;
  }
  .lk-doc-sidebar {
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
  }
  .lk-doc-layout.is-sidebar-collapsed .lk-doc-sidebar-panels {
    display: none;
  }
}
.lk-doc-sidebar .lk-delete-doc {
  width: 100%;
  margin-top: 0.75rem;
}
.lk-doc-backup {
  margin-top: 0.65rem;
}
.lk-backup-hint {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  line-height: 1.35;
}
.lk-doc-sidebar .lk-restore-backup {
  width: 100%;
}
.lk-doc-sidebar .lk-restore-backup:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.lk-delete-doc { color: #c98a8a; border-color: rgba(201, 138, 138, 0.35); }
.lk-doc-main {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.lk-doc-canvas {
  position: relative;
  background: #9aa0a6;
  border-radius: 12px;
  padding: 1.25rem 0.75rem 2rem;
  overflow-y: auto;
  max-height: calc(100vh - 7.5rem);
}
.lk-doc-sheet {
  width: min(816px, 100%);
  margin: 0 auto;
  background: transparent;
  box-shadow: none;
  --lk-doc-font: Arial, Helvetica, sans-serif;
  --lk-doc-font-weight: 400;
}
.lk-doc-update-nudge {
  width: min(816px, 100%);
  margin: 1rem auto 0;
  padding: 0.85rem 1rem;
  background: #f7f4ef;
  border: 1px solid rgba(60, 50, 40, 0.14);
  border-radius: 8px;
  color: #2c241c;
}
.lk-doc-update-nudge__title {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
}
.lk-doc-update-nudge__actions {
  margin: 0 0 0.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.lk-doc-update-nudge__hint {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.35;
}
.lk-text-btn {
  display: inline;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.lk-doc-sheet .ql-container.ql-snow,
.lk-doc-sheet .ql-container.ql-snow .ql-editor,
.lk-doc-sheet .ql-editor {
  font-family: var(--lk-doc-font, Arial, Helvetica, sans-serif) !important;
  font-weight: var(--lk-doc-font-weight, 400) !important;
}
.lk-doc-sheet .ql-editor p,
.lk-doc-sheet .ql-editor li,
.lk-doc-sheet .ql-editor h1,
.lk-doc-sheet .ql-editor h2,
.lk-doc-sheet .ql-editor h3,
.lk-doc-sheet .ql-editor blockquote {
  font-family: inherit;
}
.lk-doc-sheet .ql-editor.ql-blank::before {
  font-family: inherit;
}
.lk-doc-sheet .ql-toolbar.ql-snow {
  border: 1px solid #dadce0;
  background: #fff;
  font-family: system-ui, "Segoe UI", sans-serif;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14);
  margin-bottom: 20px;
}
.lk-doc-sheet .ql-container.ql-snow {
  border: none;
  font-size: 11pt;
  position: relative;
  background: transparent;
}
.lk-page-chrome-back {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 0;
}
.lk-page-sheet-bg {
  position: absolute;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.lk-page-gap-bg {
  position: absolute;
  left: 0;
  right: 0;
  background: #9aa0a6;
}
.lk-page-gap-front {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 4;
}
.lk-page-gap-cover {
  position: absolute;
  left: 0;
  right: 0;
  background: #9aa0a6;
  box-shadow: 0 0 0 2px #9aa0a6;
  pointer-events: none;
}
.lk-page-gap-front,
.lk-page-chrome-back,
.lk-page-chrome {
  pointer-events: none;
}
.lk-page-doc .header-nav {
  position: relative;
  z-index: 30;
}
.lk-doc-loading {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  pointer-events: none;
}
.lk-doc-loading p {
  margin: 0;
  padding: 0.85rem 1.15rem;
  border-radius: 10px;
  border: 1px solid rgba(201, 168, 108, 0.35);
  background: rgba(18, 16, 14, 0.94);
  color: var(--ink);
  font-family: system-ui, "Segoe UI", sans-serif;
  font-size: 0.92rem;
}
.lk-doc-loading a {
  pointer-events: auto;
}
body.lk-doc-ready .lk-doc-loading {
  display: none;
}
body.lk-page-doc:not(.lk-doc-ready) .lk-doc-sheet {
  visibility: hidden;
}
.lk-mobile-writing-back {
  font-family: system-ui, "Segoe UI", sans-serif;
  font-size: 0.84rem;
  color: var(--accent);
  text-decoration: none;
  margin-right: auto;
  padding: 0.35rem 0.15rem;
}
.lk-page-chrome {
  position: absolute;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10pt;
  color: #5f6368;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lk-page-chrome-footer {
  text-align: center;
}
.lk-doc-sheet .ql-editor {
  --lk-page-gap: 14px;
  --lk-page-unit: calc(var(--lk-page-h, 1056px) + var(--lk-page-gap));
  display: flow-root;
  position: relative;
  z-index: 1;
  min-height: var(--lk-page-h, 1056px);
  height: auto !important;
  padding: var(--lk-margin-y, 96px) var(--lk-margin-x, 96px);
  color: #202124;
  line-height: 1.15;
  cursor: text;
  caret-color: #202124;
  overflow-wrap: break-word;
  word-wrap: break-word;
  box-sizing: border-box;
  background-color: #9aa0a6;
  background-image:
    linear-gradient(
      to bottom,
      rgba(60, 64, 67, 0.1) calc(var(--lk-page-h, 1056px) - 2px),
      rgba(60, 64, 67, 0.1) var(--lk-page-h, 1056px),
      transparent calc(var(--lk-page-h, 1056px) + 1px)
    ),
    linear-gradient(
      to bottom,
      #ffffff 0,
      #ffffff var(--lk-page-h, 1056px),
      transparent var(--lk-page-h, 1056px),
      transparent var(--lk-page-unit)
    );
  background-size: 100% var(--lk-page-unit);
  background-repeat: repeat-y;
  background-position: 0 0;
  box-shadow: none;
}
.lk-margin-narrow .ql-editor {
  --lk-margin-x: 48px;
  --lk-margin-y: 48px;
}
.lk-margin-wide .ql-editor {
  --lk-margin-x: 144px;
  --lk-margin-y: 144px;
}
.lk-line-1 .ql-editor { line-height: 1; }
.lk-line-115 .ql-editor { line-height: 1.15; }
.lk-line-15 .ql-editor { line-height: 1.5; }
.lk-line-2 .ql-editor { line-height: 2; }
.lk-doc-sheet .ql-editor .lk-page-break {
  break-after: page;
  page-break-after: always;
  display: block;
  height: var(--lk-page-gap, 14px);
  margin: 0 calc(-1 * var(--lk-margin-x, 96px));
  width: calc(100% + 2 * var(--lk-margin-x, 96px));
  border: 0;
  border-top: 2px dashed #5f6368;
  background: #9aa0a6 !important;
  user-select: none;
  position: relative;
  z-index: 2;
}
.lk-doc-sheet .ql-editor .lk-auto-page-gap {
  display: block;
  margin: 0 calc(-1 * var(--lk-margin-x, 96px));
  width: calc(100% + 2 * var(--lk-margin-x, 96px));
  border: 0;
  background: #9aa0a6 !important;
  user-select: none;
  pointer-events: none;
  padding: 0;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
.lk-doc-sheet .ql-editor.ql-blank::before {
  color: #80868b;
  font-style: normal;
}
.lk-doc-sheet .ql-editor h1 { font-size: 1.55rem; margin: 0.9rem 0 0.45rem; }
.lk-doc-sheet .ql-editor h2 { font-size: 1.25rem; margin: 0.8rem 0 0.4rem; }
.lk-doc-sheet .ql-editor h3 { font-size: 1.05rem; margin: 0.7rem 0 0.35rem; }
.lk-doc-sheet .ql-editor p { margin: 0 0 0.55rem; }
.lk-doc-sheet .ql-editor p.lk-auto-continued { margin-top: 0; }
@media (max-width: 720px) {
  .lk-doc-sheet .ql-editor {
    --lk-page-h: 70vh;
    --lk-page-gap: 16px;
    --lk-page-unit: calc(70vh + 16px);
    padding: 56px 40px;
    min-height: 70vh;
  }
}
.lk-font-field select {
  width: 100%;
  max-width: 22rem;
  font-size: 1rem;
  padding: 0.45rem 0.55rem;
}
.lk-font-search {
  width: 100%;
  max-width: 22rem;
  margin-bottom: 0.4rem;
  padding: 0.4rem 0.55rem;
  font-family: system-ui, "Segoe UI", sans-serif;
  font-size: 0.88rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.2);
  color: inherit;
}
.lk-font-search::placeholder {
  color: var(--soft);
}
.lk-font-field select optgroup {
  font-family: system-ui, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--soft);
}
.lk-font-field select option[data-system-fallback="1"] {
  color: var(--soft);
}
.lk-page-body-field textarea {
  min-height: 55vh;
  width: 100%;
  resize: vertical;
  line-height: 1.6;
}
.lk-save-status {
  margin: 0.5rem 0 0.15rem;
  font-family: system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  min-height: 1.25em;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}
.lk-save-status.is-idle { color: var(--soft); }
.lk-save-status.is-saving { color: var(--accent); background: rgba(201, 168, 108, 0.12); }
.lk-save-status.is-saved { color: var(--ok); background: rgba(143, 191, 159, 0.14); }
.lk-save-status.is-error { color: #c98a8a; background: rgba(201, 138, 138, 0.12); }
.lk-sync-retry { margin: 0.35rem 0 0.5rem; width: 100%; }
.lk-status.err { color: #c98a8a; }
.lk-doc-stale-banner {
  margin: 0 0 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: rgba(201, 168, 108, 0.14);
  border: 1px solid rgba(201, 168, 108, 0.35);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
}
.lk-doc-stale-banner p { margin: 0; flex: 1 1 100%; }
.lk-doc-history { margin: 0.75rem 0; }
.lk-feedback-box {
  font-family: system-ui, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  color: var(--soft);
  margin: 0.75rem 0 0;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(201, 168, 108, 0.04);
}
.lk-feedback-box summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  user-select: none;
}
.lk-feedback-box summary::-webkit-details-marker { display: none; }
.lk-feedback-box summary::marker { content: ""; }
.lk-feedback-box-title { flex: 1 1 auto; min-width: 0; }
.lk-feedback-box-title strong { font-weight: 600; color: var(--ink); }
.lk-feedback-box-toggle {
  flex: 0 0 2.35rem;
  text-align: right;
  font-size: 0.78rem;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.lk-feedback-box-toggle::after { content: "More"; }
.lk-feedback-box[open] .lk-feedback-box-toggle::after { content: "Less"; }
.lk-feedback-box-body {
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
}
.lk-feedback-panel-lead { margin: 0 0 0.65rem; max-width: 40rem; }
.lk-feedback-text {
  width: 100%;
  min-height: 5.5rem;
  resize: vertical;
  font: inherit;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.lk-feedback-status {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  color: var(--soft);
}
.lk-feedback-status.is-ok { color: var(--ok); }
.lk-history-list { list-style: none; padding: 0; margin: 0.5rem 0 0; }
.lk-history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.lk-history-restore { flex-shrink: 0; padding: 0.25rem 0.55rem; font-size: 0.82rem; }
.lk-collab-hint { font-size: 0.82rem; margin-top: 0.5rem; }
.lk-storage-meta {
  display: grid;
  grid-template-columns: minmax(8rem, 11rem) 1fr;
  gap: 0.35rem 1rem;
  margin: 0.75rem 0;
}
.lk-storage-meta dt { color: var(--soft); margin: 0; }
.lk-storage-meta dd { margin: 0; }
.lk-new-doc-panel { margin-top: 0.75rem; }
.lk-section-lead { margin: 0 0 0.85rem; max-width: 42rem; }
.lk-notes-primary-toolbar { margin-bottom: 0.55rem; }
.lk-notes-more {
  font-family: system-ui, "Segoe UI", sans-serif;
  font-size: 0.88rem;
  color: var(--soft);
  margin-top: 0.15rem;
  border-top: 1px solid rgba(201, 168, 108, 0.12);
  padding-top: 0.55rem;
}
.lk-notes-more-summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.15rem 0;
  user-select: none;
}
button.lk-notes-more-summary {
  all: unset;
  box-sizing: border-box;
  width: 100%;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.15rem 0;
  user-select: none;
}
button.lk-notes-more-summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.lk-notes-more-label {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 600;
  color: var(--ink);
}
.lk-notes-more-toggle {
  flex: 0 0 2.35rem;
  text-align: right;
  font-size: 0.78rem;
  color: var(--accent);
}
.lk-notes-more-toggle::after { content: "More"; }
.lk-notes-more.is-open .lk-notes-more-toggle::after { content: "Less"; }
.lk-notes-more-body {
  display: none;
  margin-top: 0.65rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(201, 168, 108, 0.1);
}
#notesMorePanel.is-open .lk-notes-more-body {
  display: block;
}
.lk-notes-more-body .lk-toolbar { margin-bottom: 0.65rem; }
.lk-note-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.55rem;
}
.lk-note-pager-status {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.82rem;
  color: var(--soft);
}
.lk-tag-hint { margin: 0.35rem 0 0; font-size: 0.82rem; max-width: 40rem; }
.lk-field textarea#askQuestion {
  min-height: 4.5rem;
  width: 100%;
  resize: vertical;
}
.lk-btn {
  font-family: system-ui, sans-serif;
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(201, 168, 108, 0.15);
  color: var(--accent);
  cursor: pointer;
}
.lk-btn.secondary { background: transparent; color: var(--soft); }
.lk-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.lk-entry-list { list-style: none; padding: 0; margin: 0; }
.lk-entry-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.65rem 0;
}
.lk-entry-list button.lk-entry-open {
  all: unset;
  cursor: pointer;
  display: block;
  width: 100%;
}
.lk-entry-list strong { color: var(--ink); }
.lk-entry-kind {
  font-family: system-ui, sans-serif;
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.lk-field { display: block; margin-bottom: 0.75rem; }
.lk-field label {
  display: block;
  font-family: system-ui, sans-serif;
  font-size: 0.85rem;
  color: var(--soft);
  margin-bottom: 0.25rem;
}
.lk-field textarea { width: 100%; min-height: 8rem; resize: vertical; }
.lk-field input { width: 100%; }
.lk-status {
  font-family: system-ui, sans-serif;
  font-size: 0.88rem;
  color: var(--soft);
  margin: 0.5rem 0 0;
}
.lk-status.ok { color: var(--ok); }
.lk-privacy {
  font-family: system-ui, sans-serif;
  font-size: 0.84rem;
  color: var(--soft);
  border-left: 3px solid var(--line);
  padding-left: 0.75rem;
  margin: 0 0 1rem;
}
.office-section {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
  margin-bottom: 0.65rem;
}
.office-section summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}
.office-section summary::-webkit-details-marker { display: none; }
.office-section__title strong { color: var(--accent); }
.office-section__body {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem;
  text-align: center;
}
.stat strong { display: block; font-size: 1.5rem; color: var(--accent); }
.stat span { font-family: system-ui, sans-serif; font-size: 0.78rem; color: var(--soft); }
table {
  width: 100%;
  border-collapse: collapse;
  font-family: system-ui, sans-serif;
  font-size: 0.84rem;
}
th, td {
  text-align: left;
  padding: 0.45rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
th { color: var(--soft); }
.switch {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-family: system-ui, sans-serif;
  font-size: 0.88rem;
  margin: 0.45rem 0;
}
.feedback-item {
  font-family: system-ui, sans-serif;
  font-size: 0.84rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.lk-ask-correction-card {
  font-family: system-ui, sans-serif;
  font-size: 0.86rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.lk-ask-correction-card:last-child {
  border-bottom: none;
}
.lk-ask-correction-card__meta {
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
  color: var(--soft);
}
.lk-ask-correction-card__label {
  margin: 0.45rem 0 0.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.lk-ask-correction-card__quote {
  margin: 0 0 0.35rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--line);
  white-space: pre-wrap;
  font-size: 0.88rem;
  line-height: 1.45;
}
.lk-ask-correction-card__quote--note {
  border-color: rgba(180, 140, 90, 0.35);
}
.lk-tier-a-progress {
  font-family: system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0.5rem 0 0.85rem;
}
.lk-tier-a-progress--done {
  color: #8bc48b;
}
.lk-tier-a-heading {
  margin: 1rem 0 0.45rem;
  font-size: 0.95rem;
  color: var(--soft);
  font-weight: 600;
}
.lk-tier-a-checks {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.lk-tier-a-check {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-family: system-ui, sans-serif;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--ink);
  cursor: pointer;
}
.lk-tier-a-check input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.lk-tier-a-spot-lead {
  margin: 0 0 0.5rem;
  font-size: 0.84rem;
}
.lk-tier-a-spot-field input,
.lk-tier-a-spot-field textarea {
  width: 100%;
  font: inherit;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
  color: var(--ink);
  resize: vertical;
  min-height: 2.6rem;
}
.lk-tier-a-spot-field__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.lk-tier-a-spot-field__head label {
  font-weight: 600;
  font-size: 0.88rem;
}
.lk-tier-a-spot-cat {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  background: rgba(180, 140, 90, 0.2);
  color: var(--accent);
}
.lk-tier-a-spot-pass-hint {
  margin: 0.35rem 0 0.5rem;
  font-size: 0.8rem;
  line-height: 1.4;
}
.lk-tier-a-spot-pass-optional {
  margin: 0.15rem 0 0.75rem;
}
.lk-tier-a-spot-pass-summary {
  cursor: pointer;
  font-size: 0.78rem;
  color: var(--soft);
  margin-bottom: 0.35rem;
  list-style: none;
}
.lk-tier-a-spot-pass-optional[open] .lk-tier-a-spot-pass-summary {
  margin-bottom: 0.45rem;
}
.lk-tier-a-spot-pass-optional textarea {
  margin-top: 0.15rem;
}
.lk-tier-a-spot-pass-label {
  display: block;
  margin: 0.45rem 0 0.25rem;
  font-size: 0.78rem;
  color: var(--soft);
}
.lk-tier-a-spot-field--portrait .lk-tier-a-spot-cat {
  background: rgba(120, 160, 200, 0.22);
}
.lk-tier-a-start {
  margin: 0.35rem 0 0.75rem;
}
.lk-tier-a-two-week {
  font-size: 0.84rem;
  color: var(--soft);
  margin: 0.25rem 0 0.35rem;
}
.lk-tier-a-two-week--done {
  color: #8bc48b;
}
.lk-target-bar {
  margin: 0.65rem 0 1rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
  font-size: 0.86rem;
}
.lk-target-bar--met {
  border-color: rgba(139, 196, 139, 0.45);
}
.lk-target-met {
  color: #8bc48b;
  font-weight: 600;
}
.lk-playbook-details {
  margin: 0.75rem 0;
  font-size: 0.86rem;
}
.lk-playbook-details summary {
  cursor: pointer;
  color: var(--accent);
  font-weight: 600;
}
.lk-playbook-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  margin: 0.5rem 0;
}
.lk-playbook-table th,
.lk-playbook-table td {
  border: 1px solid var(--line);
  padding: 0.35rem 0.5rem;
  text-align: left;
}
.lk-playbook-table-note {
  font-size: 0.78rem;
}
.lk-playbook-list {
  margin: 0.5rem 0;
  padding-left: 1.2rem;
  line-height: 1.45;
}
.lk-playbook-steps {
  margin: 0 0 0.75rem;
  padding-left: 1.2rem;
  line-height: 1.5;
}
.lk-spot-summary {
  margin-bottom: 0.75rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.15);
  font-size: 0.88rem;
}
.lk-spot-summary--met {
  border-color: rgba(139, 196, 139, 0.45);
}
.lk-spot-results__pass {
  margin: 0.25rem 0 0.35rem;
  font-size: 0.82rem;
}
.lk-spot-results__auto {
  margin: 0.15rem 0 0.35rem;
  font-size: 0.78rem;
  font-style: italic;
}
.lk-spot-results__fix {
  margin: 0.45rem 0 0;
  font-size: 0.76rem;
}
.lk-spot-score {
  margin-top: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.lk-spot-score__label {
  display: none;
}
.lk-spot-score__saved {
  margin: 0.25rem 0 0;
  font-size: 0.72rem;
  color: var(--soft);
  font-weight: 600;
}
.lk-spot-score__saved.ok {
  color: var(--accent);
}
.lk-spot-score__btn {
  font: inherit;
  font-size: 0.75rem;
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
  color: var(--ink);
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.lk-spot-score__btn--active {
  border-color: var(--accent);
  background: rgba(180, 140, 90, 0.25);
}
.lk-spot-score__btn--pass.lk-spot-score__btn--active {
  border-color: rgba(139, 196, 139, 0.6);
  background: rgba(139, 196, 139, 0.15);
}
.lk-tier-a-reset {
  margin-top: 0.85rem;
}
.lk-tier-a-hints {
  margin: 0 0 0.65rem;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  line-height: 1.4;
}
.lk-tier-a-hints a {
  color: var(--accent);
}

.lk-spot-results-mount {
  margin: 0.75rem 0;
}

.lk-spot-preflight {
  margin: 0.5rem 0 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 200, 120, 0.25);
  background: rgba(255, 200, 120, 0.06);
  font-size: 0.92rem;
}

.lk-spot-preflight ul {
  margin: 0.35rem 0 0;
  padding-left: 1.2rem;
}

.lk-spot-preflight li {
  margin: 0.25rem 0;
}

.lk-spot-results__progress {
  margin-bottom: 0.75rem;
}

.lk-spot-results {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.lk-spot-results__item {
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.12);
}

.lk-spot-results__head {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.lk-spot-results__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  margin-right: 0.25rem;
}

.lk-spot-results__answer {
  margin: 0;
  padding: 0.55rem 0.65rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.2);
  font-size: 0.88rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.lk-spot-results__meta {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  opacity: 0.85;
}

.lk-spot-results__error {
  margin: 0;
  font-size: 0.85rem;
}

.lk-spot-results__item--ok .lk-spot-results__badge {
  background: rgba(45, 106, 79, 0.35);
  color: #95d5b2;
}

.lk-spot-results__item--warn .lk-spot-results__badge {
  background: rgba(181, 101, 29, 0.35);
  color: #f4c095;
}

.lk-spot-results__item--fail .lk-spot-results__badge {
  background: rgba(155, 34, 38, 0.35);
  color: #f4a3a8;
}

.lk-spot-results__item--ok {
  border-color: rgba(45, 106, 79, 0.35);
}

.lk-spot-results__item--warn {
  border-color: rgba(181, 101, 29, 0.35);
}

.lk-spot-results__item--fail {
  border-color: rgba(155, 34, 38, 0.35);
}

.lk-spot-results__item--pending {
  border-color: rgba(255, 255, 255, 0.12);
  opacity: 0.92;
}

.lk-spot-results__item--pending .lk-spot-results__badge {
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
}

.lk-launch-checklist {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}
[hidden] { display: none !important; }

/* Idea spinner — separate page; does not affect documents or notes */
.lk-spin-stage {
  margin: 0 0 1.35rem;
  padding: 1rem 1.05rem 1.1rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.lk-spin-banks-section {
  padding-top: 0.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.lk-spin-banks-section .lk-panel-subtitle {
  margin-top: 0;
}
.lk-spin-template-pick {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-family: system-ui, sans-serif;
  font-size: 0.85rem;
  color: var(--soft);
}
.lk-spin-template-pick select {
  font: inherit;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
  color: var(--ink);
}
.lk-spin-btn {
  font-size: 1.05rem;
  padding: 0.55rem 1.1rem;
}
.lk-spin-result {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--line);
  font-size: 1.08rem;
  line-height: 1.5;
  white-space: pre-line;
}
.lk-spin-result-label {
  margin: 1rem 0 0.4rem;
  font-size: 0.85rem;
}
.lk-spin-result.is-empty {
  color: var(--soft);
  font-style: italic;
  font-size: 1rem;
}
.lk-spin-result.is-empty::before {
  content: "Spin to build a nudge from your word banks.";
}
.lk-spin-columns {
  margin-top: 0.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 0.65rem;
}
.lk-spin-col {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.65rem 0.7rem;
  text-align: center;
}
.lk-spin-col-empty .lk-spin-col-word {
  color: var(--soft);
  font-style: italic;
}
.lk-spin-col-label {
  margin: 0 0 0.35rem;
  font-family: system-ui, sans-serif;
  font-size: 0.75rem;
  color: var(--soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.lk-spin-col-word {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  min-height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lk-spin-lock {
  font-family: system-ui, sans-serif;
  font-size: 0.75rem;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--soft);
  cursor: pointer;
}
.lk-spin-lock.is-locked {
  color: var(--accent);
  border-color: var(--accent);
}
.lk-spin-bank {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.lk-spin-bank:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.lk-spin-bank textarea {
  width: 100%;
  min-height: 5.5rem;
  resize: vertical;
}

.lk-spell-privacy {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
}
.lk-spell-flags {
  font-family: system-ui, sans-serif;
  font-size: 0.82rem;
  margin: 0.45rem 0 0;
  line-height: 1.5;
}
.lk-spell-flags-lead { color: var(--soft); }
.lk-spell-flags-hint { font-size: 0.78rem; }
.lk-spell-flag {
  font: inherit;
  font-size: 0.82rem;
  padding: 0.1rem 0.35rem;
  margin: 0 0.2rem 0.15rem 0;
  border: none;
  border-radius: 4px;
  background: rgba(201, 168, 108, 0.14);
  color: var(--ink);
  text-decoration: underline wavy #c96c6c;
  text-underline-offset: 2px;
  cursor: pointer;
}
.lk-spell-flag.is-flag-hold {
  background: rgba(201, 120, 100, 0.28);
}
textarea.is-typo-jump-flash,
.lk-spell-field textarea.is-typo-jump-flash {
  box-shadow: inset 0 0 0 2px rgba(201, 120, 100, 0.35);
}
.lk-spell-flag:hover { background: rgba(201, 168, 108, 0.24); }
.lk-spell-error {
  text-decoration: underline wavy #c96c6c;
  text-underline-offset: 2px;
}
.lk-spell-field {
  position: relative;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
}
.lk-spell-field textarea {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 8rem;
  resize: vertical;
  background: transparent;
  border: none;
  color: var(--ink);
}
.lk-spell-backdrop {
  display: none;
}
.lk-spell-hint {
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
}
.lk-spell-flags--warn {
  color: #d4a574;
}
.lk-spell-word-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}
.lk-spell-word-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-family: system-ui, sans-serif;
  font-size: 0.9rem;
}
.lk-spell-word-remove {
  font-size: 0.78rem;
  padding: 0.25rem 0.5rem;
  flex-shrink: 0;
}
.ql-editor .lk-spell-error {
  text-decoration: underline wavy rgba(201, 120, 100, 0.85);
  text-decoration-skip-ink: none;
}
.ql-editor.is-longpress-pending {
  cursor: progress;
}
.ql-editor.is-longpress-armed .lk-spell-error {
  background: rgba(201, 120, 100, 0.18);
  border-radius: 2px;
}
.ql-editor.is-typo-jump-flash ::selection {
  background: rgba(201, 120, 100, 0.45);
}
.ql-editor.is-typo-jump-flash .lk-spell-error {
  background: rgba(201, 120, 100, 0.28);
  border-radius: 2px;
}
.lk-longpress-hint {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  line-height: 1.35;
}
.lk-longpress-toast {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  max-width: min(22rem, 92%);
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(18, 16, 14, 0.94);
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.35;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  z-index: 40;
  pointer-events: none;
}
.lk-longpress-toast.is-typo {
  border-color: rgba(201, 120, 100, 0.55);
}
.lk-longpress-toast.is-lore {
  border-color: rgba(201, 168, 108, 0.55);
}
.lk-lore-brief-card {
  position: absolute;
  z-index: 45;
  width: min(20rem, calc(100% - 1rem));
  padding: 0.75rem 0.85rem 0.65rem;
  border-radius: 12px;
  border: 1px solid rgba(201, 168, 108, 0.45);
  background: rgba(18, 16, 14, 0.97);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
}
.lk-lore-brief-close {
  position: absolute;
  top: 0.35rem;
  right: 0.45rem;
  border: 0;
  background: transparent;
  color: var(--soft);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.15rem 0.35rem;
}
.lk-lore-brief-word {
  margin: 0 1.5rem 0.35rem 0;
  font-weight: 600;
  color: var(--accent);
}
.lk-lore-brief-gloss {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
  line-height: 1.45;
}
.lk-lore-brief-sources {
  list-style: none;
  margin: 0 0 0.35rem;
  padding: 0;
}
.lk-lore-brief-source {
  display: block;
  width: 100%;
  text-align: left;
  margin: 0.2rem 0;
  padding: 0.35rem 0.45rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}
.lk-lore-brief-source:hover {
  border-color: rgba(201, 168, 108, 0.45);
  color: var(--accent);
}
.lk-lore-brief-excerpt {
  margin: 0.15rem 0 0.35rem;
  padding: 0.35rem 0.45rem;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--soft);
  border-left: 2px solid rgba(201, 168, 108, 0.35);
}
.lk-lore-brief-foot {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.35;
}

/* Home notes — desktop full-screen focus mode */
.lk-note-fullscreen-btn {
  display: none;
}
@media (min-width: 721px) {
  .lk-note-fullscreen-btn {
    display: inline-flex;
  }
}
body.lk-note-fullscreen.lk-page-home {
  overflow: hidden;
}
body.lk-note-fullscreen.lk-page-home .header-nav,
body.lk-note-fullscreen.lk-page-home h1,
body.lk-note-fullscreen.lk-page-home .lk-lead,
body.lk-note-fullscreen.lk-page-home .lk-auth-bar,
body.lk-note-fullscreen.lk-page-home .lk-privacy,
body.lk-note-fullscreen.lk-page-home .lk-panel:not(#noteEditorPanel),
body.lk-note-fullscreen.lk-page-home .lk-tools-panel {
  display: none !important;
}
body.lk-note-fullscreen.lk-page-home .lk-wrap {
  max-width: none;
  padding: 0;
}
body.lk-note-fullscreen.lk-page-home #noteEditorPanel {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  margin: 0;
  border: none;
  border-radius: 0;
  padding: 1rem clamp(1rem, 3vw, 2rem) 1.25rem;
  overflow: hidden;
  background: radial-gradient(1000px 520px at 15% 0%, #243044 0%, var(--bg) 55%), var(--bg);
}
body.lk-note-fullscreen.lk-page-home #noteEditorPanel .lk-panel-title {
  flex: none;
}
body.lk-note-fullscreen.lk-page-home #noteEditorPanel .lk-jot-body-field {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin-bottom: 0.5rem;
}
body.lk-note-fullscreen.lk-page-home #noteEditorPanel .lk-spell-field {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
body.lk-note-fullscreen.lk-page-home #noteEditorPanel .lk-spell-field textarea {
  flex: 1 1 auto;
  min-height: 0;
  resize: none;
}
body.lk-note-fullscreen.lk-page-home #noteEditorPanel .lk-note-details,
body.lk-note-fullscreen.lk-page-home #noteEditorPanel .lk-spell-privacy,
body.lk-note-fullscreen.lk-page-home #noteEditorPanel .lk-spell-flags,
body.lk-note-fullscreen.lk-page-home #noteEditorPanel .lk-status,
body.lk-note-fullscreen.lk-page-home #noteEditorPanel .lk-sync-retry {
  flex: none;
}
body.lk-note-fullscreen.lk-page-home #noteEditorPanel .lk-toolbar {
  flex: none;
  margin-bottom: 0;
}

/* Mobile comfort — writing mode (#1), undo toast (#7), accessory row (#2) */
:root {
  --lk-kb-inset: 0px;
  --lk-accessory-h: 0px;
}
.lk-mobile-writing-bar {
  display: none;
}
.lk-mobile-read-bar {
  display: none;
}
.lk-quick-jot-btn {
  display: none;
}
.lk-comfort-toast {
  position: fixed;
  left: 50%;
  bottom: calc(1rem + var(--lk-kb-inset) + var(--lk-accessory-h));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  max-width: min(24rem, calc(100% - 1.25rem));
  padding: 0.55rem 0.65rem 0.55rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(201, 168, 108, 0.5);
  background: rgba(18, 16, 14, 0.96);
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.35;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
  z-index: 60;
}
.lk-comfort-toast[hidden] {
  display: none !important;
}
.lk-comfort-toast-msg {
  flex: 1;
  min-width: 0;
}
.lk-comfort-undo-btn {
  flex: none;
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
}
@media (max-width: 720px) {
  body.lk-mobile-writing .lk-mobile-writing-bar {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 55;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.65rem;
    background: rgba(12, 10, 9, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(8px);
  }
  body.lk-mobile-writing .lk-mobile-writing-done {
    padding: 0.35rem 0.75rem;
    font-size: 0.84rem;
  }
  body.lk-mobile-read .lk-mobile-read-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 53;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem;
    padding-bottom: calc(0.55rem + env(safe-area-inset-bottom, 0px));
    background: rgba(12, 10, 9, 0.94);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(8px);
  }
  body.lk-mobile-read .lk-mobile-read-edit {
    min-width: 6.5rem;
    padding: 0.45rem 1rem;
    font-size: 0.9rem;
  }
  body.lk-mobile-read .lk-mobile-read-jot {
    min-width: 5.5rem;
    padding: 0.45rem 0.85rem;
    font-size: 0.86rem;
  }
  .lk-quick-jot-btn {
    display: inline-flex;
  }
  .lk-notes-primary-toolbar .lk-quick-jot-btn {
    flex: 1 1 auto;
  }
  body.lk-note-jot #noteEditorPanel .lk-note-details {
    margin-top: 0.5rem;
  }
  body.lk-note-jot #noteEditorPanel .lk-jot-body-field textarea {
    min-height: calc(100dvh - 12rem - var(--lk-kb-inset) - var(--lk-accessory-h));
  }
  body.lk-mobile-sidebar-capture.lk-page-doc .lk-doc-wrap {
    padding-bottom: calc(0.75rem + var(--lk-kb-inset) + var(--lk-accessory-h));
  }
  body.lk-bt-keyboard .lk-mobile-accessory,
  body.lk-bt-keyboard .lk-mobile-read-bar {
    display: none !important;
  }
  body.lk-bt-keyboard .lk-mobile-writing-bar {
    justify-content: space-between;
    padding-left: 0.75rem;
  }
  body.lk-bt-keyboard .lk-bt-keyboard-hint {
    display: inline;
    font-size: 0.78rem;
  }
  .lk-bt-keyboard-hint {
    display: none;
  }
  body.lk-mobile-read.lk-page-doc #docEditor .ql-editor {
    cursor: default;
  }
  body.lk-mobile-read.lk-page-doc #docEditor .ql-container {
    -webkit-user-select: text;
    user-select: text;
  }
  body.lk-mobile-writing.lk-page-doc .lk-auth-bar,
  body.lk-mobile-writing.lk-page-doc #docSidebarShell,
  body.lk-mobile-writing.lk-page-doc .ql-toolbar,
  body.lk-mobile-writing.lk-page-doc .lk-doc-stale-banner {
    display: none !important;
  }
  body.lk-mobile-writing.lk-page-doc .lk-doc-wrap {
    padding-top: 2.75rem;
    padding-bottom: calc(0.75rem + var(--lk-kb-inset) + var(--lk-accessory-h));
  }
  body.lk-mobile-writing.lk-page-doc .lk-doc-main,
  body.lk-mobile-writing.lk-page-doc .lk-doc-canvas,
  body.lk-mobile-writing.lk-page-doc .lk-doc-sheet {
    min-height: calc(100dvh - 3.5rem - var(--lk-kb-inset) - var(--lk-accessory-h));
  }
  body.lk-mobile-writing.lk-page-doc #docEditor .ql-container {
    min-height: calc(100dvh - 5.5rem - var(--lk-kb-inset) - var(--lk-accessory-h));
  }
  body.lk-mobile-writing.lk-page-home .header-nav,
  body.lk-mobile-writing.lk-page-home h1,
  body.lk-mobile-writing.lk-page-home .lk-lead,
  body.lk-mobile-writing.lk-page-home .lk-auth-bar,
  body.lk-mobile-writing.lk-page-home .lk-privacy,
  body.lk-mobile-writing.lk-page-home .lk-panel:not(#noteEditorPanel),
  body.lk-mobile-writing.lk-page-home .lk-tools-panel {
    display: none !important;
  }
  body.lk-mobile-writing.lk-page-home .lk-wrap {
    padding-top: 2.75rem;
    padding-bottom: calc(0.75rem + var(--lk-kb-inset) + var(--lk-accessory-h));
  }
  body.lk-mobile-writing.lk-page-home #noteEditorPanel {
    margin: 0;
    border: none;
    background: transparent;
    box-shadow: none;
  }
  body.lk-mobile-writing.lk-page-home #noteEditorPanel .lk-spell-field textarea {
    min-height: calc(100dvh - 14rem - var(--lk-kb-inset) - var(--lk-accessory-h));
  }
  .lk-mobile-accessory {
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--lk-kb-inset);
    z-index: 54;
    background: rgba(12, 10, 9, 0.96);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(8px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .lk-mobile-accessory[hidden] {
    display: none !important;
  }
  .lk-mobile-accessory-tabs {
    display: flex;
    gap: 0.35rem;
    padding: 0.35rem 0.5rem 0;
  }
  .lk-mobile-accessory-tab {
    flex: 1;
    border: 1px solid var(--line);
    border-radius: 8px 8px 0 0;
    background: rgba(0, 0, 0, 0.2);
    color: var(--soft);
    font: inherit;
    font-size: 0.78rem;
    padding: 0.35rem 0.5rem;
    cursor: pointer;
  }
  .lk-mobile-accessory-tab.is-active {
    color: var(--ink);
    border-color: rgba(201, 168, 108, 0.45);
    background: rgba(201, 168, 108, 0.12);
  }
  .lk-mobile-accessory-scroll {
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    padding: 0.4rem 0.5rem 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .lk-mobile-accessory-scroll::-webkit-scrollbar {
    display: none;
  }
  .lk-mobile-accessory-key {
    flex: none;
    min-width: 2.35rem;
    min-height: 2.35rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.28);
    color: var(--ink);
    font: inherit;
    font-size: 0.95rem;
    padding: 0.25rem 0.45rem;
    cursor: pointer;
    touch-action: manipulation;
  }
  .lk-mobile-accessory-key--letter {
    min-width: 2.65rem;
    min-height: 2.65rem;
    font-size: 1.15rem;
    font-weight: 600;
  }
  .lk-mobile-accessory-key--wide {
    min-width: 4.5rem;
    font-size: 0.78rem;
  }
  .lk-mobile-accessory-key:active {
    background: rgba(201, 168, 108, 0.22);
    border-color: rgba(201, 168, 108, 0.45);
  }
  .lk-mobile-accessory-shortcuts-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
  }
  .lk-mobile-accessory-chip {
    font-size: 0.8rem;
    min-width: auto;
    padding: 0.3rem 0.55rem;
    border-color: rgba(201, 168, 108, 0.35);
  }
  .lk-mobile-accessory-chips-hint {
    font-size: 0.75rem;
    padding: 0.35rem 0.15rem;
    white-space: nowrap;
  }
  .lk-writing-complete-bar {
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    padding: 0.35rem 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    -webkit-overflow-scrolling: touch;
  }
  .lk-writing-complete-bar[hidden] {
    display: none !important;
  }
  .lk-writing-complete-opt {
    flex: none;
    border: 1px solid rgba(201, 168, 108, 0.45);
    border-radius: 999px;
    background: rgba(201, 168, 108, 0.14);
    color: var(--ink);
    font: inherit;
    font-size: 0.82rem;
    padding: 0.3rem 0.65rem;
    cursor: pointer;
    touch-action: manipulation;
  }
  .lk-doc-lore-terms-hint {
    margin: -0.35rem 0 0.75rem;
    font-size: 0.76rem;
  }
  .lk-mobile-restore-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 61;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.65rem;
    padding: calc(0.45rem + env(safe-area-inset-top, 0px)) 0.65rem 0.45rem;
    border-bottom: 1px solid rgba(201, 168, 108, 0.35);
    background: rgba(14, 12, 10, 0.97);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  }
  .lk-mobile-restore-banner[hidden] {
    display: none !important;
  }
  .lk-mobile-restore-msg {
    flex: 1 1 8rem;
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.35;
    color: var(--ink);
  }
  .lk-mobile-restore-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
  }
  .lk-mobile-restore-dismiss {
    min-width: 2rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    font-size: 1.1rem;
    line-height: 1;
  }
  body.lk-mobile-restore-visible.lk-page-doc .header-nav {
    margin-top: 3.1rem;
  }
  body.lk-mobile-writing.lk-page-doc .lk-mobile-restore-banner {
    display: flex;
  }
  .lk-mobile-restore-backdrop {
    position: fixed;
    inset: 0;
    z-index: 62;
    border: none;
    margin: 0;
    padding: 0;
    background: rgba(0, 0, 0, 0.45);
  }
  .lk-mobile-restore-backdrop[hidden] {
    display: none !important;
  }
  .lk-mobile-restore-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 63;
    max-height: min(70vh, 28rem);
    display: flex;
    flex-direction: column;
    border-radius: 14px 14px 0 0;
    border: 1px solid rgba(201, 168, 108, 0.35);
    border-bottom: none;
    background: var(--panel, #12100e);
    padding: 0.65rem 0.85rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.45);
  }
  .lk-mobile-restore-sheet[hidden] {
    display: none !important;
  }
  .lk-mobile-restore-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
  }
  .lk-mobile-restore-sheet-head h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
  }
  .lk-mobile-restore-sheet-hint {
    margin: 0 0 0.5rem;
    font-size: 0.78rem;
  }
  .lk-mobile-restore-sheet-list {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .lk-mobile-restore-sheet-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.88rem;
  }
  .lk-mobile-restore-sheet-item:last-child {
    border-bottom: none;
  }
  body.lk-mobile-restore-sheet-open {
    overflow: hidden;
  }
  .lk-handoff-toast {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    max-width: min(22rem, calc(100% - 1.25rem));
    z-index: 59;
  }
  .lk-handoff-toast-msg {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.4;
  }
  .lk-handoff-toast-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: flex-end;
  }
  .lk-handoff-toast-actions .lk-btn {
    font-size: 0.78rem;
    padding: 0.35rem 0.55rem;
  }
  body.lk-handoff-toast-visible .lk-mobile-read-bar {
    bottom: calc(5.5rem + var(--lk-kb-inset));
  }
}
