@layer components{[data-editor-toolbar]{--ui-control-size:2.25rem;--ui-control-radius:.625rem;--ui-type-radius:.5rem;--ui-divider:var(--border);--ui-control-fg:var(--muted-foreground);--ui-control-hover-bg:var(--accent);--ui-control-hover-fg:var(--foreground);--ui-control-selected-bg:var(--accent);--ui-control-selected-fg:var(--foreground)}[data-editor-toolbar] .grid.h-9.w-9{width:var(--ui-control-size);height:var(--ui-control-size);border-radius:var(--ui-control-radius);color:var(--ui-control-fg)!important}[data-editor-toolbar] .grid.h-9.w-9:hover:not(:disabled){background:var(--ui-control-hover-bg)!important;color:var(--ui-control-hover-fg)!important}[data-editor-toolbar] [class*="bg-[#f7f7f7]"]{border:1px solid var(--border);background:var(--surface-raised)!important}[data-editor-toolbar] [class*="bg-[#eeeeee]"]{background:var(--ui-control-selected-bg)!important;color:var(--ui-control-selected-fg)!important}[data-editor-toolbar] [class*="text-[#666666]"]{color:var(--ui-control-fg)!important}[data-editor-toolbar] [class*="hover:bg-[#f3f3f3]"]:hover:not(:disabled){background:var(--ui-control-hover-bg)!important}[data-editor-toolbar] [class*="hover:text-[#18181b"]:hover:not(:disabled){color:var(--ui-control-hover-fg)!important}[data-editor-toolbar] [class*="bg-[#e5e5e5]"],[data-editor-toolbar]>div>span[aria-hidden=true]{background:var(--ui-divider)!important}[data-editor-toolbar] button,[data-editor-toolbar] [role=button],.ink-editor-sidebar button{-webkit-tap-highlight-color:transparent}[data-editor-toolbar] button:focus-visible,[data-editor-toolbar] [role=button]:focus-visible,.ink-editor-sidebar button:focus-visible{outline:2px solid var(--ring);outline-offset:2px;box-shadow:0 0 0 2px var(--background)}[data-editor-toolbar] button:disabled{color:color-mix(in srgb, var(--muted-foreground) 45%, transparent)!important;background:0 0!important}[data-editor-toolbar] button[aria-pressed=true]{background:var(--ui-control-selected-bg)!important;color:var(--ui-control-selected-fg)!important}[data-editor-toolbar] button:active:not(:disabled),.ink-editor-sidebar button:active:not(:disabled){transform:scale(.97)}[data-editor-toolbar] [role=group] button:focus-visible{outline-offset:1px}[data-editor-toolbar]{z-index:20;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);position:relative;background:color-mix(in srgb, var(--card) 94%, transparent)!important;border-bottom-color:color-mix(in srgb, var(--border) 76%, transparent)!important}[data-editor-toolbar]>div{min-height:2.5rem}[data-radix-popper-content-wrapper] [role=menu],[data-radix-popper-content-wrapper] [role=listbox],[data-radix-popper-content-wrapper]>div{border-color:var(--border);background:var(--popover);color:var(--popover-foreground);box-shadow:0 8px 24px color-mix(in srgb, var(--foreground) 12%, transparent), 0 2px 6px color-mix(in srgb, var(--foreground) 8%, transparent)}.obsidian-editor-surface{background:var(--background)}.obsidian-editor-surface .editor-shell--desktop{background:var(--card);border-color:color-mix(in srgb, var(--border) 72%, transparent)}.ink-panel-divider{background:var(--border)}[data-mobile-chrome],.obsidian-editor-surface~* [data-mobile-chrome]{background:color-mix(in srgb, var(--card) 96%, transparent);border-top-color:color-mix(in srgb, var(--border) 82%, transparent)}.ink-editor-sidebar{--sidebar-surface:var(--sidebar);--sidebar-surface-raised:color-mix(in srgb, var(--sidebar) 92%, var(--foreground));--sidebar-hover:color-mix(in srgb, var(--sidebar) 88%, var(--foreground));--sidebar-selected:color-mix(in srgb, var(--sidebar) 82%, var(--foreground));background:var(--sidebar-surface)!important;border-right-color:color-mix(in srgb, var(--sidebar-border) 86%, transparent)!important}.ink-editor-sidebar nav button{border:1px solid #0000}.ink-editor-sidebar nav button:hover:not(:disabled){background:var(--sidebar-hover)!important}.ink-editor-sidebar nav button[aria-pressed=true]{border-color:color-mix(in srgb, var(--sidebar-border) 70%, transparent);background:var(--sidebar-selected)!important;color:var(--sidebar-accent-foreground)!important}.ink-editor-sidebar>div{border-color:color-mix(in srgb, var(--sidebar-border) 78%, transparent)!important}@media (width<=1100px) and (width>=1024px){.ink-editor-sidebar{width:240px!important;max-width:240px!important}}header:has(+[data-editor-toolbar]){-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:color-mix(in srgb, var(--background) 96%, transparent)!important;border-bottom-color:color-mix(in srgb, var(--border) 74%, transparent)!important}header:has(+[data-editor-toolbar]) .ink-icon-button{border-radius:.625rem;transition:background-color .15s,color .15s,transform .12s}header:has(+[data-editor-toolbar]) .ink-icon-button:hover:not(:disabled){background:var(--accent);color:var(--foreground)}header:has(+[data-editor-toolbar]) .ink-icon-button:focus-visible{outline:2px solid var(--ring);outline-offset:2px}header:has(+[data-editor-toolbar]) .ink-icon-button:active:not(:disabled){transform:scale(.97)}@media (width>=1024px){header:has(+[data-editor-toolbar])>div:first-child{min-height:3.25rem}}@media (prefers-reduced-motion:reduce){:is([data-editor-toolbar] button,.ink-editor-sidebar button,header:has(+[data-editor-toolbar]) .ink-icon-button){transition-duration:.01ms!important;animation-duration:.01ms!important;transform:none!important}}}button[aria-label=套相框],button[title=套相框]{display:none!important}:root{--font-ui:Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Helvetica Neue", sans-serif;--font-content:ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", sans-serif;--ui-text-xs:.6875rem;--ui-text-sm:.8125rem;--ui-text-md:.875rem;--ui-text-lg:.9375rem}body,button,input,textarea,select{font-family:var(--font-ui)}.editor-canvas,.editor-page,.editor-shell{font-family:var(--font-content)}.ink-seg[role=tablist] .ink-chip{min-height:40px;font-size:var(--ui-text-sm);letter-spacing:0;font-weight:500;line-height:1.2}.ink-seg[role=tablist] .ink-chip:first-child{font-size:0}.ink-seg[role=tablist] .ink-chip:first-child:after{content:"版式";font-size:var(--ui-text-sm)}.ink-seg[role=tablist] .ink-chip:nth-child(5){font-size:0}.ink-seg[role=tablist] .ink-chip:nth-child(5):after{content:"调整";font-size:var(--ui-text-sm)}.editor-shell h2.text-\[11px\],.editor-shell h3.text-\[11px\]{line-height:1.35}.ink-seg[role=tablist] .ink-chip:focus-visible,.editor-shell button:focus-visible,.editor-shell [role=button]:focus-visible,.editor-shell input:focus-visible,.editor-shell textarea:focus-visible,.editor-shell select:focus-visible,[data-mobile-chrome] button:focus-visible{outline:2px solid var(--ring);outline-offset:2px;box-shadow:0 0 0 2px var(--background)}.editor-shell label:focus-within{border-color:color-mix(in srgb, var(--ring) 55%, var(--border))!important}[data-radix-popper-content-wrapper] [role=menuitem]:focus-visible,[data-radix-popper-content-wrapper] [role=option]:focus-visible{outline:2px solid var(--ring);outline-offset:-2px}@media (width<=767px){.ink-seg[role=tablist] .ink-chip{min-height:40px;font-size:.8125rem}.ink-seg[role=tablist] .ink-chip:first-child:after,.ink-seg[role=tablist] .ink-chip:nth-child(5):after{font-size:.8125rem}[data-mobile-chrome] button,.editor-shell button.min-h-\[44px\],.editor-shell input[type=number],.editor-shell select{min-height:44px}[data-mobile-chrome] button{-webkit-tap-highlight-color:transparent;min-width:44px}.ink-seg[role=tablist] .ink-chip{touch-action:manipulation;-webkit-tap-highlight-color:transparent}}.editor-shell [class*=shadow-\[0_1px_2px_rgba],.editor-shell [class*=shadow-\[0_3px_12px_rgba],.editor-shell [class*=shadow-\[0_2px_14px_rgba],.editor-shell [class*=shadow-\[0_2px_12px_rgba]{box-shadow:none!important}.editor-shell .bg-card\/40,.editor-shell .bg-card\/50{background:var(--card)!important}.editor-shell [aria-pressed=true].bg-card\/40,.editor-shell [aria-pressed=true].bg-card\/50{background:var(--accent)!important;box-shadow:none!important}.editor-shell button.relative.min-h-\[108px\]{box-shadow:none!important}.editor-shell .ring-1,.editor-shell .ring-\[1px\]{--tw-ring-color:transparent!important}.editor-shell .hover\:shadow-\[0_3px_12px_rgba\(15\,15\,15\,0\.06\)\]:hover{box-shadow:none!important}.editor-shell [class*=border-dashed]{border-color:color-mix(in srgb, var(--border) 82%, transparent)!important}.editor-shell .text-muted-foreground\/80{color:color-mix(in srgb, var(--muted-foreground) 86%, transparent)!important}.editor-shell h2.text-\[11px\],.editor-shell h3.text-\[11px\]{letter-spacing:.08em}.editor-shell .rounded-2xl{border-radius:.875rem!important}.editor-shell .rounded-xl{border-radius:.75rem!important}.editor-shell .rounded-lg,.editor-shell .rounded-lg:not([class*=rounded-full]){border-radius:.625rem!important}.editor-shell .rounded-md{border-radius:.5rem!important}.editor-shell .rounded-full{border-radius:9999px!important}.editor-shell,.editor-shell .editor-page,.editor-shell [data-radix-popper-content-wrapper]{--ink-shadow-soft:0 8px 24px color-mix(in srgb, var(--foreground) 8%, transparent)}.editor-shell button,.editor-shell input,.editor-shell select{box-shadow:none}.editor-shell button:hover{--tw-shadow:none!important}.editor-shell button[aria-pressed=true]{box-shadow:none!important}@media (prefers-reduced-motion:reduce){.editor-shell button,.editor-shell input,.editor-shell select,.ink-seg[role=tablist] .ink-chip{transition-duration:.01ms!important}}
