@hamster-note/notes 3.5.2 → 3.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"NoteDocumentProvider.d.ts","sourceRoot":"","sources":["../../../src/lib/editor/NoteDocumentProvider.tsx"],"names":[],"mappings":"AACA,OAAO,EAA8F,KAAK,YAAY,EAAE,MAAM,OAAO,CAAA;AAOrI,OAAO,KAAK,EAAE,yBAAyB,EAAE,mBAAmB,EAAmB,MAAM,iBAAiB,CAAA;AAKtG,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,yBAAyB,GAAG,YAAY,CAoCnF;AAkBD,wBAAgB,cAAc,CAAC,EAC7B,MAAM,EACN,KAAe,EACf,KAAK,EACL,cAAc,EACd,MAAM,EACN,IAAI,EACJ,YAAY,EACZ,eAAe,EACf,MAAM,EACP,EAAE,mBAAmB,GAAG,YAAY,CAkEpC"}
1
+ {"version":3,"file":"NoteDocumentProvider.d.ts","sourceRoot":"","sources":["../../../src/lib/editor/NoteDocumentProvider.tsx"],"names":[],"mappings":"AACA,OAAO,EAA8F,KAAK,YAAY,EAAE,MAAM,OAAO,CAAA;AAOrI,OAAO,KAAK,EAAE,yBAAyB,EAAE,mBAAmB,EAAmB,MAAM,iBAAiB,CAAA;AAKtG,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,yBAAyB,GAAG,YAAY,CAoCnF;AAkBD,wBAAgB,cAAc,CAAC,EAC7B,MAAM,EACN,KAAe,EACf,KAAK,EACL,cAAc,EACd,MAAM,EACN,IAAI,EACJ,YAAY,EACZ,eAAe,EACf,MAAM,EACP,EAAE,mBAAmB,GAAG,YAAY,CAuEpC"}
@@ -1 +1 @@
1
- {"version":3,"file":"NoteEditor.d.ts","sourceRoot":"","sources":["../../../src/lib/editor/NoteEditor.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAkB,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;AAE3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AE,OAAO,GAAG,MAAM,CAAA;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB,CAAC,sCAkCD;AA4PD,6CAA6C;AAC7C,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,+BAEhD"}
@@ -14,7 +14,7 @@ type ViewToolbarProps = {
14
14
  onUndo: () => void;
15
15
  onRedo: () => void;
16
16
  onSave: () => void;
17
- onOccupiedSpaceChange?: (space: Readonly<{
17
+ onOccupiedSpaceChange: (space: Readonly<{
18
18
  top: number;
19
19
  bottom: number;
20
20
  }>) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"ViewToolbar.d.ts","sourceRoot":"","sources":["../../../src/lib/editor/ViewToolbar.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAiB,YAAY,EAAE,MAAM,OAAO,CAAA;AACxD,OAAO,KAAK,EACV,eAAe,EACf,qBAAqB,EACrB,qBAAqB,EACrB,eAAe,EAChB,MAAM,iBAAiB,CAAA;AAExB,KAAK,gBAAgB,GAAG;IACtB,KAAK,CAAC,EAAE,SAAS,eAAe,EAAE,GAAG,SAAS,CAAA;IAC9C,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACnC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC3B,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC1B,YAAY,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE,eAAe,KAAK,OAAO,CAAC,qBAAqB,CAAC,CAAC,GAAG,SAAS,CAAA;IACzF,eAAe,CAAC,EAAE,CAAC,CAAC,OAAO,EAAE,eAAe,KAAK,OAAO,CAAC,qBAAqB,CAAC,CAAC,GAAG,SAAS,CAAA;IAC5F,MAAM,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAA;IAC1C,MAAM,EAAE,OAAO,CAAA;IACf,YAAY,EAAE,OAAO,CAAA;IACrB,MAAM,EAAE,MAAM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AAM,GAAG,SAAS,GAAG,OAAO;IAM7D,WAAW,CAAC,KAAK,EAAE,SAAS,GAAG,YAAY,GAAG,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,IAAI;IAKhF,iBAAiB,IAAI,OAAO;IAC5B,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,gBAAgB,GAAG,IAAI;IAGlD,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,gBAAgB,GAAG,IAAI,GAAG,IAAI;IAGlE,WAAW,CAAC,MAAM,EAAE,MAAM,OAAO,GAAG,OAAO;IAK3C,QAAQ,IAAI,IAAI;IAQhB,OAAO,CAAC,KAAK,GAAE,UAAU,GAAG,UAAuB,GAAG,IAAI;CAe3D"}
@@ -1,6 +1,6 @@
1
1
  import { ReactNode, Ref } from 'react';
2
2
  import { HnnDocument } from '../hnn/codec';
3
- import { HostCandidateProvider, HostReferenceActivate, HostReferenceLookup, HostReferenceResolve, InitialLoadErrorHandler, PictureResolveHandler, PictureUploadHandler } from './types';
3
+ import { ExternalLinkActivate, HostCandidateProvider, HostReferenceActivate, HostReferenceLookup, HostReferenceResolve, InitialLoadErrorHandler, PictureResolveHandler, PictureUploadHandler } from './types';
4
4
  export type DraftKind = "card" | "drawing";
5
5
  export type DraftPhase = "none" | "editing" | "validating" | "invalid";
6
6
  export type PublicDraftState = {
@@ -226,6 +226,7 @@ export type NoteDocumentProviderProps = {
226
226
  onReferenceCandidates?: HostCandidateProvider;
227
227
  onReferenceResolve?: HostReferenceResolve;
228
228
  onReferenceActivate?: HostReferenceActivate;
229
+ onExternalLinkActivate?: ExternalLinkActivate;
229
230
  onPictureUpload?: PictureUploadHandler;
230
231
  onPictureResolve?: PictureResolveHandler;
231
232
  onInitialLoadError?: InitialLoadErrorHandler;
@@ -1 +1 @@
1
- {"version":3,"file":"documentTypes.d.ts","sourceRoot":"","sources":["../../../src/lib/editor/documentTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,E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QAAQ,IAAI,6BAA6B,CAAA;IACzC,SAAS,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,MAAM,IAAI,CAAA;IAC3C,iEAAiE;IACjE,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;IAC/B;;;OAGG;IACH,eAAe,CAAC,SAAS,EAAE,sBAAsB,GAAG,OAAO,CAAA;IAC3D,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACnC,2BAA2B;IAC3B,MAAM,IAAI,IAAI,CAAA;IACd,OAAO,IAAI,IAAI,CAAA;CAChB;AAmCD,wBAAgB,+BAA+B,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,sBAAsB,GAAG,yBAAyB,CAqW5H"}
@@ -1,5 +1,6 @@
1
1
  import { Editor } from '@tiptap/core';
2
2
  import { BlockMenuCapabilities } from './blockMenu';
3
+ import { LinkBlockInteractionOptions } from './linkBlockInteractions';
3
4
  /** Per-view ephemeral UI. Never restores an old range or writes the document on show. */
4
- export declare function installInteractionToolbar(editor: Editor, capabilities: BlockMenuCapabilities): () => void;
5
+ export declare function installInteractionToolbar(editor: Editor, capabilities: BlockMenuCapabilities, linkOptions?: LinkBlockInteractionOptions): () => void;
5
6
  //# sourceMappingURL=interactionToolbar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"interactionToolbar.d.ts","sourceRoot":"","sources":["../../../src/lib/editor/interactionToolbar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAG1C,OAAO,EAAoB,KAAK,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAM1E,yFAAyF;AACzF,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,qBAAqB,GAAG,MAAM,IAAI,CA6TzG"}
1
+ {"version":3,"file":"interactionToolbar.d.ts","sourceRoot":"","sources":["../../../src/lib/editor/interactionToolbar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAG1C,OAAO,EAAoB,KAAK,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAK1E,OAAO,EAAgC,KAAK,2BAA2B,EAAE,MAAM,yBAAyB,CAAA;AAExG,yFAAyF;AACzF,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,qBAAqB,EACnC,WAAW,GAAE,2BAAgC,GAC5C,MAAM,IAAI,CA+TZ"}
@@ -0,0 +1,9 @@
1
+ import { Editor } from '@tiptap/core';
2
+ import { HostReferenceActivation } from './types';
3
+ export type LinkBlockInteractionOptions = Readonly<{
4
+ activate?: (reference: HostReferenceActivation) => void;
5
+ openExternal?: (href: string) => void;
6
+ }>;
7
+ export declare function openExternalLink(href: string): void;
8
+ export declare function installLinkBlockInteractions(editor: Editor, options?: LinkBlockInteractionOptions): () => void;
9
+ //# sourceMappingURL=linkBlockInteractions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"linkBlockInteractions.d.ts","sourceRoot":"","sources":["../../../src/lib/editor/linkBlockInteractions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAI1C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAA;AAEtD,MAAM,MAAM,2BAA2B,GAAG,QAAQ,CAAC;IACjD,QAAQ,CAAC,EAAE,CAAC,SAAS,EAAE,uBAAuB,KAAK,IAAI,CAAA;IACvD,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;CACtC,CAAC,CAAA;AAEF,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAMnD;AAOD,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,MAAM,EACd,OAAO,GAAE,2BAAgC,GACxC,MAAM,IAAI,CA8IZ"}
@@ -0,0 +1,6 @@
1
+ import { Extension } from '@tiptap/core';
2
+ import { Transaction } from '@tiptap/pm/state';
3
+ export declare const HNN_LINK_BLOCK_TRANSACTION = "hnnLinkBlockTransaction";
4
+ export declare function markLinkBlockTransaction(transaction: Transaction): Transaction;
5
+ export declare const HnnLinkBlockProtection: Extension<any, any>;
6
+ //# sourceMappingURL=linkBlockTransactions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"linkBlockTransactions.d.ts","sourceRoot":"","sources":["../../../src/lib/editor/linkBlockTransactions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAGxC,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAG3D,eAAO,MAAM,0BAA0B,4BAA4B,CAAA;AAInE,wBAAgB,wBAAwB,CAAC,WAAW,EAAE,WAAW,GAAG,WAAW,CAE9E;AAmDD,eAAO,MAAM,sBAAsB,qBAYjC,CAAA"}
@@ -9,13 +9,22 @@ export interface LinkTarget {
9
9
  readonly href: string | null;
10
10
  readonly commonMarks: readonly Mark[];
11
11
  }
12
- export declare function resolveLinkTarget(editor: Editor): LinkTarget | null;
12
+ export declare function resolveLinkTarget(editor: Editor, options?: {
13
+ position?: number;
14
+ allowReadOnly?: boolean;
15
+ }): LinkTarget | null;
13
16
  export declare function commitLink(editor: Editor, target: LinkTarget, title: string, url: string, stale?: boolean, remove?: boolean): {
14
17
  ok: true;
15
18
  } | {
16
19
  ok: false;
17
20
  message: string;
18
21
  };
22
+ export declare function deleteLinkBlock(editor: Editor, target: LinkTarget): {
23
+ ok: true;
24
+ } | {
25
+ ok: false;
26
+ message: string;
27
+ };
19
28
  /** Ephemeral dialog owned by one view; no public editor API or persisted draft. */
20
29
  export declare function openLinkEditor(editor: Editor, anchor: HTMLElement, onClose: () => void): (() => void) | null;
21
30
  //# sourceMappingURL=linkEditing.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"linkEditing.d.ts","sourceRoot":"","sources":["../../../src/lib/editor/linkEditing.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA;AAKlD,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAA;IAClB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,QAAQ,CAAC,WAAW,EAAE,SAAS,IAAI,EAAE,CAAA;CACtC;AAGD,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,UAAU,GAAG,IAAI,CA0BnE;AAED,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,UAAQ,EAAE,MAAM,UAAQ,GACtH;IAAE,EAAE,EAAE,IAAI,CAAA;CAAE,GAAG;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAc9C;AAED,mFAAmF;AACnF,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,IAAI,GAAG,CAAC,MAAM,IAAI,CAAC,GAAG,IAAI,CA6F5G"}
1
+ {"version":3,"file":"linkEditing.d.ts","sourceRoot":"","sources":["../../../src/lib/editor/linkEditing.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,KAAK,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AAc,GAAG,SAAS,CAAC;IAyC3C,OAAO,IAAI,IAAI;CAqFhB;AAED,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,oBAAoB,GAAG,aAAa,CAEhF"}
@@ -18,6 +18,7 @@ export type InitialLoadErrorContext = Readonly<{
18
18
  }>;
19
19
  /** 初始 HNN 严格校验失败时通知候选会话;不会替换仍在运行的旧会话。 */
20
20
  export type InitialLoadErrorHandler = (error: unknown, context: InitialLoadErrorContext) => void;
21
+ export type ExternalLinkActivate = (href: string) => void;
21
22
  export type EditorSessionStatus = "idle" | "saving" | "error" | "conflict";
22
23
  export type EditorSessionState = Readonly<{
23
24
  dirty: boolean;
@@ -46,10 +47,12 @@ export type EditorSessionOptions = Readonly<{
46
47
  */
47
48
  onReferenceCandidates?: HostCandidateProvider;
48
49
  /**
49
- * 宿主引用激活(D11):点击/键盘激活 mention/resource/externalItem 或 hnmagic 链接
50
- * 时调用,库绝不自行导航。缺省时引用节点不暴露 tab stop;hnmagic 仍禁止原生跳转。
50
+ * 宿主引用激活(D11):点击/键盘激活 mention/resource/externalItem,或在 hnmagic
51
+ * 链接浮层选择「跳转」时调用。库绝不自行导航;hnmagic 始终禁止原生协议跳转。
51
52
  */
52
53
  onReferenceActivate?: HostReferenceActivate;
54
+ /** 普通链接的显式「跳转」交给宿主;Web 缺省新标签页,mailto 走协议处理器。 */
55
+ onExternalLinkActivate?: ExternalLinkActivate;
53
56
  /**
54
57
  * 宿主引用运行时解析(D11):loading/resolved/missing/error 只读映射供占位呈现;
55
58
  * 缺省时一律受控 missing,不破坏文档。
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/lib/editor/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAE/C,wDAAwD;AACxD,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC;IACrC,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,MAA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O,MAAM,cAAc,aAA+C,CAAA;AAC1E,eAAO,MAAM,cAAc,aAA+C,CAAA"}
@@ -5,5 +5,5 @@ export { NoteSaveStatus, type NoteSaveStatusProps } from './editor/NoteSaveStatu
5
5
  export { MarkdownExport, type MarkdownExportContext, type MarkdownExportProps } from './editor/MarkdownExport';
6
6
  export { HnnCodecError, decodeHnn, encodeHnn, type HnnDiagnostic, type HnnDocument } from './hnn/codec';
7
7
  export { exportMarkdown, importMarkdown, type MarkdownDiagnostic, type MarkdownExportResult, type MarkdownImportResult } from './hnn/markdown';
8
- export type { EditorSessionOptions, EditorSessionState, EditorSessionStatus, HostCandidateKind, HostCandidateProvider, HostCandidateState, HostCandidateStatus, HostReferenceActivate, HostReferenceActivation, HostReferenceCandidate, HostReferenceContext, HostReferenceKind, HostReferenceLookup, HostReferenceResolution, HostReferenceResolutionEntry, HostReferenceResolutionStatus, HostReferenceResolve, HostReferenceState, InitialLoadErrorContext, InitialLoadErrorHandler, NoteSave, NoteSaveContext, NoteSaveResult, PictureResolveContext, PictureResolveHandler, PictureResolveResult, PictureUploadHandler, PictureUploadItem, PictureUploadItemStatus, PictureUploadRequest, PictureUploadResult, PictureUploadState } from './editor/types';
8
+ export type { EditorSessionOptions, EditorSessionState, EditorSessionStatus, ExternalLinkActivate, HostCandidateKind, HostCandidateProvider, HostCandidateState, HostCandidateStatus, HostReferenceActivate, HostReferenceActivation, HostReferenceCandidate, HostReferenceContext, HostReferenceKind, HostReferenceLookup, HostReferenceResolution, HostReferenceResolutionEntry, HostReferenceResolutionStatus, HostReferenceResolve, HostReferenceState, InitialLoadErrorContext, InitialLoadErrorHandler, NoteSave, NoteSaveContext, NoteSaveResult, PictureResolveContext, PictureResolveHandler, PictureResolveResult, PictureUploadHandler, PictureUploadItem, PictureUploadItemStatus, PictureUploadRequest, PictureUploadResult, PictureUploadState } from './editor/types';
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":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,OAAO,EACL,aAAa,EACb,SAAS,EACT,SAAS,EACT,KAAK,aAAa,EAClB,KAAK,WAAW,EACjB,MAAM,aAAa,CAAA;AACpB,OAAO,EACL,cAAc,EACd,cAAc,EACd,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EAC1B,MAAM,gBAAgB,CAAA;AACvB,YAAY,EACV,oBAAoB,EACpB,kBAAkB,EAClB,mBAAmB,EACnB,oBAAoB,EACpB,iBAAiB,EACjB,qBAAqB,EACrB,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,EACrB,uBAAuB,EACvB,sBAAsB,EACtB,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,EACnB,uBAAuB,EACvB,4BAA4B,EAC5B,6BAA6B,EAC7B,oBAAoB,EACpB,kBAAkB,EAClB,uBAAuB,EACvB,uBAAuB,EACvB,QAAQ,EACR,eAAe,EACf,cAAc,EACd,qBAAqB,EACrB,qBAAqB,EACrB,oBAAoB,EACpB,oBAAoB,EACpB,iBAAiB,EACjB,uBAAuB,EACvB,oBAAoB,EACpB,mBAAmB,EACnB,kBAAkB,EACnB,MAAM,gBAAgB,CAAA"}
package/dist/styles.css CHANGED
@@ -1 +1 @@
1
- :root{--hn-theme: #3b82f6;--hn-theme-soft: color-mix(in srgb, var(--hn-theme) 12%, white);--hn-theme-border: color-mix(in srgb, var(--hn-theme) 30%, transparent);--hn-theme-text: color-mix(in srgb, var(--hn-theme) 75%, #1e293b);--hn-bg: #ffffff;--hn-surface: #f8fafc;--hn-surface-hover: #f1f5f9;--hn-border: rgba(15, 23, 42, .08);--hn-border-strong: rgba(15, 23, 42, .14);--hn-text: #1e293b;--hn-text-muted: rgba(51, 65, 85, .65);--hn-text-soft: rgba(51, 65, 85, .85);--hn-radius: 24px;--hn-code-font: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}@keyframes hn-popover-in{0%{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.hn-editor-mini-popover,.hn-editor-menu{animation:none}}.hn-editor{position:relative;box-sizing:border-box;padding:1.5rem 4rem 2rem;color:var(--hn-text, #1e293b)}.hn-editor--light{--hn-theme-soft: color-mix(in srgb, var(--hn-theme, #3b82f6) 12%, white);--hn-theme-border: color-mix(in srgb, var(--hn-theme, #3b82f6) 30%, transparent);--hn-theme-text: color-mix(in srgb, var(--hn-theme, #3b82f6) 75%, #1e293b);--hn-bg: #ffffff;--hn-surface: #f8fafc;--hn-surface-hover: #f1f5f9;--hn-border: rgba(15, 23, 42, .08);--hn-border-strong: rgba(15, 23, 42, .14);--hn-text: #1e293b;--hn-text-muted: rgba(51, 65, 85, .65);--hn-text-soft: rgba(51, 65, 85, .85);--hn-danger: #dc2626;--hn-code-font: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;color-scheme:light}.hn-editor--dark{--hn-theme-soft: color-mix(in srgb, var(--hn-theme, #3b82f6) 18%, #111827);--hn-theme-border: color-mix(in srgb, var(--hn-theme, #3b82f6) 48%, transparent);--hn-theme-text: color-mix(in srgb, var(--hn-theme, #3b82f6) 55%, #f8fafc);--hn-bg: #0f172a;--hn-surface: #172033;--hn-surface-hover: #202b3f;--hn-border: rgba(226, 232, 240, .12);--hn-border-strong: rgba(226, 232, 240, .22);--hn-text: #f1f5f9;--hn-text-muted: rgba(203, 213, 225, .72);--hn-text-soft: rgba(226, 232, 240, .88);--hn-danger: #f87171;--hn-code-font: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;color-scheme:dark}.hn-editor .hn-editor-content{outline:none;min-height:8rem;caret-color:var(--hn-text, #1e293b);font-size:1rem;line-height:1.85;color:var(--hn-text-soft, rgba(51, 65, 85, .85));word-break:break-word}.hn-editor-content>*+:where(:not(.hn-editor-block-handle)){margin-top:.625rem}.hn-editor-content p{margin:0}.hn-editor-content h1,.hn-editor-content h2,.hn-editor-content h3,.hn-editor-content h4,.hn-editor-content h5,.hn-editor-content h6{margin:0;font-family:Iowan Old Style,Palatino Linotype,Book Antiqua,Palatino,serif;color:var(--hn-text, #1e293b);line-height:1.3}.hn-editor-content *+h1,.hn-editor-content *+h2,.hn-editor-content *+h3,.hn-editor-content *+h4,.hn-editor-content *+h5,.hn-editor-content *+h6{margin-top:1.1rem}.hn-editor-content h1{font-size:clamp(1.8rem,3vw,2.6rem)}.hn-editor-content h2{font-size:1.4rem}.hn-editor-content h3{font-size:1.1rem}.hn-editor-content h4{font-size:1rem}.hn-editor-content h5{font-size:.95rem}.hn-editor-content h6{font-size:.9rem}.hn-editor-content ul:not([data-type=taskList]),.hn-editor-content ol{margin:0;padding-left:1.5rem}.hn-editor-content li{margin:.15rem 0}.hn-editor-content li::marker{color:var(--hn-text-muted, rgba(51, 65, 85, .65))}.hn-editor-content ol[data-hnn-list-style]{padding-inline-start:max(1.75rem,var(--hn-list-marker-width))}.hn-editor-content ol>li[data-hnn-marker]::marker{content:attr(data-hnn-marker) ". ";font-variant-numeric:tabular-nums}.hn-editor-link-dialog{position:fixed;z-index:1200;box-sizing:border-box;max-height:calc(100dvh - 16px);overflow:auto;padding:16px;display:grid;gap:12px;border:1px solid var(--hn-border, #cbd5e1);border-radius:12px;background:var(--hn-surface, white);color:var(--hn-text, #1e293b);box-shadow:0 8px 28px #0002}.hn-editor-link-dialog label{display:grid;gap:4px}.hn-editor-link-dialog input{width:100%;min-width:0;box-sizing:border-box;padding:8px;border:1px solid var(--hn-border, #cbd5e1);border-radius:6px;background:inherit;color:inherit;font:inherit}.hn-editor-link-dialog p{margin:0;font-size:.85rem}.hn-editor-link-dialog [role=alert]{color:var(--hn-danger, #b91c1c)}.hn-editor-link-dialog [hidden]{display:none}.hn-editor-link-dialog button{padding:6px 10px;font:inherit;cursor:pointer}.hn-editor-content li>ul,.hn-editor-content li>ol{margin-top:.15rem}.hn-editor-content ul[data-type=taskList]{list-style:none;margin:0;padding-left:.25rem}.hn-editor-content li[data-checked]{display:flex;align-items:flex-start;gap:.6rem}.hn-editor-content li[data-checked]>label{margin-top:.45rem;cursor:pointer;flex:0 0 auto;touch-action:manipulation}.hn-editor-content li[data-checked]>div{min-width:0;flex:1}.hn-editor-content li[data-checked] input[type=checkbox]{width:1rem;height:1rem;margin:0;accent-color:var(--hn-theme, #3b82f6);cursor:pointer}.hn-editor-content li[data-checked] input[type=checkbox]:focus-visible{outline:2px solid var(--hn-theme, #3b82f6);outline-offset:2px}.hn-editor-content li[data-checked][data-checked=true]>div{color:var(--hn-text-muted, rgba(51, 65, 85, .65))}.hn-editor-content blockquote{margin:0;padding:1.25rem 1.35rem;border-left:4px solid var(--hn-theme, #3b82f6);border-radius:0 20px 20px 0;background:var(--hn-theme-soft, color-mix(in srgb, var(--hn-theme, #3b82f6) 12%, white))}.hn-editor-content blockquote p{font-size:1.1rem;line-height:1.7}.hn-editor-content blockquote *+*{margin-top:.5rem}.hn-editor-content .hn-editor-code-card{border-radius:var(--hn-radius, 24px)}.hn-editor-content .hn-editor-code-surface{border:1px solid var(--hn-border-strong, rgba(15, 23, 42, .14));border-radius:inherit;background:#0f172a;overflow:hidden}.hn-editor-content .hn-editor-code-meta{display:flex;justify-content:space-between;align-items:center;gap:.8rem;padding:.9rem 1rem;border-bottom:1px solid rgba(255,255,255,.08)}.hn-editor-content .hn-editor-code-lang{padding:.2rem .4rem;border:1px solid rgba(255,255,255,.15);border-radius:6px;background:#ffffff0f;color:#e2e8f0;font-family:inherit;font-size:.85rem;font-weight:600;cursor:pointer}.hn-editor-content .hn-editor-code-filename{flex:0 1 auto;width:10rem;min-width:12px;padding:.2rem .5rem;border:1px solid rgba(255,255,255,.15);border-radius:6px;background:#ffffff0f;color:#e2e8f0;font-family:var(--hn-code-font, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-size:.85rem;font-weight:600;text-align:right}.hn-editor-content .hn-editor-code-filename::placeholder{color:#e2e8f066}.hn-editor-content .hn-editor-code-lang:focus-visible,.hn-editor-content .hn-editor-code-filename:focus-visible{outline:2px solid var(--hn-theme, #3b82f6);outline-offset:0}.hn-editor-content .hn-editor-code-editing{display:grid}.hn-editor-content .hn-editor-code-highlight,.hn-editor-content .hn-editor-code-editor{grid-area:1 / 1;margin:0;padding:1rem;border:0;border-radius:0;background:transparent;font-family:var(--hn-code-font, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-size:.9rem;line-height:1.7;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere}.hn-editor-content .hn-editor-code-highlight{color:#e2e8f0;overflow:hidden;pointer-events:none}.hn-editor-content .hn-editor-code-editor{color:transparent;caret-color:#e2e8f0}.hn-editor-content .hn-editor-code-editor ::selection,.hn-editor-content .hn-editor-code-editor::selection{background:color-mix(in srgb,var(--hn-theme, #3b82f6) 35%,transparent)}.hn-editor-content .hn-editor-code-card code{padding:0;border-radius:0;background:transparent;font-family:inherit;font-size:inherit}.hn-editor-content .hn-editor-code-highlight .hljs-comment{color:#94a3b8;font-style:italic}.hn-editor-content .hn-editor-code-highlight .hljs-string{color:#86efac}.hn-editor-content .hn-editor-code-highlight .hljs-number{color:#fbbf24}.hn-editor-content .hn-editor-code-highlight .hljs-keyword{color:#c084fc}.hn-editor-content :not(pre)>code{padding:.1em .35em;border-radius:6px;background:var(--hn-surface, #f8fafc);font-family:var(--hn-code-font, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-size:.9em}.hn-editor-content .hn-editor-table-wrapper{position:relative;margin:0;padding:.9rem}.hn-editor-content .hn-editor-table-edge,.hn-editor-content .hn-editor-table-op{position:absolute;z-index:3;display:none;align-items:center;justify-content:center;padding:0;border:1px solid var(--hn-border-strong, rgba(15, 23, 42, .14));background:var(--hn-bg, #ffffff);color:var(--hn-text-muted, rgba(51, 65, 85, .65));font-size:.85rem;font-weight:600;line-height:1;cursor:pointer}.hn-editor-content .hn-editor-table-edge.is-visible,.hn-editor-content .hn-editor-table-op.is-visible{display:flex}.hn-editor-content .hn-editor-table-edge{width:20px;height:20px;border-radius:999px;transform:translate(-50%,-50%);box-shadow:0 1px 3px #0f172a1f}.hn-editor-content .hn-editor-table-op{min-width:20px;height:20px;border-radius:6px;transform:translate(-50%,-50%);box-shadow:0 1px 3px #0f172a1f;letter-spacing:1px;touch-action:none}.hn-editor-content .hn-editor-table-edge:hover,.hn-editor-content .hn-editor-table-op:hover{border-color:var(--hn-theme, #3b82f6);color:var(--hn-theme, #3b82f6)}.hn-editor-content .hn-editor-table-edge:focus-visible,.hn-editor-content .hn-editor-table-op:focus-visible{outline:2px solid var(--hn-theme, #3b82f6);outline-offset:1px}.hn-editor-content .hn-editor-table-op.is-dragging,.hn-editor-content .hn-editor-table-op.is-menu-open{border-color:var(--hn-theme, #3b82f6);background:var(--hn-theme-soft, color-mix(in srgb, var(--hn-theme, #3b82f6) 12%, white));color:var(--hn-theme, #3b82f6)}.hn-editor-content .hn-editor-table-preview--row-before{box-shadow:inset 0 2px 0 0 var(--hn-theme, #3b82f6)}.hn-editor-content .hn-editor-table-preview--row-after{box-shadow:inset 0 -2px 0 0 var(--hn-theme, #3b82f6)}.hn-editor-content .hn-editor-table-preview--col-before{box-shadow:inset 2px 0 0 0 var(--hn-theme, #3b82f6)}.hn-editor-content .hn-editor-table-preview--col-after{box-shadow:inset -2px 0 0 0 var(--hn-theme, #3b82f6)}.hn-editor-content .hn-editor-table-wrapper--reordering .hn-editor-table-edge,.hn-editor-content .hn-editor-table-wrapper--reordering .hn-editor-table-op{pointer-events:none}.hn-editor-content[contenteditable=false] .hn-editor-table-edge,.hn-editor-content[contenteditable=false] .hn-editor-table-op{display:none}.hn-editor-content table{width:100%;border-collapse:collapse;border:1px solid var(--hn-border-strong, rgba(15, 23, 42, .14));font-size:.95rem;line-height:1.5}.hn-editor-content th,.hn-editor-content td{position:relative;padding:.6rem .8rem;border:1px solid var(--hn-border-strong, rgba(15, 23, 42, .14));vertical-align:top}.hn-editor-content th{background:var(--hn-surface, #f8fafc);font-weight:600;text-align:left}.hn-editor-content th p,.hn-editor-content td p{line-height:1.5}.hn-editor-content .selectedCell:after{content:"";position:absolute;inset:0;z-index:2;background:var(--hn-theme-soft, color-mix(in srgb, var(--hn-theme, #3b82f6) 12%, white));pointer-events:none}.hn-editor-content hr{margin:0;border:none;border-top:1px solid var(--hn-border-strong, rgba(15, 23, 42, .14))}.hn-editor-content a{color:var(--hn-theme-text, color-mix(in srgb, var(--hn-theme, #3b82f6) 75%, #1e293b));text-decoration:underline;text-decoration-color:var(--hn-theme-border, color-mix(in srgb, var(--hn-theme, #3b82f6) 30%, transparent))}.hn-editor-content .ProseMirror-selectednode{outline:2px solid var(--hn-theme, #3b82f6);outline-offset:2px;border-radius:8px}.hn-editor-content .hn-editor-callout-tone,.hn-editor-content .hn-editor-callout-title,.hn-editor-content .hn-editor-collapsible-title,.hn-editor-content .hn-editor-picture-alt{font:inherit;font-size:.85rem;color:var(--hn-text, #1e293b);background:transparent;border:1px solid transparent;border-radius:6px;padding:.2rem .45rem}.hn-editor-content .hn-editor-callout-tone:hover,.hn-editor-content .hn-editor-callout-title:hover,.hn-editor-content .hn-editor-collapsible-title:hover,.hn-editor-content .hn-editor-picture-alt:hover{border-color:var(--hn-border, rgba(15, 23, 42, .08))}.hn-editor-content .hn-editor-callout-tone:focus-visible,.hn-editor-content .hn-editor-callout-title:focus-visible,.hn-editor-content .hn-editor-collapsible-title:focus-visible,.hn-editor-content .hn-editor-picture-alt:focus-visible{outline:2px solid var(--hn-theme, #3b82f6);outline-offset:1px;background:var(--hn-surface, #f8fafc)}.hn-editor-content .hn-editor-field-error{align-self:flex-start;max-width:100%;font-size:.78rem;line-height:1.4;color:var(--hn-danger, #dc2626);overflow-wrap:anywhere}.hn-editor-content .hn-editor-field-error:empty{display:none}.hn-editor-content .hn-editor-inline-formula .hn-editor-field-error{margin-left:.3rem}.hn-editor-content .hn-editor-callout{display:flex;flex-direction:column;gap:.6rem;padding:1.1rem 1.2rem;border:1px solid var(--hn-theme-border, color-mix(in srgb, var(--hn-theme, #3b82f6) 30%, transparent));border-radius:22px;background:var(--hn-surface, #f8fafc)}.hn-editor-content .hn-editor-callout--success{border-color:#16a34a47}.hn-editor-content .hn-editor-callout--warning{border-color:#d9770647}.hn-editor-content .hn-editor-callout-header{display:flex;align-items:center;gap:.6rem}.hn-editor-content .hn-editor-callout-title{flex:1;font-weight:600}.hn-editor-content .hn-editor-collapsible{border:1px solid var(--hn-border, rgba(15, 23, 42, .08));border-radius:14px;background:var(--hn-surface, #f8fafc)}.hn-editor-content .hn-editor-collapsible-header{display:flex;align-items:center;gap:.5rem;padding:.6rem .8rem}.hn-editor-content .hn-editor-collapsible-toggle{display:inline-flex;align-items:center;justify-content:center;width:1.6rem;height:1.6rem;padding:0;border:none;border-radius:6px;background:transparent;color:var(--hn-text-muted, rgba(51, 65, 85, .65));cursor:pointer}.hn-editor-content .hn-editor-collapsible-toggle:hover{background:var(--hn-surface-hover, rgba(15, 23, 42, .04))}.hn-editor-content .hn-editor-collapsible-toggle:focus-visible{outline:2px solid var(--hn-theme, #3b82f6);outline-offset:1px}.hn-editor-content .hn-editor-collapsible-caret{display:inline-block;font-size:.7rem;transform:rotate(90deg);transition:transform .15s ease}.hn-editor-content .hn-editor-collapsible.is-collapsed .hn-editor-collapsible-caret{transform:rotate(0)}.hn-editor-content .hn-editor-collapsible-title{flex:1}.hn-editor-content .hn-editor-collapsible-body{padding:0 1rem .75rem 3rem}.hn-editor-content .hn-editor-collapsible.is-collapsed .hn-editor-collapsible-body{display:none}.hn-editor-content .hn-editor-formula-preview{display:flex;align-items:center;justify-content:center;width:100%;min-height:3.25rem;padding:.5rem .75rem;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--hn-text, #1e293b);font:inherit;cursor:pointer}.hn-editor-content .hn-editor-formula-preview:hover{background:color-mix(in srgb,var(--hn-theme, #3b82f6) 5%,transparent)}.hn-editor-content .hn-editor-formula-preview:focus-visible{outline:2px solid var(--hn-theme, #3b82f6);outline-offset:2px}.hn-editor-content .hn-editor-formula-rendered .katex-display{margin:0}.hn-editor-content .hn-editor-inline-formula{display:inline-block;padding:0 .2em;border:none;border-radius:4px;background:transparent;color:var(--hn-text, #1e293b);font-family:Georgia,Times New Roman,serif;font-style:italic;font-size:inherit;cursor:pointer}.hn-editor-content .hn-editor-inline-formula:hover{background:color-mix(in srgb,var(--hn-theme, #3b82f6) 6%,transparent)}.hn-editor-content .hn-editor-inline-formula:focus-visible{outline:2px solid var(--hn-theme, #3b82f6);outline-offset:1px}.hn-editor-mini-popover{position:fixed;z-index:60;width:min(520px,calc(100vw - 16px));padding:8px;border-radius:10px;background:#1e293b;box-shadow:0 8px 24px #0f172a47;animation:hn-popover-in .12s ease}.hn-editor-mini-textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;padding:.5rem .6rem;border:1px solid rgba(255,255,255,.15);border-radius:6px;background:#ffffff0f;color:#e2e8f0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.85rem;line-height:1.5}.hn-editor-mini-textarea:focus-visible{outline:2px solid var(--hn-theme, #3b82f6);outline-offset:1px}.hn-editor-menu{position:fixed;z-index:60;min-width:168px;padding:6px;border-radius:10px;background:#1e293b;box-shadow:0 8px 24px #0f172a47;animation:hn-popover-in .12s ease}.hn-editor-menu--scroll{overflow-y:auto;overscroll-behavior:contain}.hn-editor-menu-item{display:block;width:100%;box-sizing:border-box;padding:.45rem .7rem;border:none;border-radius:6px;background:transparent;color:#e2e8f0;font-size:.85rem;line-height:1.4;text-align:left;cursor:pointer;white-space:nowrap}.hn-editor-menu-item:hover,.hn-editor-menu-item:focus-visible{background:#ffffff24;color:#fff;outline:none}.hn-editor-menu-item:disabled{color:#e2e8f061;cursor:default}.hn-editor-menu-item:disabled:hover{background:transparent}.hn-editor-menu-item--danger{color:#fca5a5}.hn-editor-menu-item--danger:hover,.hn-editor-menu-item--danger:focus-visible{background:#dc262638;color:#fecaca}.hn-editor-menu-item.is-confirming{background:var(--hn-danger, #dc2626);color:#fff}.hn-editor-menu-divider{height:1px;margin:4px 6px;background:#ffffff1f}.hn-editor-content .hn-editor-picture{display:flex;flex-direction:column;gap:.4rem;margin:0}.hn-editor-content .hn-editor-picture-img{display:block;max-width:100%;height:auto;border:1px solid var(--hn-border, rgba(15, 23, 42, .08));border-radius:8px}.hn-editor-content .hn-editor-picture-placeholder{padding:1.5rem;border:1px dashed var(--hn-border-strong, rgba(15, 23, 42, .14));border-radius:8px;color:var(--hn-text-muted, rgba(51, 65, 85, .65));font-size:.85rem;text-align:center}.hn-editor-content .hn-editor-picture-alt{width:100%;box-sizing:border-box;color:var(--hn-text-muted, rgba(51, 65, 85, .65))}.hn-editor-content .hn-editor-data-preview{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.25rem;width:100%;min-height:160px;padding:1rem;border:1px solid var(--hn-border, rgba(15, 23, 42, .08));border-radius:10px;background:var(--hn-surface, #f8fafc);color:var(--hn-text, #1e293b);font:inherit;cursor:pointer}.hn-editor-content .hn-editor-data-block--drawing .hn-editor-data-preview{border-style:dashed}.hn-editor-content .hn-editor-data-preview:hover{border-color:var(--hn-border-strong, rgba(15, 23, 42, .14))}.hn-editor-content .hn-editor-data-preview:focus-visible{outline:2px solid var(--hn-theme, #3b82f6);outline-offset:3px}.hn-editor-content .hn-editor-data-title{font-weight:600}.hn-editor-content .hn-editor-data-meta{font-size:.8rem;color:var(--hn-text-muted, rgba(51, 65, 85, .65))}.hn-editor-content .hn-editor-data-hint{position:absolute;right:.75rem;bottom:.75rem;padding:.15rem .6rem;border:1px solid var(--hn-border, rgba(15, 23, 42, .08));border-radius:999px;background:var(--hn-surface, #f8fafc);color:var(--hn-text-muted, rgba(51, 65, 85, .65));font-size:.72rem}.hn-editor-content .hn-editor-directory{display:flex;flex-direction:column;gap:.3rem;padding:1rem 1.15rem;border:1px solid var(--hn-border, rgba(15, 23, 42, .08));border-radius:14px;background:var(--hn-surface, #f8fafc)}.hn-editor-content .hn-editor-directory-title{font-size:.95rem;font-weight:600;color:var(--hn-text, #1e293b)}.hn-editor-content .hn-editor-directory-config{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.8rem;color:var(--hn-text-muted, rgba(51, 65, 85, .65))}.hn-editor-content .hn-editor-mention{display:inline-block;padding:0 .2em;border-radius:999px;background:var(--hn-theme-soft, color-mix(in srgb, var(--hn-theme, #3b82f6) 12%, white));color:var(--hn-theme-text, color-mix(in srgb, var(--hn-theme, #3b82f6) 75%, #1e293b));font-weight:700;white-space:nowrap}.hn-editor-content .hn-editor-resource{display:inline-block;padding:0 .45em;border:1px solid var(--hn-border, rgba(15, 23, 42, .08));border-radius:999px;background:var(--hn-surface, #f8fafc);color:var(--hn-text-soft, rgba(51, 65, 85, .85));font-size:.92em;white-space:nowrap}.hn-editor-content .hn-editor-external-item{padding:.35rem .5rem}.hn-editor-content .hn-editor-external-item-name{color:var(--hn-theme-text, color-mix(in srgb, var(--hn-theme, #3b82f6) 75%, #1e293b));text-decoration:underline dashed;text-decoration-color:var(--hn-theme-border, color-mix(in srgb, var(--hn-theme, #3b82f6) 30%, transparent));text-underline-offset:3px;border-radius:4px}.hn-editor-content{position:relative}.hn-editor-content>*{position:relative}.hn-editor-content>.hn-editor-block-handle:first-child+*{margin-top:0}.hn-editor-block-handle{position:absolute;left:-2.5rem;z-index:2;display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:none;border-radius:6px;background:transparent;color:var(--hn-text-muted, rgba(51, 65, 85, .65));font-size:.9rem;line-height:1;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;opacity:0;pointer-events:none;transform:translateY(-50%);transition:background .15s ease,color .15s ease,box-shadow .15s ease,opacity .15s ease}.hn-editor-block-handle-glyph{display:inline-flex;align-items:center;justify-content:center;letter-spacing:-.18em;transform:translate(-.03em)}.hn-editor-content>.hn-editor-block-handle+*:before{content:"";position:absolute;top:0;right:100%;width:2.5rem;height:100%;background:transparent;pointer-events:auto}.hn-editor-block-handle:has(+:hover),.hn-editor-block-handle:has(+:focus-within),.hn-editor-block-handle:hover,.hn-editor-block-handle:focus-visible,.hn-editor-block-handle--dragging,.hn-editor-block-handle--menu-open{opacity:1;pointer-events:auto}.hn-editor-content[contenteditable=false] .hn-editor-block-handle{display:none}.hn-editor-block-handle:hover{background:var(--hn-surface-hover, #f1f5f9);color:var(--hn-text, #1e293b)}.hn-editor-block-handle:focus-visible{box-shadow:0 0 0 2px var(--hn-theme, #3b82f6);outline:none}.hn-editor-block-handle--dragging{cursor:grabbing;background:var(--hn-theme-soft, color-mix(in srgb, #3b82f6 12%, white));color:var(--hn-theme-text, color-mix(in srgb, #3b82f6 75%, #1e293b))}.hn-editor-block-handle--menu-open{background:var(--hn-theme-soft, color-mix(in srgb, #3b82f6 12%, white));color:var(--hn-theme-text, color-mix(in srgb, #3b82f6 75%, #1e293b))}.hn-editor-block-dragging{cursor:grabbing;background:var(--hn-theme-soft, color-mix(in srgb, #3b82f6 12%, white))}.hn-editor-block-drop-before:after,.hn-editor-block-drop-after:after{content:"";position:absolute;left:0;right:0;z-index:3;height:3px;background:var(--hn-theme, #3b82f6);box-shadow:0 0 0 1px var(--hn-theme-soft, color-mix(in srgb, #3b82f6 12%, white));pointer-events:none}.hn-editor-block-drop-before:after{top:-.4rem}.hn-editor-block-drop-after:after{bottom:-.4rem}@media(max-width:840px){.hn-editor{padding:1.5rem 1.5rem 2rem}.hn-editor-content>.hn-editor-block-handle{display:none}.hn-editor-content>.hn-editor-block-handle+*:before{content:none}.hn-editor-content blockquote{padding:1rem 1.1rem}.hn-editor-content .hn-editor-code-card{border-radius:16px}.hn-editor-content .hn-editor-callout{padding:1rem}.hn-editor-content .hn-editor-collapsible-body{padding-left:2.5rem}.hn-editor-content .hn-editor-data-preview{min-height:140px}.hn-editor-content .hn-editor-directory{padding:.85rem 1rem}}.hn-editor-session-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .75rem;margin-top:.5rem}.hn-editor-uploads{display:contents}.hn-editor-uploads__retry,.hn-editor-uploads__cancel{appearance:none;margin:0;padding:.22rem .85rem;border:1px solid var(--hn-border-strong, rgba(15, 23, 42, .14));border-radius:999px;background:transparent;color:var(--hn-text-soft, rgba(51, 65, 85, .85));font:inherit;font-size:.8rem;font-weight:600;line-height:1.5;cursor:pointer;white-space:nowrap}.hn-editor-uploads__retry:hover,.hn-editor-uploads__cancel:hover{background:var(--hn-surface-hover, #f1f5f9);color:var(--hn-text, #1e293b)}.hn-editor-uploads__retry:focus-visible,.hn-editor-uploads__cancel:focus-visible{outline:none;box-shadow:0 0 0 2px var(--hn-theme, #3b82f6)}.hn-editor-uploads__list{flex-basis:100%;display:flex;flex-direction:column;gap:.375rem;margin:.25rem 0 0;padding:0;list-style:none}.hn-editor-uploads__item{display:flex;flex-wrap:wrap;align-items:center;gap:.375rem .5rem;font-size:.8rem;line-height:1.5;color:var(--hn-text-soft, rgba(51, 65, 85, .85))}.hn-editor-uploads__name{max-width:16rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.hn-editor-uploads__status{color:var(--hn-text-muted, rgba(51, 65, 85, .65))}.hn-editor-uploads__error{color:var(--hn-danger, #dc2626)}@media(max-width:840px){.hn-editor-session-actions{gap:.375rem .5rem;margin-top:.75rem}.hn-editor-uploads__name{max-width:10rem}}.hn-editor-data-drawer{--hn-color-surface: var(--hn-bg, #ffffff);--hn-color-surface-hover: var(--hn-surface-hover, #f1f5f9);--hn-color-text: var(--hn-text, #1e293b);--hn-color-text-muted: var(--hn-text-muted, rgba(51, 65, 85, .65));--hn-color-border: var(--hn-border, rgba(15, 23, 42, .08));--hn-color-border-strong: var(--hn-border-strong, rgba(15, 23, 42, .14));--hn-color-accent: var(--hn-theme, #3b82f6);--hn-color-accent-hover: var(--hn-theme-text, #1d4ed8);--hn-color-danger: var(--hn-danger, #dc2626)}.hn-editor-data-drawer .hn-drawer__content{display:flex;flex-direction:column}.hn-editor-data-drawer-body{display:flex;flex:1;flex-direction:column;gap:.75rem;min-height:0}.hn-editor-data-drawer-error{margin:0;font-size:.8rem;line-height:1.5;color:var(--hn-danger, #dc2626);overflow-wrap:anywhere}.hn-editor-data-drawer-error[hidden]{display:none}.hn-editor-data-drawer-note{margin:0;font-size:.82rem;line-height:1.6;color:var(--hn-text-muted, rgba(51, 65, 85, .65))}.hn-editor-data-drawer-raw{box-sizing:border-box;width:100%;resize:vertical;padding:.6rem .75rem;border:1px solid var(--hn-border, rgba(15, 23, 42, .08));border-radius:8px;background:var(--hn-surface, #f8fafc);color:var(--hn-text-soft, rgba(51, 65, 85, .85));font-family:var(--hn-code-font, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);font-size:.78rem;line-height:1.6}.hn-editor-card-list{display:flex;flex-direction:column;gap:.75rem;margin:0;padding:0;list-style:none;overflow-y:auto}.hn-editor-card-item{display:flex;flex-direction:column;gap:.45rem;padding:.75rem .85rem;border:1px solid var(--hn-border, rgba(15, 23, 42, .08));border-radius:10px;background:var(--hn-surface, #f8fafc)}.hn-editor-card-item-head{display:flex;flex-direction:column;align-items:stretch;gap:.4rem}.hn-editor-card-title{flex:1;min-width:0;padding:.3rem .5rem;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--hn-text, #1e293b);font:inherit;font-weight:600}.hn-editor-card-title:hover{border-color:var(--hn-border, rgba(15, 23, 42, .08))}.hn-editor-card-title:focus-visible{outline:2px solid var(--hn-theme, #3b82f6);outline-offset:1px;background:var(--hn-bg, #ffffff)}.hn-editor-card-meta{align-self:center;color:var(--hn-text-muted, rgba(51, 65, 85, .65));font-family:var(--hn-code-font, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);font-size:.72rem}.hn-editor-card-content{box-sizing:border-box;width:100%;resize:vertical;padding:.45rem .6rem;border:1px solid var(--hn-border, rgba(15, 23, 42, .08));border-radius:8px;background:var(--hn-bg, #ffffff);color:var(--hn-text-soft, rgba(51, 65, 85, .85));font:inherit;font-size:.85rem;line-height:1.6}.hn-editor-card-content:focus-visible{outline:2px solid var(--hn-theme, #3b82f6);outline-offset:1px;border-color:transparent}.hn-editor-drawing-toolbar{display:flex;flex-wrap:wrap;gap:.35rem}.hn-editor-drawing-tool{padding:.3rem .8rem;border:1px solid var(--hn-border, rgba(15, 23, 42, .08));border-radius:999px;background:var(--hn-surface, #f8fafc);color:var(--hn-text-soft, rgba(51, 65, 85, .85));font:inherit;font-size:.8rem;cursor:pointer}.hn-editor-drawing-tool:hover{border-color:var(--hn-border-strong, rgba(15, 23, 42, .14))}.hn-editor-drawing-tool[aria-pressed=true]{border-color:var(--hn-theme-border, color-mix(in srgb, var(--hn-theme, #3b82f6) 30%, transparent));background:var(--hn-theme-soft, color-mix(in srgb, var(--hn-theme, #3b82f6) 12%, white));color:var(--hn-theme-text, color-mix(in srgb, var(--hn-theme, #3b82f6) 75%, #1e293b))}.hn-editor-drawing-tool:focus-visible{outline:2px solid var(--hn-theme, #3b82f6);outline-offset:2px}.hn-editor-drawing-canvas{flex:1;min-height:240px;overflow:hidden;border:1px solid var(--hn-border, rgba(15, 23, 42, .08));border-radius:10px;background:var(--hn-bg, #ffffff)}.hn-editor-data-drawer-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem .75rem;margin-top:auto;padding-top:.5rem;border-top:1px solid var(--hn-border, rgba(15, 23, 42, .08))}.hn-editor-data-drawer-budget{color:var(--hn-text-muted, rgba(51, 65, 85, .65));font-family:var(--hn-code-font, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);font-size:.72rem}.hn-editor-data-drawer-budget--over{color:var(--hn-danger, #dc2626)}.hn-editor-data-drawer-actions{display:inline-flex;gap:.5rem;margin-left:auto}@media(max-width:840px){.hn-editor-data-drawer-footer{flex-direction:column;align-items:stretch}.hn-editor-data-drawer-actions{justify-content:flex-end;margin-left:0}}@media(min-width:841px){.hn-editor-card-item-head{flex-direction:row;align-items:center}}.hn-editor-content .hn-editor-directory-list{display:flex;flex-direction:column;gap:.15rem;margin:.2rem 0 0;padding:0;list-style:none}.hn-editor-content .hn-editor-directory-item{display:block}.hn-editor-content .hn-editor-directory-item[data-level="2"]{padding-left:1rem}.hn-editor-content .hn-editor-directory-item[data-level="3"]{padding-left:2rem}.hn-editor-content .hn-editor-directory-item[data-level="4"]{padding-left:3rem}.hn-editor-content .hn-editor-directory-item[data-level="5"]{padding-left:4rem}.hn-editor-content .hn-editor-directory-item[data-level="6"]{padding-left:5rem}.hn-editor-content .hn-editor-directory-entry{display:block;width:100%;padding:.35rem .6rem;border:none;border-radius:8px;background:transparent;font:inherit;font-size:.9rem;text-align:left;color:var(--hn-text, #1e293b);cursor:pointer}.hn-editor-content .hn-editor-directory-entry:hover{background:var(--hn-surface-hover, #f1f5f9)}.hn-editor-content .hn-editor-directory-entry:focus-visible{outline:2px solid var(--hn-theme, #3b82f6);outline-offset:1px}.hn-editor-content .hn-editor-directory-empty{padding:.35rem .6rem;font-size:.85rem;color:var(--hn-text-muted, rgba(51, 65, 85, .65))}.hn-editor-content .hn-editor-directory-target{background:var(--hn-surface-hover, #f1f5f9);border-radius:6px;transition:background .3s ease}@media(max-width:840px){.hn-editor-content .hn-editor-directory-item[data-level="2"]{padding-left:.5rem}.hn-editor-content .hn-editor-directory-item[data-level="3"]{padding-left:1rem}.hn-editor-content .hn-editor-directory-item[data-level="4"]{padding-left:1.5rem}.hn-editor-content .hn-editor-directory-item[data-level="5"]{padding-left:2rem}.hn-editor-content .hn-editor-directory-item[data-level="6"]{padding-left:2.5rem}}.hn-editor-interaction-toolbar{position:fixed;z-index:60;box-sizing:border-box;width:max-content;padding:6px;border-radius:10px;background:#1e293b;color:#e2e8f0;box-shadow:0 8px 24px #0f172a47;overflow-y:auto;overscroll-behavior:contain}.hn-editor-interaction-toolbar[hidden]{display:none}.hn-editor-toolbar-row{display:flex;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;gap:2px}.hn-editor-toolbar-row+.hn-editor-toolbar-row{margin-top:4px}.hn-editor-toolbar-row button{flex:0 0 auto;border:0;border-radius:6px;padding:8px 10px;background:transparent;color:inherit;font:inherit;font-size:.85rem;white-space:nowrap;cursor:pointer}.hn-editor-toolbar-row button:hover,.hn-editor-toolbar-row button[aria-pressed=true]{background:#ffffff24}.hn-editor-toolbar-row button:focus-visible{outline:2px solid var(--hn-theme, #3b82f6);outline-offset:-2px}.hn-editor-toolbar-row button:disabled{color:#e2e8f061;cursor:default}.hn-editor-menu-item[aria-haspopup=menu]:after{content:"›";float:right;margin-left:1rem}.hn-picture-dialog-backdrop{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:16px;background:#0f172a7a}.hn-picture-dialog{position:relative;box-sizing:border-box;width:min(420px,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow-y:auto;padding:24px;border:1px solid var(--hn-border, #e2e8f0);border-radius:16px;background:var(--hn-surface, #ffffff);color:var(--hn-text, #1e293b);box-shadow:0 24px 64px #0f172a47}.hn-picture-dialog h2{margin:0 32px 16px 0;font-size:1.15rem}.hn-picture-dialog button{font:inherit;cursor:pointer}.hn-picture-dialog button:disabled{cursor:default;opacity:.5}.hn-picture-dialog__close{position:absolute;top:12px;right:12px;width:32px;height:32px;border:0;border-radius:50%;background:transparent;color:inherit;font-size:24px!important}.hn-picture-dialog__dropzone{box-sizing:border-box;width:100%;min-height:112px;padding:16px;border:2px dashed var(--hn-border, #cbd5e1);border-radius:12px;background:var(--hn-surface-hover, #f8fafc);color:inherit;overflow-wrap:anywhere}.hn-picture-dialog__preview{display:block;max-width:100%;max-height:240px;margin:16px auto 0;object-fit:contain}.hn-picture-dialog__error{color:var(--hn-danger, #dc2626)}.hn-picture-dialog__actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.hn-picture-dialog__actions button,.hn-picture-dialog__upload button,.hn-editor-picture-retry{padding:8px 14px;border:1px solid var(--hn-border, #cbd5e1);border-radius:8px;background:var(--hn-surface, #ffffff);color:inherit}.hn-picture-dialog__actions .hn-picture-dialog__confirm{border-color:var(--hn-theme, #3b82f6);background:var(--hn-theme, #3b82f6);color:#fff}.hn-picture-dialog button:focus-visible,.hn-editor-picture-retry:focus-visible{outline:2px solid var(--hn-theme, #3b82f6);outline-offset:2px}.hn-editor .hn-view-toolbar .hn-pane-panel{background:var(--hn-bg);color:var(--hn-text);border-color:var(--hn-text-muted)}.hn-editor .hn-view-toolbar .hn-pane-toolbar button:hover:enabled,.hn-editor .hn-view-toolbar .hn-pane-toolbar button:active:enabled{background:var(--hn-surface-hover)}.hn-editor .hn-view-toolbar .hn-pane-toolbar button[aria-checked=true],.hn-editor .hn-view-toolbar .hn-pane-toolbar button[aria-checked=true]:hover:enabled,.hn-editor .hn-view-toolbar .hn-pane-toolbar button[aria-checked=true]:active:enabled{background:var(--hn-text);color:var(--hn-bg)}.hn-editor .hn-view-toolbar .hn-pane-toolbar button:disabled{color:var(--hn-text-muted)}.hn-editor .hn-view-toolbar .hn-pane-toolbar :is(button,input,select):focus-visible{outline:2px solid var(--hn-text);outline-offset:-2px}.hn-editor .hn-view-toolbar [role=status]{color:var(--hn-text-soft)}.hn-editor-slash-menu{background:var(--hn-bg);color:var(--hn-text);border:1px solid var(--hn-text-muted);position:fixed;z-index:70;min-width:180px;max-width:calc(100vw - 16px);overflow-y:auto}.hn-editor-slash-menu [role=option]{display:block;width:100%;border:0;background:transparent;color:var(--hn-text);text-align:left;padding:8px 12px;font:inherit}.hn-editor-slash-menu [aria-selected=true]{background:var(--hn-surface-hover);outline:2px solid var(--hn-text);outline-offset:-2px}.hn-editor-slash-menu [role=option]:disabled{color:var(--hn-text-muted)}@layer hamster-note.tokens{:root{--hn-color-surface:#111114;--hn-color-surface-hover:#17171b;--hn-color-text:#f4f4f5;--hn-color-text-muted:#92929d;--hn-color-border:#ffffff1a;--hn-color-border-strong:#ffffff2b;--hn-color-accent:#7c83ff;--hn-color-accent-hover:#9197ff;--hn-color-danger:#fb7185;--hn-color-success:#4ade80;--hn-color-warning:#fbbf24;--hn-font-sans:"IBM Plex Sans", "Noto Sans SC", sans-serif;--hn-font-mono:"IBM Plex Mono", monospace;--hn-radius-sm:6px;--hn-radius-md:8px;--hn-radius-lg:12px;--hn-focus-ring:0 0 0 3px #9197ff6b;--hn-transition:.14s cubic-bezier(.2, .8, .2, 1)}}@layer hamster-note.components{.hn-badge{border:1px solid var(--hn-color-border);border-radius:var(--hn-radius-sm);min-height:22px;font-family:var(--hn-font-mono);color:var(--hn-color-text-muted);background:#ffffff0a;align-items:center;gap:6px;padding:2px 8px;font-size:11px;font-weight:550;line-height:1.2;display:inline-flex}.hn-badge:before{content:"";background:currentColor;border-radius:50%;width:5px;height:5px}.hn-badge--accent{color:#aeb2ff;background:#7c83ff1a;border-color:#7c83ff3d}.hn-badge--success{color:var(--hn-color-success);background:#4ade8017;border-color:#4ade8038}.hn-badge--warning{color:var(--hn-color-warning);background:#fbbf2417;border-color:#fbbf2438}.hn-badge--danger{color:var(--hn-color-danger);background:#fb718517;border-color:#fb718538}.hn-button{border-radius:var(--hn-radius-md);min-height:36px;font-family:var(--hn-font-sans);color:var(--hn-color-text);cursor:pointer;transition:background-color var(--hn-transition),border-color var(--hn-transition),color var(--hn-transition),opacity var(--hn-transition);border:1px solid #0000;justify-content:center;align-items:center;gap:8px;padding:0 14px;font-size:13px;font-weight:600;line-height:1;display:inline-flex}.hn-button:focus-visible{box-shadow:var(--hn-focus-ring);outline:none}.hn-button:disabled{cursor:not-allowed;opacity:.42}.hn-button--primary{background:var(--hn-color-accent);color:#09090b}.hn-button--primary:hover:not(:disabled){background:var(--hn-color-accent-hover)}.hn-button--secondary{border-color:var(--hn-color-border);background:var(--hn-color-surface)}.hn-button--secondary:hover:not(:disabled){border-color:var(--hn-color-border-strong);background:var(--hn-color-surface-hover)}.hn-button--ghost{color:var(--hn-color-text-muted);background:0 0}.hn-button--ghost:hover:not(:disabled){background:var(--hn-color-surface-hover);color:var(--hn-color-text)}.hn-button--small{min-height:30px;padding:0 11px;font-size:12px}.hn-button--large{min-height:42px;padding:0 18px;font-size:14px}@media(prefers-reduced-motion:reduce){.hn-button{transition-duration:.01ms}}.hn-dialog__backdrop{z-index:1100;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#00000073;transition:opacity .14s cubic-bezier(.2,.8,.2,1);position:fixed;inset:0}.hn-dialog__backdrop[data-state=enter]{opacity:1}.hn-dialog__backdrop[data-state=exit]{opacity:0}.hn-dialog__panel{z-index:1100;border:1px solid var(--hn-color-border);border-radius:var(--hn-radius-lg);background:var(--hn-color-surface);width:auto;min-width:320px;max-width:calc(100vw - 32px);max-height:calc(100vh - 64px);color:var(--hn-color-text);font-family:var(--hn-font-sans);flex-direction:column;padding:20px 24px;transition:opacity .14s cubic-bezier(.2,.8,.2,1),transform .18s cubic-bezier(.2,.8,.2,1);display:flex;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 16px 48px #00000052}.hn-dialog__panel[data-state=enter]{opacity:1;transform:translate(-50%,-50%)}.hn-dialog__panel[data-state=exit],.hn-dialog__panel{opacity:0;transform:translate(-50%,calc(8px - 50%))}.hn-dialog__panel:focus-visible{box-shadow:var(--hn-focus-ring),0 16px 48px #00000052;outline:none}.hn-dialog__title{letter-spacing:-.01em;color:var(--hn-color-text);margin:0 0 4px;font-size:18px;font-weight:550;line-height:1.45}.hn-dialog__description{color:var(--hn-color-text-muted);margin:0;font-size:13px;line-height:1.65}.hn-dialog__content{margin-top:16px}.hn-dialog__panel:not(:has(.hn-dialog__title)) .hn-dialog__content{margin-top:0}@media(prefers-reduced-motion:reduce){.hn-dialog__backdrop,.hn-dialog__panel{transition-duration:.01ms}}.hn-confirm__footer{justify-content:flex-end;gap:8px;margin-top:20px;display:flex}.hn-confirm__footer[data-tone=danger] .hn-button--primary{background:var(--hn-color-danger);color:#09090b}.hn-confirm__footer[data-tone=danger] .hn-button--primary:hover:not(:disabled){background:color-mix(in srgb,var(--hn-color-danger) 88%,white)}.hn-drawer__backdrop{z-index:1200;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#00000073;transition:opacity .14s cubic-bezier(.2,.8,.2,1);position:fixed;inset:0}.hn-drawer__backdrop[data-state=enter]{opacity:1}.hn-drawer__backdrop[data-state=exit]{opacity:0}.hn-drawer__panel{z-index:1200;border:1px solid var(--hn-color-border);background:var(--hn-color-surface);max-width:100vw;max-height:100vh;color:var(--hn-color-text);font-family:var(--hn-font-sans);opacity:0;flex-direction:column;padding:20px 24px;transition:opacity .14s cubic-bezier(.2,.8,.2,1),transform .18s cubic-bezier(.2,.8,.2,1);display:flex;position:fixed;box-shadow:0 16px 48px #00000052}.hn-drawer__panel:focus-visible{box-shadow:var(--hn-focus-ring),0 16px 48px #00000052;outline:none}.hn-drawer__panel--left,.hn-drawer__panel--right{width:var(--hn-drawer-size,360px);max-width:100vw;height:100vh;top:0;bottom:0}.hn-drawer__panel--left{border-radius:0 var(--hn-radius-lg) var(--hn-radius-lg) 0;left:0;transform:translate(-100%)}.hn-drawer__panel--right{border-radius:var(--hn-radius-lg) 0 0 var(--hn-radius-lg);right:0;transform:translate(100%)}.hn-drawer__panel--left[data-state=enter],.hn-drawer__panel--right[data-state=enter]{opacity:1;transform:translate(0)}.hn-drawer__panel--left[data-state=exit]{opacity:0;transform:translate(-100%)}.hn-drawer__panel--right[data-state=exit]{opacity:0;transform:translate(100%)}.hn-drawer__panel--top,.hn-drawer__panel--bottom{width:100vw;height:var(--hn-drawer-size,280px);max-height:100vh;left:0;right:0}.hn-drawer__panel--top{border-radius:0 0 var(--hn-radius-lg) var(--hn-radius-lg);top:0;transform:translateY(-100%)}.hn-drawer__panel--bottom{border-radius:var(--hn-radius-lg) var(--hn-radius-lg) 0 0;bottom:0;transform:translateY(100%)}.hn-drawer__panel--top[data-state=enter],.hn-drawer__panel--bottom[data-state=enter]{opacity:1;transform:translateY(0)}.hn-drawer__panel--top[data-state=exit]{opacity:0;transform:translateY(-100%)}.hn-drawer__panel--bottom[data-state=exit]{opacity:0;transform:translateY(100%)}.hn-drawer__title{letter-spacing:-.01em;color:var(--hn-color-text);margin:0 0 4px;font-size:18px;font-weight:550;line-height:1.45}.hn-drawer__description{color:var(--hn-color-text-muted);margin:0;font-size:13px;line-height:1.65}.hn-drawer__content{flex:auto;margin-top:16px;overflow:auto}.hn-drawer__panel:not(:has(.hn-drawer__title)) .hn-drawer__content{margin-top:0}@media(prefers-reduced-motion:reduce){.hn-drawer__backdrop,.hn-drawer__panel{transition-duration:.01ms}}.hn-icon{vertical-align:-.125em;pointer-events:none;flex-shrink:0;justify-content:center;align-items:center;line-height:0;display:inline-flex}.hn-kbd{font-family:var(--hn-font-mono);color:var(--hn-color-text);white-space:nowrap;vertical-align:baseline;align-items:center;gap:4px;font-size:11px;line-height:1;display:inline-flex}.hn-kbd__key{border:1px solid color-mix(in srgb,var(--hn-color-text) 22%,transparent);border-radius:var(--hn-radius-sm);background:var(--hn-color-surface-hover);min-width:18px;color:var(--hn-color-text);vertical-align:baseline;white-space:nowrap;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;padding:2px 6px;font-family:inherit;font-size:11px;font-weight:500;line-height:1;display:inline-flex;box-shadow:inset 0 -1px #0000001f}.hn-kbd__plus{color:var(--hn-color-text-muted);-webkit-user-select:none;user-select:none;font-family:inherit;font-size:11px;font-weight:400;line-height:1}.hn-loading{color:var(--hn-color-accent);font-family:var(--hn-font-sans);justify-content:center;align-items:center;gap:8px;line-height:0;display:inline-flex}.hn-loading__spinner{animation:hn-loading-spin var(--hn-loading-duration,.9s) linear infinite;transform-origin:50%;flex-shrink:0;display:block}.hn-loading__text{color:var(--hn-color-text-muted);white-space:nowrap;font-size:13px;line-height:1.5}.hn-loading--small .hn-loading__text{font-size:12px}.hn-loading--large .hn-loading__text{font-size:14px}.hn-loading--cover{background:color-mix(in srgb,var(--hn-color-surface) 72%,transparent);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);border-radius:inherit;color:var(--hn-color-accent);flex-direction:column;gap:12px;position:absolute;inset:0}.hn-loading--cover .hn-loading__text{color:var(--hn-color-text)}.hn-loading-overlay{z-index:1200;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:var(--hn-color-accent);font-family:var(--hn-font-sans);background:#00000073;flex-direction:column;justify-content:center;align-items:center;gap:14px;animation:.14s cubic-bezier(.2,.8,.2,1) hn-loading-overlay-fade;display:flex;position:fixed;inset:0}.hn-loading-overlay .hn-loading__text{color:var(--hn-color-text);font-size:14px}@keyframes hn-loading-spin{to{transform:rotate(360deg)}}@keyframes hn-loading-overlay-fade{0%{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.hn-loading__spinner{animation-duration:2.4s;animation-timing-function:steps(12,end)}.hn-loading-overlay{animation-duration:.01ms}}.hn-popover{--hn-popover-background:#1e293bcc;--hn-popover-border:#ffffff1a;--hn-popover-separator:#ffffff2e;--hn-color-surface:#111114;--hn-color-surface-hover:#ffffff1a;--hn-color-text:#f8fafc;--hn-color-text-muted:#cbd5e1;--hn-color-border:#ffffff1a;--hn-color-border-strong:#ffffff2b;--hn-popover-padding:5px;max-width:100%;padding:var(--hn-popover-padding);border:1px solid var(--hn-popover-border);border-radius:calc(var(--hn-radius-md) + var(--hn-popover-padding));background:var(--hn-popover-background);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:var(--hn-color-text);font-family:var(--hn-font-sans);align-items:center;gap:3px;display:inline-flex;box-shadow:0 8px 24px #0f172a47}.hn-popover[data-theme=light]{--hn-popover-background:#fffc;--hn-popover-border:#0f172a1f;--hn-popover-separator:#0f172a29;--hn-color-surface:#fff;--hn-color-surface-hover:#f1f5f9;--hn-color-text:#1e293b;--hn-color-text-muted:#64748b;--hn-color-border:#0000001a;--hn-color-border-strong:#0000002e;box-shadow:0 8px 24px #0f172a29}.hn-popover--floating{z-index:1000}.hn-popover[data-orientation=vertical]{flex-direction:column}.hn-popover__separator{background:var(--hn-popover-separator);border:0;flex:0 0 1px;width:1px;height:20px;margin:0 4px;padding:0}.hn-popover[data-orientation=vertical] .hn-popover__separator{flex:0 0 1px;width:20px;height:1px;margin:4px 0}.hn-menu{min-width:180px;font-family:var(--hn-font-sans);color:var(--hn-color-text);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:var(--hn-radius-md);background:#1e293bcc;flex-direction:column;gap:2px;padding:4px;display:flex}.hn-menu__item{border-radius:var(--hn-radius-md);width:100%;min-height:32px;color:var(--hn-color-text);cursor:pointer;text-align:left;transition:background-color var(--hn-transition),color var(--hn-transition);background:0 0;border:0;justify-content:space-between;align-items:center;gap:12px;padding:0 10px;font-size:13px;line-height:1;display:flex}.hn-menu__item:hover:not(:disabled){background:var(--hn-color-surface-hover)}.hn-menu__item:focus-visible{box-shadow:var(--hn-focus-ring);outline:none}.hn-menu__item:disabled{cursor:not-allowed;opacity:.42}.hn-menu__item--danger{color:var(--hn-color-danger)}.hn-menu__item-label{flex:auto;min-width:0}.hn-menu__shortcut{font:400 11px/1 var(--hn-font-mono);color:var(--hn-color-text-muted);flex-shrink:0;align-items:center;display:inline-flex}.hn-menu__separator{background:var(--hn-popover-separator,var(--hn-color-border));border:0;height:1px;margin:4px 2px}.hn-menu__label{color:var(--hn-color-text-muted);-webkit-user-select:none;user-select:none;padding:4px 10px 2px;font-size:11px;line-height:1}.hn-menu__submenu{display:block}.hn-menu__submenu--open>.hn-menu__submenu-trigger{background:var(--hn-color-surface-hover)}.hn-menu__submenu-chevron{font:400 11px/1 var(--hn-font-sans);color:var(--hn-color-text-muted);transition:transform var(--hn-transition);flex-shrink:0;align-items:center;display:inline-flex}.hn-menu__submenu--open>.hn-menu__submenu-trigger .hn-menu__submenu-chevron{transform:rotate(90deg)}.hn-menu__submenu-panel{z-index:1000}.hn-menu__submenu-panel .hn-menu{min-width:160px}@media(prefers-reduced-motion:reduce){.hn-menu__item,.hn-menu__submenu-chevron{transition-duration:.01ms}}.hn-note-card{box-sizing:border-box;border:1px solid var(--hn-color-border);border-radius:var(--hn-radius-lg);background:var(--hn-color-surface);width:100%;font-family:var(--hn-font-sans);color:var(--hn-color-text);text-align:left;transition:background-color var(--hn-transition),border-color var(--hn-transition),transform .18s cubic-bezier(.2,.8,.2,1);gap:14px;padding:18px;display:grid;position:relative}.hn-note-card__action{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;position:absolute;inset:0}.hn-note-card--interactive:has(.hn-note-card__action:hover){border-color:var(--hn-color-border-strong);background:var(--hn-color-surface-hover);transform:translateY(-1px)}.hn-note-card--interactive:has(.hn-note-card__action:focus-visible){box-shadow:var(--hn-focus-ring);outline:none}.hn-note-card__action:focus-visible{outline:none}.hn-note-card--selected{background:#7c83ff14;border-color:#7c83ff73}.hn-note-card__heading{gap:5px;display:grid}.hn-note-card__title,.hn-note-card__excerpt,.hn-note-card__meta{margin:0}.hn-note-card__title{letter-spacing:-.01em;font-size:15px;font-weight:600;line-height:1.35}.hn-note-card__excerpt{color:var(--hn-color-text-muted);text-wrap:pretty;font-size:13px;line-height:1.6}.hn-note-card__meta{font-family:var(--hn-font-mono);color:#70707b;font-size:11px;line-height:1.4}@media(prefers-reduced-motion:reduce){.hn-note-card{transition-duration:.01ms}}.hn-text-field{width:100%;font-family:var(--hn-font-sans);gap:7px;display:grid}.hn-text-field__label{color:var(--hn-color-text);font-size:12px;font-weight:600;line-height:1.3}.hn-text-field__control{box-sizing:border-box;border:1px solid var(--hn-color-border);border-radius:var(--hn-radius-md);background:var(--hn-color-surface);width:100%;min-height:38px;font:400 14px/1.4 var(--hn-font-sans);color:var(--hn-color-text);transition:border-color var(--hn-transition),background-color var(--hn-transition),box-shadow var(--hn-transition);outline:none;padding:8px 11px}.hn-text-field__control::placeholder{color:#666670}.hn-text-field__control:hover:not(:disabled){border-color:var(--hn-color-border-strong)}.hn-text-field__control:focus-visible{border-color:var(--hn-color-accent);background:var(--hn-color-surface-hover);box-shadow:var(--hn-focus-ring);outline:none}.hn-text-field__control:disabled{cursor:not-allowed;opacity:.48}.hn-text-field--invalid .hn-text-field__control{border-color:#fb718599}.hn-text-field__message{color:var(--hn-color-text-muted);margin:0;font-size:12px;line-height:1.4}.hn-text-field--invalid .hn-text-field__message{color:var(--hn-color-danger)}@media(prefers-reduced-motion:reduce){.hn-text-field__control{transition-duration:.01ms}}.hn-theme{display:contents}.hn-theme[data-accent=custom]{--hn-color-accent-hover:color-mix(in srgb, var(--hn-color-accent), #fff 16%);--hn-focus-ring:0 0 0 3px color-mix(in srgb, var(--hn-color-accent) 42%, transparent)}}.hn-theme[data-mode=light]{--hn-color-surface:#fff;--hn-color-surface-hover:#f4f4f6;--hn-color-text:#18181b;--hn-color-text-muted:#63636d;--hn-color-border:#0000001a;--hn-color-border-strong:#0000002e;--hn-color-danger:#e11d48;--hn-color-success:#16a34a;--hn-color-warning:#d97706}.hn-theme[data-mode=dark]{--hn-color-surface:#111114;--hn-color-surface-hover:#17171b;--hn-color-text:#f4f4f5;--hn-color-text-muted:#92929d;--hn-color-border:#ffffff1a;--hn-color-border-strong:#ffffff2b;--hn-color-danger:#fb7185;--hn-color-success:#4ade80;--hn-color-warning:#fbbf24}.hn-reference-menu{position:fixed;z-index:10000;display:grid;width:min(260px,calc(100vw - 24px));max-height:min(18rem,calc(100vh - 24px));gap:.15rem;padding:.3rem;overflow-y:auto;border-radius:10px;background:#1e293b;box-shadow:0 8px 24px #0f172a47;animation:hn-reference-popover-in .12s ease}@keyframes hn-reference-popover-in{0%{opacity:0}to{opacity:1}}.hn-reference-option{display:flex;width:100%;align-items:center;gap:.55rem;padding:.5rem .65rem;border:0;border-radius:7px;background:transparent;color:#e2e8f0;font:inherit;text-align:left;cursor:pointer;-webkit-user-select:none;user-select:none}.hn-reference-option:hover,.hn-reference-option[aria-selected=true]{background:#ffffff24;color:#fff}.hn-reference-option:focus-visible{outline:2px solid var(--hn-theme);outline-offset:-2px}.hn-reference-option-mark{font-weight:700}.hn-reference-empty{padding:.5rem .65rem;color:#e2e8f099;font-size:.8rem;text-align:left;cursor:default}@media(max-width:840px){.hn-reference-menu{width:min(240px,calc(100vw - 24px))}}@media(prefers-reduced-motion:reduce){.hn-reference-menu{animation:none}}.hn-editor-content .hn-editor-mention[data-hnn-resolve-status=loading],.hn-editor-content .hn-editor-resource[data-hnn-resolve-status=loading],.hn-editor-content .hn-editor-external-item[data-hnn-resolve-status=loading]{opacity:.55}.hn-editor-content .hn-editor-mention[data-hnn-resolve-status=missing],.hn-editor-content .hn-editor-resource[data-hnn-resolve-status=missing],.hn-editor-content .hn-editor-external-item[data-hnn-resolve-status=missing]{opacity:.7}.hn-editor-content .hn-editor-mention[data-hnn-resolve-status=missing]:after,.hn-editor-content .hn-editor-resource[data-hnn-resolve-status=missing]:after,.hn-editor-content .hn-editor-external-item[data-hnn-resolve-status=missing]:after{content:"?";color:var(--hn-text-muted, rgba(51, 65, 85, .65))}.hn-editor-content .hn-editor-mention[data-hnn-resolve-status=error]:after,.hn-editor-content .hn-editor-resource[data-hnn-resolve-status=error]:after,.hn-editor-content .hn-editor-external-item[data-hnn-resolve-status=error]:after{content:"!";color:var(--hn-text-muted, rgba(51, 65, 85, .65))}.hn-editor-content [data-hnn-node][role=link]{cursor:pointer}.hn-editor-content [data-hnn-node][role=link]:focus-visible{outline:2px solid var(--hn-theme, #3b82f6);outline-offset:1px;border-radius:4px}.hn-editor-content .hn-editor-external-item[role=link]:hover .hn-editor-external-item-name,.hn-editor-content .hn-editor-external-item[role=link]:focus-visible .hn-editor-external-item-name{text-decoration-color:var(--hn-theme-text, color-mix(in srgb, var(--hn-theme, #3b82f6) 75%, #1e293b))}.hn-markdown-export{display:inline-flex;flex-wrap:wrap;align-items:center;gap:.3rem .75rem;box-sizing:border-box;background:transparent;font-size:.85rem;line-height:1.55}.hn-markdown-export--light{--hn-theme-soft: color-mix(in srgb, var(--hn-theme, #3b82f6) 12%, white);--hn-theme-border: color-mix(in srgb, var(--hn-theme, #3b82f6) 30%, transparent);--hn-theme-text: color-mix(in srgb, var(--hn-theme, #3b82f6) 75%, #1e293b);--hn-bg: #ffffff;--hn-surface: #f8fafc;--hn-surface-hover: #f1f5f9;--hn-border: rgba(15, 23, 42, .08);--hn-border-strong: rgba(15, 23, 42, .14);--hn-text: #1e293b;--hn-text-muted: rgba(51, 65, 85, .65);--hn-text-soft: rgba(51, 65, 85, .85);color-scheme:light}.hn-markdown-export--dark{--hn-theme-soft: color-mix(in srgb, var(--hn-theme, #3b82f6) 18%, #111827);--hn-theme-border: color-mix(in srgb, var(--hn-theme, #3b82f6) 48%, transparent);--hn-theme-text: color-mix(in srgb, var(--hn-theme, #3b82f6) 55%, #f8fafc);--hn-bg: #0f172a;--hn-surface: #172033;--hn-surface-hover: #202b3f;--hn-border: rgba(226, 232, 240, .12);--hn-border-strong: rgba(226, 232, 240, .22);--hn-text: #f1f5f9;--hn-text-muted: rgba(203, 213, 225, .72);--hn-text-soft: rgba(226, 232, 240, .88);color-scheme:dark}.hn-markdown-export__trigger{appearance:none;margin:0;padding:.22rem .85rem;border:1px solid var(--hn-border-strong, rgba(15, 23, 42, .14));border-radius:999px;background:transparent;color:var(--hn-text-soft, rgba(51, 65, 85, .85));font:inherit;font-size:.8rem;font-weight:600;line-height:1.5;cursor:pointer;white-space:nowrap}.hn-markdown-export__trigger:hover:not(:disabled){background:var(--hn-surface-hover, #f1f5f9);color:var(--hn-text, #1e293b)}.hn-markdown-export__trigger:focus-visible{outline:none;box-shadow:0 0 0 2px var(--hn-theme, #3b82f6)}.hn-markdown-export__trigger:disabled{opacity:.55;cursor:default}.hn-markdown-export__status{color:var(--hn-text-muted, rgba(51, 65, 85, .65))}.hn-markdown-export__status:empty{display:none}.hn-markdown-export__error{margin:0;flex:1 1 100%;color:var(--hn-text, #1e293b);overflow-wrap:break-word}.hn-markdown-export-drawer-body{display:flex;flex-direction:column;gap:.75rem;min-height:0;color:var(--hn-text-soft, rgba(51, 65, 85, .85));font-size:.9rem;line-height:1.6}.hn-markdown-export-drawer-error{margin:0;color:var(--hn-text, #1e293b);font-weight:600}.hn-markdown-export-drawer-error[hidden]{display:none}.hn-markdown-export-drawer-lead{margin:0}.hn-markdown-export-diagnostics{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:.5rem;overflow:auto;min-height:0}.hn-markdown-export-diagnostic{display:flex;flex-direction:column;gap:.1rem;padding-left:.6rem;border-left:3px solid var(--hn-theme-border, rgba(59, 130, 246, .3))}.hn-markdown-export-diagnostic-message{color:var(--hn-text, #1e293b);overflow-wrap:break-word}.hn-markdown-export-diagnostic-meta{color:var(--hn-text-muted, rgba(51, 65, 85, .65));font-size:.78rem;overflow-wrap:break-word}.hn-markdown-export-preview{margin:0;padding:.75rem .9rem;border:1px solid var(--hn-border, rgba(15, 23, 42, .08));border-radius:10px;background:var(--hn-surface, #f8fafc);color:var(--hn-text-soft, rgba(51, 65, 85, .85));font-family:var(--hn-code-font, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-size:.8rem;line-height:1.7;white-space:pre-wrap;overflow-wrap:break-word;overflow:auto;max-height:22vh}.hn-markdown-export-preview:focus-visible{outline:none;box-shadow:0 0 0 2px var(--hn-theme, #3b82f6)}.hn-markdown-export-drawer-footer{display:flex;justify-content:flex-end}.hn-markdown-export-drawer-actions{display:inline-flex;flex-wrap:wrap;gap:.5rem}@media(prefers-reduced-motion:reduce){.hn-markdown-export__trigger{transition:none}}.hn-save-status{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem .75rem;box-sizing:border-box;background:transparent;font-size:.85rem;line-height:1.55}.hn-save-status--light{--hn-theme-soft: color-mix(in srgb, var(--hn-theme, #3b82f6) 12%, white);--hn-theme-border: color-mix(in srgb, var(--hn-theme, #3b82f6) 30%, transparent);--hn-theme-text: color-mix(in srgb, var(--hn-theme, #3b82f6) 75%, #1e293b);--hn-bg: #ffffff;--hn-surface: #f8fafc;--hn-surface-hover: #f1f5f9;--hn-border: rgba(15, 23, 42, .08);--hn-border-strong: rgba(15, 23, 42, .14);--hn-text: #1e293b;--hn-text-muted: rgba(51, 65, 85, .65);--hn-text-soft: rgba(51, 65, 85, .85);color-scheme:light}.hn-save-status--dark{--hn-theme-soft: color-mix(in srgb, var(--hn-theme, #3b82f6) 18%, #111827);--hn-theme-border: color-mix(in srgb, var(--hn-theme, #3b82f6) 48%, transparent);--hn-theme-text: color-mix(in srgb, var(--hn-theme, #3b82f6) 55%, #f8fafc);--hn-bg: #0f172a;--hn-surface: #172033;--hn-surface-hover: #202b3f;--hn-border: rgba(226, 232, 240, .12);--hn-border-strong: rgba(226, 232, 240, .22);--hn-text: #f1f5f9;--hn-text-muted: rgba(203, 213, 225, .72);--hn-text-soft: rgba(226, 232, 240, .88);color-scheme:dark}.hn-save-status__message{margin:0;display:inline-flex;align-items:baseline;gap:.4rem;flex:1 1 14ch;min-width:0;overflow-wrap:break-word}.hn-save-status--clean,.hn-save-status--dirty{color:var(--hn-text-soft, rgba(51, 65, 85, .85))}.hn-save-status--attention{color:var(--hn-text, #1e293b)}.hn-save-status__glyph{flex:none}.hn-save-status__text{min-width:0}.hn-save-status__detail{display:block;margin-top:.1rem;color:var(--hn-text-soft, rgba(51, 65, 85, .85));font-size:.8rem}.hn-save-status__spinner{flex:none;align-self:center;width:.75em;height:.75em;border:2px solid var(--hn-theme-border, rgba(59, 130, 246, .3));border-top-color:var(--hn-theme, #3b82f6);border-radius:50%;animation:hn-save-status-spin .8s linear infinite}@keyframes hn-save-status-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.hn-save-status__spinner{animation:none}}.hn-save-status__button{flex:none;appearance:none;margin:0;padding:.22rem .85rem;border:1px solid var(--hn-border-strong, rgba(15, 23, 42, .14));border-radius:999px;background:transparent;color:var(--hn-text-soft, rgba(51, 65, 85, .85));font:inherit;font-size:.8rem;font-weight:600;line-height:1.5;cursor:pointer;white-space:nowrap}.hn-save-status__button:hover:not(:disabled){background:var(--hn-surface-hover, #f1f5f9);color:var(--hn-text, #1e293b)}.hn-save-status__button:focus-visible{outline:none;box-shadow:0 0 0 2px var(--hn-theme, #3b82f6)}.hn-save-status__button:disabled{opacity:.55;cursor:default}
1
+ :root{--hn-theme: #3b82f6;--hn-theme-soft: color-mix(in srgb, var(--hn-theme) 12%, white);--hn-theme-border: color-mix(in srgb, var(--hn-theme) 30%, transparent);--hn-theme-text: color-mix(in srgb, var(--hn-theme) 75%, #1e293b);--hn-bg: #ffffff;--hn-surface: #f8fafc;--hn-surface-hover: #f1f5f9;--hn-border: rgba(15, 23, 42, .08);--hn-border-strong: rgba(15, 23, 42, .14);--hn-text: #1e293b;--hn-text-muted: rgba(51, 65, 85, .65);--hn-text-soft: rgba(51, 65, 85, .85);--hn-radius: 24px;--hn-code-font: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}@keyframes hn-popover-in{0%{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.hn-editor-mini-popover,.hn-editor-menu{animation:none}}.hn-editor{position:relative;box-sizing:border-box;padding:1.5rem 4rem 2rem;color:var(--hn-text, #1e293b)}.hn-editor--light{--hn-theme-soft: color-mix(in srgb, var(--hn-theme, #3b82f6) 12%, white);--hn-theme-border: color-mix(in srgb, var(--hn-theme, #3b82f6) 30%, transparent);--hn-theme-text: color-mix(in srgb, var(--hn-theme, #3b82f6) 75%, #1e293b);--hn-bg: #ffffff;--hn-surface: #f8fafc;--hn-surface-hover: #f1f5f9;--hn-border: rgba(15, 23, 42, .08);--hn-border-strong: rgba(15, 23, 42, .14);--hn-text: #1e293b;--hn-text-muted: rgba(51, 65, 85, .65);--hn-text-soft: rgba(51, 65, 85, .85);--hn-danger: #dc2626;--hn-code-font: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;color-scheme:light}.hn-editor--dark{--hn-theme-soft: color-mix(in srgb, var(--hn-theme, #3b82f6) 18%, #111827);--hn-theme-border: color-mix(in srgb, var(--hn-theme, #3b82f6) 48%, transparent);--hn-theme-text: color-mix(in srgb, var(--hn-theme, #3b82f6) 55%, #f8fafc);--hn-bg: #0f172a;--hn-surface: #172033;--hn-surface-hover: #202b3f;--hn-border: rgba(226, 232, 240, .12);--hn-border-strong: rgba(226, 232, 240, .22);--hn-text: #f1f5f9;--hn-text-muted: rgba(203, 213, 225, .72);--hn-text-soft: rgba(226, 232, 240, .88);--hn-danger: #f87171;--hn-code-font: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;color-scheme:dark}.hn-editor .hn-editor-content{outline:none;min-height:8rem;caret-color:var(--hn-text, #1e293b);font-size:1rem;line-height:1.85;color:var(--hn-text-soft, rgba(51, 65, 85, .85));word-break:break-word}.hn-editor-content>*+:where(:not(.hn-editor-block-handle)){margin-top:.625rem}.hn-editor-content p{margin:0}.hn-editor-content h1,.hn-editor-content h2,.hn-editor-content h3,.hn-editor-content h4,.hn-editor-content h5,.hn-editor-content h6{margin:0;font-family:Iowan Old Style,Palatino Linotype,Book Antiqua,Palatino,serif;color:var(--hn-text, #1e293b);line-height:1.3}.hn-editor-content *+h1,.hn-editor-content *+h2,.hn-editor-content *+h3,.hn-editor-content *+h4,.hn-editor-content *+h5,.hn-editor-content *+h6{margin-top:1.1rem}.hn-editor-content h1{font-size:clamp(1.8rem,3vw,2.6rem)}.hn-editor-content h2{font-size:1.4rem}.hn-editor-content h3{font-size:1.1rem}.hn-editor-content h4{font-size:1rem}.hn-editor-content h5{font-size:.95rem}.hn-editor-content h6{font-size:.9rem}.hn-editor-content ul:not([data-type=taskList]),.hn-editor-content ol{margin:0;padding-left:1.5rem}.hn-editor-content li{margin:.15rem 0}.hn-editor-content li::marker{color:var(--hn-text-muted, rgba(51, 65, 85, .65))}.hn-editor-content ol[data-hnn-list-style]{padding-inline-start:max(1.75rem,var(--hn-list-marker-width))}.hn-editor-content ol>li[data-hnn-marker]::marker{content:attr(data-hnn-marker) ". ";font-variant-numeric:tabular-nums}.hn-editor-link-dialog{position:fixed;z-index:1200;box-sizing:border-box;max-height:calc(100dvh - 16px);overflow:auto;padding:16px;display:grid;gap:12px;border:1px solid var(--hn-border, #cbd5e1);border-radius:12px;background:var(--hn-surface, white);color:var(--hn-text, #1e293b);box-shadow:0 8px 28px #0002}.hn-editor-link-dialog label{display:grid;gap:4px}.hn-editor-link-dialog input{width:100%;min-width:0;box-sizing:border-box;padding:8px;border:1px solid var(--hn-border, #cbd5e1);border-radius:6px;background:inherit;color:inherit;font:inherit}.hn-editor-link-dialog p{margin:0;font-size:.85rem}.hn-editor-link-dialog [role=alert]{color:var(--hn-danger, #b91c1c)}.hn-editor-link-dialog [hidden]{display:none}.hn-editor-link-dialog button{padding:6px 10px;font:inherit;cursor:pointer}.hn-editor-content li>ul,.hn-editor-content li>ol{margin-top:.15rem}.hn-editor-content ul[data-type=taskList]{list-style:none;margin:0;padding-left:.25rem}.hn-editor-content li[data-checked]{display:flex;align-items:flex-start;gap:.6rem}.hn-editor-content li[data-checked]>label{margin-top:.45rem;cursor:pointer;flex:0 0 auto;touch-action:manipulation}.hn-editor-content li[data-checked]>div{min-width:0;flex:1}.hn-editor-content li[data-checked] input[type=checkbox]{width:1rem;height:1rem;margin:0;accent-color:var(--hn-theme, #3b82f6);cursor:pointer}.hn-editor-content li[data-checked] input[type=checkbox]:focus-visible{outline:2px solid var(--hn-theme, #3b82f6);outline-offset:2px}.hn-editor-content li[data-checked][data-checked=true]>div{color:var(--hn-text-muted, rgba(51, 65, 85, .65))}.hn-editor-content blockquote{margin:0;padding:1.25rem 1.35rem;border-left:4px solid var(--hn-theme, #3b82f6);border-radius:0 20px 20px 0;background:var(--hn-theme-soft, color-mix(in srgb, var(--hn-theme, #3b82f6) 12%, white))}.hn-editor-content blockquote p{font-size:1.1rem;line-height:1.7}.hn-editor-content blockquote *+*{margin-top:.5rem}.hn-editor-content .hn-editor-code-card{border-radius:var(--hn-radius, 24px)}.hn-editor-content .hn-editor-code-surface{border:1px solid var(--hn-border-strong, rgba(15, 23, 42, .14));border-radius:inherit;background:#0f172a;overflow:hidden}.hn-editor-content .hn-editor-code-meta{display:flex;justify-content:space-between;align-items:center;gap:.8rem;padding:.9rem 1rem;border-bottom:1px solid rgba(255,255,255,.08)}.hn-editor-content .hn-editor-code-lang{padding:.2rem .4rem;border:1px solid rgba(255,255,255,.15);border-radius:6px;background:#ffffff0f;color:#e2e8f0;font-family:inherit;font-size:.85rem;font-weight:600;cursor:pointer}.hn-editor-content .hn-editor-code-filename{flex:0 1 auto;width:10rem;min-width:12px;padding:.2rem .5rem;border:1px solid rgba(255,255,255,.15);border-radius:6px;background:#ffffff0f;color:#e2e8f0;font-family:var(--hn-code-font, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-size:.85rem;font-weight:600;text-align:right}.hn-editor-content .hn-editor-code-filename::placeholder{color:#e2e8f066}.hn-editor-content .hn-editor-code-lang:focus-visible,.hn-editor-content .hn-editor-code-filename:focus-visible{outline:2px solid var(--hn-theme, #3b82f6);outline-offset:0}.hn-editor-content .hn-editor-code-editing{display:grid}.hn-editor-content .hn-editor-code-highlight,.hn-editor-content .hn-editor-code-editor{grid-area:1 / 1;margin:0;padding:1rem;border:0;border-radius:0;background:transparent;font-family:var(--hn-code-font, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-size:.9rem;line-height:1.7;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere}.hn-editor-content .hn-editor-code-highlight{color:#e2e8f0;overflow:hidden;pointer-events:none}.hn-editor-content .hn-editor-code-editor{color:transparent;caret-color:#e2e8f0}.hn-editor-content .hn-editor-code-editor ::selection,.hn-editor-content .hn-editor-code-editor::selection{background:color-mix(in srgb,var(--hn-theme, #3b82f6) 35%,transparent)}.hn-editor-content .hn-editor-code-card code{padding:0;border-radius:0;background:transparent;font-family:inherit;font-size:inherit}.hn-editor-content .hn-editor-code-highlight .hljs-comment{color:#94a3b8;font-style:italic}.hn-editor-content .hn-editor-code-highlight .hljs-string{color:#86efac}.hn-editor-content .hn-editor-code-highlight .hljs-number{color:#fbbf24}.hn-editor-content .hn-editor-code-highlight .hljs-keyword{color:#c084fc}.hn-editor-content :not(pre)>code{padding:.1em .35em;border-radius:6px;background:var(--hn-surface, #f8fafc);font-family:var(--hn-code-font, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-size:.9em}.hn-editor-content .hn-editor-table-wrapper{position:relative;margin:0;padding:.9rem}.hn-editor-content .hn-editor-table-edge,.hn-editor-content .hn-editor-table-op{position:absolute;z-index:3;display:none;align-items:center;justify-content:center;padding:0;border:1px solid var(--hn-border-strong, rgba(15, 23, 42, .14));background:var(--hn-bg, #ffffff);color:var(--hn-text-muted, rgba(51, 65, 85, .65));font-size:.85rem;font-weight:600;line-height:1;cursor:pointer}.hn-editor-content .hn-editor-table-edge.is-visible,.hn-editor-content .hn-editor-table-op.is-visible{display:flex}.hn-editor-content .hn-editor-table-edge{width:20px;height:20px;border-radius:999px;transform:translate(-50%,-50%);box-shadow:0 1px 3px #0f172a1f}.hn-editor-content .hn-editor-table-op{min-width:20px;height:20px;border-radius:6px;transform:translate(-50%,-50%);box-shadow:0 1px 3px #0f172a1f;letter-spacing:1px;touch-action:none}.hn-editor-content .hn-editor-table-edge:hover,.hn-editor-content .hn-editor-table-op:hover{border-color:var(--hn-theme, #3b82f6);color:var(--hn-theme, #3b82f6)}.hn-editor-content .hn-editor-table-edge:focus-visible,.hn-editor-content .hn-editor-table-op:focus-visible{outline:2px solid var(--hn-theme, #3b82f6);outline-offset:1px}.hn-editor-content .hn-editor-table-op.is-dragging,.hn-editor-content .hn-editor-table-op.is-menu-open{border-color:var(--hn-theme, #3b82f6);background:var(--hn-theme-soft, color-mix(in srgb, var(--hn-theme, #3b82f6) 12%, white));color:var(--hn-theme, #3b82f6)}.hn-editor-content .hn-editor-table-preview--row-before{box-shadow:inset 0 2px 0 0 var(--hn-theme, #3b82f6)}.hn-editor-content .hn-editor-table-preview--row-after{box-shadow:inset 0 -2px 0 0 var(--hn-theme, #3b82f6)}.hn-editor-content .hn-editor-table-preview--col-before{box-shadow:inset 2px 0 0 0 var(--hn-theme, #3b82f6)}.hn-editor-content .hn-editor-table-preview--col-after{box-shadow:inset -2px 0 0 0 var(--hn-theme, #3b82f6)}.hn-editor-content .hn-editor-table-wrapper--reordering .hn-editor-table-edge,.hn-editor-content .hn-editor-table-wrapper--reordering .hn-editor-table-op{pointer-events:none}.hn-editor-content[contenteditable=false] .hn-editor-table-edge,.hn-editor-content[contenteditable=false] .hn-editor-table-op{display:none}.hn-editor-content table{width:100%;border-collapse:collapse;border:1px solid var(--hn-border-strong, rgba(15, 23, 42, .14));font-size:.95rem;line-height:1.5}.hn-editor-content th,.hn-editor-content td{position:relative;padding:.6rem .8rem;border:1px solid var(--hn-border-strong, rgba(15, 23, 42, .14));vertical-align:top}.hn-editor-content th{background:var(--hn-surface, #f8fafc);font-weight:600;text-align:left}.hn-editor-content th p,.hn-editor-content td p{line-height:1.5}.hn-editor-content .selectedCell:after{content:"";position:absolute;inset:0;z-index:2;background:var(--hn-theme-soft, color-mix(in srgb, var(--hn-theme, #3b82f6) 12%, white));pointer-events:none}.hn-editor-content hr{margin:0;border:none;border-top:1px solid var(--hn-border-strong, rgba(15, 23, 42, .14))}.hn-editor-content a{color:var(--hn-theme-text, color-mix(in srgb, var(--hn-theme, #3b82f6) 75%, #1e293b));text-decoration:underline;text-decoration-color:var(--hn-theme-border, color-mix(in srgb, var(--hn-theme, #3b82f6) 30%, transparent));border:1px solid var(--hn-theme-border, color-mix(in srgb, var(--hn-theme, #3b82f6) 30%, transparent));border-radius:3px;padding:0 2px;background:var(--hn-theme-soft, color-mix(in srgb, var(--hn-theme, #3b82f6) 8%, transparent));-webkit-box-decoration-break:clone;box-decoration-break:clone;cursor:pointer}.hn-editor-link-popover{padding:8px}.hn-editor-link-popover button{white-space:nowrap}.hn-editor-content .ProseMirror-selectednode{outline:2px solid var(--hn-theme, #3b82f6);outline-offset:2px;border-radius:8px}.hn-editor-content .hn-editor-callout-tone,.hn-editor-content .hn-editor-callout-title,.hn-editor-content .hn-editor-collapsible-title,.hn-editor-content .hn-editor-picture-alt{font:inherit;font-size:.85rem;color:var(--hn-text, #1e293b);background:transparent;border:1px solid transparent;border-radius:6px;padding:.2rem .45rem}.hn-editor-content .hn-editor-callout-tone:hover,.hn-editor-content .hn-editor-callout-title:hover,.hn-editor-content .hn-editor-collapsible-title:hover,.hn-editor-content .hn-editor-picture-alt:hover{border-color:var(--hn-border, rgba(15, 23, 42, .08))}.hn-editor-content .hn-editor-callout-tone:focus-visible,.hn-editor-content .hn-editor-callout-title:focus-visible,.hn-editor-content .hn-editor-collapsible-title:focus-visible,.hn-editor-content .hn-editor-picture-alt:focus-visible{outline:2px solid var(--hn-theme, #3b82f6);outline-offset:1px;background:var(--hn-surface, #f8fafc)}.hn-editor-content .hn-editor-field-error{align-self:flex-start;max-width:100%;font-size:.78rem;line-height:1.4;color:var(--hn-danger, #dc2626);overflow-wrap:anywhere}.hn-editor-content .hn-editor-field-error:empty{display:none}.hn-editor-content .hn-editor-inline-formula .hn-editor-field-error{margin-left:.3rem}.hn-editor-content .hn-editor-callout{display:flex;flex-direction:column;gap:.6rem;padding:1.1rem 1.2rem;border:1px solid var(--hn-theme-border, color-mix(in srgb, var(--hn-theme, #3b82f6) 30%, transparent));border-radius:22px;background:var(--hn-surface, #f8fafc)}.hn-editor-content .hn-editor-callout--success{border-color:#16a34a47}.hn-editor-content .hn-editor-callout--warning{border-color:#d9770647}.hn-editor-content .hn-editor-callout-header{display:flex;align-items:center;gap:.6rem}.hn-editor-content .hn-editor-callout-title{flex:1;font-weight:600}.hn-editor-content .hn-editor-collapsible{border:1px solid var(--hn-border, rgba(15, 23, 42, .08));border-radius:14px;background:var(--hn-surface, #f8fafc)}.hn-editor-content .hn-editor-collapsible-header{display:flex;align-items:center;gap:.5rem;padding:.6rem .8rem}.hn-editor-content .hn-editor-collapsible-toggle{display:inline-flex;align-items:center;justify-content:center;width:1.6rem;height:1.6rem;padding:0;border:none;border-radius:6px;background:transparent;color:var(--hn-text-muted, rgba(51, 65, 85, .65));cursor:pointer}.hn-editor-content .hn-editor-collapsible-toggle:hover{background:var(--hn-surface-hover, rgba(15, 23, 42, .04))}.hn-editor-content .hn-editor-collapsible-toggle:focus-visible{outline:2px solid var(--hn-theme, #3b82f6);outline-offset:1px}.hn-editor-content .hn-editor-collapsible-caret{display:inline-block;font-size:.7rem;transform:rotate(90deg);transition:transform .15s ease}.hn-editor-content .hn-editor-collapsible.is-collapsed .hn-editor-collapsible-caret{transform:rotate(0)}.hn-editor-content .hn-editor-collapsible-title{flex:1}.hn-editor-content .hn-editor-collapsible-body{padding:0 1rem .75rem 3rem}.hn-editor-content .hn-editor-collapsible.is-collapsed .hn-editor-collapsible-body{display:none}.hn-editor-content .hn-editor-formula-preview{display:flex;align-items:center;justify-content:center;width:100%;min-height:3.25rem;padding:.5rem .75rem;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--hn-text, #1e293b);font:inherit;cursor:pointer}.hn-editor-content .hn-editor-formula-preview:hover{background:color-mix(in srgb,var(--hn-theme, #3b82f6) 5%,transparent)}.hn-editor-content .hn-editor-formula-preview:focus-visible{outline:2px solid var(--hn-theme, #3b82f6);outline-offset:2px}.hn-editor-content .hn-editor-formula-rendered .katex-display{margin:0}.hn-editor-content .hn-editor-inline-formula{display:inline-block;padding:0 .2em;border:none;border-radius:4px;background:transparent;color:var(--hn-text, #1e293b);font-family:Georgia,Times New Roman,serif;font-style:italic;font-size:inherit;cursor:pointer}.hn-editor-content .hn-editor-inline-formula:hover{background:color-mix(in srgb,var(--hn-theme, #3b82f6) 6%,transparent)}.hn-editor-content .hn-editor-inline-formula:focus-visible{outline:2px solid var(--hn-theme, #3b82f6);outline-offset:1px}.hn-editor-mini-popover{position:fixed;z-index:60;width:min(520px,calc(100vw - 16px));padding:8px;border-radius:10px;background:#1e293b;box-shadow:0 8px 24px #0f172a47;animation:hn-popover-in .12s ease}.hn-editor-mini-textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;padding:.5rem .6rem;border:1px solid rgba(255,255,255,.15);border-radius:6px;background:#ffffff0f;color:#e2e8f0;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.85rem;line-height:1.5}.hn-editor-mini-textarea:focus-visible{outline:2px solid var(--hn-theme, #3b82f6);outline-offset:1px}.hn-editor-menu{position:fixed;z-index:60;min-width:168px;padding:6px;border-radius:10px;background:#1e293b;box-shadow:0 8px 24px #0f172a47;animation:hn-popover-in .12s ease}.hn-editor-menu--scroll{overflow-y:auto;overscroll-behavior:contain}.hn-editor-menu-item{display:block;width:100%;box-sizing:border-box;padding:.45rem .7rem;border:none;border-radius:6px;background:transparent;color:#e2e8f0;font-size:.85rem;line-height:1.4;text-align:left;cursor:pointer;white-space:nowrap}.hn-editor-menu-item:hover,.hn-editor-menu-item:focus-visible{background:#ffffff24;color:#fff;outline:none}.hn-editor-menu-item:disabled{color:#e2e8f061;cursor:default}.hn-editor-menu-item:disabled:hover{background:transparent}.hn-editor-menu-item--danger{color:#fca5a5}.hn-editor-menu-item--danger:hover,.hn-editor-menu-item--danger:focus-visible{background:#dc262638;color:#fecaca}.hn-editor-menu-item.is-confirming{background:var(--hn-danger, #dc2626);color:#fff}.hn-editor-menu-divider{height:1px;margin:4px 6px;background:#ffffff1f}.hn-editor-content .hn-editor-picture{display:flex;flex-direction:column;gap:.4rem;margin:0}.hn-editor-content .hn-editor-picture-img{display:block;max-width:100%;height:auto;border:1px solid var(--hn-border, rgba(15, 23, 42, .08));border-radius:8px}.hn-editor-content .hn-editor-picture-placeholder{padding:1.5rem;border:1px dashed var(--hn-border-strong, rgba(15, 23, 42, .14));border-radius:8px;color:var(--hn-text-muted, rgba(51, 65, 85, .65));font-size:.85rem;text-align:center}.hn-editor-content .hn-editor-picture-alt{width:100%;box-sizing:border-box;color:var(--hn-text-muted, rgba(51, 65, 85, .65))}.hn-editor-content .hn-editor-data-preview{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.25rem;width:100%;min-height:160px;padding:1rem;border:1px solid var(--hn-border, rgba(15, 23, 42, .08));border-radius:10px;background:var(--hn-surface, #f8fafc);color:var(--hn-text, #1e293b);font:inherit;cursor:pointer}.hn-editor-content .hn-editor-data-block--drawing .hn-editor-data-preview{border-style:dashed}.hn-editor-content .hn-editor-data-preview:hover{border-color:var(--hn-border-strong, rgba(15, 23, 42, .14))}.hn-editor-content .hn-editor-data-preview:focus-visible{outline:2px solid var(--hn-theme, #3b82f6);outline-offset:3px}.hn-editor-content .hn-editor-data-title{font-weight:600}.hn-editor-content .hn-editor-data-meta{font-size:.8rem;color:var(--hn-text-muted, rgba(51, 65, 85, .65))}.hn-editor-content .hn-editor-data-hint{position:absolute;right:.75rem;bottom:.75rem;padding:.15rem .6rem;border:1px solid var(--hn-border, rgba(15, 23, 42, .08));border-radius:999px;background:var(--hn-surface, #f8fafc);color:var(--hn-text-muted, rgba(51, 65, 85, .65));font-size:.72rem}.hn-editor-content .hn-editor-directory{display:flex;flex-direction:column;gap:.3rem;padding:1rem 1.15rem;border:1px solid var(--hn-border, rgba(15, 23, 42, .08));border-radius:14px;background:var(--hn-surface, #f8fafc)}.hn-editor-content .hn-editor-directory-title{font-size:.95rem;font-weight:600;color:var(--hn-text, #1e293b)}.hn-editor-content .hn-editor-directory-config{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.8rem;color:var(--hn-text-muted, rgba(51, 65, 85, .65))}.hn-editor-content .hn-editor-mention{display:inline-block;padding:0 .2em;border-radius:999px;background:var(--hn-theme-soft, color-mix(in srgb, var(--hn-theme, #3b82f6) 12%, white));color:var(--hn-theme-text, color-mix(in srgb, var(--hn-theme, #3b82f6) 75%, #1e293b));font-weight:700;white-space:nowrap}.hn-editor-content .hn-editor-resource{display:inline-block;padding:0 .45em;border:1px solid var(--hn-border, rgba(15, 23, 42, .08));border-radius:999px;background:var(--hn-surface, #f8fafc);color:var(--hn-text-soft, rgba(51, 65, 85, .85));font-size:.92em;white-space:nowrap}.hn-editor-content .hn-editor-external-item{padding:.35rem .5rem}.hn-editor-content .hn-editor-external-item-name{color:var(--hn-theme-text, color-mix(in srgb, var(--hn-theme, #3b82f6) 75%, #1e293b));text-decoration:underline dashed;text-decoration-color:var(--hn-theme-border, color-mix(in srgb, var(--hn-theme, #3b82f6) 30%, transparent));text-underline-offset:3px;border-radius:4px}.hn-editor-content{position:relative}.hn-editor-content>*{position:relative}.hn-editor-content>.hn-editor-block-handle:first-child+*{margin-top:0}.hn-editor-block-handle{position:absolute;left:-2.5rem;z-index:2;display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:none;border-radius:6px;background:transparent;color:var(--hn-text-muted, rgba(51, 65, 85, .65));font-size:.9rem;line-height:1;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;opacity:0;pointer-events:none;transform:translateY(-50%);transition:background .15s ease,color .15s ease,box-shadow .15s ease,opacity .15s ease}.hn-editor-block-handle-glyph{display:inline-flex;align-items:center;justify-content:center;letter-spacing:-.18em;transform:translate(-.03em)}.hn-editor-content>.hn-editor-block-handle+*:before{content:"";position:absolute;top:0;right:100%;width:2.5rem;height:100%;background:transparent;pointer-events:auto}.hn-editor-block-handle:has(+:hover),.hn-editor-block-handle:has(+:focus-within),.hn-editor-block-handle:hover,.hn-editor-block-handle:focus-visible,.hn-editor-block-handle--dragging,.hn-editor-block-handle--menu-open{opacity:1;pointer-events:auto}.hn-editor-content[contenteditable=false] .hn-editor-block-handle{display:none}.hn-editor-block-handle:hover{background:var(--hn-surface-hover, #f1f5f9);color:var(--hn-text, #1e293b)}.hn-editor-block-handle:focus-visible{box-shadow:0 0 0 2px var(--hn-theme, #3b82f6);outline:none}.hn-editor-block-handle--dragging{cursor:grabbing;background:var(--hn-theme-soft, color-mix(in srgb, #3b82f6 12%, white));color:var(--hn-theme-text, color-mix(in srgb, #3b82f6 75%, #1e293b))}.hn-editor-block-handle--menu-open{background:var(--hn-theme-soft, color-mix(in srgb, #3b82f6 12%, white));color:var(--hn-theme-text, color-mix(in srgb, #3b82f6 75%, #1e293b))}.hn-editor-block-dragging{cursor:grabbing;background:var(--hn-theme-soft, color-mix(in srgb, #3b82f6 12%, white))}.hn-editor-block-drop-before:after,.hn-editor-block-drop-after:after{content:"";position:absolute;left:0;right:0;z-index:3;height:3px;background:var(--hn-theme, #3b82f6);box-shadow:0 0 0 1px var(--hn-theme-soft, color-mix(in srgb, #3b82f6 12%, white));pointer-events:none}.hn-editor-block-drop-before:after{top:-.4rem}.hn-editor-block-drop-after:after{bottom:-.4rem}@media(max-width:840px){.hn-editor{padding:1.5rem 1.5rem 2rem}.hn-editor-content>.hn-editor-block-handle{display:none}.hn-editor-content>.hn-editor-block-handle+*:before{content:none}.hn-editor-content blockquote{padding:1rem 1.1rem}.hn-editor-content .hn-editor-code-card{border-radius:16px}.hn-editor-content .hn-editor-callout{padding:1rem}.hn-editor-content .hn-editor-collapsible-body{padding-left:2.5rem}.hn-editor-content .hn-editor-data-preview{min-height:140px}.hn-editor-content .hn-editor-directory{padding:.85rem 1rem}}.hn-editor-session-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .75rem;margin-top:.5rem}.hn-editor-uploads{display:contents}.hn-editor-uploads__retry,.hn-editor-uploads__cancel{appearance:none;margin:0;padding:.22rem .85rem;border:1px solid var(--hn-border-strong, rgba(15, 23, 42, .14));border-radius:999px;background:transparent;color:var(--hn-text-soft, rgba(51, 65, 85, .85));font:inherit;font-size:.8rem;font-weight:600;line-height:1.5;cursor:pointer;white-space:nowrap}.hn-editor-uploads__retry:hover,.hn-editor-uploads__cancel:hover{background:var(--hn-surface-hover, #f1f5f9);color:var(--hn-text, #1e293b)}.hn-editor-uploads__retry:focus-visible,.hn-editor-uploads__cancel:focus-visible{outline:none;box-shadow:0 0 0 2px var(--hn-theme, #3b82f6)}.hn-editor-uploads__list{flex-basis:100%;display:flex;flex-direction:column;gap:.375rem;margin:.25rem 0 0;padding:0;list-style:none}.hn-editor-uploads__item{display:flex;flex-wrap:wrap;align-items:center;gap:.375rem .5rem;font-size:.8rem;line-height:1.5;color:var(--hn-text-soft, rgba(51, 65, 85, .85))}.hn-editor-uploads__name{max-width:16rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.hn-editor-uploads__status{color:var(--hn-text-muted, rgba(51, 65, 85, .65))}.hn-editor-uploads__error{color:var(--hn-danger, #dc2626)}@media(max-width:840px){.hn-editor-session-actions{gap:.375rem .5rem;margin-top:.75rem}.hn-editor-uploads__name{max-width:10rem}}.hn-editor-data-drawer{--hn-color-surface: var(--hn-bg, #ffffff);--hn-color-surface-hover: var(--hn-surface-hover, #f1f5f9);--hn-color-text: var(--hn-text, #1e293b);--hn-color-text-muted: var(--hn-text-muted, rgba(51, 65, 85, .65));--hn-color-border: var(--hn-border, rgba(15, 23, 42, .08));--hn-color-border-strong: var(--hn-border-strong, rgba(15, 23, 42, .14));--hn-color-accent: var(--hn-theme, #3b82f6);--hn-color-accent-hover: var(--hn-theme-text, #1d4ed8);--hn-color-danger: var(--hn-danger, #dc2626)}.hn-editor-data-drawer .hn-drawer__content{display:flex;flex-direction:column}.hn-editor-data-drawer-body{display:flex;flex:1;flex-direction:column;gap:.75rem;min-height:0}.hn-editor-data-drawer-error{margin:0;font-size:.8rem;line-height:1.5;color:var(--hn-danger, #dc2626);overflow-wrap:anywhere}.hn-editor-data-drawer-error[hidden]{display:none}.hn-editor-data-drawer-note{margin:0;font-size:.82rem;line-height:1.6;color:var(--hn-text-muted, rgba(51, 65, 85, .65))}.hn-editor-data-drawer-raw{box-sizing:border-box;width:100%;resize:vertical;padding:.6rem .75rem;border:1px solid var(--hn-border, rgba(15, 23, 42, .08));border-radius:8px;background:var(--hn-surface, #f8fafc);color:var(--hn-text-soft, rgba(51, 65, 85, .85));font-family:var(--hn-code-font, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);font-size:.78rem;line-height:1.6}.hn-editor-card-list{display:flex;flex-direction:column;gap:.75rem;margin:0;padding:0;list-style:none;overflow-y:auto}.hn-editor-card-item{display:flex;flex-direction:column;gap:.45rem;padding:.75rem .85rem;border:1px solid var(--hn-border, rgba(15, 23, 42, .08));border-radius:10px;background:var(--hn-surface, #f8fafc)}.hn-editor-card-item-head{display:flex;flex-direction:column;align-items:stretch;gap:.4rem}.hn-editor-card-title{flex:1;min-width:0;padding:.3rem .5rem;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--hn-text, #1e293b);font:inherit;font-weight:600}.hn-editor-card-title:hover{border-color:var(--hn-border, rgba(15, 23, 42, .08))}.hn-editor-card-title:focus-visible{outline:2px solid var(--hn-theme, #3b82f6);outline-offset:1px;background:var(--hn-bg, #ffffff)}.hn-editor-card-meta{align-self:center;color:var(--hn-text-muted, rgba(51, 65, 85, .65));font-family:var(--hn-code-font, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);font-size:.72rem}.hn-editor-card-content{box-sizing:border-box;width:100%;resize:vertical;padding:.45rem .6rem;border:1px solid var(--hn-border, rgba(15, 23, 42, .08));border-radius:8px;background:var(--hn-bg, #ffffff);color:var(--hn-text-soft, rgba(51, 65, 85, .85));font:inherit;font-size:.85rem;line-height:1.6}.hn-editor-card-content:focus-visible{outline:2px solid var(--hn-theme, #3b82f6);outline-offset:1px;border-color:transparent}.hn-editor-drawing-toolbar{display:flex;flex-wrap:wrap;gap:.35rem}.hn-editor-drawing-tool{padding:.3rem .8rem;border:1px solid var(--hn-border, rgba(15, 23, 42, .08));border-radius:999px;background:var(--hn-surface, #f8fafc);color:var(--hn-text-soft, rgba(51, 65, 85, .85));font:inherit;font-size:.8rem;cursor:pointer}.hn-editor-drawing-tool:hover{border-color:var(--hn-border-strong, rgba(15, 23, 42, .14))}.hn-editor-drawing-tool[aria-pressed=true]{border-color:var(--hn-theme-border, color-mix(in srgb, var(--hn-theme, #3b82f6) 30%, transparent));background:var(--hn-theme-soft, color-mix(in srgb, var(--hn-theme, #3b82f6) 12%, white));color:var(--hn-theme-text, color-mix(in srgb, var(--hn-theme, #3b82f6) 75%, #1e293b))}.hn-editor-drawing-tool:focus-visible{outline:2px solid var(--hn-theme, #3b82f6);outline-offset:2px}.hn-editor-drawing-canvas{flex:1;min-height:240px;overflow:hidden;border:1px solid var(--hn-border, rgba(15, 23, 42, .08));border-radius:10px;background:var(--hn-bg, #ffffff)}.hn-editor-data-drawer-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem .75rem;margin-top:auto;padding-top:.5rem;border-top:1px solid var(--hn-border, rgba(15, 23, 42, .08))}.hn-editor-data-drawer-budget{color:var(--hn-text-muted, rgba(51, 65, 85, .65));font-family:var(--hn-code-font, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);font-size:.72rem}.hn-editor-data-drawer-budget--over{color:var(--hn-danger, #dc2626)}.hn-editor-data-drawer-actions{display:inline-flex;gap:.5rem;margin-left:auto}@media(max-width:840px){.hn-editor-data-drawer-footer{flex-direction:column;align-items:stretch}.hn-editor-data-drawer-actions{justify-content:flex-end;margin-left:0}}@media(min-width:841px){.hn-editor-card-item-head{flex-direction:row;align-items:center}}.hn-editor-content .hn-editor-directory-list{display:flex;flex-direction:column;gap:.15rem;margin:.2rem 0 0;padding:0;list-style:none}.hn-editor-content .hn-editor-directory-item{display:block}.hn-editor-content .hn-editor-directory-item[data-level="2"]{padding-left:1rem}.hn-editor-content .hn-editor-directory-item[data-level="3"]{padding-left:2rem}.hn-editor-content .hn-editor-directory-item[data-level="4"]{padding-left:3rem}.hn-editor-content .hn-editor-directory-item[data-level="5"]{padding-left:4rem}.hn-editor-content .hn-editor-directory-item[data-level="6"]{padding-left:5rem}.hn-editor-content .hn-editor-directory-entry{display:block;width:100%;padding:.35rem .6rem;border:none;border-radius:8px;background:transparent;font:inherit;font-size:.9rem;text-align:left;color:var(--hn-text, #1e293b);cursor:pointer}.hn-editor-content .hn-editor-directory-entry:hover{background:var(--hn-surface-hover, #f1f5f9)}.hn-editor-content .hn-editor-directory-entry:focus-visible{outline:2px solid var(--hn-theme, #3b82f6);outline-offset:1px}.hn-editor-content .hn-editor-directory-empty{padding:.35rem .6rem;font-size:.85rem;color:var(--hn-text-muted, rgba(51, 65, 85, .65))}.hn-editor-content .hn-editor-directory-target{background:var(--hn-surface-hover, #f1f5f9);border-radius:6px;transition:background .3s ease}@media(max-width:840px){.hn-editor-content .hn-editor-directory-item[data-level="2"]{padding-left:.5rem}.hn-editor-content .hn-editor-directory-item[data-level="3"]{padding-left:1rem}.hn-editor-content .hn-editor-directory-item[data-level="4"]{padding-left:1.5rem}.hn-editor-content .hn-editor-directory-item[data-level="5"]{padding-left:2rem}.hn-editor-content .hn-editor-directory-item[data-level="6"]{padding-left:2.5rem}}.hn-editor-interaction-toolbar{position:fixed;z-index:60;box-sizing:border-box;width:max-content;padding:6px;border-radius:10px;background:#1e293b;color:#e2e8f0;box-shadow:0 8px 24px #0f172a47;overflow-y:auto;overscroll-behavior:contain}.hn-editor-interaction-toolbar[hidden]{display:none}.hn-editor-toolbar-row{display:flex;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;gap:2px}.hn-editor-toolbar-row+.hn-editor-toolbar-row{margin-top:4px}.hn-editor-toolbar-row button{flex:0 0 auto;border:0;border-radius:6px;padding:8px 10px;background:transparent;color:inherit;font:inherit;font-size:.85rem;white-space:nowrap;cursor:pointer}.hn-editor-toolbar-row button:hover,.hn-editor-toolbar-row button[aria-pressed=true]{background:#ffffff24}.hn-editor-toolbar-row button:focus-visible{outline:2px solid var(--hn-theme, #3b82f6);outline-offset:-2px}.hn-editor-toolbar-row button:disabled{color:#e2e8f061;cursor:default}.hn-editor-menu-item[aria-haspopup=menu]:after{content:"›";float:right;margin-left:1rem}.hn-picture-dialog-backdrop{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:16px;background:#0f172a7a}.hn-picture-dialog{position:relative;box-sizing:border-box;width:min(420px,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow-y:auto;padding:24px;border:1px solid var(--hn-border, #e2e8f0);border-radius:16px;background:var(--hn-surface, #ffffff);color:var(--hn-text, #1e293b);box-shadow:0 24px 64px #0f172a47}.hn-picture-dialog h2{margin:0 32px 16px 0;font-size:1.15rem}.hn-picture-dialog button{font:inherit;cursor:pointer}.hn-picture-dialog button:disabled{cursor:default;opacity:.5}.hn-picture-dialog__close{position:absolute;top:12px;right:12px;width:32px;height:32px;border:0;border-radius:50%;background:transparent;color:inherit;font-size:24px!important}.hn-picture-dialog__dropzone{box-sizing:border-box;width:100%;min-height:112px;padding:16px;border:2px dashed var(--hn-border, #cbd5e1);border-radius:12px;background:var(--hn-surface-hover, #f8fafc);color:inherit;overflow-wrap:anywhere}.hn-picture-dialog__preview{display:block;max-width:100%;max-height:240px;margin:16px auto 0;object-fit:contain}.hn-picture-dialog__error{color:var(--hn-danger, #dc2626)}.hn-picture-dialog__actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.hn-picture-dialog__actions button,.hn-picture-dialog__upload button,.hn-editor-picture-retry{padding:8px 14px;border:1px solid var(--hn-border, #cbd5e1);border-radius:8px;background:var(--hn-surface, #ffffff);color:inherit}.hn-picture-dialog__actions .hn-picture-dialog__confirm{border-color:var(--hn-theme, #3b82f6);background:var(--hn-theme, #3b82f6);color:#fff}.hn-picture-dialog button:focus-visible,.hn-editor-picture-retry:focus-visible{outline:2px solid var(--hn-theme, #3b82f6);outline-offset:2px}.hn-editor .hn-view-toolbar .hn-pane-panel{background:var(--hn-bg);color:var(--hn-text);border-color:var(--hn-text-muted)}.hn-editor .hn-view-toolbar .hn-pane-toolbar button:hover:enabled,.hn-editor .hn-view-toolbar .hn-pane-toolbar button:active:enabled{background:var(--hn-surface-hover)}.hn-editor .hn-view-toolbar .hn-pane-toolbar button[aria-checked=true],.hn-editor .hn-view-toolbar .hn-pane-toolbar button[aria-checked=true]:hover:enabled,.hn-editor .hn-view-toolbar .hn-pane-toolbar button[aria-checked=true]:active:enabled{background:var(--hn-text);color:var(--hn-bg)}.hn-editor .hn-view-toolbar .hn-pane-toolbar button:disabled{color:var(--hn-text-muted)}.hn-editor .hn-view-toolbar .hn-pane-toolbar :is(button,input,select):focus-visible{outline:2px solid var(--hn-text);outline-offset:-2px}.hn-editor .hn-view-toolbar [role=status]{color:var(--hn-text-soft)}.hn-editor-slash-menu{background:var(--hn-bg);color:var(--hn-text);border:1px solid var(--hn-text-muted);position:fixed;z-index:70;min-width:180px;max-width:calc(100vw - 16px);overflow-y:auto}.hn-editor-slash-menu [role=option]{display:block;width:100%;border:0;background:transparent;color:var(--hn-text);text-align:left;padding:8px 12px;font:inherit}.hn-editor-slash-menu [aria-selected=true]{background:var(--hn-surface-hover);outline:2px solid var(--hn-text);outline-offset:-2px}.hn-editor-slash-menu [role=option]:disabled{color:var(--hn-text-muted)}@layer hamster-note.tokens{:root{--hn-color-surface:#111114;--hn-color-surface-hover:#17171b;--hn-color-text:#f4f4f5;--hn-color-text-muted:#92929d;--hn-color-border:#ffffff1a;--hn-color-border-strong:#ffffff2b;--hn-color-accent:#7c83ff;--hn-color-accent-hover:#9197ff;--hn-color-danger:#fb7185;--hn-color-success:#4ade80;--hn-color-warning:#fbbf24;--hn-font-sans:"IBM Plex Sans", "Noto Sans SC", sans-serif;--hn-font-mono:"IBM Plex Mono", monospace;--hn-radius-sm:6px;--hn-radius-md:8px;--hn-radius-lg:12px;--hn-focus-ring:0 0 0 3px #9197ff6b;--hn-transition:.14s cubic-bezier(.2, .8, .2, 1)}}@layer hamster-note.components{.hn-badge{border:1px solid var(--hn-color-border);border-radius:var(--hn-radius-sm);min-height:22px;font-family:var(--hn-font-mono);color:var(--hn-color-text-muted);background:#ffffff0a;align-items:center;gap:6px;padding:2px 8px;font-size:11px;font-weight:550;line-height:1.2;display:inline-flex}.hn-badge:before{content:"";background:currentColor;border-radius:50%;width:5px;height:5px}.hn-badge--accent{color:#aeb2ff;background:#7c83ff1a;border-color:#7c83ff3d}.hn-badge--success{color:var(--hn-color-success);background:#4ade8017;border-color:#4ade8038}.hn-badge--warning{color:var(--hn-color-warning);background:#fbbf2417;border-color:#fbbf2438}.hn-badge--danger{color:var(--hn-color-danger);background:#fb718517;border-color:#fb718538}.hn-button{border-radius:var(--hn-radius-md);min-height:36px;font-family:var(--hn-font-sans);color:var(--hn-color-text);cursor:pointer;transition:background-color var(--hn-transition),border-color var(--hn-transition),color var(--hn-transition),opacity var(--hn-transition);border:1px solid #0000;justify-content:center;align-items:center;gap:8px;padding:0 14px;font-size:13px;font-weight:600;line-height:1;display:inline-flex}.hn-button:focus-visible{box-shadow:var(--hn-focus-ring);outline:none}.hn-button:disabled{cursor:not-allowed;opacity:.42}.hn-button--primary{background:var(--hn-color-accent);color:#09090b}.hn-button--primary:hover:not(:disabled){background:var(--hn-color-accent-hover)}.hn-button--secondary{border-color:var(--hn-color-border);background:var(--hn-color-surface)}.hn-button--secondary:hover:not(:disabled){border-color:var(--hn-color-border-strong);background:var(--hn-color-surface-hover)}.hn-button--ghost{color:var(--hn-color-text-muted);background:0 0}.hn-button--ghost:hover:not(:disabled){background:var(--hn-color-surface-hover);color:var(--hn-color-text)}.hn-button--small{min-height:30px;padding:0 11px;font-size:12px}.hn-button--large{min-height:42px;padding:0 18px;font-size:14px}@media(prefers-reduced-motion:reduce){.hn-button{transition-duration:.01ms}}.hn-dialog__backdrop{z-index:1100;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#00000073;transition:opacity .14s cubic-bezier(.2,.8,.2,1);position:fixed;inset:0}.hn-dialog__backdrop[data-state=enter]{opacity:1}.hn-dialog__backdrop[data-state=exit]{opacity:0}.hn-dialog__panel{z-index:1100;border:1px solid var(--hn-color-border);border-radius:var(--hn-radius-lg);background:var(--hn-color-surface);width:auto;min-width:320px;max-width:calc(100vw - 32px);max-height:calc(100vh - 64px);color:var(--hn-color-text);font-family:var(--hn-font-sans);flex-direction:column;padding:20px 24px;transition:opacity .14s cubic-bezier(.2,.8,.2,1),transform .18s cubic-bezier(.2,.8,.2,1);display:flex;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 16px 48px #00000052}.hn-dialog__panel[data-state=enter]{opacity:1;transform:translate(-50%,-50%)}.hn-dialog__panel[data-state=exit],.hn-dialog__panel{opacity:0;transform:translate(-50%,calc(8px - 50%))}.hn-dialog__panel:focus-visible{box-shadow:var(--hn-focus-ring),0 16px 48px #00000052;outline:none}.hn-dialog__title{letter-spacing:-.01em;color:var(--hn-color-text);margin:0 0 4px;font-size:18px;font-weight:550;line-height:1.45}.hn-dialog__description{color:var(--hn-color-text-muted);margin:0;font-size:13px;line-height:1.65}.hn-dialog__content{margin-top:16px}.hn-dialog__panel:not(:has(.hn-dialog__title)) .hn-dialog__content{margin-top:0}@media(prefers-reduced-motion:reduce){.hn-dialog__backdrop,.hn-dialog__panel{transition-duration:.01ms}}.hn-confirm__footer{justify-content:flex-end;gap:8px;margin-top:20px;display:flex}.hn-confirm__footer[data-tone=danger] .hn-button--primary{background:var(--hn-color-danger);color:#09090b}.hn-confirm__footer[data-tone=danger] .hn-button--primary:hover:not(:disabled){background:color-mix(in srgb,var(--hn-color-danger) 88%,white)}.hn-drawer__backdrop{z-index:1200;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#00000073;transition:opacity .14s cubic-bezier(.2,.8,.2,1);position:fixed;inset:0}.hn-drawer__backdrop[data-state=enter]{opacity:1}.hn-drawer__backdrop[data-state=exit]{opacity:0}.hn-drawer__panel{z-index:1200;border:1px solid var(--hn-color-border);background:var(--hn-color-surface);max-width:100vw;max-height:100vh;color:var(--hn-color-text);font-family:var(--hn-font-sans);opacity:0;flex-direction:column;padding:20px 24px;transition:opacity .14s cubic-bezier(.2,.8,.2,1),transform .18s cubic-bezier(.2,.8,.2,1);display:flex;position:fixed;box-shadow:0 16px 48px #00000052}.hn-drawer__panel:focus-visible{box-shadow:var(--hn-focus-ring),0 16px 48px #00000052;outline:none}.hn-drawer__panel--left,.hn-drawer__panel--right{width:var(--hn-drawer-size,360px);max-width:100vw;height:100vh;top:0;bottom:0}.hn-drawer__panel--left{border-radius:0 var(--hn-radius-lg) var(--hn-radius-lg) 0;left:0;transform:translate(-100%)}.hn-drawer__panel--right{border-radius:var(--hn-radius-lg) 0 0 var(--hn-radius-lg);right:0;transform:translate(100%)}.hn-drawer__panel--left[data-state=enter],.hn-drawer__panel--right[data-state=enter]{opacity:1;transform:translate(0)}.hn-drawer__panel--left[data-state=exit]{opacity:0;transform:translate(-100%)}.hn-drawer__panel--right[data-state=exit]{opacity:0;transform:translate(100%)}.hn-drawer__panel--top,.hn-drawer__panel--bottom{width:100vw;height:var(--hn-drawer-size,280px);max-height:100vh;left:0;right:0}.hn-drawer__panel--top{border-radius:0 0 var(--hn-radius-lg) var(--hn-radius-lg);top:0;transform:translateY(-100%)}.hn-drawer__panel--bottom{border-radius:var(--hn-radius-lg) var(--hn-radius-lg) 0 0;bottom:0;transform:translateY(100%)}.hn-drawer__panel--top[data-state=enter],.hn-drawer__panel--bottom[data-state=enter]{opacity:1;transform:translateY(0)}.hn-drawer__panel--top[data-state=exit]{opacity:0;transform:translateY(-100%)}.hn-drawer__panel--bottom[data-state=exit]{opacity:0;transform:translateY(100%)}.hn-drawer__title{letter-spacing:-.01em;color:var(--hn-color-text);margin:0 0 4px;font-size:18px;font-weight:550;line-height:1.45}.hn-drawer__description{color:var(--hn-color-text-muted);margin:0;font-size:13px;line-height:1.65}.hn-drawer__content{flex:auto;margin-top:16px;overflow:auto}.hn-drawer__panel:not(:has(.hn-drawer__title)) .hn-drawer__content{margin-top:0}@media(prefers-reduced-motion:reduce){.hn-drawer__backdrop,.hn-drawer__panel{transition-duration:.01ms}}.hn-icon{vertical-align:-.125em;pointer-events:none;flex-shrink:0;justify-content:center;align-items:center;line-height:0;display:inline-flex}.hn-kbd{font-family:var(--hn-font-mono);color:var(--hn-color-text);white-space:nowrap;vertical-align:baseline;align-items:center;gap:4px;font-size:11px;line-height:1;display:inline-flex}.hn-kbd__key{border:1px solid color-mix(in srgb,var(--hn-color-text) 22%,transparent);border-radius:var(--hn-radius-sm);background:var(--hn-color-surface-hover);min-width:18px;color:var(--hn-color-text);vertical-align:baseline;white-space:nowrap;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;padding:2px 6px;font-family:inherit;font-size:11px;font-weight:500;line-height:1;display:inline-flex;box-shadow:inset 0 -1px #0000001f}.hn-kbd__plus{color:var(--hn-color-text-muted);-webkit-user-select:none;user-select:none;font-family:inherit;font-size:11px;font-weight:400;line-height:1}.hn-loading{color:var(--hn-color-accent);font-family:var(--hn-font-sans);justify-content:center;align-items:center;gap:8px;line-height:0;display:inline-flex}.hn-loading__spinner{animation:hn-loading-spin var(--hn-loading-duration,.9s) linear infinite;transform-origin:50%;flex-shrink:0;display:block}.hn-loading__text{color:var(--hn-color-text-muted);white-space:nowrap;font-size:13px;line-height:1.5}.hn-loading--small .hn-loading__text{font-size:12px}.hn-loading--large .hn-loading__text{font-size:14px}.hn-loading--cover{background:color-mix(in srgb,var(--hn-color-surface) 72%,transparent);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);border-radius:inherit;color:var(--hn-color-accent);flex-direction:column;gap:12px;position:absolute;inset:0}.hn-loading--cover .hn-loading__text{color:var(--hn-color-text)}.hn-loading-overlay{z-index:1200;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:var(--hn-color-accent);font-family:var(--hn-font-sans);background:#00000073;flex-direction:column;justify-content:center;align-items:center;gap:14px;animation:.14s cubic-bezier(.2,.8,.2,1) hn-loading-overlay-fade;display:flex;position:fixed;inset:0}.hn-loading-overlay .hn-loading__text{color:var(--hn-color-text);font-size:14px}@keyframes hn-loading-spin{to{transform:rotate(360deg)}}@keyframes hn-loading-overlay-fade{0%{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.hn-loading__spinner{animation-duration:2.4s;animation-timing-function:steps(12,end)}.hn-loading-overlay{animation-duration:.01ms}}.hn-popover{--hn-popover-background:#1e293bcc;--hn-popover-border:#ffffff1a;--hn-popover-separator:#ffffff2e;--hn-color-surface:#111114;--hn-color-surface-hover:#ffffff1a;--hn-color-text:#f8fafc;--hn-color-text-muted:#cbd5e1;--hn-color-border:#ffffff1a;--hn-color-border-strong:#ffffff2b;--hn-popover-padding:5px;max-width:100%;padding:var(--hn-popover-padding);border:1px solid var(--hn-popover-border);border-radius:calc(var(--hn-radius-md) + var(--hn-popover-padding));background:var(--hn-popover-background);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:var(--hn-color-text);font-family:var(--hn-font-sans);align-items:center;gap:3px;display:inline-flex;box-shadow:0 8px 24px #0f172a47}.hn-popover[data-theme=light]{--hn-popover-background:#fffc;--hn-popover-border:#0f172a1f;--hn-popover-separator:#0f172a29;--hn-color-surface:#fff;--hn-color-surface-hover:#f1f5f9;--hn-color-text:#1e293b;--hn-color-text-muted:#64748b;--hn-color-border:#0000001a;--hn-color-border-strong:#0000002e;box-shadow:0 8px 24px #0f172a29}.hn-popover--floating{z-index:1000}.hn-popover[data-orientation=vertical]{flex-direction:column}.hn-popover__separator{background:var(--hn-popover-separator);border:0;flex:0 0 1px;width:1px;height:20px;margin:0 4px;padding:0}.hn-popover[data-orientation=vertical] .hn-popover__separator{flex:0 0 1px;width:20px;height:1px;margin:4px 0}.hn-menu{min-width:180px;font-family:var(--hn-font-sans);color:var(--hn-color-text);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:var(--hn-radius-md);background:#1e293bcc;flex-direction:column;gap:2px;padding:4px;display:flex}.hn-menu__item{border-radius:var(--hn-radius-md);width:100%;min-height:32px;color:var(--hn-color-text);cursor:pointer;text-align:left;transition:background-color var(--hn-transition),color var(--hn-transition);background:0 0;border:0;justify-content:space-between;align-items:center;gap:12px;padding:0 10px;font-size:13px;line-height:1;display:flex}.hn-menu__item:hover:not(:disabled){background:var(--hn-color-surface-hover)}.hn-menu__item:focus-visible{box-shadow:var(--hn-focus-ring);outline:none}.hn-menu__item:disabled{cursor:not-allowed;opacity:.42}.hn-menu__item--danger{color:var(--hn-color-danger)}.hn-menu__item-label{flex:auto;min-width:0}.hn-menu__shortcut{font:400 11px/1 var(--hn-font-mono);color:var(--hn-color-text-muted);flex-shrink:0;align-items:center;display:inline-flex}.hn-menu__separator{background:var(--hn-popover-separator,var(--hn-color-border));border:0;height:1px;margin:4px 2px}.hn-menu__label{color:var(--hn-color-text-muted);-webkit-user-select:none;user-select:none;padding:4px 10px 2px;font-size:11px;line-height:1}.hn-menu__submenu{display:block}.hn-menu__submenu--open>.hn-menu__submenu-trigger{background:var(--hn-color-surface-hover)}.hn-menu__submenu-chevron{font:400 11px/1 var(--hn-font-sans);color:var(--hn-color-text-muted);transition:transform var(--hn-transition);flex-shrink:0;align-items:center;display:inline-flex}.hn-menu__submenu--open>.hn-menu__submenu-trigger .hn-menu__submenu-chevron{transform:rotate(90deg)}.hn-menu__submenu-panel{z-index:1000}.hn-menu__submenu-panel .hn-menu{min-width:160px}@media(prefers-reduced-motion:reduce){.hn-menu__item,.hn-menu__submenu-chevron{transition-duration:.01ms}}.hn-note-card{box-sizing:border-box;border:1px solid var(--hn-color-border);border-radius:var(--hn-radius-lg);background:var(--hn-color-surface);width:100%;font-family:var(--hn-font-sans);color:var(--hn-color-text);text-align:left;transition:background-color var(--hn-transition),border-color var(--hn-transition),transform .18s cubic-bezier(.2,.8,.2,1);gap:14px;padding:18px;display:grid;position:relative}.hn-note-card__action{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;position:absolute;inset:0}.hn-note-card--interactive:has(.hn-note-card__action:hover){border-color:var(--hn-color-border-strong);background:var(--hn-color-surface-hover);transform:translateY(-1px)}.hn-note-card--interactive:has(.hn-note-card__action:focus-visible){box-shadow:var(--hn-focus-ring);outline:none}.hn-note-card__action:focus-visible{outline:none}.hn-note-card--selected{background:#7c83ff14;border-color:#7c83ff73}.hn-note-card__heading{gap:5px;display:grid}.hn-note-card__title,.hn-note-card__excerpt,.hn-note-card__meta{margin:0}.hn-note-card__title{letter-spacing:-.01em;font-size:15px;font-weight:600;line-height:1.35}.hn-note-card__excerpt{color:var(--hn-color-text-muted);text-wrap:pretty;font-size:13px;line-height:1.6}.hn-note-card__meta{font-family:var(--hn-font-mono);color:#70707b;font-size:11px;line-height:1.4}@media(prefers-reduced-motion:reduce){.hn-note-card{transition-duration:.01ms}}.hn-text-field{width:100%;font-family:var(--hn-font-sans);gap:7px;display:grid}.hn-text-field__label{color:var(--hn-color-text);font-size:12px;font-weight:600;line-height:1.3}.hn-text-field__control{box-sizing:border-box;border:1px solid var(--hn-color-border);border-radius:var(--hn-radius-md);background:var(--hn-color-surface);width:100%;min-height:38px;font:400 14px/1.4 var(--hn-font-sans);color:var(--hn-color-text);transition:border-color var(--hn-transition),background-color var(--hn-transition),box-shadow var(--hn-transition);outline:none;padding:8px 11px}.hn-text-field__control::placeholder{color:#666670}.hn-text-field__control:hover:not(:disabled){border-color:var(--hn-color-border-strong)}.hn-text-field__control:focus-visible{border-color:var(--hn-color-accent);background:var(--hn-color-surface-hover);box-shadow:var(--hn-focus-ring);outline:none}.hn-text-field__control:disabled{cursor:not-allowed;opacity:.48}.hn-text-field--invalid .hn-text-field__control{border-color:#fb718599}.hn-text-field__message{color:var(--hn-color-text-muted);margin:0;font-size:12px;line-height:1.4}.hn-text-field--invalid .hn-text-field__message{color:var(--hn-color-danger)}@media(prefers-reduced-motion:reduce){.hn-text-field__control{transition-duration:.01ms}}.hn-theme{display:contents}.hn-theme[data-accent=custom]{--hn-color-accent-hover:color-mix(in srgb, var(--hn-color-accent), #fff 16%);--hn-focus-ring:0 0 0 3px color-mix(in srgb, var(--hn-color-accent) 42%, transparent)}}.hn-theme[data-mode=light]{--hn-color-surface:#fff;--hn-color-surface-hover:#f4f4f6;--hn-color-text:#18181b;--hn-color-text-muted:#63636d;--hn-color-border:#0000001a;--hn-color-border-strong:#0000002e;--hn-color-danger:#e11d48;--hn-color-success:#16a34a;--hn-color-warning:#d97706}.hn-theme[data-mode=dark]{--hn-color-surface:#111114;--hn-color-surface-hover:#17171b;--hn-color-text:#f4f4f5;--hn-color-text-muted:#92929d;--hn-color-border:#ffffff1a;--hn-color-border-strong:#ffffff2b;--hn-color-danger:#fb7185;--hn-color-success:#4ade80;--hn-color-warning:#fbbf24}.hn-reference-menu{position:fixed;z-index:10000;display:grid;width:min(260px,calc(100vw - 24px));max-height:min(18rem,calc(100vh - 24px));gap:.15rem;padding:.3rem;overflow-y:auto;border-radius:10px;background:#1e293b;box-shadow:0 8px 24px #0f172a47;animation:hn-reference-popover-in .12s ease}@keyframes hn-reference-popover-in{0%{opacity:0}to{opacity:1}}.hn-reference-option{display:flex;width:100%;align-items:center;gap:.55rem;padding:.5rem .65rem;border:0;border-radius:7px;background:transparent;color:#e2e8f0;font:inherit;text-align:left;cursor:pointer;-webkit-user-select:none;user-select:none}.hn-reference-option:hover,.hn-reference-option[aria-selected=true]{background:#ffffff24;color:#fff}.hn-reference-option:focus-visible{outline:2px solid var(--hn-theme);outline-offset:-2px}.hn-reference-option-mark{font-weight:700}.hn-reference-empty{padding:.5rem .65rem;color:#e2e8f099;font-size:.8rem;text-align:left;cursor:default}@media(max-width:840px){.hn-reference-menu{width:min(240px,calc(100vw - 24px))}}@media(prefers-reduced-motion:reduce){.hn-reference-menu{animation:none}}.hn-editor-content .hn-editor-mention[data-hnn-resolve-status=loading],.hn-editor-content .hn-editor-resource[data-hnn-resolve-status=loading],.hn-editor-content .hn-editor-external-item[data-hnn-resolve-status=loading]{opacity:.55}.hn-editor-content .hn-editor-mention[data-hnn-resolve-status=missing],.hn-editor-content .hn-editor-resource[data-hnn-resolve-status=missing],.hn-editor-content .hn-editor-external-item[data-hnn-resolve-status=missing]{opacity:.7}.hn-editor-content .hn-editor-mention[data-hnn-resolve-status=missing]:after,.hn-editor-content .hn-editor-resource[data-hnn-resolve-status=missing]:after,.hn-editor-content .hn-editor-external-item[data-hnn-resolve-status=missing]:after{content:"?";color:var(--hn-text-muted, rgba(51, 65, 85, .65))}.hn-editor-content .hn-editor-mention[data-hnn-resolve-status=error]:after,.hn-editor-content .hn-editor-resource[data-hnn-resolve-status=error]:after,.hn-editor-content .hn-editor-external-item[data-hnn-resolve-status=error]:after{content:"!";color:var(--hn-text-muted, rgba(51, 65, 85, .65))}.hn-editor-content [data-hnn-node][role=link]{cursor:pointer}.hn-editor-content [data-hnn-node][role=link]:focus-visible{outline:2px solid var(--hn-theme, #3b82f6);outline-offset:1px;border-radius:4px}.hn-editor-content .hn-editor-external-item[role=link]:hover .hn-editor-external-item-name,.hn-editor-content .hn-editor-external-item[role=link]:focus-visible .hn-editor-external-item-name{text-decoration-color:var(--hn-theme-text, color-mix(in srgb, var(--hn-theme, #3b82f6) 75%, #1e293b))}.hn-markdown-export{display:inline-flex;flex-wrap:wrap;align-items:center;gap:.3rem .75rem;box-sizing:border-box;background:transparent;font-size:.85rem;line-height:1.55}.hn-markdown-export--light{--hn-theme-soft: color-mix(in srgb, var(--hn-theme, #3b82f6) 12%, white);--hn-theme-border: color-mix(in srgb, var(--hn-theme, #3b82f6) 30%, transparent);--hn-theme-text: color-mix(in srgb, var(--hn-theme, #3b82f6) 75%, #1e293b);--hn-bg: #ffffff;--hn-surface: #f8fafc;--hn-surface-hover: #f1f5f9;--hn-border: rgba(15, 23, 42, .08);--hn-border-strong: rgba(15, 23, 42, .14);--hn-text: #1e293b;--hn-text-muted: rgba(51, 65, 85, .65);--hn-text-soft: rgba(51, 65, 85, .85);color-scheme:light}.hn-markdown-export--dark{--hn-theme-soft: color-mix(in srgb, var(--hn-theme, #3b82f6) 18%, #111827);--hn-theme-border: color-mix(in srgb, var(--hn-theme, #3b82f6) 48%, transparent);--hn-theme-text: color-mix(in srgb, var(--hn-theme, #3b82f6) 55%, #f8fafc);--hn-bg: #0f172a;--hn-surface: #172033;--hn-surface-hover: #202b3f;--hn-border: rgba(226, 232, 240, .12);--hn-border-strong: rgba(226, 232, 240, .22);--hn-text: #f1f5f9;--hn-text-muted: rgba(203, 213, 225, .72);--hn-text-soft: rgba(226, 232, 240, .88);color-scheme:dark}.hn-markdown-export__trigger{appearance:none;margin:0;padding:.22rem .85rem;border:1px solid var(--hn-border-strong, rgba(15, 23, 42, .14));border-radius:999px;background:transparent;color:var(--hn-text-soft, rgba(51, 65, 85, .85));font:inherit;font-size:.8rem;font-weight:600;line-height:1.5;cursor:pointer;white-space:nowrap}.hn-markdown-export__trigger:hover:not(:disabled){background:var(--hn-surface-hover, #f1f5f9);color:var(--hn-text, #1e293b)}.hn-markdown-export__trigger:focus-visible{outline:none;box-shadow:0 0 0 2px var(--hn-theme, #3b82f6)}.hn-markdown-export__trigger:disabled{opacity:.55;cursor:default}.hn-markdown-export__status{color:var(--hn-text-muted, rgba(51, 65, 85, .65))}.hn-markdown-export__status:empty{display:none}.hn-markdown-export__error{margin:0;flex:1 1 100%;color:var(--hn-text, #1e293b);overflow-wrap:break-word}.hn-markdown-export-drawer-body{display:flex;flex-direction:column;gap:.75rem;min-height:0;color:var(--hn-text-soft, rgba(51, 65, 85, .85));font-size:.9rem;line-height:1.6}.hn-markdown-export-drawer-error{margin:0;color:var(--hn-text, #1e293b);font-weight:600}.hn-markdown-export-drawer-error[hidden]{display:none}.hn-markdown-export-drawer-lead{margin:0}.hn-markdown-export-diagnostics{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:.5rem;overflow:auto;min-height:0}.hn-markdown-export-diagnostic{display:flex;flex-direction:column;gap:.1rem;padding-left:.6rem;border-left:3px solid var(--hn-theme-border, rgba(59, 130, 246, .3))}.hn-markdown-export-diagnostic-message{color:var(--hn-text, #1e293b);overflow-wrap:break-word}.hn-markdown-export-diagnostic-meta{color:var(--hn-text-muted, rgba(51, 65, 85, .65));font-size:.78rem;overflow-wrap:break-word}.hn-markdown-export-preview{margin:0;padding:.75rem .9rem;border:1px solid var(--hn-border, rgba(15, 23, 42, .08));border-radius:10px;background:var(--hn-surface, #f8fafc);color:var(--hn-text-soft, rgba(51, 65, 85, .85));font-family:var(--hn-code-font, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-size:.8rem;line-height:1.7;white-space:pre-wrap;overflow-wrap:break-word;overflow:auto;max-height:22vh}.hn-markdown-export-preview:focus-visible{outline:none;box-shadow:0 0 0 2px var(--hn-theme, #3b82f6)}.hn-markdown-export-drawer-footer{display:flex;justify-content:flex-end}.hn-markdown-export-drawer-actions{display:inline-flex;flex-wrap:wrap;gap:.5rem}@media(prefers-reduced-motion:reduce){.hn-markdown-export__trigger{transition:none}}.hn-save-status{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem .75rem;box-sizing:border-box;background:transparent;font-size:.85rem;line-height:1.55}.hn-save-status--light{--hn-theme-soft: color-mix(in srgb, var(--hn-theme, #3b82f6) 12%, white);--hn-theme-border: color-mix(in srgb, var(--hn-theme, #3b82f6) 30%, transparent);--hn-theme-text: color-mix(in srgb, var(--hn-theme, #3b82f6) 75%, #1e293b);--hn-bg: #ffffff;--hn-surface: #f8fafc;--hn-surface-hover: #f1f5f9;--hn-border: rgba(15, 23, 42, .08);--hn-border-strong: rgba(15, 23, 42, .14);--hn-text: #1e293b;--hn-text-muted: rgba(51, 65, 85, .65);--hn-text-soft: rgba(51, 65, 85, .85);color-scheme:light}.hn-save-status--dark{--hn-theme-soft: color-mix(in srgb, var(--hn-theme, #3b82f6) 18%, #111827);--hn-theme-border: color-mix(in srgb, var(--hn-theme, #3b82f6) 48%, transparent);--hn-theme-text: color-mix(in srgb, var(--hn-theme, #3b82f6) 55%, #f8fafc);--hn-bg: #0f172a;--hn-surface: #172033;--hn-surface-hover: #202b3f;--hn-border: rgba(226, 232, 240, .12);--hn-border-strong: rgba(226, 232, 240, .22);--hn-text: #f1f5f9;--hn-text-muted: rgba(203, 213, 225, .72);--hn-text-soft: rgba(226, 232, 240, .88);color-scheme:dark}.hn-save-status__message{margin:0;display:inline-flex;align-items:baseline;gap:.4rem;flex:1 1 14ch;min-width:0;overflow-wrap:break-word}.hn-save-status--clean,.hn-save-status--dirty{color:var(--hn-text-soft, rgba(51, 65, 85, .85))}.hn-save-status--attention{color:var(--hn-text, #1e293b)}.hn-save-status__glyph{flex:none}.hn-save-status__text{min-width:0}.hn-save-status__detail{display:block;margin-top:.1rem;color:var(--hn-text-soft, rgba(51, 65, 85, .85));font-size:.8rem}.hn-save-status__spinner{flex:none;align-self:center;width:.75em;height:.75em;border:2px solid var(--hn-theme-border, rgba(59, 130, 246, .3));border-top-color:var(--hn-theme, #3b82f6);border-radius:50%;animation:hn-save-status-spin .8s linear infinite}@keyframes hn-save-status-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.hn-save-status__spinner{animation:none}}.hn-save-status__button{flex:none;appearance:none;margin:0;padding:.22rem .85rem;border:1px solid var(--hn-border-strong, rgba(15, 23, 42, .14));border-radius:999px;background:transparent;color:var(--hn-text-soft, rgba(51, 65, 85, .85));font:inherit;font-size:.8rem;font-weight:600;line-height:1.5;cursor:pointer;white-space:nowrap}.hn-save-status__button:hover:not(:disabled){background:var(--hn-surface-hover, #f1f5f9);color:var(--hn-text, #1e293b)}.hn-save-status__button:focus-visible{outline:none;box-shadow:0 0 0 2px var(--hn-theme, #3b82f6)}.hn-save-status__button:disabled{opacity:.55;cursor:default}