/* 字体尺寸系统 */
:root {
  --text-xs: 11px;   /* 最小文字 */
  --text-sm: 12px;   /* 小号工具栏文字 */
  --text-md: 13px;   /* 中等常规文字 */
}

*{margin:0;padding:0;list-style:none;word-break:break-all;-webkit-box-sizing:border-box;box-sizing:border-box}html,body{
  margin:0;
  padding:0;
  width:100%;
  height:100%;
  color: var(--md-sys-color-on-background, #9e9e9e) !important;
  /* 使用主题变量控制背景颜色，回退为白色 */
  background-color: var(--md-sys-color-background, #ffffff) !important;
}html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{font-size:var(--text-md);font-weight:400;line-height:1.5;font-style:normal;font-family:adobe-clean,"Source Sans Pro",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}a{color:#1a8dff;text-decoration:none !important}a:hover{color:#0080ff}.btn-check:focus+.btn,.btn:focus,.form-select,.form-control{-webkit-box-shadow:none !important;box-shadow:none !important}.site-container{display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden;position:relative}.site-header{
  width:38px;
  height:100%;
  position:fixed;
  min-height:100vh;
  color: var(--md-sys-color-on-surface, #b4b4b4) !important;
  /* 侧栏使用 surface 变量，保持与主题一致 */
  background-color: var(--md-sys-color-surface, #ffffff) !important;
}.user-box{display:none;position:relative;border-bottom:2px solid #494949}.user-box .user-info{padding:5px}.user-box .user-info .user-btn{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#efefef;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.user-box .user-info .user-btn .avatar{width:38px;height:38px;display:-webkit-box;display:-ms-flexbox;display:flex;font-size:26px;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.user-box .user-info .user-btn .avatar>img{float:left;border-radius:100%}.user-box .user-info .user-btn .user-text{display:none;overflow:hidden;max-width:144px;white-space:nowrap;text-overflow:ellipsis}.user-box .user-info .user-btn:hover .user-text{color:#0080ff}.categories-header .header{height:52px;display:-webkit-box;display:-ms-flexbox;display:flex;padding:0 10px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#efefef;border-bottom:2px solid #494949}.categories-header .header .one{font-size:18px;cursor:pointer}.categories-header .header .two{
  display:none;
  /* 原为 cursor:pointer; 改为不可点击且禁用事件 */
  cursor: default;
  pointer-events: none;
  font-size:18px;
  margin-left:auto
}.categories-header .header .categories-name{display:none;margin:0 12px}.categories-nav{display:none;padding:0 10px}.categories-nav .total{margin:0;padding:0;list-style:none}.categories-nav .total>li a{
  /* 统一菜单文字为主题 surface 上的前景色（黑色回退） */
  color: var(--md-sys-color-on-surface, #111) !important;
  display:-webkit-box;display:-ms-flexbox;display:flex;margin:.2rem;border-radius:3px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-decoration:none;padding:8px 15px 8px 14px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;
  font-size: var(--text-sm);
}.categories-nav .total>li a .count{opacity:.8;font-size:var(--text-xs)}.categories-nav .total>li a:hover{
  color: var(--md-sys-color-on-surface, #111) !important;
  background-color: rgba(0,0,0,0.04) !important;
}.categories-nav .total>li.active a{color:#eee;background-color:#4d4d4d}.categories-nav .total>hr{border:0;padding:0;margin:0 .5rem;border-top:2px solid #494949}.categories{margin:0;padding:0;list-style:none}.categories ul{margin:0;padding:0;list-style:none}.categories li a{display:-webkit-box;display:-ms-flexbox;display:flex;margin:.2rem;border-radius:3px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-decoration:none;padding:8px 15px 8px 14px;color:#efefef;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;font-size:var(--text-sm)}.categories li a .icon{width:21px;color:#eee;display:block;padding-top:1px;text-align:center;-webkit-transform:rotate(0);transform:rotate(0)}.categories li a .icon>i{font-size:18px}.categories li a .icon.active{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.categories li a .label{-webkit-box-flex:2;-ms-flex-positive:2;flex-grow:2;display:-webkit-box;display:-ms-flexbox;display:flex}.categories li a .count{opacity:.8;font-size:var(--text-xs)}.categories li a:hover{color:#eee;background-color:#4d4d4d}.categories li.current-cat>a{color:#eee;background-color:#4d4d4d}.categories li.current-cat-ancestor ul.children{display:block}.categories ul.children{display:none}.categories ul.children li a{padding-left:2.4rem}.categories ul.children ul a{padding-left:3.4rem}.categories ul.children ul ul a{padding-left:4.4rem}.categories-footer{left:0;bottom:0;z-index:99;width:38px;height:42px;padding:8px;position:fixed;text-align:center;background-color:#2c2c2c;border-top:2px solid #494949}.categories-footer .logo{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.categories-footer .logo img{width:100%}.categories-footer .logo .site-title{display:none;font-size:18px;color:#efefef}.categories-footer .logo-full{display:none}.site-main{height:100%;padding:15px;overflow:auto;margin-left:38px;width:calc(100% - 38px)}.main-header{position:relative;padding:0 0 20px 0;border-bottom:1px solid #494949}.main-header .main-loading{left:0;width:0;height:1px;content:"";bottom:-1px;position:absolute;-webkit-transition:width .3s;transition:width .3s;background-color:#1a8dff}.item-box{
  padding:0px;
  border-radius:3px;
  margin-bottom:12px;
  color: var(--md-sys-color-on-surface, #111) !important;
  /* 使用 surface 变量（回退白色），注意主题中已对 .item-box 做了白色覆盖，保底在这里也使用变量 */
  background-color: var(--md-sys-color-surface, #ffffff) !important;
}.item-box .title{font-size:var(--text-md);margin:0 0 10px 0;font-weight:normal;padding-bottom:10px;border-bottom:1px solid #494949}.item-box .meta{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.item-box .meta>span{color:#aaa;margin-right:20px;font-size:var(--text-xs)}.item-box .meta>span:last-child{margin-right:0}.item-box .actions{display:-webkit-box;display:-ms-flexbox;display:flex;padding:15px 0 0 0;-ms-flex-wrap:wrap;flex-wrap:wrap}.item-box .actions .btn{margin:0 15px 15px 0;font-size:var(--text-sm)}.item-box .actions .btn>i{margin-left:8px}.item-box .dropdown-hover .pan-btn{border-top-right-radius:.2rem !important;border-bottom-right-radius:.2rem !important}.item-box .dropdown-hover:hover .dropdown-menu{display:block}.edit-wrapper{display:none;margin-top:20px;padding:20px 0 0;border-top:2px dashed #494949}.dm-uploader{cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.dm-uploader .btn{position:relative;overflow:hidden}.dm-uploader .btn input[type=file]{position:absolute;top:0;right:0;margin:0;border:solid transparent;width:100%;opacity:0;cursor:pointer}.dm-uploader select{-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}#files{overflow-y:scroll !important;min-height:320px}#debug{overflow-y:scroll !important;height:180px}.dm-uploader{border:.25rem dashed #a5a5c7;text-align:center}.dm-uploader.active{border-color:#f00;border-style:solid}.uploader-wrapper .card-header{color:#777}.uploader-wrapper .upload-progress{max-width:100%;height:calc(100% - 9px);-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;background-color:transparent}.uploader-wrapper .upload-progress.uploading{background-color:#2196f3}.uploader-wrapper .upload-progress.uploaded{background-color:#4caf50}.uploader-wrapper .upload-progress.error{background-color:#e91e63}.uploader-wrapper .file-wrapper{z-index:1}.edit-actions{padding-top:30px;border-top:2px dashed #494949}.has-tags{background-color:#ccc}.has-tags .remove-tag{display:block;font-size:var(--text-xs);padding:1px 3px;margin-right:5px;border-radius:2px;background-color:#fff}body.expanded-header .site-header{width:240px;overflow:auto}body.expanded-header .user-box{display:block}body.expanded-header .user-box .user-info{padding:20px 24px}body.expanded-header .user-box .user-info .user-btn .user-text{display:block}body.expanded-header .categories-header .header{padding:0 24px}body.expanded-header .categories-header .header .one{display:none}body.expanded-header .categories-header .header .two{display:block}body.expanded-header .categories-header .header .categories-name{display:block}body.expanded-header .categories-nav{display:block;padding-bottom:70px}body.expanded-header .categories-footer{height:auto;width:240px;padding:5px 15px}body.expanded-header .categories-footer .logo img{width:38px}body.expanded-header .categories-footer .logo .site-title{display:block}body.expanded-header .site-main{margin-left:240px;width:calc(100% - 240px)}.alertify-notifier .ajs-message{width:330px}@media screen and (min-width:768px){.site-main{padding:30px}.item-box .title{margin:0;border:0;padding:0}.item-box .meta span{margin:0;padding:0 15px;border-left:1px solid #494949;font-size:var(--text-xs)}.item-box .actions{padding:0}.item-box .actions .btn{margin:0 15px 0 0;font-size:var(--text-sm)}#files{min-height:0}}