/* ===== 歙县教育局网络云盘系统 · 政务蓝主题（主色 #2f54eb） ===== */
:root {
  --brand-900: #151f47;
  --brand-800: #1a2b70;
  --brand-700: #1b359c;
  --brand-600: #193dcc;
  --brand: #2f54eb;
  --brand-500: #4a6bf0;
  --brand-400: #718bf4;
  --brand-300: #a8b8fa;
  --brand-200: #ced7fd;
  --brand-100: #e8edff;
  --brand-50: #f5f7ff;

  --bg: #f4f6fc;
  --panel: #ffffff;
  --border: #e3e8f6;
  --border-strong: #ccd5f2;
  --text: #1b2447;
  --text-2: #4d5a80;
  --muted: #7a86a8;
  --ok: #12a150;
  --ok-bg: #e8f7ee;
  --warn: #e08a00;
  --warn-bg: #fff5e0;
  --danger: #dc3b45;
  --danger-bg: #fdecee;
  --info: #3d63ef;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(21, 31, 71, .06), 0 1px 3px rgba(21, 31, 71, .05);
  --shadow: 0 4px 14px rgba(21, 31, 71, .08), 0 2px 4px rgba(21, 31, 71, .04);
  --shadow-lg: 0 18px 46px rgba(15, 25, 60, .18);
  --sidebar-w: 244px;
  --topbar-h: 62px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.hidden { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: #ccd5f2; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #adbaeb; }
::-webkit-scrollbar-track { background: transparent; }

.ic { width: 18px; height: 18px; display: inline-block; vertical-align: -.3em; flex: none; }

/******************** 按钮 ********************/
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 34px; padding: 0 14px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong);
  background: #fff; color: var(--text); cursor: pointer; white-space: nowrap;
  transition: all .16s ease; font-size: 13.5px;
}
.btn:hover { border-color: var(--brand-400); color: var(--brand); background: var(--brand-50); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(180deg, var(--brand-500), var(--brand)); border-color: var(--brand-600); color: #fff; box-shadow: 0 2px 6px rgba(47, 84, 235, .28); }
.btn-primary:hover { background: linear-gradient(180deg, var(--brand-400), var(--brand-500)); border-color: var(--brand-600); color: #fff; }
.btn-ghost { background: #fff; }
.btn-danger { color: var(--danger); border-color: #f2c4c8; background: #fff; }
.btn-danger:hover { background: var(--danger-bg); border-color: var(--danger); color: var(--danger); }
.btn-sm { height: 30px; padding: 0 10px; font-size: 13px; }
.btn-lg { height: 44px; font-size: 15.5px; letter-spacing: 2px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.icon-btn { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); border: 1px solid transparent; background: transparent; color: var(--text-2); cursor: pointer; transition: all .15s; }
.icon-btn:hover { background: var(--brand-100); color: var(--brand); }
.icon-btn.sm { width: 26px; height: 26px; }
.icon-btn .ic { color: inherit; }
.transfer-icon { position: relative; }
.transfer-icon .badge { position: absolute; top: -3px; right: -3px; background: #ff6b6b; color: #fff; font-style: normal; font-size: 10px; min-width: 16px; height: 16px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; border: 1px solid #fff; }

/******************** 加载动效（首屏 / 操作遮罩 / 骨架屏） ********************/
#appLoader {
  position: fixed; inset: 0; z-index: 9998;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  background: radial-gradient(120% 120% at 20% 10%, #2f54eb 0%, #1b359c 45%, #151f47 100%);
  color: #fff;
}
#appLoader::after {
  content: ''; position: absolute; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.14), transparent 65%); top: -140px; right: -120px; pointer-events: none;
}
#appLoader .ld-brand { display: flex; align-items: center; gap: 16px; }
#appLoader .ld-logo { width: 66px; height: 66px; border-radius: 18px; background: #fff; padding: 9px; box-shadow: 0 12px 30px rgba(0,0,0,.3); flex: none; }
#appLoader .ld-logo img { width: 100%; height: 100%; object-fit: contain; }
#appLoader .ld-name { font-size: 27px; letter-spacing: 3px; font-weight: 500; }
#appLoader .ld-en { font-size: 11.5px; opacity: .62; letter-spacing: 1.4px; margin-top: 2px; }
#appLoader .ld-bar { width: min(380px, 74vw); height: 5px; border-radius: 3px; background: rgba(255,255,255,.2); overflow: hidden; }
#appLoader .ld-bar i { display: block; height: 100%; width: 8%; border-radius: 3px; background: linear-gradient(90deg, #ced7fd, #ffffff); transition: width .18s linear; }
#appLoader .ld-foot { display: flex; align-items: center; gap: 9px; font-size: 13px; opacity: .92; }
#appLoader .ld-spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255,255,255,.32); border-top-color: #fff; animation: spin .8s linear infinite; flex: none; }
#appLoader .ld-pct { font-variant-numeric: tabular-nums; opacity: .8; }
#appLoader.done { opacity: 0; pointer-events: none; transition: opacity .4s ease; }

.ov-mask { position: fixed; inset: 0; z-index: 9990; display: flex; align-items: center; justify-content: center; background: rgba(238,242,251,.72); backdrop-filter: blur(2px); animation: ovIn .18s ease both; }
.ov-mask.fade { opacity: 0; transition: opacity .22s ease; }
@keyframes ovIn { from { opacity: 0 } to { opacity: 1 } }
.ov-card { display: flex; align-items: center; gap: 13px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 16px 22px; box-shadow: var(--shadow); }
.ov-card .ov-spin { width: 22px; height: 22px; border-radius: 50%; border: 2.4px solid var(--brand-100); border-top-color: var(--brand); animation: spin .8s linear infinite; flex: none; }
.ov-card b { display: block; font-size: 14px; font-weight: 500; }
.ov-card span { font-size: 12px; color: var(--muted); }

.page-in { animation: pageIn .3s ease both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: none } }

/******************** 登录页（学科分析平台模板风格） ********************/
.login-view { min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
  background: url('/login/bg.png') center / cover no-repeat #dceaff; }
.login-main { width: 1200px; max-width: 94vw; padding: 26px 0 60px; }
.login-card { display: flex; width: 100%; background: #fff; border-radius: 12px; box-shadow: 0 0 20px rgba(17, 101, 226, .28); overflow: hidden; }
.login-left { width: 629px; max-width: 52%; flex: none; object-fit: cover; }
.login-right { flex: 1; min-width: 0; padding: 56px 46px 48px; }
.login-title { font-size: 30px; font-weight: 500; color: #1165E2; text-align: center; margin-bottom: 6px; }
.login-subtitle { font-size: 13px; color: #7a9fdc; text-align: center; letter-spacing: .5px; margin-bottom: 24px; }
.login-intro-wrap { text-align: center; margin-bottom: 30px; }
.login-intro { display: inline-block; font-size: 26px; font-weight: 400; color: #4389F2; border-bottom: 4px solid #4389F2; padding-bottom: 10px; }
.input-main { position: relative; margin-bottom: 22px; }
.input-main input { width: 100%; height: 72px; border: 1px solid #DCDCDC; outline: none; border-radius: 36px; font-size: 18px; padding: 0 56px; background: #fff; transition: all .16s; }
.input-main input:focus { border-color: #337FF1; box-shadow: 0 0 0 3px rgba(51, 127, 241, .14); }
.input-main input::placeholder { font-size: 18px; color: #A8B7D9; }
.input-main .left-icon { position: absolute; left: 22px; top: 22px; width: 28px; height: 28px; pointer-events: none; }
.input-main .right-icon { position: absolute; right: 20px; top: 22px; width: 28px; height: 28px; cursor: pointer; }
.login-row { display: flex; justify-content: space-between; align-items: center; margin: 0 10px 20px; font-size: 14px; color: #7a86a8; }
.login-row a { color: #4389F2; }
.login-row a:hover { text-decoration: underline; }
.checkline { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; user-select: none; }
.checkline input { accent-color: #337FF1; }
.login-btn { width: 100%; line-height: 72px; height: 72px; background: #337FF1; border: none; border-radius: 36px; color: #fff; text-align: center; font-size: 28px; letter-spacing: 10px; cursor: pointer; transition: all .16s; }
.login-btn:hover { background: #2a6fd8; box-shadow: 0 6px 16px rgba(51, 127, 241, .35); }
.login-btn:disabled { opacity: .6; cursor: not-allowed; }
.login-error { background: var(--danger-bg); color: var(--danger); border: 1px solid #f5cdd1; padding: 12px 16px; border-radius: 12px; font-size: 14px; margin-bottom: 18px; text-align: center; }
.login-footer { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font-size: 12.5px; color: #16305e; z-index: 2; }

/******************** 主框架 ********************/
.shell { display: flex; height: 100vh; overflow: hidden; }
.sidebar { width: var(--sidebar-w); flex: none; background: #fff; color: var(--text); border-right: 1px solid var(--border); display: flex; flex-direction: column; }
.brand { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.brand-logo { width: 40px; height: 40px; border-radius: 10px; background: transparent; border: none; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 10px rgba(0,0,0,.12); overflow: hidden; flex: none; }
.brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 17px; color: var(--text); letter-spacing: .5px; }
.brand-text span { font-size: 12.5px; color: var(--muted); }
.storage-card { margin: 8px 16px 14px; padding: 14px; border-radius: var(--radius); background: var(--brand-50); border: 1px solid var(--brand-100); display: flex; align-items: center; gap: 12px; }
.storage-ring { position: relative; width: 52px; height: 52px; flex: none; }
.storage-ring svg { width: 52px; height: 52px; transform: rotate(-90deg); }
.storage-ring circle { fill: none; stroke-width: 4.4; }
.ring-bg { stroke: #d9e1f5; }
.ring-fg { stroke: #6d90f6; stroke-linecap: round; stroke-dasharray: 106.8; stroke-dashoffset: 106.8; transition: stroke-dashoffset .6s ease; }
.ring-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; }
.ring-text b { font-size: 12.5px; color: var(--text); }
.ring-text span { font-size: 9px; color: var(--muted); transform: scale(.92); }
.storage-info p { margin: 0; font-size: 12.5px; color: var(--text); font-weight: 500; }
.storage-info span { font-size: 11px; color: var(--muted); }
.nav { flex: 1; padding: 8px 10px; overflow-y: auto; }
.nav-item { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: var(--radius-sm); margin-bottom: 3px; cursor: pointer; color: var(--text-2); font-size: 14px; position: relative; transition: all .15s; }
.nav-item:hover { background: var(--brand-50); color: var(--brand); }
.nav-item.active { background: linear-gradient(90deg, rgba(74, 107, 240,.95), rgba(47, 84, 235,.75)); color: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.12); }
.nav-item .ic { width: 19px; height: 19px; opacity: .92; }
.nav-item .badge { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: #ff6b6b; color: #fff; font-style: normal; font-size: 11px; min-width: 18px; height: 18px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
.nav-divider { height: 1px; background: var(--border); margin: 10px 8px; }
.sidebar-foot { padding: 12px; border-top: 1px solid var(--border); }
.upload-quick { display: flex; align-items: center; gap: 10px; padding: 10px 11px; border-radius: var(--radius-sm); background: var(--brand-50); border: 1px solid var(--brand-100); cursor: pointer; transition: all .15s; }
.upload-quick:hover { background: var(--brand-100); }
.upload-quick .ic { width: 20px; height: 20px; color: var(--brand-400); }
.upload-quick b { display: block; font-size: 13px; color: var(--text); font-weight: 500; }
.upload-quick span { font-size: 11px; color: var(--muted); }

.main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.topbar { height: var(--topbar-h); flex: none; background: #fff; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; padding: 0 18px; gap: 16px; }
.topbar-left { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; }
.crumb-bar { display: flex; align-items: center; gap: 4px; font-size: 14px; min-width: 0; overflow: hidden; }
.crumb-bar .crumb { padding: 4px 7px; border-radius: 6px; cursor: pointer; color: var(--text-2); white-space: nowrap; }
.crumb-bar .crumb:hover { background: var(--brand-50); color: var(--brand); }
.crumb-bar .crumb.current { color: var(--text); font-weight: 600; }
.crumb-bar .sep { color: #c2cddc; }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.search-box { position: relative; width: 250px; }
.search-box > .ic { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-box input { width: 100%; height: 34px; border: 1px solid var(--border-strong); border-radius: 18px; padding: 0 12px 0 32px; background: #f8fafd; outline: none; transition: all .16s; }
.search-box input:focus { border-color: var(--brand-400); background: #fff; box-shadow: 0 0 0 3px rgba(47, 84, 235, .14); }
.search-drop { position: absolute; top: 42px; left: 0; right: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); max-height: 380px; overflow-y: auto; z-index: 60; }
.sd-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; cursor: pointer; }
.sd-item:hover { background: var(--brand-50); }
.sd-item .sd-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sd-item .sd-tag { font-size: 11px; padding: 1px 6px; border-radius: 4px; background: var(--brand-100); color: var(--brand); }
.sd-empty { padding: 18px; text-align: center; color: var(--muted); font-size: 13px; }
.user-menu { position: relative; display: flex; align-items: center; gap: 8px; padding: 4px 8px 4px 4px; border-radius: 22px; cursor: pointer; transition: all .15s; }
.user-menu:hover { background: var(--brand-50); }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(140deg, var(--brand-500), var(--brand-700)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; flex: none; }
.avatar.lg { width: 40px; height: 40px; font-size: 16px; }
.avatar.sm { width: 24px; height: 24px; font-size: 12px; }
.user-name { display: flex; flex-direction: column; line-height: 1.25; }
.user-name b { font-size: 13px; }
.user-name span { font-size: 11px; color: var(--muted); }
.user-menu .caret { width: 14px; height: 14px; color: var(--muted); }
.user-drop { position: absolute; top: 44px; right: 0; width: 210px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px; z-index: 70; }
.ud-head { display: flex; align-items: center; gap: 10px; padding: 10px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.ud-head b { display: block; font-size: 13.5px; }
.ud-head span { font-size: 11.5px; color: var(--muted); }
.user-drop a { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 6px; font-size: 13.5px; color: var(--text-2); }
.user-drop a:hover { background: var(--brand-50); color: var(--brand); }
.user-drop a.danger:hover { background: var(--danger-bg); color: var(--danger); }

/******************** 内容区 ********************/
.content { flex: 1; overflow-y: auto; padding: 16px 18px 40px; }
.page-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.page-title { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.page-title .pt-icon { width: 34px; height: 34px; border-radius: 9px; background: var(--brand-100); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.page-title small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.page-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.view-toggle { display: flex; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); overflow: hidden; }
.view-toggle button { width: 32px; height: 32px; background: #fff; border: none; cursor: pointer; color: var(--text-2); display: flex; align-items: center; justify-content: center; }
.view-toggle button.active { background: var(--brand-100); color: var(--brand); }
.select-sm { height: 32px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 0 6px; background: #fff; cursor: pointer; }

/* 选中态工具条 */
.selbar { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: var(--brand-50); border-bottom: 1px solid var(--brand-100); font-size: 13px; }
.selbar b { color: var(--brand); }
.selbar .btn { height: 30px; }
.selbar .spacer { flex: 1; }

/* 文件列表 */
.file-table { width: 100%; }
.ft-head { display: grid; grid-template-columns: 26px 1fr 130px 110px 150px 46px; align-items: center; gap: 10px; padding: 10px 16px; font-size: 12.5px; color: var(--muted); border-bottom: 1px solid var(--border); background: #fbfcff; }
.ft-row { display: grid; grid-template-columns: 26px 1fr 130px 110px 150px 46px; align-items: center; gap: 10px; padding: 9px 16px; border-bottom: 1px solid #f1f4fb; cursor: pointer; transition: background .12s; position: relative; }
.ft-row:hover { background: var(--brand-50); }
.ft-row.selected { background: #eaf1ff; }
.ft-row.folder .f-name .ic { width: 22px; height: 22px; }
.ft-row .f-name { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ft-row .f-name .ic { width: 21px; height: 21px; }
.ft-row .f-name b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ft-row .f-name .f-star { color: #f5b500; margin-left: 2px; cursor: pointer; display: inline-flex; }
.ft-row .f-name .f-star .ic { width: 14px; height: 14px; }
.ft-row .f-size, .ft-row .f-time, .ft-row .f-owner { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ft-row .f-ops { display: flex; gap: 2px; justify-content: flex-end; opacity: .35; transition: opacity .15s; }
.ft-row:hover .f-ops { opacity: 1; }
.chk { width: 16px; height: 16px; accent-color: var(--brand); cursor: pointer; }
.chk-head { width: 16px; height: 16px; accent-color: var(--brand); cursor: pointer; }
.tag-mini { font-size: 10.5px; padding: 1px 5px; border-radius: 4px; background: var(--brand-100); color: var(--brand); margin-left: 6px; vertical-align: 1px; }
.tag-mini.green { background: var(--ok-bg); color: var(--ok); }
.tag-mini.red { background: var(--danger-bg); color: var(--danger); }
.tag-mini.orange { background: var(--warn-bg); color: var(--warn); }
.tag-mini.grey { background: #eff2fa; color: var(--muted); }

/* 网格视图 */
.grid-wrap { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 14px; padding: 16px; }
.grid-item { border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 10px 10px; text-align: center; cursor: pointer; position: relative; transition: all .16s; background: #fff; }
.grid-item:hover { border-color: var(--brand-300); box-shadow: var(--shadow); transform: translateY(-2px); }
.grid-item.selected { border-color: var(--brand-400); background: #f1f5ff; }
.grid-item .gi-icon { height: 52px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.grid-item .gi-icon .ic { width: 44px; height: 44px; }
.grid-item .gi-name { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.grid-item .gi-meta { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.grid-item .gi-chk { position: absolute; left: 8px; top: 8px; opacity: 0; transition: opacity .15s; }
.grid-item:hover .gi-chk, .grid-item.selected .gi-chk { opacity: 1; }
.grid-item .gi-star { position: absolute; right: 8px; top: 8px; color: #f5b500; opacity: 0; }
.grid-item:hover .gi-star { opacity: 1; }

.empty-state { padding: 60px 20px; text-align: center; color: var(--muted); }
.empty-state svg { width: 76px; height: 76px; opacity: .35; margin-bottom: 12px; }
.empty-state p { margin: 4px 0 14px; font-size: 13.5px; }
.drop-hint { border: 2px dashed var(--brand-300); border-radius: var(--radius); margin: 16px; padding: 22px; text-align: center; color: var(--brand); background: var(--brand-50); font-size: 13.5px; }

/* 提示条 */
.notice-strip { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: var(--brand-50); border-bottom: 1px solid var(--brand-100); color: var(--text-2); font-size: 13px; }
.notice-strip .ic { color: var(--brand); }

/* 通用表单 */
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-size: 13px; margin-bottom: 6px; color: var(--text-2); }
.form-row input[type=text], .form-row input[type=password], .form-row input[type=date], .form-row select, .form-row textarea {
  width: 100%; height: 36px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 0 11px; outline: none; background: #fff; }
.form-row textarea { height: auto; min-height: 80px; padding: 9px 11px; resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--brand-400); box-shadow: 0 0 0 3px rgba(47, 84, 235, .14); }
.radio-group { display: flex; flex-direction: column; gap: 8px; }
.radio-card { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; cursor: pointer; transition: all .15s; }
.radio-card:hover { border-color: var(--brand-300); background: var(--brand-50); }
.radio-card.active { border-color: var(--brand-400); background: var(--brand-50); }
.radio-card input { accent-color: var(--brand); margin-top: 3px; }
.radio-card b { display: block; font-size: 13.5px; font-weight: 500; }
.radio-card span { font-size: 12px; color: var(--muted); }

/******************** 弹窗 ********************/
.modal-mask { position: fixed; inset: 0; background: rgba(15, 25, 60, .45); backdrop-filter: blur(2px); display: flex; align-items: center; justify-content: center; z-index: 200; animation: fade .18s ease; }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98) } to { opacity: 1; transform: none } }
.modal { width: 460px; max-width: 94vw; max-height: 88vh; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; animation: pop .2s ease; overflow: hidden; }
.modal.wide { width: 720px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid var(--border); }
.modal-head b { font-size: 15.5px; }
.modal-body { padding: 18px; overflow-y: auto; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 13px 18px; border-top: 1px solid var(--border); background: #fbfcff; }
.toast-root { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 500; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); border-left: 3px solid var(--brand); box-shadow: var(--shadow); border-radius: var(--radius-sm); padding: 9px 16px; font-size: 13.5px; animation: pop .2s ease; max-width: 80vw; }
.toast.success { border-left-color: var(--ok); }
.toast.error { border-left-color: var(--danger); }
.toast.warn { border-left-color: var(--warn); }
.toast .ic { width: 16px; height: 16px; }
.toast.success .ic { color: var(--ok); }
.toast.error .ic { color: var(--danger); }
.toast.warn .ic { color: var(--warn); }

.ctx-menu { position: fixed; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 5px; z-index: 300; min-width: 152px; }
.ctx-menu button { display: flex; align-items: center; gap: 9px; width: 100%; padding: 8px 10px; border: none; background: none; border-radius: 6px; cursor: pointer; font-size: 13.5px; text-align: left; color: var(--text-2); }
.ctx-menu button:hover { background: var(--brand-50); color: var(--brand); }
.ctx-menu button.danger:hover { background: var(--danger-bg); color: var(--danger); }
.ctx-menu hr { border: none; border-top: 1px solid var(--border); margin: 4px 0; }

/******************** 传输抽屉 ********************/
.transfer-fab { position: fixed; right: 22px; bottom: 22px; width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(140deg, var(--brand-500), var(--brand)); color: #fff; border: none; cursor: pointer; box-shadow: 0 6px 20px rgba(47, 84, 235,.4); display: flex; align-items: center; justify-content: center; z-index: 150; }
.transfer-fab .ic { width: 22px; height: 22px; }
.transfer-fab em { position: absolute; top: -2px; right: -2px; background: #ff5a5f; color: #fff; font-style: normal; font-size: 11px; min-width: 19px; height: 19px; border-radius: 10px; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.drawer { position: fixed; right: 22px; bottom: 22px; width: 420px; max-height: 62vh; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); z-index: 160; display: flex; flex-direction: column; animation: pop .2s ease; overflow: hidden; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, #fff, #fafcff); }
.drawer-title { display: flex; align-items: center; gap: 8px; }
.drawer-title .ic { color: var(--brand); }
.drawer-title b { font-size: 14.5px; }
.drawer-title .sub { font-size: 12px; color: var(--muted); }
.drawer-actions { display: flex; align-items: center; gap: 8px; }
.switch-sm { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); cursor: pointer; user-select: none; }
.switch-sm input { accent-color: var(--warn); }
.drawer-tabs { display: flex; border-bottom: 1px solid var(--border); }
.dtab { flex: 1; padding: 9px 0; background: none; border: none; cursor: pointer; color: var(--text-2); font-size: 13.5px; border-bottom: 2px solid transparent; }
.dtab.active { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }
.dtab em { font-style: normal; font-size: 11px; background: var(--brand-100); color: var(--brand); border-radius: 8px; padding: 0 5px; margin-left: 3px; }
.drawer-body { overflow-y: auto; padding: 8px 10px 12px; flex: 1; }
.task-item { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; margin-bottom: 8px; background: #fff; }
.task-item.error { border-color: #f0c8cc; background: #fffafa; }
.task-top { display: flex; align-items: center; gap: 9px; }
.task-top .ti-icon { width: 30px; height: 30px; border-radius: 7px; background: var(--brand-100); color: var(--brand); display: flex; align-items: center; justify-content: center; flex: none; }
.task-top .ti-main { flex: 1; min-width: 0; }
.task-top .ti-main b { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task-top .ti-meta { font-size: 11.5px; color: var(--muted); display: flex; gap: 8px; }
.task-top .ti-ops { display: flex; gap: 2px; }
.task-pbar { height: 6px; border-radius: 4px; background: #ecf0fb; overflow: hidden; margin-top: 9px; }
.task-pbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand-400), var(--brand)); border-radius: 4px; transition: width .25s ease; }
.task-item.error .task-pbar i { background: linear-gradient(90deg, #f3888f, var(--danger)); }
.task-chunks { display: flex; gap: 2px; margin-top: 8px; flex-wrap: wrap; }
.chip { width: 8px; height: 8px; border-radius: 2px; background: #e8edfa; }
.chip.done { background: var(--brand-400); }
.chip.active { background: #f5b500; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .35 } }
.task-note { font-size: 11.5px; color: var(--brand); background: var(--brand-50); border-radius: 5px; padding: 3px 7px; margin-top: 7px; display: inline-block; }
.task-note.warn { color: var(--warn); background: var(--warn-bg); }
.task-note.ok { color: var(--ok); background: var(--ok-bg); }

/******************** 预览 ********************/
.preview-layer { position: fixed; inset: 0; background: rgba(245, 248, 252, .98); z-index: 400; display: flex; flex-direction: column; animation: fade .18s; }
.pv-head { height: 58px; flex: none; background: #fff; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; padding: 0 18px; }
.pv-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pv-title .pv-icon { width: 38px; height: 38px; border-radius: 9px; background: var(--brand-100); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.pv-title .pv-icon .ic { width: 24px; height: 24px; }
.pv-title b { display: block; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 50vw; }
.pv-title span { font-size: 12px; color: var(--muted); }
.pv-actions { display: flex; align-items: center; gap: 8px; }
.pv-body { flex: 1; overflow: auto; display: flex; justify-content: center; padding: 22px; }
.pv-doc { width: min(860px, 100%); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 46px 52px; }
.pv-doc h2 { font-size: 22px; text-align: center; margin: 0 0 22px; }
.pv-doc h3 { font-size: 17px; margin: 22px 0 10px; }
.pv-doc h4 { font-size: 15px; margin: 16px 0 8px; }
.pv-doc p { font-size: 15px; line-height: 1.95; margin: 0 0 10px; color: #26314f; text-indent: 2em; }
.pv-doc p.bold { text-indent: 0; }
.pv-doc ul { padding-left: 26px; }
.pv-doc li { font-size: 15px; line-height: 1.95; margin-bottom: 6px; }
.pv-sheet-tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.pv-sheet-tabs button { padding: 5px 14px; border-radius: 6px 6px 0 0; border: 1px solid var(--border); border-bottom: none; background: #f4f7fd; cursor: pointer; font-size: 13px; }
.pv-sheet-tabs button.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.sheet-wrap { width: 100%; overflow: auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.sheet-wrap table { border-collapse: collapse; width: 100%; font-size: 13px; }
.sheet-wrap th, .sheet-wrap td { border: 1px solid #e8ecf8; padding: 7px 11px; white-space: nowrap; text-align: left; }
.sheet-wrap thead th { background: var(--brand); color: #fff; font-weight: 500; position: sticky; top: 0; }
.sheet-wrap tbody tr:nth-child(even) { background: #fafcff; }
.pv-slide { width: min(920px, 100%); aspect-ratio: 16/9; background: linear-gradient(150deg, #fff, #f3f6ff); border: 1px solid var(--border); border-radius: var(--radius); padding: 44px 52px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.pv-slide h2 { margin: 0 0 24px; font-size: 27px; color: var(--brand-700); border-left: 6px solid var(--brand); padding-left: 14px; }
.pv-slide ul { padding-left: 8px; margin: 0; list-style: none; }
.pv-slide li { font-size: 18px; line-height: 2.1; color: #26314f; display: flex; gap: 12px; }
.pv-slide li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-300); margin-top: 14px; flex: none; }
.pv-slide li.lv1 { margin-left: 30px; font-size: 16px; color: var(--text-2); }
.pv-slide-nav { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 5px 12px; box-shadow: var(--shadow); }
.pv-slide-nav .pg { font-size: 13px; color: var(--muted); min-width: 48px; text-align: center; }
.pv-media { max-width: 92%; max-height: 76vh; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.pv-image-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pv-pdf { width: min(960px, 100%); height: 76vh; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.pv-text { width: min(960px, 100%); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px; overflow: auto; max-height: 74vh; }
.pv-text pre, .pv-md { margin: 0; font-family: "Cascadia Mono", Consolas, "Microsoft YaHei Mono", monospace; font-size: 13.5px; line-height: 1.85; white-space: pre-wrap; word-break: break-word; }
.pv-md h1 { font-size: 20px; margin: 4px 0 12px; }
.pv-md h2 { font-size: 16.5px; margin: 18px 0 8px; color: var(--brand-700); }
.pv-md ul { padding-left: 22px; margin: 8px 0; }
.pv-md li { line-height: 1.9; }
.pv-md code { background: #f1f4fb; padding: 1px 5px; border-radius: 4px; }
.pv-unsupported { text-align: center; color: var(--muted); padding: 90px 20px; }
.pv-unsupported .ic { width: 74px; height: 74px; opacity: .4; margin-bottom: 14px; }
.pv-toolbar { display: flex; gap: 8px; align-items: center; justify-content: center; }

/* Word 文档中的表格 */
.doc-table-wrap { overflow-x: auto; margin: 14px 0 18px; }
.doc-tbl { border-collapse: collapse; width: 100%; font-size: 13.5px; }
.doc-tbl th, .doc-tbl td { border: 1px solid #d3dcfa; padding: 8px 10px; text-align: left; line-height: 1.6; }
.doc-tbl thead th { background: #dde6fb; color: var(--brand-700); font-weight: 600; white-space: nowrap; }
.doc-tbl tbody tr:nth-child(even) { background: #f5f8ff; }
.doc-tbl td { white-space: normal; }

/******************** 预览加载动效 ********************/
.pv-loading { width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 40px 0 10px; }
.pv-loading .pv-spinner { width: 42px; height: 42px; border-radius: 50%; border: 3px solid var(--brand-100); border-top-color: var(--brand); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg) } }
.pv-loading .pv-load-title { font-size: 14px; color: var(--text-2); font-weight: 500; }
.pv-loading .pv-load-sub { font-size: 12px; color: var(--muted); }
.pv-progress { width: min(320px, 70%); height: 5px; border-radius: 3px; background: #e7eefb; overflow: hidden; }
.pv-progress i { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--brand-400), var(--brand)); transition: width .35s ease; }

/* 骨架屏 */
.pv-skeleton { width: 100%; display: flex; flex-direction: column; align-items: center; }
.sk { background: linear-gradient(90deg, #eff3fb 25%, #e4ebfa 37%, #eff3fb 63%); background-size: 400% 100%; animation: shimmer 1.3s ease-in-out infinite; border-radius: 5px; }
@keyframes shimmer { 0% { background-position: 100% 0 } 100% { background-position: 0 0 } }
.sk-page { width: min(860px, 100%); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 46px 52px; }
.sk-line { height: 13px; margin-bottom: 13px; }
.sk-title { height: 24px; width: 52%; margin: 0 auto 26px; }
.sk-sub { height: 15px; width: 34%; margin-bottom: 10px; }
.sk-p { height: 13px; width: 100%; margin-bottom: 12px; }
.sk-p.short { width: 72%; }
.sk-block { height: 12px; width: 84%; margin-bottom: 10px; }
.sk-grid { display: grid; gap: 8px; margin: 16px 0; }
.sk-cell { height: 30px; }
.sk-sheet { width: 100%; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.sk-slide { width: min(920px, 100%); aspect-ratio: 16/9; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 44px 52px; box-shadow: var(--shadow-sm); }
.sk-media { width: min(560px, 80%); height: 300px; border-radius: var(--radius); }
.pv-fade-in { animation: pvin .28s ease both; }
@keyframes pvin { from { opacity: 0; transform: translateY(6px) } to { opacity: 1; transform: none } }

/******************** 分享向导 ********************/
.step-bar { display: flex; align-items: center; padding: 16px 18px 8px; }
.step-bar .step { display: flex; align-items: center; gap: 8px; }
.step-bar .step i { width: 24px; height: 24px; border-radius: 50%; background: #e9eefb; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 12.5px; }
.step-bar .step.active i { background: var(--brand); color: #fff; }
.step-bar .step.done i { background: var(--ok); color: #fff; }
.step-bar .step span { font-size: 13px; color: var(--muted); }
.step-bar .step.active span { color: var(--brand); font-weight: 600; }
.step-bar .line { flex: 1; height: 1px; background: var(--border); margin: 0 10px; }
.share-files { display: flex; flex-wrap: wrap; gap: 8px; }
.share-file-chip { display: flex; align-items: center; gap: 6px; background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 20px; padding: 4px 10px 4px 6px; font-size: 12.5px; }
.share-file-chip .ic { width: 16px; height: 16px; }
.contact-group { margin-bottom: 14px; }
.contact-group > .cg-head { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--border); margin-bottom: 6px; }
.contact-group > .cg-head b { font-size: 13px; }
.contact-group > .cg-head .cg-count { font-size: 11.5px; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 7px; }
.contact-item { display: flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 7px 9px; cursor: pointer; transition: all .14s; }
.contact-item:hover { border-color: var(--brand-300); background: var(--brand-50); }
.contact-item.checked { border-color: var(--brand-400); background: var(--brand-50); }
.contact-item .avatar { width: 28px; height: 28px; font-size: 12px; }
.contact-item b { display: block; font-size: 12.5px; font-weight: 500; line-height: 1.3; }
.contact-item span { font-size: 11px; color: var(--muted); }
.selected-bar { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.link-box { display: flex; gap: 8px; }
.link-box input { flex: 1; height: 38px; border: 1px solid var(--brand-200); border-radius: var(--radius-sm); padding: 0 12px; background: var(--brand-50); color: var(--brand-700); font-size: 13px; }
.result-panel { background: linear-gradient(160deg, #f2f6ff, #ebf1ff); border: 1px solid var(--brand-100); border-radius: var(--radius); padding: 16px; }
.result-line { display: flex; gap: 10px; font-size: 13px; margin-bottom: 7px; }
.result-line .rl-k { width: 74px; color: var(--muted); flex: none; }
.result-line .rl-v { flex: 1; word-break: break-all; }
.code-big { display: inline-flex; gap: 5px; }
.code-big b { width: 34px; height: 40px; background: #fff; border: 1px solid var(--brand-200); border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; font-size: 19px; color: var(--brand); letter-spacing: 0; }
.expire-chips { display: flex; gap: 7px; flex-wrap: wrap; }
.expire-chips button { padding: 5px 13px; border-radius: 16px; border: 1px solid var(--border-strong); background: #fff; cursor: pointer; font-size: 12.5px; }
.expire-chips button.active { background: var(--brand); color: #fff; border-color: var(--brand); }

/******************** 分享列表卡片 ********************/
.share-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 13px 15px; margin-bottom: 10px; display: flex; gap: 14px; align-items: center; background: #fff; transition: all .15s; }
.share-card:hover { border-color: var(--brand-200); box-shadow: var(--shadow-sm); }
.share-card.expired { background: #fbfbfc; border-style: dashed; }
.share-card .sc-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--brand-100); color: var(--brand); display: flex; align-items: center; justify-content: center; flex: none; }
.share-card .sc-icon .ic { width: 26px; height: 26px; }
.share-card .sc-body { flex: 1; min-width: 0; }
.share-card .sc-body b { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share-card .sc-meta { font-size: 12px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; margin-top: 3px; }
.share-card .sc-ops { display: flex; gap: 5px; flex: none; }
.dot-new { width: 7px; height: 7px; border-radius: 50%; background: #ff5a5f; display: inline-block; margin-right: 5px; vertical-align: 1px; }

/******************** 操作引导 ********************/
.guide-wrap { display: grid; grid-template-columns: 268px 1fr; gap: 16px; }
.guide-list { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; align-self: start; position: sticky; top: 0; }
.gl-head { padding: 14px 16px; border-bottom: 1px solid var(--border); background: linear-gradient(135deg, var(--brand-700), var(--brand)); color: #fff; }
.gl-head b { font-size: 15px; display: flex; align-items: center; gap: 8px; }
.gl-head span { font-size: 12px; opacity: .8; }
.gl-item { display: flex; align-items: center; gap: 11px; padding: 12px 16px; border-bottom: 1px solid #f3f6fb; cursor: pointer; transition: all .14s; }
.gl-item:hover { background: var(--brand-50); }
.gl-item.active { background: var(--brand-50); border-left: 3px solid var(--brand); padding-left: 13px; }
.gl-item i { width: 26px; height: 26px; border-radius: 8px; background: var(--brand-100); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 13px; flex: none; }
.gl-item.active i { background: var(--brand); color: #fff; }
.gl-item b { display: block; font-size: 13.5px; font-weight: 500; }
.gl-item span { font-size: 11.5px; color: var(--muted); }
.guide-body { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.gb-head { padding: 18px 22px; border-bottom: 1px solid var(--border); background: linear-gradient(160deg, #f5f8ff, #eff4ff); }
.gb-head h3 { margin: 0 0 4px; font-size: 18px; }
.gb-head p { margin: 0; color: var(--text-2); font-size: 13px; }
.gb-flow { display: flex; gap: 8px; padding: 14px 22px; flex-wrap: wrap; border-bottom: 1px solid var(--border); }
.gb-flow .gb-step { display: flex; align-items: center; gap: 7px; background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 20px; padding: 5px 13px; font-size: 12.5px; color: var(--brand-700); }
.gb-flow .gb-step i { width: 18px; height: 18px; border-radius: 50%; background: var(--brand); color: #fff; font-style: normal; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; }
.gb-flow .arr { color: var(--brand-300); align-self: center; }
.gb-content { padding: 18px 22px 24px; }
.step-card { border: 1px solid var(--border); border-left: 3px solid var(--brand-400); border-radius: var(--radius-sm); padding: 13px 15px; margin-bottom: 12px; background: #fdfdff; }
.step-card h4 { margin: 0 0 6px; font-size: 14.5px; display: flex; align-items: center; gap: 8px; }
.step-card h4 em { width: 21px; height: 21px; border-radius: 50%; background: var(--brand-100); color: var(--brand); font-style: normal; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.step-card p { margin: 0 0 10px; font-size: 13px; color: var(--text-2); line-height: 1.8; }
.step-card .sc-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.tip-line { font-size: 12.5px; color: var(--brand-700); background: var(--brand-50); border-radius: 6px; padding: 7px 11px; margin-bottom: 10px; display: flex; gap: 7px; }
.tip-line .ic { width: 15px; height: 15px; margin-top: 2px; }
.guide-illus { display: flex; justify-content: center; padding: 6px 0 14px; }
.kv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 10px 0 14px; }
.kv { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 11px 13px; background: #fbfcff; }
.kv b { display: block; font-size: 19px; color: var(--brand); }
.kv span { font-size: 12px; color: var(--muted); }

/******************** 属性面板 / 其它 ********************/
.prop-row { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px dashed #eef2fb; font-size: 13px; }
.prop-row .pk { width: 84px; color: var(--muted); flex: none; }
.prop-row .pv { flex: 1; word-break: break-all; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 14px; }
.stat-box { border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; background: linear-gradient(160deg, #fff, #f5f8ff); }
.stat-box b { font-size: 21px; color: var(--brand); display: block; }
.stat-box span { font-size: 12.5px; color: var(--muted); }
.act-list { max-height: 260px; overflow-y: auto; }
.act-item { display: flex; gap: 12px; padding: 9px 2px; border-bottom: 1px dashed #eef2fb; font-size: 13px; }
.act-item .ai-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--brand-50); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.act-item .ai-icon .ic { width: 15px; height: 15px; }
.act-item b { font-weight: 500; }
.act-item span { color: var(--muted); font-size: 12px; }
.empty-mini { text-align: center; color: var(--muted); font-size: 13px; padding: 24px 0; }

/******************** 悬停浮层（可见人员名单） ********************/
.tip-box { position: fixed; z-index: 4000; max-width: 320px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 8px 26px rgba(18, 40, 90, .16); padding: 10px 12px; font-size: 12.5px; color: var(--text); pointer-events: none; }
.tip-box.hidden { display: none; }
.tip-box .tb-title { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.tip-box .tb-line { display: flex; align-items: center; gap: 6px; padding: 2px 0; }
.tip-box .tb-line .ic { width: 13px; height: 13px; color: var(--brand); flex: none; }
.tip-box .tb-more { margin-top: 6px; padding-top: 6px; border-top: 1px dashed #eef2fb; color: var(--brand); }

/******************** 条目徽标（锁定 / 可见范围 / 管理人） ********************/
.tag-mini.lock { background: #fff4e5; color: #b26a00; cursor: help; }
.tag-mini.scope { background: #eef4ff; color: #3752a8; cursor: help; }
.tag-mini.scope.open { background: var(--ok-bg); color: var(--ok); }
.tag-mini.mgr { background: #eff7ef; color: #2f7a3f; cursor: help; }
.f-star, .f-fav { color: var(--muted); margin-left: 4px; cursor: pointer; display: inline-flex; }
.f-fav .ic { width: 15px; height: 15px; }
.f-fav:hover { color: var(--brand); }
.f-fav.on { color: #f5b500; }
.icon-btn.on { color: var(--brand); background: var(--brand-50); }
.ft-row.is-locked .f-name b { color: #8a6a3a; }
.ft-row .f-tags { display: inline-flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.gi-tags { position: absolute; left: 8px; bottom: 8px; display: flex; gap: 3px; }
.gi-fav { position: absolute; right: 8px; top: 8px; color: #f5b500; }
.gi-lock { position: absolute; right: 8px; bottom: 8px; color: #b26a00; }
.gi-fav .ic, .gi-lock .ic { width: 14px; height: 14px; }

/******************** 我的收藏 ********************/
.fav-dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; padding: 4px 0 12px; }
.fav-dir { display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: var(--radius); padding: 11px 12px; background: #fff; cursor: pointer; transition: all .16s; }
.fav-dir:hover { border-color: var(--brand-300); box-shadow: var(--shadow); transform: translateY(-1px); }
.fav-dir > .ic { width: 26px; height: 26px; color: #f5b500; flex: none; }
.fav-dir .fd-main { flex: 1; min-width: 0; }
.fav-dir .fd-main b { display: block; font-size: 13.5px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fav-dir .fd-main span { font-size: 12px; color: var(--muted); }
.fv-crumb { display: flex; align-items: center; gap: 6px; padding: 10px 16px 0; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.fv-crumb .crumb { cursor: pointer; }
.fv-crumb .crumb:hover { color: var(--brand); }
.fv-crumb .sep { color: #c8d1e4; }
.section-label { font-size: 12.5px; color: var(--muted); padding: 6px 2px 8px; border-top: 1px dashed #eef2fb; }

/******************** 人员名单 / 权限管理 ********************/
.people-list { max-height: 260px; overflow-y: auto; margin-top: 4px; }
.people-row { display: flex; align-items: center; gap: 9px; padding: 7px 2px; border-bottom: 1px dashed #eef2fb; font-size: 13px; }
.people-row:last-child { border-bottom: none; }
.people-row .pr-main { flex: 1; min-width: 0; }
.people-row b { font-weight: 500; }
.people-row .pr-sub { font-size: 12px; color: var(--muted); }
.result-line { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 8px 0; }
.result-line .rl-k { color: var(--muted); width: 74px; flex: none; }
.result-line .rl-v { flex: 1; }
.result-panel { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; margin-top: 10px; background: #fbfcff; }
.form-block { border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 12px; }
.fb-title { font-size: 13px; font-weight: 500; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.fb-title .ic { width: 15px; height: 15px; color: var(--brand); }
.radio-line { display: flex; align-items: flex-start; gap: 8px; padding: 7px 8px; border-radius: var(--radius-sm); cursor: pointer; font-size: 13px; }
.radio-line:hover { background: var(--brand-50); }
.radio-line input { margin-top: 3px; }
.radio-line .rl-desc { font-size: 12px; color: var(--muted); }
.pk-wrap { margin-top: 8px; }
.pk-search { width: 100%; margin-bottom: 8px; }
.pk-group { margin-bottom: 6px; }
.pkg-head { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); padding: 4px 2px; cursor: pointer; }
.pkg-head .ic { width: 13px; height: 13px; }
.pkg-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 4px; }
.pk-user { display: flex; align-items: center; gap: 7px; padding: 5px 7px; border-radius: var(--radius-sm); font-size: 13px; cursor: pointer; }
.pk-user:hover { background: var(--brand-50); }
.pk-user.on { background: var(--brand-100); color: var(--brand); }
.pk-user .avatar.sm { width: 22px; height: 22px; font-size: 11px; }
.pk-user .ic { width: 14px; height: 14px; color: var(--brand); margin-left: auto; }
.pk-note { font-size: 12px; color: var(--muted); margin-top: 6px; }

@media (max-width: 1180px) {
  .guide-wrap { grid-template-columns: 1fr; }
  .guide-list { position: static; }
}
@media (max-width: 900px) {
  .sidebar { width: 64px; }
  .brand-text, .storage-card, .nav-item span, .sidebar-foot .upload-quick div { display: none; }
  .nav-item { justify-content: center; }
  .ft-head, .ft-row { grid-template-columns: 26px 1fr 100px 46px; }
  .f-owner, .f-size { display: none; }
  .search-box { width: 160px; }
}
@media (max-width: 1000px) {
  .login-left { display: none; }
  .login-right { padding: 48px 34px; }
}
