/* cb-chrome.css — L3; lists/settings/editor/search chrome. */
.cb-lib-shelves{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
@media (max-width:640px){
  html body .cb-lib-page{padding:20px 16px 56px!important}
  html body .cb-lib-page .cb-lib-title{font-size:22px!important}
  html body .cb-lib-page .cb-lib-books[class],html body .cb-lib-page .cb-lib-shelves.is-grid[class]{grid-template-columns:minmax(0,1fr)!important}
}
@media (max-width:560px){
  html body .cb-disc-cards,html body .cb-disc.is-solo .cb-disc-cards,html body .cb-disc.is-solo .cb-disc-cards--3,html body .cb-disc.is-solo .cb-disc-cards--2{grid-template-columns:minmax(0,1fr)}
  html body .cb-disc.is-solo .cb-disc-card{flex-direction:row;gap:14px}
  html body .cb-disc.is-solo .cb-disc-cover{width:52px;height:68px;aspect-ratio:auto;font-size:20px}
  html body .cb-disc--shelves.is-solo .cb-disc-cover{width:68px;height:52px}
  html body .cb-disc-hint{display:none}
}
.list-sort .dropdown-menu,#export-menu .dropdown-menu{animation:cb83-pop .14s ease both;transform-origin:top right}
/* 2. 右栏 下载 / 导出 */
#export-menu > [refs='dropdown@toggle'],#export-menu > button.icon-list-item{border-radius:var(--cb-radius-sm)!important;transition:background-color .15s ease,color .15s ease!important}
#export-menu > [refs='dropdown@toggle']:hover,#export-menu > button.icon-list-item:hover,#export-menu > [aria-expanded='true']{background:var(--cb-hover)!important;color:#0a0a0a!important}
#export-menu .dropdown-menu{min-width:232px!important;padding:4px!important;border:1px solid rgba(10,10,10,.08)!important;border-radius:var(--cb-radius-md)!important;background:#fff!important;box-shadow:0 10px 28px rgba(10,10,10,.09),0 1px 4px rgba(10,10,10,.04)!important}
#export-menu .dropdown-menu li{margin:0!important;padding:0!important}
#export-menu .dropdown-menu a{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:6px 8px!important;border-radius:var(--cb-radius-xs)!important;font-size:13px!important;line-height:1.35!important;color:#2a2a2a!important;text-decoration:none!important;transition:background-color .15s ease,color .15s ease!important}
#export-menu .dropdown-menu a > span + span{font-size:12px!important;color:var(--cb-muted)!important;font-family:ui-monospace,SFMono-Regular,Menlo,monospace!important;opacity:1!important}
#export-menu .dropdown-menu a:hover,#export-menu .dropdown-menu a:focus-visible{background:var(--cb-hover)!important;color:#0a0a0a!important;outline:none!important}
#export-menu .dropdown-menu a:active{background:var(--cb-hover-strong)!important}
html.cb-dark #export-menu > [refs='dropdown@toggle']:hover,html.cb-dark #export-menu > button.icon-list-item:hover,html.cb-dark #export-menu > [aria-expanded='true']{background:var(--cb-hover)!important;color:#ffffff!important}
html.cb-dark #export-menu .dropdown-menu{background:#1c1c1c!important;border-color:rgba(255,255,255,.08)!important;box-shadow:0 12px 32px rgba(0,0,0,.45)!important}
html.cb-dark #export-menu .dropdown-menu a{color:#c8c8cd!important}
html.cb-dark #export-menu .dropdown-menu a > span + span{color:#8e8e8e!important}
html.cb-dark #export-menu .dropdown-menu a:hover{background:var(--cb-hover)!important;color:#ffffff!important}
@media (prefers-reduced-motion:reduce){.list-sort .dropdown-menu,#export-menu .dropdown-menu{animation:none!important}html body .cb-footer--mini .cb-fm::after{transition:none!important}}
html body .actions #export-menu{display:block!important;position:relative!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}
html body .actions .icon-list > a.icon-list-item,html body .actions #export-menu > button.icon-list-item{display:flex!important;align-items:center!important;gap:8px!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;margin:0!important;padding:6px 8px!important;text-align:left!important;justify-content:flex-start!important}
html body .actions #export-menu > .dropdown-menu{max-width:calc(100vw - 32px)!important}
html body .actions .icon-list > a.icon-list-item,html body .actions .icon-list form > button.icon-list-item,html body .actions .icon-list form > .icon-list-item,html body .actions #export-menu > button.icon-list-item,html body .actions .icon-list .dropdown-container > button.icon-list-item{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;width:100%!important;max-width:100%!important;min-height:34px!important;box-sizing:border-box!important;margin:0!important;padding:6px 8px!important;border:0!important;border-radius:var(--cb-radius-sm)!important;background:transparent!important;box-shadow:none!important;text-align:left!important;font-size:13px!important;line-height:1.4!important;color:var(--cb-side-text)!important;cursor:pointer!important;transition:background-color .15s ease,color .15s ease!important}
html body .actions .icon-list .icon-list-item:hover,html body .actions .icon-list .icon-list-item:focus-visible,html body .actions #export-menu > [aria-expanded='true']{background:var(--cb-hover)!important;color:#0a0a0a!important;outline:none!important}
html.cb-dark body .actions .icon-list .icon-list-item:hover,html.cb-dark body .actions .icon-list .icon-list-item:focus-visible,html.cb-dark body .actions #export-menu > [aria-expanded='true']{background:var(--cb-hover-strong)!important;color:#fff!important}
html body #main-content > .container:not(.very-small,.cb-wide,.cb-lib-page,.api-docs) .card:not(.drag-card){border:1px solid rgba(10,10,10,.08)!important;border-radius:var(--cb-radius-md,10px)!important;box-shadow:none!important;background:#fff!important}
/* 6 · 图片选择器：预览图 + 右侧按钮组左对齐，「重置 / 删除」与按钮同排 */
html body #main-content .image-picker > .grid.half{display:flex!important;flex-wrap:wrap;align-items:center!important;gap:16px 24px!important;grid-template-columns:none!important}
html body #main-content .image-picker > .grid.half > div{text-align:left!important;flex:0 0 auto}
html body #main-content .image-picker > .grid.half > div:last-child{display:flex!important;flex-wrap:wrap;align-items:center;gap:4px 6px}
html body #main-content .image-picker > .grid.half > div:last-child br{display:none}
html body #main-content .image-picker > .grid.half > div:last-child > label.button{margin-right:6px!important}
html body #main-content .image-picker img{display:block;max-width:280px;height:auto;border:1px solid rgba(10,10,10,.08);border-radius:var(--cb-radius-xs,6px)}
html body #main-content .image-picker img.cover{width:min(280px,100%);aspect-ratio:440/250;object-fit:cover;background:var(--cb-fill)}
html body #main-content .image-picker img.avatar{width:72px;height:72px;border-radius:999px}
html body #main-content .image-picker img.logo-image{width:auto!important;max-width:200px;max-height:96px;padding:8px;background:var(--cb-fill)}
html body #main-content .image-picker .sep{display:none!important}
html body :is(#main-content,.popup-body) .entity-selector{border:1px solid rgba(10,10,10,.12)!important;border-radius:var(--cb-radius-xs,6px)!important;overflow:hidden}
html body :is(#main-content,.popup-body) .entity-selector .entity-selector-search{display:block;width:100%!important;height:40px!important;margin:0!important;padding:0 12px 0 36px!important;border:0!important;border-bottom:1px solid rgba(10,10,10,.08)!important;border-radius:0!important;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10a7 7 0 1 0 14 0a7 7 0 1 0-14 0M21 21l-6-6'/%3E%3C/svg%3E") no-repeat 12px center/16px!important;box-shadow:none!important;font-size:14px!important}
/* 11 · 审计日志筛选栏：标签在上、控件同高 */
html body #main-content > .container .card > form[action$="/settings/audit"]{display:flex!important;flex-wrap:wrap;align-items:flex-end;gap:12px 16px!important;margin:0 0 4px}
html body #main-content > .container .card > form[action$="/settings/audit"] > div{display:flex!important;flex-direction:column;gap:6px;margin:0!important;min-width:170px}
html body #main-content > .container .card > form[action$="/settings/audit"] > div > label:first-child{margin:0!important;padding:0!important;font-size:13px!important;font-weight:500!important;color:var(--cb-muted)!important}
html body #main-content > .container .card > form[action$="/settings/audit"] .input-base{min-width:180px;text-align:left}
html body #main-content > .container .card > form[action$="/settings/audit"] [component="user-select"] .input-base,html body #main-content > .container .card > form[action$="/settings/audit"] [component="user-select"] > button{height:36px!important}
html body.flexbox .editor-toolbar-label{font-size:13px!important;font-weight:600!important;color:var(--cb-muted)!important;font-family:inherit!important}
html.markdown-editor-display body.page-content{background:#fff!important;margin:0!important;padding:20px 28px 56px!important;max-width:none!important}
html.markdown-editor-display.dark-mode body.page-content{background:#1c1c1c!important}
html body .popup-body #entity-selector-wrap .form-group,html body .popup-body .entity-selector-container{margin:0!important}
html body .popup-body .entity-selector{border:0!important;border-radius:0!important}
html body .popup-body .entity-selector input.entity-selector-search{height:48px!important;border:0!important;border-bottom:1px solid rgba(10,10,10,.08)!important;border-radius:0!important;box-shadow:none!important;outline:none!important;padding:0 20px!important;font-size:14px!important}
html body .image-manager-filter-bar-bg{background:#fafafa!important;opacity:1!important}
html body .image-manager-filter-bar{border-bottom:1px solid rgba(10,10,10,.08)}
html body .image-manager-filter-bar .search-box,html body .image-manager-filter-bar input[type=text]{border-radius:8px!important}
html body .image-manager-filter-bar .search-box{border:1px solid rgba(10,10,10,.14)!important;box-shadow:none!important;background:#fff!important;overflow:hidden}
html body .image-manager-filter-bar .search-box input{height:34px!important;border:0!important;box-shadow:none!important;font-size:14px!important}
html body .image-manager-filters{border:1px solid rgba(10,10,10,.14)!important;border-radius:8px!important;box-shadow:none!important;overflow:hidden;background:#fff!important}
html body .image-manager-filters button{height:32px;color:var(--cb-muted)!important;border-bottom:0!important}
html body .image-manager-filters button.active,html body .image-manager-filters button:hover{color:#0a0a0a!important;background:var(--cb-hover-strong,rgba(10,10,10,.075))!important}
html body .image-manager-sidebar{border-inline-start:1px solid rgba(10,10,10,.08)!important;font-size:13px}
html body .image-manager-sidebar .image-manager-sidebar-content,html body .image-manager-sidebar > div{padding:16px!important}
html body .image-manager-list .image{border-radius:8px;overflow:hidden}
/* 移动端（≤600px）：折叠区内容不再缩进，标签行双列紧凑 */
@media (max-width:600px){html body #main-content .form-group.collapsible > .collapse-content{padding:2px 14px 16px!important}html body #main-content .image-picker > .grid.half > div{flex:1 1 100%}html body :is(#main-content,.floating-toolbox) .tags .card.drag-card.drag-card{grid-template-columns:14px minmax(0,1fr) minmax(0,1fr) 26px;gap:6px!important}}
/* 16 · 深色模式 */
html.cb-dark body #main-content > .container:not(.very-small,.cb-wide,.cb-lib-page,.api-docs) .card:not(.drag-card){background:#1c1c1c!important;border-color:rgba(255,255,255,.08)!important}
html.cb-dark body #main-content > .container:not(.very-small,.cb-wide,.cb-lib-page,.api-docs) :is(input[type=text],input[type=email],input[type=password],input[type=number],input[type=url],input[type=search],input[type=date],input:not([type]),select,textarea),html.cb-dark body #main-content > .container:not(.very-small,.cb-wide,.cb-lib-page,.api-docs) .input-base,html.cb-dark body :is(#main-content,.floating-toolbox) .tags .card.drag-card.drag-card input{background-color:#111113!important;border-color:rgba(255,255,255,.12)!important;color:#e4e4e7!important}
html.cb-dark body #main-content .image-picker img{border-color:rgba(255,255,255,.08);background:#111113}
html.cb-dark body #main-content :is(.scroll-box,input.scroll-box-search,.scroll-box-header-item,.sort-box,.entity-selector),html.cb-dark body .popup-body .entity-selector .entity-selector-search{border-color:rgba(255,255,255,.1)!important}
html.cb-dark body :is(#main-content,.popup-body) .entity-selector .entity-selector-search{background-color:#1c1c1c!important;color:#e4e4e7!important}
html.cb-dark body .popup-footer,html.cb-dark body .image-manager-filter-bar-bg{background:#141416!important;border-color:rgba(255,255,255,.08)!important}
html.cb-dark body :is(.image-manager-filters,.image-manager-filter-bar .search-box){background:#111113!important;border-color:rgba(255,255,255,.12)!important}
html.cb-dark body .image-manager-sidebar{border-inline-start-color:rgba(255,255,255,.08)!important}
/* 3 实体选择器：去掉内嵌双边框，搜索框贴合外框 */
html body :is(#main-content,.popup-body) .entity-selector > input[type=text]:not(#_){display:block;width:100%!important;height:40px!important;margin:0!important;padding:0 12px 0 36px!important;border:0!important;border-bottom:1px solid rgba(10,10,10,.08)!important;border-radius:0!important;box-shadow:none!important;outline:0!important;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10a7 7 0 1 0 14 0a7 7 0 1 0-14 0M21 21l-6-6'/%3E%3C/svg%3E") no-repeat 12px center/16px!important;font-size:14px!important}
html body :is(#main-content,.popup-body) .entity-selector:not(#_){font-size:13px!important}
html body #main-content .entity-selector:focus-within:not(#_){border-color:rgba(10,10,10,.32)!important;box-shadow:0 0 0 3px rgba(10,10,10,.06)!important}
/* 8 图片选择器：logo/图标同宽 80，按钮列同一左缘；头像 64 */
html body #main-content .image-picker:has(img.logo-image) > .grid.half > div:first-child:not(#_){flex:0 0 80px!important}
html body #main-content .image-picker img.logo-image:not(#_){width:80px!important;height:80px!important;max-width:none!important;max-height:none!important;padding:10px!important;object-fit:contain;box-sizing:border-box}
html body #main-content .image-picker img.avatar:not(#_){width:64px!important;height:64px!important}
html body #main-content .image-picker > .grid.half:not(#_){column-gap:16px!important}
html body #main-content .image-picker > .grid.half > div:last-child:not(#_){gap:8px!important}
html body #main-content .image-picker > .grid.half > div:last-child > label.button:not(#_){margin-right:4px!important}
html body #main-content .image-picker .text-button:not(#_){height:36px;padding:0 8px!important;font-size:13px!important}
/* 11 审计筛选：5 个字段 label 统一 18px 行高、label→控件 6、行距 16 */
html body #main-content > .container .card > form[action$="/settings/audit"]:not(#_){gap:16px!important;margin:0 0 8px!important}
html body #main-content > .container .card > form[action$="/settings/audit"] > div:not(#_):not(#_):not(#_){margin:0!important}
html body #main-content > .container .card > form[action$="/settings/audit"] > div > label:not(#_):not(#_):not(#_){margin:0!important;line-height:18px!important;font-size:13px!important}
html.cb-dark body :is(#main-content,.popup-body) .entity-selector > input[type=text]:not(#_){border-bottom-color:rgba(255,255,255,.1)!important;color:#e4e4e7!important}
html.cb-dark body #main-content .entity-selector:focus-within:not(#_){border-color:rgba(255,255,255,.3)!important;box-shadow:0 0 0 3px rgba(255,255,255,.06)!important}
/* ===== tabler138 · 从 135/136 精选：分页 / 空状态 / 编辑页顶栏与标题 / 编辑器 / 弹窗 / 实体选择器 / 控件 / 上传区 ===== */
/* 排序条保持 134 原样不动；深色模式统一 html.cb-dark；分页 inline-flex，不强制居中，不加 24px 上边距 */
/* ---- from tabler135-editor-modal-controls.css ---- */
/* ===== tabler135 · 编辑页 / 编辑器 / 模态窗口 / 控件 / 列表 ===== */
/* 设计基准沿用 tabler133/134：主色 #18181b，描边 rgba(10,10,10,.08~.14)，控件 36 高，圆角 8/12，悬停 var(--cb-hover) */
/* 1 · 编辑页顶栏：白底细分隔线、三段对齐、按钮统一 32 高 */
html body .page-editor .page-edit-toolbar:not(#_){display:grid!important;grid-template-columns:1fr auto 1fr!important;align-items:center!important;min-height:52px!important;padding:8px var(--cb-gutter,24px)!important;background:#fff!important;border-bottom:1px solid rgba(10,10,10,.08)!important;box-shadow:none!important;color:#1a1a1a!important}
html body .page-editor .page-edit-toolbar :is(.icon-list-item,.text-link):not(#_){display:inline-flex!important;align-items:center!important;gap:6px!important;height:32px!important;padding:0 10px!important;border-radius:8px!important;font-size:14px!important;font-weight:500!important;color:#3a3a3a!important;background:transparent!important;text-decoration:none!important;transition:background-color .12s ease,color .12s ease}
html body .page-editor .page-edit-toolbar :is(.icon-list-item,.text-link):not(#_):hover{background:var(--cb-hover,rgba(10,10,10,.045))!important;color:#0a0a0a!important}
html body .page-editor .page-edit-toolbar .icon-list-item svg{width:16px!important;height:16px!important}
html body .page-editor .page-edit-toolbar #save-button:not(#_){background:#1a1a1a!important;color:#fff!important;padding:0 14px!important}
html body .page-editor .page-edit-toolbar #save-button:not(#_):hover{background:#000!important}
html body .page-editor .page-edit-toolbar #save-button svg{fill:currentColor!important}
html body .page-editor .page-edit-toolbar .draft-display .faded-text{font-size:13px!important;color:var(--cb-muted)!important}
html body .page-editor .page-edit-toolbar .draft-notification{width:16px!important;height:16px!important}
html body .page-editor .page-edit-toolbar .dropdown-menu.wide{min-width:320px!important}
html body .page-editor .page-edit-toolbar #summary-input{width:100%!important;min-height:64px!important;padding:8px 12px!important;border:1px solid rgba(10,10,10,.14)!important;border-radius:8px!important;font-size:14px!important;line-height:1.55!important;resize:vertical;box-sizing:border-box}
html body .page-editor .page-edit-toolbar #summary-input:focus{outline:none!important;border-color:rgba(10,10,10,.4)!important;box-shadow:0 0 0 3px rgba(10,10,10,.08)!important}
html body .page-editor .page-edit-toolbar .dropdown-menu small{display:inline-block;margin-top:2px;font-size:12px!important;color:var(--cb-muted)!important;line-height:1.45!important}
/* 2 · 标题输入：大号无边框，底部分隔 */
html body .page-editor .title-input.page-title:not(#_){padding:0!important;margin:0!important;border-bottom:1px solid rgba(10,10,10,.06)!important;background:#fff!important}
html body .page-editor .title-input.page-title input:not(#_){width:100%!important;height:auto!important;padding:20px var(--cb-gutter,24px) 16px!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;font-size:28px!important;font-weight:650!important;line-height:1.3!important;letter-spacing:-.01em;color:#0a0a0a!important}
html body .page-editor .title-input.page-title input::placeholder{color:#b4b4bb!important;font-weight:500!important}
html body .page-editor .title-input.page-title input:focus{outline:none!important;box-shadow:none!important}
/* 3 · Markdown 编辑器：工具栏、分栏、预览 */
html body .page-editor .markdown-editor-wrap{border:0!important;background:#fff!important}
html body .page-editor .markdown-editor-wrap .editor-toolbar:not(#_){display:flex!important;align-items:center!important;gap:2px!important;min-height:40px!important;padding:4px 12px!important;background:#fafafa!important;border-bottom:1px solid rgba(10,10,10,.08)!important;font-size:13px!important;font-weight:500!important;color:#4a4a4a!important;text-transform:none!important;letter-spacing:0!important}
html body .page-editor .markdown-editor-wrap .editor-toolbar :is(button,.text-button):not(#_){display:inline-flex!important;align-items:center!important;gap:4px!important;height:28px!important;padding:0 8px!important;border:0!important;border-radius:6px!important;background:transparent!important;color:#3a3a3a!important;font-size:13px!important;cursor:pointer}
html body .page-editor .markdown-editor-wrap .editor-toolbar :is(button,.text-button):not(#_):hover{background:var(--cb-hover,rgba(10,10,10,.06))!important;color:#0a0a0a!important}
html body .page-editor .markdown-editor-wrap .editor-toolbar-label{font-size:12px!important;font-weight:600!important;color:var(--cb-muted)!important;text-transform:none!important;letter-spacing:0!important}
html body .page-editor .markdown-editor-wrap + .markdown-editor-wrap,html body .page-editor .markdown-panel-divider{border-left:1px solid rgba(10,10,10,.08)!important;background:transparent!important}
html body .page-editor .markdown-editor-wrap .cm-editor{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace!important;font-size:14px!important;line-height:1.7!important}
html body .page-editor .markdown-editor-wrap .cm-editor .cm-gutters{background:#fafafa!important;border-right:1px solid rgba(10,10,10,.06)!important;color:var(--cb-muted)!important}
html body .page-editor .markdown-editor-wrap .cm-editor .cm-activeLine,html body .page-editor .markdown-editor-wrap .cm-editor .cm-activeLineGutter{background:rgba(10,10,10,.03)!important}
html body .page-editor .markdown-editor-wrap .cm-editor.cm-focused{outline:none!important}
html body .page-editor .markdown-display{background:#fff!important}
html body .page-editor .markdown-display .page-content{max-width:var(--cb-reading,760px);margin:0 auto!important;padding:24px 32px!important}
/* 4 · TinyMCE（经典所见即所得）：去掉厚边框、工具栏扁平化 */
html body .page-editor .tox.tox-tinymce:not(#_){border:0!important;border-radius:0!important}
/* 5 · 新版所见即所得（Lexical） */
html body .page-editor .editor-container .editor-toolbar-main:not(#_){display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:2px!important;padding:4px 12px!important;background:#fafafa!important;border-bottom:1px solid rgba(10,10,10,.08)!important}
html body .page-editor .editor-container .editor-button:not(#_){height:30px!important;min-width:30px!important;border:0!important;border-radius:6px!important;background:transparent!important;color:#3a3a3a!important}
html body .page-editor .editor-container .editor-button:not(#_):hover{background:rgba(10,10,10,.06)!important}
html body .page-editor .editor-container .editor-button-active:not(#_){background:rgba(10,10,10,.09)!important;color:#0a0a0a!important}
/* 6 · 右侧编辑工具箱：标签页、内容区、表单 */
html body .page-editor .floating-toolbox:not(#_){background:#fff!important;border-left:1px solid rgba(10,10,10,.08)!important;box-shadow:none!important}
html body .page-editor .editor-toolbox .tabs:not(#_){background:#fafafa!important;border-left:1px solid rgba(10,10,10,.08)!important}
html body .page-editor .editor-toolbox .tabs :is(.tabs-inner > button,.tab-container button):not(#_){width:40px!important;height:40px!important;margin:2px auto!important;border-radius:8px!important;color:var(--cb-muted)!important;background:transparent!important}
html body .page-editor .editor-toolbox .tabs :is(.tabs-inner > button,.tab-container button):not(#_):hover{background:rgba(10,10,10,.06)!important;color:#0a0a0a!important}
html body .page-editor .editor-toolbox .tabs button.active:not(#_),html body .page-editor .editor-toolbox .tabs button[aria-selected=true]:not(#_){background:#fff!important;color:#0a0a0a!important;box-shadow:0 0 0 1px rgba(10,10,10,.1)!important}
html body .page-editor .editor-toolbox .toolbox-tab-content > h4:not(#_){margin:0!important;padding:16px 16px 12px!important;font-size:14px!important;font-weight:600!important;color:#0a0a0a!important;border-bottom:1px solid rgba(10,10,10,.06)!important;text-transform:none!important;letter-spacing:0!important}
html body .page-editor .editor-toolbox .toolbox-tab-content :is(p,.text-small,.text-muted){font-size:13px!important;line-height:1.6!important;color:var(--cb-muted)!important}
html body :is(.page-editor .editor-toolbox,.popup-body) :is(input[type=text],input[type=url],input[type=search],input:not([type]),select,textarea):not(.tox *):not(#_){min-height:36px!important;padding:0 12px!important;border:1px solid rgba(10,10,10,.14)!important;border-radius:8px!important;background-color:#fff!important;box-shadow:none!important;font-size:14px!important;color:#1a1a1a!important;box-sizing:border-box}
html body :is(.page-editor .editor-toolbox,.popup-body) textarea:not(.tox *):not(#_){padding:8px 12px!important;line-height:1.55!important}
html body :is(.page-editor .editor-toolbox,.popup-body) :is(input,select,textarea):not(.tox *):focus{outline:none!important;border-color:rgba(10,10,10,.4)!important;box-shadow:0 0 0 3px rgba(10,10,10,.08)!important}
html body :is(.page-editor .editor-toolbox,.popup-body) :is(.button,button.button,label.button):not(.text-button):not(#_){display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;height:34px!important;margin:0!important;padding:0 14px!important;border:1px solid #1a1a1a!important;border-radius:8px!important;background:#1a1a1a!important;color:#fff!important;box-shadow:none!important;font-size:14px!important;font-weight:500!important;text-transform:none!important;cursor:pointer}
html body :is(.page-editor .editor-toolbox,.popup-body) :is(.button,button.button):not(.outline,.text-button):not(#_):hover{background:#000!important}
html body :is(.page-editor .editor-toolbox,.popup-body) .button.outline:not(#_){background:#fff!important;color:#1a1a1a!important;border-color:rgba(10,10,10,.14)!important}
html body :is(.page-editor .editor-toolbox,.popup-body) .button.outline:not(#_):hover{background:var(--cb-fill)!important}
html body :is(.page-editor .editor-toolbox,.popup-body) :is(.button.neg,.button.text-neg):not(.outline):not(#_){background:#dc2626!important;border-color:#dc2626!important}
/* 7 · 拖拽卡片（标签行 / 附件行）：浅描边圆角、手柄淡化、操作按钮方形 */
html body :is(.page-editor,#main-content,.popup-body) .card.drag-card:not(#_){display:flex!important;align-items:stretch!important;margin:0 0 8px!important;border:1px solid rgba(10,10,10,.1)!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important;overflow:hidden}
html body :is(.page-editor,#main-content,.popup-body) .card.drag-card:hover{border-color:rgba(10,10,10,.18)!important}
html body :is(.page-editor,#main-content,.popup-body) .drag-card .handle:not(#_){display:flex!important;align-items:center!important;padding:0 6px!important;color:#c4c4cc!important;cursor:grab;background:#fafafa!important;border-right:1px solid rgba(10,10,10,.06)!important}
html body :is(.page-editor,#main-content,.popup-body) .drag-card .drag-card-action:not(#_){display:flex!important;align-items:center!important;justify-content:center!important;width:36px!important;border-left:1px solid rgba(10,10,10,.06)!important;background:transparent!important;color:var(--cb-muted)!important;cursor:pointer}
html body :is(.page-editor,#main-content,.popup-body) .drag-card .drag-card-action:not(#_):hover{background:rgba(220,38,38,.06)!important;color:#dc2626!important}
html body :is(.page-editor,#main-content,.popup-body) .drag-card :is(input[type=text],input:not([type])):not(#_){border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
html body :is(.page-editor,#main-content,.popup-body) .drag-card :is(input[type=text],input:not([type])):not(#_):focus{background:rgba(10,10,10,.025)!important;box-shadow:none!important}
html body :is(.page-editor,#main-content,.popup-body) .drag-card .drag-card-divider,html body :is(.page-editor,#main-content,.popup-body) .drag-card .outline:not(.button){border-color:rgba(10,10,10,.06)!important}
html body .sortable-ghost,html body .drag-card.sortable-chosen{opacity:.6!important;box-shadow:0 8px 24px -8px rgba(10,10,10,.2)!important}
/* 上传区 */
html body :is(.page-editor,.popup-body) :is(.dropzone-landing-area,.dropzone-container):not(#_){border:1.5px dashed rgba(10,10,10,.18)!important;border-radius:12px!important;background:#fafafa!important;color:var(--cb-muted)!important;font-size:13px!important}
/* 9 · 图片管理器 / 代码块编辑器 / 实体选择器 */
html body .image-manager-body .image-manager-sidebar:not(#_){border-left:1px solid rgba(10,10,10,.08)!important;background:#fafafa!important}
html body .image-manager-body .image-manager-list .image:not(#_){border-radius:8px!important;overflow:hidden!important;box-shadow:0 0 0 1px rgba(10,10,10,.08)!important;transition:box-shadow .12s ease}
html body .image-manager-body .image-manager-list .image:hover{box-shadow:0 0 0 2px rgba(10,10,10,.2)!important}
html body .image-manager-body .image-manager-list .image.selected:not(#_){box-shadow:0 0 0 2px #1a1a1a!important;border:0!important}
html body .image-manager-body .image-manager-header:not(#_){border-bottom:1px solid rgba(10,10,10,.08)!important;background:#fff!important}
html body .image-manager-body .image-manager-header :is(button,.tab-item):not(#_){border-radius:6px!important;font-size:13px!important;font-weight:500!important;color:#4a4a4a!important}
html body .image-manager-body .image-manager-header :is(button.selected,.tab-item.selected,button[aria-selected=true]):not(#_){background:rgba(10,10,10,.06)!important;color:#0a0a0a!important;border-bottom-color:transparent!important}
html body .popup-background.code-editor .code-editor-language-list :is(button,a):not(#_){border-radius:6px!important;padding:6px 10px!important;font-size:13px!important;color:#3a3a3a!important}
html body .popup-background.code-editor .code-editor-language-list :is(button,a):hover,html body .popup-background.code-editor .code-editor-language-list .active:not(#_){background:rgba(10,10,10,.06)!important;color:#0a0a0a!important}
html body .popup-background.code-editor .code-editor-main .cm-editor{border:1px solid rgba(10,10,10,.1)!important;border-radius:10px!important;font-size:14px!important}
html body :is(#main-content,.popup-body,.page-editor) input[type=radio]:not(#_){-webkit-appearance:none;appearance:none;width:16px!important;height:16px!important;margin:0 8px 0 0!important;border:1.5px solid rgba(10,10,10,.28)!important;border-radius:50%!important;background:#fff!important;vertical-align:-3px;cursor:pointer}
html body :is(#main-content,.popup-body,.page-editor) input[type=radio]:checked:not(#_){border:5px solid #1a1a1a!important}
html body :is(#main-content,.popup-body,.page-editor) input[type=radio]:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(10,10,10,.12)!important}
/* 表单错误提示 */
html body :is(#main-content,.popup-body,.page-editor) .text-neg.text-small:not(#_),html body :is(#main-content,.popup-body,.page-editor) .form-group .text-neg:not(.button){font-size:13px!important;color:#dc2626!important}
html body :is(#main-content,.popup-body,.page-editor) :is(input,select,textarea).neg:not(#_){border-color:#dc2626!important;box-shadow:0 0 0 3px rgba(220,38,38,.08)!important}
/* 12 · 深色模式 */
html.cb-dark body .page-editor .page-edit-toolbar:not(#_),html.cb-dark body .page-editor .title-input.page-title:not(#_),html.cb-dark body .popup-background .popup-body:not(#_),html.cb-dark body .popup-background .popup-header:not(#_),html.cb-dark body .page-editor .floating-toolbox:not(#_),html.cb-dark body .suggestion-box:not(#_),html.cb-dark body :is(.page-editor,#main-content,.popup-body) .card.drag-card:not(#_),html.cb-dark body #main-content .pagination li > :is(a,span):not(#_){background:#1c1c1c!important;border-color:rgba(255,255,255,.1)!important;color:#e4e4e7!important}
html.cb-dark body :is(.page-editor .markdown-editor-wrap .editor-toolbar,.tox .tox-editor-header,.tox .tox-statusbar,.page-editor .editor-container .editor-toolbar-main,.page-editor .editor-toolbox .tabs,.popup-background .popup-footer,.image-manager-body .image-manager-sidebar):not(#_){background:#111113!important;border-color:rgba(255,255,255,.08)!important;color:#a1a1a1!important}
html.cb-dark body :is(.page-editor .title-input.page-title input,.popup-background .popup-title):not(#_){color:#fafafa!important}
html.cb-dark body :is(.page-editor .editor-toolbox,.popup-body) :is(input[type=text],input[type=url],input[type=search],input:not([type]),select,textarea):not(.tox *):not(#_){background-color:#0f0f11!important;border-color:rgba(255,255,255,.14)!important;color:#e4e4e7!important}
html.cb-dark body :is(.page-editor .page-edit-toolbar,.page-editor .markdown-editor-wrap .editor-toolbar,.tox,.page-editor .editor-container) :is(.icon-list-item,.text-link,button,.tox-tbtn,.editor-button):not(#save-button):not(#_){color:#c8c8cd!important}
html.cb-dark body :is(.page-editor .page-edit-toolbar,.page-editor .markdown-editor-wrap .editor-toolbar,.tox,.page-editor .editor-container,.popup-background) :is(.icon-list-item,.text-link,button,.tox-tbtn,.editor-button,.popup-header-close):not(#save-button):not(#_):hover{background:rgba(255,255,255,.07)!important;color:#fafafa!important}
html.cb-dark body .page-editor .page-edit-toolbar #save-button:not(#_),html.cb-dark body #main-content .pagination li.active > span:not(#_),html.cb-dark body .toggle-switch input[type=checkbox]:checked + span.switch:not(#_){background:#fafafa!important;border-color:#fafafa!important;color:#1c1c1c!important}
/* 13 · 窄屏：编辑页顶栏收紧，模态窗口贴边 */
@media (max-width: 720px){
  html body .page-editor .page-edit-toolbar:not(#_){padding:6px 12px!important;grid-template-columns:auto 1fr auto!important}
  html body .page-editor .title-input.page-title input:not(#_){padding:16px 12px 12px!important;font-size:22px!important}
  html body .popup-background .popup-body:not(#_){width:calc(100vw - 24px)!important;max-height:calc(100vh - 24px)!important;border-radius:12px!important}
  html body #main-content .item-list-row:not(#_){padding:8px 12px!important}
}
/* ---- from tabler136-real-selectors.css ---- */
/* ===== tabler136 · 按 v26.09.2 真实结构修正：实体选择器 / 弹窗页头按钮 / 图片管理器 / 代码编辑器 / 新版编辑器弹窗 / 上传区 / 工具箱 ===== */
/* 1 · 实体选择器：弹窗内去掉套框，搜索与列表通栏；页面内（移动/复制）保留浅描边 */
html body .entity-selector:not(#_){border:1px solid rgba(10,10,10,.1)!important;border-radius:10px!important;overflow:hidden!important;font-size:14px!important;background:#fff!important}
html body .popup-body .entity-selector-container:not(#_){display:flex!important;flex-direction:column!important;margin:0!important;min-height:0!important}
html body .popup-body .entity-selector:not(#_){flex:1!important;display:flex!important;flex-direction:column!important;min-height:0!important;border:0!important;border-radius:0!important}
html body .entity-selector > input[type=text]:not(#_){display:block!important;width:100%!important;height:48px!important;margin:0!important;padding:0 20px 0 44px!important;border:0!important;border-bottom:1px solid rgba(10,10,10,.08)!important;border-radius:0!important;box-shadow:none!important;font-size:15px!important;color:#1a1a1a!important;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M20 20l-4.8-4.8'/%3E%3C/svg%3E") no-repeat 18px center / 18px!important}
html body .entity-selector > input[type=text]:not(#_):focus{outline:none!important;box-shadow:none!important;background-color:#fcfcfc!important}
html body .entity-selector > input[type=text]::placeholder{color:#a3a3a3!important}
html body .popup-body .entity-selector [refs="entity-selector@results"]:not(#_){flex:1!important;overflow-y:auto!important;min-height:0!important}
html body .entity-selector .entity-item-snippet :is(.text-book,.text-chapter):not(#_){font-size:13px!important;font-weight:500!important;color:var(--cb-muted)!important}
html body .entity-selector .entity-item-snippet p:not(#_){margin:4px 0 0!important;font-size:13px!important;line-height:1.6!important;color:var(--cb-muted)!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body .entity-selector .loading:not(#_){padding:24px 0!important}
/* 3 · 图片管理器：筛选栏白底、搜索框、分段筛选、缩略图网格、右侧详情 */
html body .image-manager .image-manager-filter-bar:not(#_){background:rgba(255,255,255,.92)!important;backdrop-filter:none;-webkit-backdrop-filter:none;border-bottom:1px solid rgba(10,10,10,.08)!important;align-items:center!important;padding:0 4px!important}
html body .image-manager .image-manager-filter-bar-bg:not(#_){display:none!important}
html body .image-manager .contained-search-box:not(#_){display:flex!important;align-items:center!important;height:36px!important;border:1px solid rgba(10,10,10,.14)!important;border-radius:8px!important;background:#fff!important;box-shadow:none!important;overflow:hidden}
html body .image-manager .contained-search-box input:not(#_){height:34px!important;min-width:220px;padding:0 12px!important;border:0!important;border-radius:0!important;box-shadow:none!important;font-size:14px!important;background:transparent!important}
html body .image-manager .contained-search-box:focus-within{border-color:rgba(10,10,10,.4)!important;box-shadow:0 0 0 3px rgba(10,10,10,.08)!important}
html body .image-manager .contained-search-box button:not(#_){display:inline-flex!important;align-items:center!important;justify-content:center!important;width:34px!important;height:34px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--cb-muted)!important}
html body .image-manager .contained-search-box button:hover{color:#0a0a0a!important;background:rgba(10,10,10,.04)!important}
html body .image-manager .tab-container.bordered:not(#_){border:0!important}
html body .image-manager .image-manager-filters:not(#_){display:inline-flex!important;padding:2px!important;gap:2px!important;border:1px solid rgba(10,10,10,.12)!important;border-radius:8px!important;box-shadow:none!important;background:var(--cb-fill)!important}
html body .image-manager .image-manager-filters button:not(#_){display:inline-flex!important;align-items:center!important;justify-content:center!important;width:34px!important;height:30px!important;padding:0!important;border:0!important;border-radius:6px!important;background:transparent!important;color:var(--cb-muted)!important;line-height:1!important}
html body .image-manager .image-manager-filters button[aria-selected=true]:not(#_){background:#fff!important;color:#0a0a0a!important;box-shadow:0 1px 2px rgba(10,10,10,.12)!important}
html body .image-manager .image-manager-filters button svg{width:17px!important;height:17px!important;margin:0!important;fill:currentColor!important}
html body .image-manager .image-manager-list:not(#_){padding:12px!important;gap:10px!important}
html body .image-manager .image-manager-list .image:not(#_){border:0!important;border-radius:8px!important;box-shadow:0 0 0 1px rgba(10,10,10,.08)!important;background:#fafafa!important}
html body .image-manager .image-manager-list .image:not(#_):hover{box-shadow:0 0 0 2px rgba(10,10,10,.22)!important}
html body .image-manager .image-manager-list .image.selected:not(#_){box-shadow:0 0 0 2px #1a1a1a,0 0 0 5px rgba(10,10,10,.08)!important}
html body .image-manager .image-manager-list .image .image-meta{background:linear-gradient(to top,rgba(10,10,10,.72),rgba(10,10,10,0))!important;font-size:12px!important}
html body .image-manager .image-manager-sidebar:not(#_){border-inline-start:1px solid rgba(10,10,10,.08)!important;background:#fafafa!important}
html body .image-manager .image-manager-sidebar .inner:not(#_){padding:20px!important}
html body .image-manager .image-manager-sidebar .image-manager-viewer img{border-radius:8px!important;box-shadow:0 0 0 1px rgba(10,10,10,.08)!important}
html body .image-manager .image-manager-sidebar :is(p,.text-muted,.text-small){font-size:13px!important;color:var(--cb-muted)!important}
html body .image-manager .image-manager-sidebar .form-group{margin-bottom:16px!important}
html body .image-manager .image-manager-sidebar label:not(#_){display:block;margin:0 0 6px!important;font-size:13px!important;font-weight:500!important;color:#2a2a2a!important}
html body .image-manager .image-manager-warning:not(#_){border-inline:0!important;border-left:0!important;border-radius:6px!important;padding:10px 12px!important;background:#fffbeb!important;color:#92400e!important;font-weight:500!important}
html body .image-manager .load-more:not(#_){padding:16px!important}
html body .image-manager .tab-container [role=tablist].hide-over-m button:not(#_){height:40px!important;padding:0 16px!important;border:0!important;border-bottom:2px solid transparent!important;background:transparent!important;font-size:14px!important;font-weight:500!important;color:var(--cb-muted)!important}
html body .image-manager .tab-container [role=tablist].hide-over-m button[aria-selected=true]:not(#_){color:#0a0a0a!important;border-bottom-color:#1a1a1a!important}
/* 4 · 代码块编辑器：语言列、搜索、收藏星标、编辑区 */
html body .code-editor .code-editor-language-list:not(#_){width:200px!important;border-right:1px solid rgba(10,10,10,.08)!important;background:#fafafa!important}
html body .code-editor .code-editor-language-list > label:not(#_){padding:12px 14px 6px!important;margin:0!important;background:transparent!important;color:var(--cb-muted)!important;font-size:12px!important;font-weight:600!important}
html body .code-editor .code-editor-language-list > input:not(#_){width:calc(100% - 24px)!important;height:34px!important;margin:0 12px 8px!important;padding:0 10px!important;border:1px solid rgba(10,10,10,.14)!important;border-radius:8px!important;background:#fff!important;font-size:14px!important;box-shadow:none!important}
html body .code-editor .code-editor-language-list > input:focus{outline:none!important;border-color:rgba(10,10,10,.4)!important;box-shadow:0 0 0 3px rgba(10,10,10,.08)!important}
html body .code-editor .lang-options:not(#_){padding:0 8px 8px!important}
html body .code-editor .lang-options button[refs]:not(#_){height:30px!important;padding:0 10px 0 32px!important;border:0!important;border-radius:6px!important;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;font-size:13px!important;color:#3a3a3a!important;background:transparent!important}
html body .code-editor .lang-options button[refs]:not(#_):hover{background:rgba(10,10,10,.05)!important;color:#0a0a0a!important}
html body .code-editor .lang-options button[refs].active:not(#_){background:#1a1a1a!important;color:#fff!important}
html body .code-editor .lang-options button.lang-option-favorite-toggle:not(#_){width:28px!important;color:var(--cb-muted)!important;background:transparent!important}
html body .code-editor .lang-options button.lang-option-favorite-toggle.action-unfavourite:not(#_){color:#d97706!important}
html body .code-editor .lang-options button.lang-option-favorite-toggle svg{width:14px!important;height:14px!important;fill:currentColor!important}
html body .code-editor .lang-options button[refs].active ~ .lang-option-favorite-toggle:not(#_){color:rgba(255,255,255,.7)!important}
html body .code-editor .code-editor-main .cm-editor:not(#_){border:0!important;border-radius:0!important;height:100%!important;font-size:14px!important}
html body .code-editor .code-editor-body-wrap:not(#_){height:min(72vh,680px)!important}
html body .editor-container .editor-toolbar-main:not(#_){display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:2px!important;padding:4px 12px!important;background:#fafafa!important;border-bottom:1px solid rgba(10,10,10,.08)!important}
html body .floating-toolbox .drag-card .py-s:not(#_){flex:1;display:flex!important;align-items:center!important;min-width:0;padding:8px 10px!important;font-size:14px!important}
html body .floating-toolbox .drag-card .py-s a{color:#1a1a1a!important;text-decoration:none!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body .floating-toolbox .drag-card .py-s a:hover{text-decoration:underline!important}
html body .floating-toolbox .drag-card .drag-card-action.text-link:not(#_):hover{background:rgba(10,10,10,.05)!important;color:#0a0a0a!important}
html body .floating-toolbox .drag-card .dropdown-menu .delete:not(#_){color:#dc2626!important;font-weight:500!important}
/* 8 · 深色模式 */
html.cb-dark body :is(.entity-selector,.entity-selector > input[type=text],.popup-background .popup-header button:not(.popup-header-close),.image-manager .contained-search-box,.editor-modal,.editor-modal-header,.editor-context-toolbar,.editor-dropdown-menu,.editor-form-field-input,.editor-form-action-secondary,.floating-toolbox .search-box.flexible,.code-editor .code-editor-language-list > input):not(#_){background-color:#1c1c1c!important;border-color:rgba(255,255,255,.12)!important;color:#e4e4e7!important}
html.cb-dark body :is(.image-manager .image-manager-filter-bar,.image-manager .image-manager-sidebar,.code-editor .code-editor-language-list,.editor-form-actions,.editor-container .editor-toolbar-main,.dropzone-landing-area,.image-manager .image-manager-filters,.editor-form-tab-controls):not(#_){background:#111113!important;border-color:rgba(255,255,255,.08)!important;color:#a1a1a1!important}
html.cb-dark body .entity-selector .entity-list-item:not(#_):hover,html.cb-dark body .code-editor .lang-options button[refs]:not(#_):hover{background:rgba(255,255,255,.05)!important}
html.cb-dark body :is(.image-manager .image-manager-filters button[aria-selected=true],.editor-form-tab-control[aria-selected=true]):not(#_){background:#2a2a2a!important;color:#fafafa!important}
html.cb-dark body :is(.code-editor .lang-options button[refs].active,.editor-form-action-primary,.popup-background .popup-footer button.button):not([disabled]):not(#_){background:#fafafa!important;border-color:#fafafa!important;color:#1c1c1c!important}
html.cb-dark body .code-editor .lang-options button[refs]:not(.active):not(#_){color:#c8c8cd!important}
/* 9 · 窄屏 */
@media (max-width: 720px){
  html body .entity-selector .entity-list-item:not(#_){padding:12px 16px!important}
  html body .image-manager .contained-search-box input:not(#_){min-width:0}
  html body .code-editor .code-editor-language-list:not(#_){width:100%!important;border-right:0!important;border-bottom:1px solid rgba(10,10,10,.08)!important}
}
/* ===== tabler149 · 编辑页头部：标题 / 固定链接 / 工具栏 同一左边线，固定链接改为主题单色风格 ===== */
/* 容器统一左右留白，标题与固定链接都从 --cb-gutter 起排 */
html body .page-editor .title-input.page-title:not(#_):not(#__){
  display:block!important;width:100%!important;max-width:none!important;margin:0!important;
  padding:22px var(--cb-gutter,24px) 14px!important;box-sizing:border-box!important;
  border-bottom:1px solid rgba(10,10,10,.06)!important;background:#fff!important;text-align:left!important
}
html body .page-editor .title-input.page-title input#name:not(#_):not(#__){
  display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
  height:auto!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;
  font-size:28px!important;font-weight:650!important;line-height:1.3!important;letter-spacing:-.01em!important;
  color:#0a0a0a!important;text-align:left!important
}
/* 固定链接：灰色小字一行，与标题左对齐 */
html body .page-editor .title-input.page-title .cb-permalink:not(#_):not(#__),
html body .cb-permalink:not(#_):not(#__){margin:8px 0 0!important;padding:0!important;font-size:13px!important;line-height:22px!important;color:var(--cb-muted)!important}
html body .cb-permalink .cb-permalink-view:not(#_){display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:6px!important}
html body .cb-permalink .cb-permalink-label:not(#_){color:var(--cb-muted)!important}
html body .cb-permalink .cb-permalink-url:not(#_){color:var(--cb-muted)!important;text-decoration:none!important;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;font-size:12px!important}
html body .cb-permalink a.cb-permalink-url:not(#_):hover{color:#1a1a1a!important}
html body .cb-permalink .cb-permalink-url strong:not(#_){color:#1a1a1a!important;font-weight:500!important}
html body .cb-permalink .cb-permalink-badge:not(#_){
  display:inline-flex!important;align-items:center!important;height:20px!important;padding:0 8px!important;
  border:1px solid rgba(10,10,10,.12)!important;border-radius:999px!important;background:#fafafa!important;
  font-size:12px!important;line-height:1!important;color:var(--cb-muted)!important;opacity:1!important
}
html body .cb-permalink .cb-permalink-badge.is-locked:not(#_){color:#15803d!important;border-color:rgba(21,128,61,.28)!important;background:rgba(21,128,61,.06)!important}
html body .cb-permalink .cb-permalink-btn:not(#_){
  display:inline-flex!important;align-items:center!important;height:22px!important;padding:0 8px!important;margin:0!important;
  border:0!important;border-radius:6px!important;background:transparent!important;
  font-size:13px!important;font-weight:500!important;color:#1a1a1a!important;text-decoration:none!important;cursor:pointer
}
html body .cb-permalink .cb-permalink-btn:not(#_):hover{background:rgba(10,10,10,.06)!important}
/* 展开编辑：控件与主题统一（32 高、8 圆角） */
html body .cb-permalink .cb-permalink-edit:not(#_){margin-top:10px!important}
html body .cb-permalink .cb-permalink-row:not(#_){gap:8px!important}
html body .cb-permalink .cb-permalink-base:not(#_){font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;font-size:12px!important;color:var(--cb-muted)!important}
html body .cb-permalink .cb-permalink-row input[type=text]:not(#_){
  height:32px!important;min-height:32px!important;padding:0 10px!important;border:1px solid rgba(10,10,10,.14)!important;border-radius:8px!important;
  background:#fff!important;box-shadow:none!important;font-size:13px!important;color:#0a0a0a!important
}
html body .cb-permalink .cb-permalink-row input[type=text]:not(#_):focus{outline:none!important;border-color:rgba(10,10,10,.4)!important;box-shadow:0 0 0 3px rgba(10,10,10,.08)!important}
html body .cb-permalink .cb-permalink-row .button.small:not(#_){height:32px!important;min-height:32px!important;padding:0 12px!important;border-radius:8px!important;font-size:13px!important}
html body .cb-permalink .cb-permalink-msg:not(#_){font-size:12px!important;margin-top:6px!important}
html body .cb-permalink .cb-permalink-help:not(#_){margin:4px 0 0!important;font-size:12px!important;line-height:1.6!important;color:var(--cb-muted)!important;opacity:1!important}
/* 工具栏：从左排起，首个图标与标题左边线对齐（按钮内边距约 7px） */
html body .page-editor .editor-container .editor-toolbar-main:not(#_):not(#__){justify-content:flex-start!important;padding-left:calc(var(--cb-gutter,24px) - 7px)!important;padding-right:calc(var(--cb-gutter,24px) - 7px)!important}
html body .page-editor .tox .tox-toolbar__primary:not(#_):not(#__){justify-content:flex-start!important;padding-left:calc(var(--cb-gutter,24px) - 12px)!important}
@media (max-width: 720px){
  html body .page-editor .title-input.page-title:not(#_):not(#__){padding:16px 12px 12px!important}
  html body .page-editor .title-input.page-title input#name:not(#_):not(#__){font-size:22px!important}
  html body .page-editor .editor-container .editor-toolbar-main:not(#_):not(#__){padding-left:5px!important;padding-right:5px!important}
}
/* 深色模式 */
html.cb-dark body .page-editor .title-input.page-title:not(#_):not(#__){background:transparent!important;border-bottom-color:rgba(255,255,255,.08)!important}
html.cb-dark body .page-editor .title-input.page-title input#name:not(#_):not(#__){color:#fafafa!important}
html.cb-dark body .cb-permalink:not(#_):not(#__),html.cb-dark body .cb-permalink .cb-permalink-url:not(#_),html.cb-dark body .cb-permalink .cb-permalink-base:not(#_){color:#a1a1a1!important}
html.cb-dark body .cb-permalink .cb-permalink-label:not(#_),html.cb-dark body .cb-permalink .cb-permalink-help:not(#_){color:#737373!important}
html.cb-dark body .cb-permalink .cb-permalink-url strong:not(#_),html.cb-dark body .cb-permalink .cb-permalink-btn:not(#_),html.cb-dark body .cb-permalink a.cb-permalink-url:not(#_):hover{color:#fafafa!important}
html.cb-dark body .cb-permalink .cb-permalink-badge:not(#_){background:rgba(255,255,255,.04)!important;border-color:rgba(255,255,255,.14)!important;color:#a1a1a1!important}
html.cb-dark body .cb-permalink .cb-permalink-badge.is-locked:not(#_){color:#4ade80!important;border-color:rgba(74,222,128,.3)!important;background:rgba(74,222,128,.08)!important}
html.cb-dark body .cb-permalink .cb-permalink-btn:not(#_):hover{background:rgba(255,255,255,.08)!important}
html.cb-dark body .cb-permalink .cb-permalink-row input[type=text]:not(#_){background:#0f0f10!important;border-color:rgba(255,255,255,.14)!important;color:#fafafa!important}
/* ===== tabler150 · 固定链接编辑态收拢 + 正文输入区（阅读宽度 / 行高 / 占位 / 工具栏吸顶） ===== */
/* 1 · 编辑态：隐藏上方预览行，只保留一行编辑 */
html body .cb-permalink:has(> .cb-permalink-edit:not([hidden])) > .cb-permalink-view:not(#_){display:none!important}
html body .cb-permalink .cb-permalink-edit:not(#_):not(#__){margin-top:0!important}
html body .cb-permalink .cb-permalink-row:not(#_):not(#__){display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:0!important;row-gap:8px!important}
html body .cb-permalink .cb-permalink-row:not(#_)::before{content:'固定链接：';margin-right:6px;color:var(--cb-muted);font-size:13px;line-height:32px}
/* 网址前缀 + 输入框 = 一个输入组 */
html body .cb-permalink .cb-permalink-base:not(#_):not(#__){
  display:inline-flex!important;align-items:center!important;height:32px!important;padding:0 10px!important;box-sizing:border-box!important;
  border:1px solid rgba(10,10,10,.14)!important;border-right:0!important;border-radius:8px 0 0 8px!important;
  background:#fafafa!important;color:var(--cb-muted)!important;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;font-size:12px!important;white-space:nowrap!important;word-break:normal!important
}
html body .cb-permalink .cb-permalink-row input[type=text]:not(#_):not(#__){
  flex:0 1 240px!important;width:240px!important;min-width:160px!important;max-width:280px!important;
  height:32px!important;min-height:32px!important;margin:0!important;padding:0 10px!important;box-sizing:border-box!important;
  border:1px solid rgba(10,10,10,.14)!important;border-radius:0 8px 8px 0!important;
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;font-size:13px!important}
html body .cb-permalink .cb-permalink-row .button.small:not(#_):not(#__){
  display:inline-flex!important;align-items:center!important;height:32px!important;min-height:32px!important;margin:0 0 0 8px!important;padding:0 12px!important;
  border-radius:8px!important;font-size:13px!important;font-weight:500!important;line-height:1!important;box-shadow:none!important
}
html body .cb-permalink .cb-permalink-row .button.small:not(.outline):not(#_):not(#__){background:#1a1a1a!important;border:1px solid #1a1a1a!important;color:#fff!important}
html body .cb-permalink .cb-permalink-row .button.small:not(.outline):not(#_):not(#__):hover{background:#000!important}
html body .cb-permalink .cb-permalink-row .button.small.outline:not(#_):not(#__){background:#fff!important;border:1px solid rgba(10,10,10,.14)!important;color:#1a1a1a!important}
html body .cb-permalink .cb-permalink-row .button.small.outline:not(#_):not(#__):hover{background:var(--cb-fill)!important}
html body .cb-permalink .cb-permalink-row .cb-permalink-btn:not(#_):not(#__){height:32px!important;margin-left:4px!important}
/* 2 · 提示：中性提示不重复显示，只保留检查结果；说明一行小字 */
html body .cb-permalink .cb-permalink-msg:not(.is-ok):not(.is-bad):not(#_){display:none!important}
html body .cb-permalink .cb-permalink-msg:is(.is-ok,.is-bad):not(#_):not(#__){min-height:0!important;margin:6px 0 0!important;font-size:12px!important;line-height:1.5!important}
html body .cb-permalink .cb-permalink-msg.is-ok:not(#_){color:#15803d!important}
html body .cb-permalink .cb-permalink-msg.is-bad:not(#_){color:#dc2626!important}
html body .cb-permalink .cb-permalink-help:not(#_):not(#__){margin:6px 0 0!important;font-size:12px!important;line-height:1.55!important;color:var(--cb-muted)!important}
/* 3 · 正文输入区 */
html body .page-editor .editor-container .editor-content-wrap:not(#_){background:#fff!important;cursor:text}
html body .page-editor .editor-container .editor-content-area:not(#_):not(#__){
  box-sizing:border-box!important;max-width:calc(var(--cb-reading,760px) + 2 * var(--cb-gutter,24px))!important;margin:0!important;
  min-height:calc(100vh - 260px)!important;padding:28px var(--cb-gutter,24px) 160px!important;
  font-size:16px!important;line-height:1.8!important;color:#1a1a1a!important;cursor:text
}
html body .page-editor .editor-container .editor-content-area > :first-child:not(#_){margin-top:0!important}
html body .page-editor .editor-container .editor-content-area p:not(#_){margin:0 0 .9em!important}
/* 空文档占位 */
html body .page-editor .editor-container .editor-content-area > p:only-child:has(> br:only-child)::before{
  content:'开始写作…';float:left;height:0;pointer-events:none;color:#b4b4bb
}
/* 4 · 工具栏吸顶 */
html body .page-editor .editor-container .editor-toolbar-main:not(#_):not(#__){position:sticky!important;top:0!important;z-index:20!important;border-bottom:1px solid rgba(10,10,10,.08)!important}
@media (max-width: 720px){
  html body .page-editor .editor-container .editor-content-area:not(#_):not(#__){padding:20px 12px 120px!important;font-size:15px!important}
  html body .cb-permalink .cb-permalink-row input[type=text]:not(#_):not(#__){flex:1 1 160px!important;max-width:none!important}
}
/* 深色模式 */
html.cb-dark body .cb-permalink .cb-permalink-base:not(#_):not(#__){background:rgba(255,255,255,.04)!important;border-color:rgba(255,255,255,.14)!important;color:#a1a1a1!important}
html.cb-dark body .cb-permalink .cb-permalink-row::before{color:#737373}
html.cb-dark body .cb-permalink .cb-permalink-row .button.small:not(.outline):not(#_):not(#__){background:#fafafa!important;border-color:#fafafa!important;color:#0a0a0a!important}
html.cb-dark body .cb-permalink .cb-permalink-row .button.small.outline:not(#_):not(#__){background:transparent!important;border-color:rgba(255,255,255,.16)!important;color:#e4e4e7!important}
html.cb-dark body .page-editor .editor-container .editor-content-wrap:not(#_){background:transparent!important}
html.cb-dark body .page-editor .editor-container .editor-content-area:not(#_):not(#__){color:#e4e4e7!important}
html.cb-dark body .page-editor .editor-container .editor-content-area > p:only-child:has(> br:only-child)::before{color:#4a4a4a}
html.cb-dark body .page-editor .editor-container .editor-toolbar-main:not(#_):not(#__){border-bottom-color:rgba(255,255,255,.08)!important}
/* ===== tabler151 · 标签行：统一为网格（手柄 / 名称 / 值 / 删除），修复溢出与双分隔线 ===== */
/* 深色模式 */
/* ==== tabler152: 编辑页顶栏与「编辑卡片 + 右侧面板」同宽同中线 ==== */
/* 原因：上游 ≥1401px 时顶栏与编辑卡片各自 max-width:1140px 各自居中；面板打开后卡片+面板整体居中，卡片左移，顶栏不动 → 错位。 */
@media screen and (min-width: 881px) {
  .page-editor .page-edit-toolbar:not(#_):not(#__),
  .page-editor .page-editor-page-area-wrap:not(#_):not(#__) {
    box-sizing: border-box;
    width: min(1528px, calc(100% - 24px));
    max-width: none;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .page-editor .page-editor-page-area-wrap:not(#_):not(#__) {
    justify-content: flex-start;
  }
  .page-editor .page-editor-page-area-wrap > .page-editor-page-area:not(#_):not(#__) {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
  }
  .page-editor .page-editor-page-area-wrap > .floating-toolbox:not(#_):not(#__) {
    flex: 0 0 auto;
  }
}
/* ==== tabler153: 编辑页细节（顶栏卡片化 / 卡片统一 / 面板标签行 / 固定链接 / 正文占位） ==== */
/* 1 · 顶栏：圆角卡片，与下方卡片留出呼吸 */
html body .page-editor .page-edit-toolbar:not(#_):not(#__){margin-top:12px!important;margin-bottom:12px!important;border:1px solid rgba(10,10,10,.08)!important;border-radius:12px!important;box-shadow:none!important;min-height:52px!important}
/* 2 · 编辑卡片与面板：同描边同圆角，间距 16 */
html body .page-editor .page-editor-page-area:not(#_):not(#__){border:1px solid rgba(10,10,10,.08)!important;border-radius:12px!important;box-shadow:none!important;overflow:hidden}
html body .page-editor .floating-toolbox:not(#_):not(#__){margin-inline-start:16px!important;border:1px solid rgba(10,10,10,.08)!important;border-radius:12px!important}
/* 3 · 面板内标签行：不溢出 */
html body .page-editor .floating-toolbox .tags:not(#_){padding:0 16px!important;box-sizing:border-box!important;max-width:100%!important}
html body .page-editor .floating-toolbox .tags > button.text-button:not(#_){margin-left:16px!important}
/* 4 · 固定链接：字号与间距 */
html body .page-editor .cb-permalink-view:not(#_){display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:10px!important;font-size:13px!important;line-height:22px!important;margin-top:6px!important}
html body .page-editor .cb-permalink-btn:not(#_){padding:0 8px!important;border-radius:6px!important}
/* 5 · 正文占位（容错写法） */
html body .page-editor .editor-content-area:not(:has(> :nth-child(2))) > p:first-child:is(:empty,:has(> br:only-child)){position:relative}
html body .page-editor .editor-content-area:not(:has(> :nth-child(2))) > p:first-child:is(:empty,:has(> br:only-child))::before,
html body .page-editor .editor-content-area:empty::before{content:'开始写作…';position:absolute;left:0;top:0;color:var(--cb-muted);pointer-events:none}
html body .page-editor .editor-content-area:empty{position:relative}
/* dark */
html.dark-mode body .page-editor :is(.page-edit-toolbar,.page-editor-page-area,.floating-toolbox):not(#_):not(#__){border-color:rgba(255,255,255,.1)!important}
html.dark-mode body .page-editor .editor-content-area > p::before{color:#737373}
/* ==== tabler154: 编辑页顶栏 + 卡片区与页头同一左右边线（--cb-frame-pad） ==== */
@media screen and (min-width: 881px) {
  html body .page-editor .page-edit-toolbar:not(#_):not(#__):not(#___),
  html body .page-editor .page-editor-page-area-wrap:not(#_):not(#__):not(#___) {
    box-sizing: border-box !important;
    width: calc(100% - 2 * var(--cb-frame-pad, 24px)) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
/* ==== tabler155: 编辑页右侧面板统一修正（标签行固定列 / 标题正文同一左边线 / 模板搜索框 / 侧栏按钮） ==== */
/* 前缀：html body .page-editor .floating-toolbox + 3 个 id 级 :not，压过 tabler135/151/153 及更早的标签行规则 */
/* 1 · 标题与正文同一左边线 20px */
html body .page-editor .floating-toolbox .toolbox-tab-content > h4:not(#_):not(#__):not(#___){margin:0!important;padding:16px 20px 12px!important}
html body .page-editor .floating-toolbox .toolbox-tab-content > .px-l:not(#_):not(#__):not(#___){padding:16px 20px!important}
html body .page-editor .floating-toolbox .tags:not(#_):not(#__):not(#___){padding:0!important;margin:0!important;max-width:100%!important;box-sizing:border-box!important}
html body .page-editor .floating-toolbox .tags > p.small:not(#_):not(#__):not(#___){margin:0 0 14px!important}
html body .page-editor .floating-toolbox .tags [component=sortable-list]:not(#_):not(#__):not(#___){padding:0!important;margin:0!important}
html body .page-editor .floating-toolbox .tags > button.text-button:not(#_):not(#__):not(#___){margin:4px 0 0 -8px!important}
/* 2 · 标签行：固定四列，每格显式定位 */
/* 3 · 模板搜索框：单层边框，图标垂直居中在左侧 */
html body .page-editor .floating-toolbox .search-box.flexible:not(#_):not(#__):not(#___){position:relative!important;display:flex!important;align-items:center!important;height:36px!important;margin:0 0 12px!important;padding:0!important;border:1px solid rgba(10,10,10,.14)!important;border-radius:8px!important;background:#fff!important;box-shadow:none!important;box-sizing:border-box!important}
html body .page-editor .floating-toolbox .search-box.flexible:not(#_):not(#__):not(#___):focus-within{border-color:rgba(10,10,10,.4)!important;box-shadow:0 0 0 3px rgba(10,10,10,.06)!important}
html body .page-editor .floating-toolbox .search-box.flexible input:not(#_):not(#__):not(#___){flex:1 1 auto!important;width:100%!important;height:34px!important;min-height:0!important;margin:0!important;padding:0 34px 0 34px!important;border:0!important;border-radius:8px!important;box-shadow:none!important;outline:none!important;background:transparent!important;font-size:14px!important}
html body .page-editor .floating-toolbox .search-box.flexible button:not(#_):not(#__):not(#___){position:absolute!important;top:50%!important;transform:translateY(-50%)!important;display:flex!important;align-items:center!important;justify-content:center!important;width:34px!important;height:34px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:var(--cb-muted)!important;line-height:0!important}
html body .page-editor .floating-toolbox .search-box.flexible button:first-of-type:not(#_):not(#__):not(#___){left:0!important;right:auto!important}
html body .page-editor .floating-toolbox .search-box.flexible button.search-box-cancel:not(#_):not(#__):not(#___){left:auto!important;right:0!important}
html body .page-editor .floating-toolbox .search-box.flexible button.search-box-cancel[style*='none']:not(#_){display:none!important}
html body .page-editor .floating-toolbox .search-box.flexible button svg:not(#_){width:16px!important;height:16px!important;margin:0!important;top:0!important}
/* 4 · 左侧图标栏：收起按钮不再常亮，选中态只有一个 */
html body .page-editor .floating-toolbox .tabs .toolbox-toggle:not(#_):not(#__):not(#___){background:transparent!important;box-shadow:none!important;border:0!important}
html body .page-editor .floating-toolbox .tabs .toolbox-toggle:not(#_):not(#__):not(#___):hover{background:rgba(10,10,10,.06)!important;color:#0a0a0a!important}
html body .page-editor .floating-toolbox .tabs .tabs-inner > button:not(#_):not(#__):not(#___){border:0!important;box-shadow:none!important;border-radius:8px!important}
html body .page-editor .floating-toolbox.open .tabs .tabs-inner > button.active:not(#_):not(#__):not(#___){background:rgba(10,10,10,.07)!important;color:#0a0a0a!important;border:0!important;box-shadow:none!important}
html body .page-editor .floating-toolbox .tabs .tabs-inner > button:after{display:none!important}
/* dark */
html.dark-mode body .page-editor .floating-toolbox .search-box.flexible:not(#_):not(#__):not(#___){background:transparent!important;border-color:rgba(255,255,255,.14)!important}
html.dark-mode body .page-editor .floating-toolbox.open .tabs .tabs-inner > button.active:not(#_):not(#__):not(#___){background:rgba(255,255,255,.08)!important;color:#f4f4f4!important}
/* 右侧书籍列表底部渐隐 */
html body #main-content main.card .entity-selector .scroll-box:not(#_){-webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(to bottom,#000 calc(100% - 28px),transparent)}
html body #entity-selector-wrap .popup-body .form-group.entity-selector-container:not(#_):not(#__){flex:1 1 auto!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
html body #entity-selector-wrap .popup-body .entity-selector:not(#_):not(#__){flex:1 1 auto!important;min-height:0!important;height:auto!important;border:0!important;border-radius:0!important;box-shadow:none!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
html body #entity-selector-wrap .popup-body .entity-selector > input[type=text]:not(#_):not(#__){flex:0 0 auto!important}
html body #entity-selector-wrap .popup-body .entity-selector [refs="entity-selector@results"]:not(#_):not(#__){flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;border:0!important;margin:0!important;padding:0!important}
/* 空状态：四周留白，圆角与弹窗一致 */
html body .popup-body .entity-selector [refs="entity-selector@results"] :is(.empty-state,p.text-muted,.text-muted.text-center):not(#_):not(#__){margin:20px!important;padding:40px 16px!important;border:1px dashed rgba(10,10,10,.12)!important;border-radius:10px!important;background:#fcfcfc!important;text-align:center!important;font-size:14px!important;color:var(--cb-muted)!important}
html body .popup-body .entity-selector .loading:not(#_):not(#__){flex:0 0 auto!important;padding:32px 0!important;border:0!important}
/* dark */
html.dark-mode body .popup-body .entity-selector [refs="entity-selector@results"] :is(.empty-state,p.text-muted,.text-muted.text-center):not(#_):not(#__){background:rgba(255,255,255,.02)!important;border-color:rgba(255,255,255,.12)!important;color:#a1a1a1!important}
/* 3. settings footer links: same grid as editor tag rows */
html body #main-content [components~="add-remove-rows"] .card.drag-card:not(.hidden):not(#_):not(#__):not(#___){display:grid!important;grid-template-columns:28px minmax(0,1fr) minmax(0,1fr) 36px!important;grid-template-rows:40px!important;gap:0!important;align-items:stretch!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;margin:0 0 8px!important;padding:0!important;box-sizing:border-box!important;border:1px solid rgba(10,10,10,.12)!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important;overflow:hidden!important}
html body #main-content [components~="add-remove-rows"] .card.drag-card > *:not(#_):not(#__):not(#___){margin:0!important;min-width:0!important;max-width:none!important;width:auto!important;height:auto!important;flex:none!important;float:none!important;box-sizing:border-box!important}
html body #main-content [components~="add-remove-rows"] .card.drag-card > .handle:not(#_):not(#__):not(#___){grid-column:1!important;grid-row:1!important;position:static!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;border:0!important;border-right:1px solid rgba(10,10,10,.06)!important;background:#fafafa!important;color:var(--cb-muted)!important;cursor:grab}
html body #main-content [components~="add-remove-rows"] .card.drag-card > .handle svg:not(#_){width:14px!important;height:14px!important;margin:0!important;top:0!important}
html body #main-content [components~="add-remove-rows"] .card.drag-card > .outline:not(#_):not(#__):not(#___){grid-row:1!important;position:relative!important;display:block!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}
html body #main-content [components~="add-remove-rows"] .card.drag-card > .outline:nth-child(2):not(#_):not(#__):not(#___){grid-column:2!important}
html body #main-content [components~="add-remove-rows"] .card.drag-card > .outline:nth-child(3):not(#_):not(#__):not(#___){grid-column:3!important;border-left:1px solid rgba(10,10,10,.06)!important}
html body #main-content [components~="add-remove-rows"] .card.drag-card > .outline input:not(#_):not(#__):not(#___){display:block!important;width:100%!important;min-width:0!important;height:40px!important;margin:0!important;padding:0 12px!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline:none!important;background:transparent!important;font-size:14px!important;line-height:40px!important;text-align:left!important;color:#1a1a1a!important;box-sizing:border-box!important}
html body #main-content [components~="add-remove-rows"] .card.drag-card > .outline input::placeholder{color:#a3a3a3!important;opacity:1}
html body #main-content [components~="add-remove-rows"] .card.drag-card > .outline input:not(#_):not(#__):not(#___):focus{background:rgba(10,10,10,.03)!important}
html body #main-content [components~="add-remove-rows"] .card.drag-card > .drag-card-action:not(#_):not(#__):not(#___){grid-column:4!important;grid-row:1!important;display:flex!important;visibility:visible!important;align-items:center!important;justify-content:center!important;padding:0!important;border:0!important;border-left:1px solid rgba(10,10,10,.06)!important;border-radius:0!important;background:transparent!important;color:var(--cb-muted)!important;cursor:pointer}
html body #main-content [components~="add-remove-rows"] .card.drag-card > .drag-card-action:not(#_):not(#__):not(#___):hover{background:#fef2f2!important;color:#dc2626!important}
html body #main-content [components~="add-remove-rows"] .card.drag-card > .drag-card-action svg:not(#_){width:14px!important;height:14px!important;margin:0!important;top:0!important}
/* 5. settings code editor (custom head etc.): neutral gutter and active line */
html body #main-content .content-wrap .cm-editor:not(#_){border-radius:10px!important;overflow:hidden!important;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace!important;font-size:13px!important}
html body #main-content .content-wrap .cm-editor .cm-gutters:not(#_){background:#fafafa!important;border-right:1px solid rgba(10,10,10,.06)!important;color:var(--cb-muted)!important}
html body #main-content .content-wrap .cm-editor :is(.cm-activeLine,.cm-activeLineGutter):not(#_){background:rgba(10,10,10,.03)!important}
html body #main-content .content-wrap .cm-editor.cm-focused:not(#_){outline:none!important}
html.dark-mode body #main-content [components~="add-remove-rows"] .card.drag-card:not(.hidden):not(#_):not(#__):not(#___){background:transparent!important;border-color:rgba(255,255,255,.12)!important}
html.dark-mode body #main-content [components~="add-remove-rows"] .card.drag-card > .handle:not(#_):not(#__):not(#___){background:rgba(255,255,255,.03)!important;border-right-color:rgba(255,255,255,.08)!important}
html.dark-mode body #main-content [components~="add-remove-rows"] .card.drag-card > :is(.outline:nth-child(3),.drag-card-action):not(#_):not(#__):not(#___){border-left-color:rgba(255,255,255,.08)!important}
html.dark-mode body #main-content [components~="add-remove-rows"] .card.drag-card > .outline input:not(#_):not(#__):not(#___){color:#e4e4e7!important}
html body #entity-selector-wrap .popup-body .entity-selector [refs="entity-selector@results"]:not(#_):not(#__):not(#___){display:block!important;flex:1 1 0!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain}
/* tabler160: settings add-remove-rows drag cards - one source of truth, independent of #main-content; neutralize upstream padding-left:40px, absolute handle, 80% max-width, theme flex rule, pseudo elements */
html body [components~="add-remove-rows"] .card.drag-card:not(.hidden):not(#_):not(#__):not(#___):not(#____){position:relative!important;display:grid!important;grid-template-columns:32px minmax(0,1fr) minmax(0,1fr) 40px!important;grid-template-rows:40px!important;grid-auto-flow:column!important;gap:0!important;align-items:stretch!important;justify-items:stretch!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;margin:0 0 8px!important;padding:0!important;padding-inline:0!important;box-sizing:border-box!important;border:1px solid rgba(10,10,10,.12)!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important;overflow:hidden!important}
html body [components~="add-remove-rows"] .card.drag-card::before,html body [components~="add-remove-rows"] .card.drag-card::after{content:none!important;display:none!important}
html body [components~="add-remove-rows"] .card.drag-card:not(#_):not(#__):not(#___):not(#____):hover{border-color:rgba(10,10,10,.2)!important}
html body [components~="add-remove-rows"] .card.drag-card > *:not(#_):not(#__):not(#___):not(#____){position:static!important;inset:auto!important;left:auto!important;top:auto!important;bottom:auto!important;margin:0!important;min-width:0!important;max-width:none!important;width:auto!important;height:auto!important;flex:none!important;float:none!important;box-sizing:border-box!important}
html body [components~="add-remove-rows"] .card.drag-card > .handle:not(#_):not(#__):not(#___):not(#____){grid-column:1!important;grid-row:1!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;border:0!important;border-right:1px solid rgba(10,10,10,.06)!important;border-radius:0!important;background:#fafafa!important;color:var(--cb-muted)!important;cursor:grab}
html body [components~="add-remove-rows"] .card.drag-card > .handle:not(#_):not(#__):not(#___):not(#____):hover{background:var(--cb-fill)!important;color:#4a4a4a!important}
html body [components~="add-remove-rows"] .card.drag-card > :is(.handle,.drag-card-action) :is(svg,.svg-icon):not(#_):not(#__){width:14px!important;height:14px!important;margin:0!important;margin-inline-end:0!important;top:0!important;fill:currentColor!important}
html body [components~="add-remove-rows"] .card.drag-card > .outline:not(#_):not(#__):not(#___):not(#____){grid-row:1!important;position:relative!important;display:block!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}
html body [components~="add-remove-rows"] .card.drag-card > .outline:nth-child(2):not(#_):not(#__):not(#___):not(#____){grid-column:2!important}
html body [components~="add-remove-rows"] .card.drag-card > .outline:nth-child(3):not(#_):not(#__):not(#___):not(#____){grid-column:3!important;border-left:1px solid rgba(10,10,10,.06)!important}
html body [components~="add-remove-rows"] .card.drag-card > .outline input:not(#_):not(#__):not(#___):not(#____){display:block!important;width:100%!important;min-width:0!important;max-width:none!important;height:40px!important;margin:0!important;padding:0 12px!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline:none!important;background:transparent!important;font-size:14px!important;line-height:40px!important;text-align:left!important;color:#1a1a1a!important;box-sizing:border-box!important}
html body [components~="add-remove-rows"] .card.drag-card > .outline input::placeholder{color:#a3a3a3!important;opacity:1}
html body [components~="add-remove-rows"] .card.drag-card > .outline input:not(#_):not(#__):not(#___):not(#____):focus{background:rgba(10,10,10,.03)!important}
html body [components~="add-remove-rows"] .card.drag-card > .drag-card-action:not(#_):not(#__):not(#___):not(#____){grid-column:4!important;grid-row:1!important;display:flex!important;visibility:visible!important;align-items:center!important;justify-content:center!important;padding:0!important;border:0!important;border-left:1px solid rgba(10,10,10,.06)!important;border-radius:0!important;background:transparent!important;color:var(--cb-muted)!important;cursor:pointer}
html body [components~="add-remove-rows"] .card.drag-card > .drag-card-action:not(#_):not(#__):not(#___):not(#____):hover{background:#fef2f2!important;color:#dc2626!important}
/* dark */
html.dark-mode body [components~="add-remove-rows"] .card.drag-card:not(.hidden):not(#_):not(#__):not(#___):not(#____){background:transparent!important;border-color:rgba(255,255,255,.12)!important}
html.dark-mode body [components~="add-remove-rows"] .card.drag-card > .handle:not(#_):not(#__):not(#___):not(#____){background:rgba(255,255,255,.03)!important;border-right-color:rgba(255,255,255,.08)!important;color:#737373!important}
html.dark-mode body [components~="add-remove-rows"] .card.drag-card > :is(.outline:nth-child(3),.drag-card-action):not(#_):not(#__):not(#___):not(#____){border-left-color:rgba(255,255,255,.08)!important}
html.dark-mode body [components~="add-remove-rows"] .card.drag-card > .outline input:not(#_):not(#__):not(#___):not(#____){color:#e4e4e7!important}
/* tabler161: audit log filters grid, list toolbar (pagination + sort) alignment, column ratio parity, icon-link gap */
/* 1. audit filters: 5 equal columns, full row */
html body #main-content > .container .card > form[action$="/settings/audit"]:not(#_):not(#__):not(#___){display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px 16px!important;align-items:end!important;margin:16px 0 4px!important}
html body #main-content > .container .card > form[action$="/settings/audit"] > div:not(#_):not(#__):not(#___){display:flex!important;flex-direction:column!important;gap:6px!important;min-width:0!important;width:auto!important;max-width:none!important;margin:0!important;padding:0!important}
html body #main-content > .container .card > form[action$="/settings/audit"] > div > label:not(#_):not(#__):not(#___){display:block!important;margin:0!important;padding:0!important;font-size:13px!important;line-height:18px!important;font-weight:500!important;color:var(--cb-muted)!important}
html body #main-content > .container .card > form[action$="/settings/audit"] :is(input[type=date],input[type=text],button.input-base,.dropdown-search-toggle-select):not(#_):not(#__):not(#___){display:flex!important;align-items:center!important;width:100%!important;min-width:0!important;max-width:none!important;height:36px!important;margin:0!important;padding:0 10px!important;border:1px solid rgba(10,10,10,.12)!important;border-radius:8px!important;background:#fff!important;box-shadow:none!important;font-size:14px!important;line-height:34px!important;color:#1a1a1a!important;text-align:left!important;box-sizing:border-box!important}
html body #main-content > .container .card > form[action$="/settings/audit"] button.input-base:not(#_):not(#__):not(#___){padding-right:30px!important;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important}
html body #main-content > .container .card > form[action$="/settings/audit"] input[type=date]:not(#_):not(#__):not(#___){font-variant-numeric:tabular-nums;color:#3a3a3a!important}
html body #main-content > .container .card > form[action$="/settings/audit"] input[type=date]::-webkit-datetime-edit{padding:0}
html body #main-content > .container .card > form[action$="/settings/audit"] input[type=date]::-webkit-calendar-picker-indicator{opacity:.45;cursor:pointer;margin:0}
html body #main-content > .container .card > form[action$="/settings/audit"] input[type=date]::-webkit-calendar-picker-indicator:hover{opacity:.8}
html body #main-content > .container .card > form[action$="/settings/audit"] :is(input,button.input-base):not(#_):not(#__):not(#___):focus{border-color:rgba(10,10,10,.32)!important;box-shadow:0 0 0 3px rgba(10,10,10,.06)!important;outline:none!important}
html body #main-content > .container .card > form[action$="/settings/audit"] .dropdown-container > .dropdown-menu:not(#_){min-width:100%!important}
@media (max-width:900px){html body #main-content > .container .card > form[action$="/settings/audit"]:not(#_):not(#__):not(#___){grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:560px){html body #main-content > .container .card > form[action$="/settings/audit"]:not(#_):not(#__):not(#___){grid-template-columns:minmax(0,1fr)!important}}
/* dark */
html.dark-mode body #main-content > .container .card > form[action$="/settings/audit"] :is(input[type=date],input[type=text],button.input-base,.dropdown-search-toggle-select):not(#_):not(#__):not(#___){background-color:transparent!important;border-color:rgba(255,255,255,.12)!important;color:#e4e4e7!important}
html.dark-mode body #main-content > .container .card > form[action$="/settings/audit"] input[type=date]::-webkit-calendar-picker-indicator{filter:invert(1)}
/* 6. page tags panel: fixed 4-column rows, equal widths for empty rows */
html body [component='tag-manager'] .drag-card:not(#_):not(#__){display:grid!important;grid-template-columns:28px minmax(0,1fr) minmax(0,1.15fr) 36px!important;align-items:stretch!important;height:44px!important;margin:0 0 8px!important;padding:0!important;border:1px solid rgba(10,10,10,.1)!important;border-radius:10px!important;background:#ffffff!important;box-shadow:none!important}
html body [component='tag-manager'] .drag-card > .handle:not(#_):not(#__){grid-column:1;display:flex!important;align-items:center!important;justify-content:center!important;width:auto!important;padding:0!important;margin:0!important;color:var(--cb-muted);cursor:grab}
html body [component='tag-manager'] .drag-card > .handle svg:not(#_){width:14px!important;height:14px!important;margin:0!important;top:0!important}
html body [component='tag-manager'] .drag-card > .outline:not(#_):not(#__){position:relative;min-width:0!important;width:auto!important;margin:0!important;border:0!important;border-left:1px solid rgba(10,10,10,.08)!important;border-radius:0!important}
html body [component='tag-manager'] .drag-card > .outline input:not(#_):not(#__):not(#___){width:100%!important;height:100%!important;min-width:0!important;margin:0!important;padding:0 10px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font-size:14px!important;text-overflow:ellipsis}
html body [component='tag-manager'] .drag-card > .drag-card-action:not(#_):not(#__){grid-column:4;display:flex!important;align-items:center!important;justify-content:center!important;width:auto!important;height:100%!important;padding:0!important;margin:0!important;border:0!important;border-left:1px solid rgba(10,10,10,.08)!important;border-radius:0 8px 8px 0!important;background:transparent!important;color:var(--cb-muted)!important}
html body [component='tag-manager'] .drag-card > .drag-card-action svg:not(#_){width:16px!important;height:16px!important;margin:0!important;top:0!important}
html body [component='tag-manager'] .drag-card > .drag-card-action:hover:not(#_):not(#__){color:#dc2626!important;background:rgba(220,38,38,.06)!important}
html body [component='tag-manager'] .drag-card:focus-within:not(#_):not(#__){border-color:rgba(10,10,10,.3)!important;box-shadow:0 0 0 3px rgba(10,10,10,.05)!important}
html:is(.dark-mode,.cb-dark) body [component='tag-manager'] .drag-card:not(#_):not(#__){background:transparent!important;border-color:rgba(255,255,255,.12)!important}
html:is(.dark-mode,.cb-dark) body [component='tag-manager'] .drag-card > :is(.outline,.drag-card-action):not(#_):not(#__){border-left-color:rgba(255,255,255,.08)!important}
html:is(.dark-mode,.cb-dark) body [component='tag-manager'] .drag-card > .outline input:not(#_):not(#__):not(#___){color:#e4e4e7!important}
html:is(.dark-mode,.cb-dark) body [component='tag-manager'] .drag-card:focus-within:not(#_):not(#__){border-color:rgba(255,255,255,.28)!important;box-shadow:0 0 0 3px rgba(255,255,255,.05)!important}
/* ===== cb-tabler174: 标签行统一重写（旧的 .tags drag-card 规则已清理） ===== */
html body :is(.page-editor,#main-content,.popup-body,.floating-toolbox) .tags .card.drag-card.hidden:not(#_):not(#__):not(#___){display:none!important}
html body :is(.page-editor,#main-content,.popup-body,.floating-toolbox) .tags .card.drag-card:not(.hidden):not(#_):not(#__):not(#___){display:grid!important;grid-template-columns:28px minmax(0,1fr) minmax(0,1fr) 36px!important;align-items:stretch!important;gap:0!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;margin:0 0 8px!important;padding:0!important;overflow:hidden!important;border:1px solid rgba(10,10,10,.1)!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important}
html body :is(.page-editor,#main-content,.popup-body,.floating-toolbox) .tags .card.drag-card:not(.hidden):not(#_):not(#__):not(#___):hover{border-color:rgba(10,10,10,.18)!important}
html body :is(.page-editor,#main-content,.popup-body,.floating-toolbox) .tags .card.drag-card > .handle:not(#_):not(#__):not(#___){position:static!important;display:flex!important;align-items:center!important;justify-content:center!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;background:#fafafa!important;border:0!important;border-right:1px solid rgba(10,10,10,.06)!important;color:#c4c4cc!important;cursor:grab}
html body :is(.page-editor,#main-content,.popup-body,.floating-toolbox) .tags .card.drag-card :is(.handle,.drag-card-action) svg:not(#_):not(#__):not(#___){width:14px!important;height:14px!important;margin:0!important;top:0!important}
html body :is(.page-editor,#main-content,.popup-body,.floating-toolbox) .tags .card.drag-card .drag-card-divider:not(#_):not(#__):not(#___){display:none!important}
html body :is(.page-editor,#main-content,.popup-body,.floating-toolbox) .tags .card.drag-card > .outline:not(#_):not(#__):not(#___){position:relative!important;display:block!important;flex:none!important;width:auto!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}
html body :is(.page-editor,#main-content,.popup-body,.floating-toolbox) .tags .card.drag-card > .outline + .outline:not(#_):not(#__):not(#___){border-left:1px solid rgba(10,10,10,.06)!important}
html body :is(.page-editor,#main-content,.popup-body,.floating-toolbox) .tags .card.drag-card > .outline input:not(#_):not(#__):not(#___){display:block!important;width:100%!important;min-width:0!important;height:40px!important;min-height:40px!important;margin:0!important;padding:0 12px!important;box-sizing:border-box!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;font-size:14px!important;color:#1a1a1a!important}
html body :is(.page-editor,#main-content,.popup-body,.floating-toolbox) .tags .card.drag-card > .outline input:not(#_):not(#__):not(#___):focus{outline:none!important;background:rgba(10,10,10,.03)!important}
html body :is(.page-editor,#main-content,.popup-body,.floating-toolbox) .tags .card.drag-card > .outline input::placeholder{color:#a3a3a3!important}
html body :is(.page-editor,#main-content,.popup-body,.floating-toolbox) .tags .card.drag-card > .drag-card-action:not(#_):not(#__):not(#___){display:flex!important;align-items:center!important;justify-content:center!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;border-left:1px solid rgba(10,10,10,.06)!important;border-radius:0!important;background:transparent!important;color:var(--cb-muted)!important}
html body :is(.page-editor,#main-content,.popup-body,.floating-toolbox) .tags .card.drag-card > .drag-card-action:not(#_):not(#__):not(#___):hover{background:#fef2f2!important;color:#dc2626!important}
html body :is(.page-editor,#main-content,.popup-body,.floating-toolbox) .tags .suggestion-box:not(#_){z-index:30!important}
html body :is(.page-editor,#main-content,.popup-body,.floating-toolbox) .tags > button.text-button:not(#_):not(#__){margin:4px 0 0!important}
html body .floating-toolbox .tags .card.drag-card:not(.hidden):not(#_):not(#__):not(#___){grid-template-columns:24px minmax(0,1fr) minmax(0,1fr) 32px!important}
html body .floating-toolbox .tags .card.drag-card > .outline input:not(#_):not(#__):not(#___){height:36px!important;min-height:36px!important;padding:0 10px!important}
@media (max-width:600px){html body :is(.page-editor,#main-content,.popup-body,.floating-toolbox) .tags .card.drag-card:not(.hidden):not(#_):not(#__):not(#___){grid-template-columns:24px minmax(0,1fr) minmax(0,1fr) 32px!important}}
html.cb-dark body :is(.page-editor,#main-content,.popup-body,.floating-toolbox) .tags .card.drag-card:not(.hidden):not(#_):not(#__):not(#___){background:#1c1c1c!important;border-color:rgba(255,255,255,.1)!important}
html.cb-dark body :is(.page-editor,#main-content,.popup-body,.floating-toolbox) .tags .card.drag-card:not(.hidden):not(#_):not(#__):not(#___):hover{border-color:rgba(255,255,255,.18)!important}
html.cb-dark body :is(.page-editor,#main-content,.popup-body,.floating-toolbox) .tags .card.drag-card > .handle:not(#_):not(#__):not(#___){background:#1f1f22!important;border-right-color:rgba(255,255,255,.08)!important;color:#737373!important}
html.cb-dark body :is(.page-editor,#main-content,.popup-body,.floating-toolbox) .tags .card.drag-card > .outline + .outline:not(#_):not(#__):not(#___){border-left-color:rgba(255,255,255,.08)!important}
html.cb-dark body :is(.page-editor,#main-content,.popup-body,.floating-toolbox) .tags .card.drag-card > .outline input:not(#_):not(#__):not(#___){color:#e4e4e7!important;background:transparent!important}
html.cb-dark body :is(.page-editor,#main-content,.popup-body,.floating-toolbox) .tags .card.drag-card > .outline input:not(#_):not(#__):not(#___):focus{background:rgba(255,255,255,.04)!important}
html.cb-dark body :is(.page-editor,#main-content,.popup-body,.floating-toolbox) .tags .card.drag-card > .outline input::placeholder{color:#737373!important}
html.cb-dark body :is(.page-editor,#main-content,.popup-body,.floating-toolbox) .tags .card.drag-card > .drag-card-action:not(#_):not(#__):not(#___){border-left-color:rgba(255,255,255,.08)!important;color:#737373!important;background:transparent!important}
html.cb-dark body :is(.page-editor,#main-content,.popup-body,.floating-toolbox) .tags .card.drag-card > .drag-card-action:not(#_):not(#__):not(#___):hover{background:rgba(239,68,68,.12)!important;color:#f87171!important}
/* ===== cb-tabler175: 图片选择区拖放上传 ===== */
html body .image-picker[data-cb-drop]{position:relative;border-radius:var(--cb-radius-md,10px);transition:background-color .15s,box-shadow .15s}
html body .image-picker[data-cb-drop].cb-drop-on{background:rgba(10,10,10,.03)!important;box-shadow:0 0 0 2px rgba(10,10,10,.28) inset!important;outline:1px dashed rgba(10,10,10,.35);outline-offset:-8px}
html body .image-picker[data-cb-drop].cb-drop-on *{pointer-events:none}
html body .image-picker[data-cb-drop].cb-drop-bad{box-shadow:0 0 0 2px rgba(220,38,38,.5) inset!important}
html body .image-picker .cb-drop-hint{margin:6px 0 2px;font-size:12px;line-height:1.4;color:var(--cb-muted)}
html.cb-dark body .image-picker[data-cb-drop].cb-drop-on{background:rgba(255,255,255,.04)!important;box-shadow:0 0 0 2px rgba(255,255,255,.3) inset!important;outline-color:rgba(255,255,255,.35)}
html.cb-dark body .image-picker .cb-drop-hint{color:#8b8b93}
/* 4. 页脚链接拖动手柄（深色规则优先级须高于 4 级 :not 的浅色规则） */
html.cb-dark body [components~="add-remove-rows"] .card.drag-card > .handle:not(#_):not(#__):not(#___):not(#____):not(#_____){background:rgba(255,255,255,.03)!important;color:#737373!important;border-right-color:rgba(255,255,255,.08)!important}
html.cb-dark body [components~="add-remove-rows"] .card.drag-card > .handle:not(#_):not(#__):not(#___):not(#____):not(#_____):hover{background:rgba(255,255,255,.07)!important;color:#c8c8cd!important}
html body #main-content [components~='add-remove-rows'] .card.drag-card:not(.hidden):not(#_):not(#__):not(#___):not(#____){padding:0!important;grid-template-columns:32px minmax(0,1fr) minmax(0,1.6fr) 40px!important;grid-template-rows:auto!important;min-height:42px;max-width:none!important}
html body #main-content [components~='add-remove-rows'] .card.drag-card:not(.hidden) > .handle:not(#_):not(#__):not(#___):not(#____){position:static!important;width:auto!important;padding:0!important;justify-content:center!important}
html body #main-content [components~='add-remove-rows'] .card.drag-card:not(.hidden) > .outline:not(#_):not(#__):not(#___):not(#____){max-width:none!important;padding:0!important;display:flex!important;align-items:center!important;border-left:1px solid rgba(10,10,10,.08)!important}
html body #main-content [components~='add-remove-rows'] .card.drag-card:not(.hidden) > .outline:first-of-type:not(#_):not(#__):not(#___):not(#____){border-left:0!important}
html body #main-content [components~='add-remove-rows'] .card.drag-card:not(.hidden) > .outline input:not(#_):not(#__):not(#___):not(#____){margin:0!important;width:100%!important;height:40px!important;padding:0 12px!important;font-size:14px!important}
html body #main-content [components~='add-remove-rows'] .card.drag-card:not(.hidden) > .drag-card-action:not(#_):not(#__):not(#___):not(#____){width:auto!important;padding:0!important}
html.cb-dark body #main-content [components~='add-remove-rows'] .card.drag-card:not(.hidden) > .outline:not(#_):not(#__):not(#___):not(#____){border-left-color:rgba(255,255,255,.08)!important}
html.cb-dark body #main-content [components~='add-remove-rows'] .card.drag-card:not(.hidden) > .outline:first-of-type:not(#_):not(#__):not(#___):not(#____){border-left:0!important}
html.cb-dark body #main-content [components~='add-remove-rows'] .card.drag-card:not(.hidden) > .handle:not(#_):not(#__):not(#___):not(#____){background:rgba(255,255,255,.03)!important;border-right-color:rgba(255,255,255,.08)!important;color:#737373!important}
/* /cb-tabler183 */
/* cb-tabler184: footer-link model row stays hidden; colour picker swatch left of label */
html body :is(#main-content,.page-editor,.popup-body) .card.drag-card.hidden:not(#_):not(#__):not(#___):not(#____):not(#_____){display:none!important}
/* /cb-tabler184 */
/* tabler185: dropdowns open beside their toggle instead of covering it (BookStack's dropdown.js writes inline top:0 / bottom:0, so key off its direction); hide BookStack's own dark-mode item (theme has its own header toggle) */
html body header#header .dropdown-container,html body #export-menu{position:relative}
html body header#header .dropdown-container .dropdown-menu,html body #export-menu .dropdown-menu{margin:0!important}
html body #export-menu .dropdown-menu[style*="bottom: initial"]:not([style*="position: fixed"]){top:calc(100% + 6px)!important}
html body header#header .dropdown-container .dropdown-menu[style*="top: initial"]:not([style*="position: fixed"]),html body #export-menu .dropdown-menu[style*="top: initial"]:not([style*="position: fixed"]){bottom:calc(100% + 6px)!important}
html body #export-menu .dropdown-menu[style*="top: initial"]{transform-origin:bottom right}
/* /cb-tabler185 */
/* tabler186: tag rows must not clip or mis-place their autosuggest list. Root causes: tabler182-184 card overflow:hidden!important trapped .suggestion-box; tabler184 .outline display:flex centred the absolutely positioned list (top:auto) over the input. */
html body [components~="add-remove-rows"].tags .card.drag-card:not(.hidden):not(#_):not(#__):not(#___):not(#____):not(#_____){overflow:visible!important}
html body [components~="add-remove-rows"].tags .card.drag-card:not(.hidden):focus-within:not(#_):not(#__):not(#___):not(#____):not(#_____){z-index:5!important}
html body [components~="add-remove-rows"].tags .card.drag-card:not(.hidden) > .handle:not(#_):not(#__):not(#___):not(#____):not(#_____){border-radius:8px 0 0 8px!important}
html body [components~="add-remove-rows"].tags .card.drag-card:not(.hidden) > .drag-card-action:not(#_):not(#__):not(#___):not(#____):not(#_____){border-radius:0 8px 8px 0!important}
html body [components~="add-remove-rows"].tags .card.drag-card:not(.hidden) > .outline > .suggestion-box:not(#_):not(#__):not(#___):not(#____):not(#_____){top:calc(100% + 4px)!important;bottom:auto!important;left:0!important;margin:0!important}
/* M2 去掉毛玻璃后用纯色底 */
html body .cb-home-eyebrow:not(#_):not(#__),html body .cb-hero-panel:not(#_):not(#__),html body .image-manager .image-manager-filter-bar:not(#_):not(#__){background:#fff!important}
/* /cb-tabler188 */
/* cb-tabler189b：个人资料「从 Cravatar 刷新」和「重置」一组放同一行（中间灰色圆点），同样式；中文字重 400，组内不折行，不超出栏宽 */
html body #main-content .setting-list .grid.half > div:has(> .image-picker){min-width:0}
html body #main-content .image-picker > .grid.half > div:last-child{max-width:100%;min-width:0}
html body #main-content .image-picker button.text-button:not(#_){font-weight:400!important;white-space:nowrap}
html body #main-content .image-picker .cb-picker-links{display:inline-flex;align-items:center;gap:2px;white-space:nowrap}
html body #main-content .image-picker .cb-picker-dot{color:var(--cb-muted);font-size:13px;line-height:1}
/* 8 图片管理「警告」条：去掉左边 3px 橙线（不许有彩色边线），只用暖底 + 字重 500 表达 */
html.cb-dark body .image-manager .image-manager-warning:not(#_):not(#__){border:0!important;background:color-mix(in srgb,#e8923a 12%,#1c1c1c)!important;color:#e8923a!important}
html.cb-dark body :is(.list-sort .dropdown-menu,#export-menu .dropdown-menu,header#header .dropdown-container .dropdown-menu,.cb-rset-panel):not(#_):not(#__){box-shadow:0 0 10px rgba(0,0,0,.35),0 0 0 1px rgba(255,255,255,.08)!important}
/* 不用品牌字体：输入框、编辑器、评论正文、搜索结果摘要 */
html body :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=reset]),textarea,select,[contenteditable=true],.cm-editor,.cm-editor *,.CodeMirror,.CodeMirror *,.cb-sr-excerpt,.cb-sr-excerpt *,.pc-cooked,.pc-cooked *):not(#_):not(#__):not(#___){font-family:var(--cb-font-ui-plain)!important}
