:root {
  --nav-h: 80px;
  --side: 230px;
  --primary: #0068b7;
  --primary-hover: #3386c5;
  --theme: #005ea5;
  --nav-bg: #fff;
  --nav-color: #333;
  --side-bg: #ebf2fe;
  --side-active: #32a8e4;
  --side-color: #003c54;
  --side-icon: #28a3db;
  --side-bottom: #fff;
  --page-bg: #f1f4f5;
  --text: #303133;
  --muted: #909399;
  --line: #dcdfe6;
  --line-soft: #ebeef5;
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; color: var(--text); background: #fff; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.nav-theme-blue { --theme: #005ea5; --nav-bg: #fff; --nav-color: #333; --side-bg: #ebf2fe; --side-active: #32a8e4; --side-color: #003c54; --side-icon: #28a3db; --side-bottom: #fff; }
.nav-theme-blue-deep { --theme: #366cee; --nav-bg: #27303e; --nav-color: #fff; --side-bg: #1b2433; --side-active: #09339a; --side-color: #e3eaff; --side-icon: #b5b5b5; --side-bottom: #1b2433; }
.nav-theme-red { --theme: #941d21; --nav-bg: #6a1413; --nav-color: #fff; --side-bg: #8d2a2c; --side-active: #7c171b; --side-color: #e3eaff; --side-icon: #e3eaff; --side-bottom: #7a2224; }
.nav-theme-green { --theme: #149571; --nav-bg: #27303e; --nav-color: #fff; --side-bg: #0f3d36; --side-active: #037a64; --side-color: #e3eaff; --side-icon: #e3eaff; --side-bottom: #0f3d36; }
.nav-theme-orange { --theme: #f87226; --nav-bg: #fa7e2f; --nav-color: #fff; --side-bg: #c45a12; --side-active: #e66900; --side-color: #e3eaff; --side-icon: #fff; --side-bottom: #b85110; }
.nav-theme-black { --theme: #1e222d; --nav-bg: #27303e; --nav-color: #fff; --side-bg: #1e222d; --side-active: #27303e; --side-color: #e3eaff; --side-icon: #8d9bb2; --side-bottom: #27303e; --page-bg: #141720; }

.login-container {
  min-width: 1000px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(0, 48, 86, .55), rgba(0, 104, 183, .28)),
    radial-gradient(circle at 20% 30%, #7eb6d8, transparent 42%),
    linear-gradient(160deg, #0d3c66, #1a6ea4 55%, #d7e8f2);
}
.login-body {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 56px 8px 64px;
}
.login-banner { flex: 1; align-self: flex-start; padding-top: 8px; }
.login-logo {
  width: 72px; height: 72px; border-radius: 16px;
  background: #fff; color: #0068b7; font-size: 36px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.login-side { width: 600px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.login-content {
  width: 480px; background: #fff; border-radius: 10px;
  padding: 28px 0 12px;
}
.login-title { text-align: center; }
.login-title h2 { margin: 0 0 8px; font-size: 34px; font-weight: 500; color: #0068b7; }
.login-form { padding: 12px 48px 8px; }
.field {
  display: flex; align-items: center; height: 40px; margin-bottom: 18px;
  border: 1px solid var(--line); border-radius: 4px; background: #fff; padding: 0 12px;
}
.field .prefix { width: 28px; color: #c0c4cc; font-size: 13px; }
.field input { flex: 1; border: 0; outline: 0; height: 38px; color: var(--text); }
.captcha-row { display: flex; gap: 12px; }
.captcha-row .field { flex: 1; }
.login-captcha {
  width: 136px; height: 40px; border-radius: 4px; background: #f4f7fb; color: #8aa;
  display: flex; align-items: center; justify-content: center; letter-spacing: 2px;
}
.login-btn-ui {
  height: 48px; width: 100%; border: 0; border-radius: 4px; color: #fff; font-size: 18px;
  background: var(--primary);
}
.login-btn-ui:hover { background: var(--primary-hover); }
.remember { display: flex; align-items: center; gap: 8px; color: #606266; margin: 14px 0 8px; }
.mobile-qr-bar { width: 100%; display: flex; justify-content: center; }
.mobile-qr-bar .cell { text-align: center; }
.mobile-qr-bar .qr { width: 132px; height: 132px; background: #fff; border-radius: 8px; padding: 8px; }
.mobile-qr-bar a { display: block; margin-top: 8px; color: #fff; font-size: 13px; text-decoration: none; }
.miniProgram { position: absolute; right: 2.4rem; top: 2.4rem; color: #fff; text-decoration: none; }
.login-footer { color: #f7f7f7; padding: 10px; text-align: center; }
.login-footer p { margin: 6px 0; }

.aui-navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30; height: var(--nav-h);
  display: flex; align-items: stretch; background: var(--nav-bg); color: var(--nav-color);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .05);
}
.navbar_new_header { display: flex; align-items: center; height: 80px; min-width: 230px; padding-left: 20px; margin-right: 20px; }
.logo-img {
  width: 42px; height: 42px; margin-right: 15px; border-radius: 50%; overflow: hidden;
  background: transparent; display: flex; align-items: center; justify-content: center;
}
.logo-img img { width: 100%; height: 100%; display: block; object-fit: cover; }
.lg_name { font-size: 22px; line-height: 1.2; }
.aui-navbar__body { flex: 1; display: flex; align-items: center; justify-content: space-between; padding-right: 18px; }
.nav-text, .nav-icon, .user-name {
  border: 0; background: transparent; color: var(--nav-color); height: 36px; padding: 0 10px;
}
.nav-tools { display: flex; align-items: center; gap: 4px; }
.user-name { font-size: 12px; }
.pop-wrap { position: relative; }
.pop {
  position: absolute; top: 42px; right: 0; min-width: 168px; padding: 8px;
  background: #fff; color: #333; border-radius: 8px; box-shadow: 0 8px 24px rgba(16, 24, 40, .12); z-index: 40;
}
.pop button { display: flex; width: 100%; align-items: center; gap: 8px; border: 0; background: transparent; text-align: left; padding: 8px 10px; border-radius: 6px; }
.pop button:hover { background: #f5f7fa; }
.pop-title { padding: 6px 10px; color: #909399; font-size: 12px; }
.swatch { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.theme-blue { background: #32a8e4; }
.theme-blue-deep { background: #366cee; }
.theme-red { background: #941d21; }
.theme-green { background: #149571; }
.theme-orange { background: #f87226; }
.theme-black { background: #1e222d; }
.common-pop { bottom: 48px; top: auto; left: 0; }
.common-empty { margin: 8px 10px; color: #909399; font-size: 12px; }
#common-list button { color: var(--theme); }

.aui-sidebar {
  position: fixed; top: var(--nav-h); left: 0; bottom: 0; width: var(--side); z-index: 20;
  display: flex; flex-direction: column; background: var(--side-bg); transition: width .2s;
}
.nav_search_ipt { padding: 12px 10px; }
.inline-input {
  width: 100%; height: 32px; border-radius: 8px; border: 1px solid rgba(141, 155, 178, .24);
  background: #fff; color: var(--side-color); padding: 0 12px;
}
.aui-sidebar__inner { flex: 1; overflow: auto; padding-bottom: 8px; }
.aui-sidebar__menu { padding: 0 8px 12px; }
.menu-group { margin: 14px 12px 6px; font-size: 12px; color: var(--side-icon); }
.menu-row { display: flex; align-items: center; }
.menu-link {
  flex: 1; display: flex; align-items: center; gap: 8px; height: 42px; border: 0; background: transparent;
  color: var(--side-color); border-radius: 8px; padding: 0 12px; text-align: left;
}
.menu-link i { width: 8px; height: 8px; border-radius: 50%; background: var(--side-icon); }
.menu-row.is-active .menu-link, .menu-link.is-active {
  background: var(--side-active); color: #fff;
}
.menu-row.is-active .menu-link i, .menu-link.is-active i { background: #fff; }
.star { border: 0; background: transparent; color: #b7c2dd; width: 28px; }
.star.on { color: #ffcd12; }
.bottom {
  height: 50px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px 0 20px; background: var(--side-bottom);
}
.btn-item { display: flex; align-items: center; border: 0; background: transparent; color: var(--side-color); }
.btn-item .icon { color: var(--side-icon); margin-right: 8px; }

.aui-content__wrapper { margin-left: var(--side); min-height: 100vh; background: var(--page-bg); transition: margin-left .2s; }
.tabbar {
  position: fixed; top: var(--nav-h); left: var(--side); right: 0; z-index: 15; height: 38px;
  display: flex; align-items: flex-end; gap: 1px; padding: 0 15px; background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.tab { height: 38px; border: 0; background: transparent; color: #606266; padding: 0 15px; position: relative; }
.tab.is-active { color: #303133; background: #f5f7fa; }
.tab.is-active:after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #0068b7; }
.tab i { margin-left: 8px; color: #909399; font-style: normal; }
.aui-content { padding: 133px 15px 15px; }
.empty-card, .panel {
  background: #fff; border: 1px solid var(--line-soft); border-radius: 4px; min-height: calc(100vh - 148px); padding: 20px;
}
.empty-card h2 { margin: 0 0 8px; font-size: 18px; font-weight: 500; }
.empty-card p { margin: 0; color: var(--muted); }

.is-fold { --side: 64px; }
.is-fold .lg_name, .is-fold .menu-link span, .is-fold .menu-group, .is-fold .star, .is-fold .btn-item .title, .is-fold .inline-input { display: none; }
.is-fold .navbar_new_header { min-width: 64px; margin-right: 0; padding-left: 11px; }
.is-fold .menu-link { justify-content: center; padding: 0; }
.is-fold .bottom { flex-direction: column; height: auto; padding: 12px 0; gap: 12px; }

.layout-old { --nav-bg: #0068b7; --nav-color: #fff; --side-bg: #263238; --side-color: #8a979e; --side-icon: #8a979e; --side-active: #2b373d; --side-bottom: #202b30; }
.layout-old .menu-row.is-active .menu-link, .layout-old .menu-link.is-active { color: #e8eaec; border-radius: 0; }

.mask { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 50; display: flex; align-items: center; justify-content: center; }
.dialog { width: 460px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; background: #fff; border-radius: 4px; padding: 20px 24px 16px; }
.dialog h3 { margin: 0 0 16px; font-size: 16px; font-weight: 500; }
.dialog-close-bar { position: sticky; top: 0; z-index: 10; height: 0; display: flex; justify-content: flex-end; pointer-events: none; }
.dialog .dialog-close-button, .platform-dialog .dialog-close-button { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 32px; height: 32px; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: #606266; font-size: 24px; line-height: 1; cursor: pointer; pointer-events: auto; }
.dialog-close-button:hover { color: var(--primary); background: #f0f6ff; }
.dialog-close-button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.dialog:has(> .dialog-close-bar) > h3 { padding-right: 44px; min-height: 32px; }
.platform-dialog:has(> .dialog-close-bar) > header { padding-right: 44px; }
.dialog label { display: block; margin-bottom: 12px; color: #606266; font-size: 14px; }
.dialog input { display: block; width: 100%; height: 36px; margin-top: 6px; border: 1px solid var(--line); border-radius: 4px; padding: 0 10px; }
.dialog input[hidden] { display: none; }
.dialog label.inline { display: inline-flex; align-items: center; gap: 4px; margin-right: 12px; }
.dialog label.inline input { width: auto; height: auto; margin: 0; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; }
.dialog-actions button { height: 32px; padding: 0 16px; border-radius: 4px; border: 1px solid var(--line); background: #fff; }
.dialog-actions .primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.notice-options { max-height: 220px; overflow-y: auto; border: 1px solid var(--line); border-radius: 4px; padding: 10px; margin-bottom: 12px; }
.dialog .notice-option { display: flex; align-items: center; gap: 10px; padding: 8px; margin: 0; cursor: pointer; }
.dialog .notice-option input[type=checkbox], .dialog .notice-option input[type=radio] { width: 18px; height: 18px; margin: 0; padding: 0; flex-shrink: 0; }
.notice-picker { margin-bottom: 12px; }
.notice-picker summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 4px; color: #606266; cursor: pointer; list-style: none; overflow-wrap: anywhere; }
.notice-picker summary::-webkit-details-marker { display: none; }
.notice-picker summary::after { content: '▾'; flex-shrink: 0; }
.notice-picker[open] summary { border-color: var(--primary); }
.notice-picker[open] summary::after { content: '▴'; }
.notice-picker-panel { padding: 12px; border: 1px solid var(--line); border-radius: 4px; margin-top: 4px; background: #fff; }
.notice-selected { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.notice-selected button { border: 1px solid var(--line); background: #f0f6ff; border-radius: 4px; padding: 5px 10px; }
.tip { min-height: 18px; margin: 0 0 8px; color: #c93636; font-size: 12px; }

.home { height: calc(100vh - 148px); display: flex; align-items: flex-start; justify-content: center; }
.home-welcome { width: 100%; max-width: 800px; }
.home-welcome__stage {
  position: relative;
  background:
    radial-gradient(circle at 30% 60%, rgba(0, 132, 216, .16), transparent 36%),
    linear-gradient(180deg, #f4faff, #e7f3fb);
  border-radius: 8px;
}
.home-welcome__stage:before { content: ""; display: block; padding-top: 75%; }
.home-welcome__title {
  position: absolute; top: 48%; left: 43%; right: 6%; margin: 0;
  transform: translateY(-50%); font-size: 34px; font-weight: 700; line-height: 1.3; color: #0084d8;
}
@media (max-width: 1200px) { .home-welcome__title { font-size: 26px; } }
@media (max-width: 900px) { .home-welcome__title { font-size: 20px; } }

.mod-ltci .title { font-size: 15px; font-weight: 600; color: #303133; }
.mod-ltci .sub, .ltci-muted { margin-top: 4px; font-size: 12px; color: #909399; }
.mod-ltci .ltci-mb-15 { margin-bottom: 15px; }
.mod-ltci .ltci-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.mod-ltci .stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin: 15px 0; }
.mod-ltci .stat-card { background: #fff; border: 1px solid #ebeef5; border-radius: 4px; padding: 16px 18px; }
.mod-ltci .stat-card .label, .mod-ltci .stat-card .delta, .mod-ltci .stat-card small { color: #909399; font-size: 12px; font-weight: 400; }
.stat-card.warn { border-color: #f3d19e; }
.mod-ltci .stat-card .value { font-size: 26px; font-weight: 600; margin: 8px 0 4px; }
.mod-ltci .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.mod-ltci .chart-bars { display: flex; align-items: flex-end; gap: 14px; height: 180px; }
.mod-ltci .chart-bars.is-funnel { height: 150px; }
.mod-ltci .bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; }
.mod-ltci .bar-pair { display: flex; align-items: flex-end; gap: 4px; height: 100%; }
.mod-ltci .bar { width: 14px; min-height: 4px; border-radius: 2px 2px 0 0; background: #409eff; }
.mod-ltci .bar.alt { background: #32a8e4; opacity: .55; }
.mod-ltci .bar.is-funnel { width: 36px; }
.mod-ltci .bar-label { font-size: 12px; color: #909399; text-align: center; }
.mod-ltci .bar-label b { display: block; color: #303133; font-size: 15px; }
.mod-ltci .chart-legend { display: flex; gap: 16px; font-size: 12px; color: #909399; margin-bottom: 12px; }
.mod-ltci .chart-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; background: #409eff; }
.mod-ltci .chart-legend i.alt { background: #32a8e4; opacity: .55; }
.text-btn { border: 0; background: transparent; color: #0068b7; padding: 0; }
.qr-box { width: 170px; height: 170px; margin: 0 auto 12px; border: 8px solid #303133; border-radius: 8px; background: repeating-linear-gradient(90deg, #303133 0 8px, transparent 8px 16px), repeating-linear-gradient(#303133 0 8px, transparent 8px 16px); }
.stage-strip { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 15px; }
.stage-chip { min-width: 104px; border: 1px solid #ebeef5; border-radius: 4px; padding: 10px 12px; background: #fff; text-align: left; cursor: pointer; }
.stage-chip b { display: block; font-size: 20px; }
.stage-chip span { color: #909399; font-size: 12px; }
.stage-chip.active { border-color: #409eff; background: #ecf5ff; }
.steps { display: flex; gap: 8px; }
.steps div { flex: 1; background: #f5f7fa; border-radius: 4px; padding: 10px 12px; }
.steps b { display: block; font-size: 14px; }
.steps span { color: #909399; font-size: 12px; }
.steps .on { background: #ecf5ff; }
.dialog.wide { width: 860px; }
.dialog.sheet { width: 920px; max-height: 86vh; overflow: auto; }
.dialog.sheet [data-policy-scenario] { margin: 16px 0; padding: 16px; border: 1px solid #dce5ef; border-radius: 6px; }
.dialog.sheet [data-policy-scenario] .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.dialog.sheet .field-checks { margin: 12px 0; padding: 12px; border: 1px solid #dce5ef; border-radius: 6px; }
.dialog.sheet .field-checks label, .dialog.sheet [data-policy-scenario] label:has(> input[type=checkbox]) { display: inline-flex; align-items: center; gap: 8px; margin-right: 16px; }
.dialog.sheet .field-checks input[type=checkbox], .dialog.sheet [data-policy-scenario] input[type=checkbox] { width: 18px; height: 18px; margin: 0; padding: 0; flex-shrink: 0; }
@media (max-width: 640px) { .dialog.sheet [data-policy-scenario] .form-grid { grid-template-columns: 1fr; } }
.template-editor .tpl-scale { border: 1px solid var(--line); border-radius: 6px; margin: 12px 0; }
.template-editor .tpl-scale summary { padding: 14px; cursor: pointer; background: #f5f7fa; }
.template-editor .tpl-scale summary span { margin-left: 16px; color: #606266; font-size: 13px; }
.template-editor .tpl-scale-body { padding: 16px; }
.template-editor .tpl-question { min-width: 0; margin: 18px 0; padding: 12px; border: 1px solid var(--line); border-radius: 4px; }
.template-editor .tpl-question legend { padding: 0 6px; font-weight: 600; }
.template-editor .tpl-option, .template-editor .tpl-option-head { display: grid; grid-template-columns: minmax(0, 1fr) 100px 64px; gap: 10px; align-items: center; margin-top: 8px; }
.template-editor .tpl-option input { margin: 0; min-width: 0; }
.template-editor .tpl-option-head { color: #606266; font-size: 13px; margin-top: 14px; }
.template-editor .tpl-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; }
.template-editor .tpl-library-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.template-editor button:disabled { cursor: default; opacity: .5; }
.template-editor .tpl-toolbar button, .template-editor .tpl-option button, .template-editor .tpl-library-row button { border: 1px solid var(--line); background: #fff; border-radius: 4px; padding: 7px 12px; color: #606266; }
.template-editor .tpl-toolbar button:hover:not(:disabled), .template-editor .tpl-library-row button:hover:not(:disabled) { color: #0068b7; border-color: #0068b7; }
.template-editor .dialog-actions { position: sticky; bottom: -16px; background: #fff; padding: 14px 0 4px; border-top: 1px solid var(--line-soft); z-index: 2; }
@media (max-width: 600px) {
  .template-editor .form-grid-2 { grid-template-columns: 1fr; }
  .template-editor .tpl-option, .template-editor .tpl-option-head { grid-template-columns: minmax(0, 1fr) 70px 52px; gap: 6px; }
  .template-editor .tpl-scale-body { padding: 10px; }
  .template-editor .tpl-scale summary span { display: block; margin: 8px 0 0; }
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.ltci-muted { color: #909399; }
.dialog textarea { display: block; width: 100%; min-height: 72px; margin-top: 6px; border: 1px solid var(--line); border-radius: 4px; padding: 8px 10px; }
.dialog textarea.code-area { min-height: 240px; border-color: #ccc; font-family: Consolas, monospace; }
.dialog select { display: block; width: 100%; height: 36px; margin-top: 6px; border: 1px solid var(--line); border-radius: 4px; }
.dialog .ver { display: flex; align-items: center; gap: 6px; }
.dialog .ver input { width: 88px; }
.apk-box { display: flex; align-items: center; justify-content: center; width: 138px; height: 138px; margin-top: 6px; border: 1px dashed #d9d9d9; border-radius: 6px; color: #8c939d; font-size: 28px; background: #fff; cursor: pointer; }
.qr-thumb { display: inline-flex; align-items: center; justify-content: center; width: 100px; height: 100px; border: 1px solid var(--line); border-radius: 4px; color: #909399; background: #f5f7fa; }
.desc { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-bottom: 16px; }
.desc.cols-4 { grid-template-columns: repeat(4, 1fr); }
.desc.cols-1 { grid-template-columns: 1fr; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.card-head select, .card-head button { height: 32px; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.card-head button { padding: 0 14px; }
.desc span { display: block; color: #909399; font-size: 12px; }
.mod-ltci .panel { min-height: 0; margin-bottom: 15px; }
@media (max-width: 1100px) {
  .mod-ltci .grid-2, .mod-ltci .stat-row { grid-template-columns: 1fr 1fr; }
}

.q-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.dialog .q-bar input { width: 180px; margin-top: 0; }
.q-bar .spacer { flex: 1; }
.mod-ltci fieldset { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.mod-ltci fieldset label { display: block; margin-bottom: 12px; color: #606266; }
.mod-ltci fieldset input, .mod-ltci fieldset select, .mod-ltci fieldset textarea { display: block; width: 100%; margin-top: 6px; border: 1px solid var(--line); border-radius: 4px; padding: 8px 10px; }
.mod-ltci fieldset input, .mod-ltci fieldset select { height: 32px; padding: 0 10px; }
.mod-ltci h4 { margin: 16px 0 8px; font-size: 14px; font-weight: 600; color: #303133; }
.mod-ltci fieldset select[multiple] { height: auto; min-height: 72px; padding: 4px; }
.mod-ltci pre { white-space: pre-wrap; background: #f5f7fa; padding: 10px; border-radius: 4px; }
.q-bar input, .q-bar select { height: 32px; border: 1px solid var(--line); border-radius: 4px; padding: 0 10px; background: #fff; }
.q-bar button, .toolbar button { height: 32px; padding: 0 14px; border-radius: 4px; border: 1px solid var(--line); background: #fff; }
.q-bar button.danger { background: #f56c6c; border-color: #f56c6c; color: #fff; }
.q-bar button.ok { background: #67c23a; border-color: #67c23a; color: #fff; }
.q-bar button.warn { background: #e6a23c; border-color: #e6a23c; color: #fff; }
.q-bar button.info { background: #909399; border-color: #909399; color: #fff; }
.mod-message .data th, .mod-message .data td { text-align: center; }
.q-bar .primary, .toolbar .primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.q-bar button.plain { background: #fff; border-color: var(--primary); color: var(--primary); }
.q-bar label.inline { display: inline-flex; align-items: center; gap: 4px; color: #606266; }
.q-bar label.inline input { width: auto; height: auto; margin: 0; }
.identity-block { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line-soft); }
.identity-block .dept { color: #606266; margin-bottom: 4px; }
.identity-block .type { color: #606266; font-size: 13px; padding-left: 48px; }
.toolbar { display: flex; gap: 8px; margin-bottom: 12px; }
.data { width: 100%; border-collapse: collapse; font-size: 14px; }
.data th, .data td { border-bottom: 1px solid var(--line-soft); padding: 10px 8px; text-align: left; }
.data th { background: #f5f7fa; color: #909399; font-weight: 500; }
.data td { color: #606266; }
.ops button { border: 0; background: transparent; color: var(--primary); padding: 0 6px; }
/* 置灰的操作按钮要连鼠标指针一起改掉，否则还是手型，看着像能点。 */
.ops button[disabled] { color: #c0c4cc; cursor: not-allowed; }
.pager { display: flex; justify-content: flex-end; gap: 8px; padding-top: 12px; color: var(--muted); }
.tag { display: inline-block; padding: 0 8px; height: 22px; line-height: 22px; border-radius: 4px; font-size: 12px; background: #f4f4f5; color: #909399; }
.tag.blue { background: #ecf5ff; color: #409eff; }
.tag.ok { background: #f0f9eb; color: #67c23a; }
.tag.warn { background: #fdf6ec; color: #e6a23c; }
.tag.bad { background: #fef0f0; color: #f56c6c; }
.cell-main { font-weight: 500; color: #303133; }
.cell-sub { color: #909399; font-size: 12px; margin-top: 2px; }
.page-tabs { display: flex; gap: 4px; border-bottom: 1px solid #e4e7ed; margin-bottom: 12px; }
.page-tab { height: 40px; padding: 0 16px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #303133; }
.page-tab.active { color: #0068b7; border-bottom-color: #0068b7; }
.remind { margin-bottom: 12px; padding: 12px 14px; border: 1px solid #faecd8; border-radius: 4px; background: #fdf6ec; color: #e6a23c; }
.remind b { display: block; margin-bottom: 4px; }
.alert-info { margin-bottom: 12px; padding: 12px 14px; border: 1px solid #d9ecff; border-radius: 4px; background: #f4f8ff; color: #606266; }
.alert-info b { display: block; margin-bottom: 4px; color: #303133; }
.remind-line { margin-top: 8px; color: #606266; }
.form-section { margin: 12px 0 8px; font-weight: 600; color: #303133; }
.ops .danger { color: #f56c6c; }
.area-split { display: grid; grid-template-columns: 320px 1fr; gap: 12px; align-items: start; }
.area-item { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 4px; cursor: pointer; }
.area-item.active { background: #ecf5ff; }
.floor-item { margin-left: 16px; }
.sum-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; color: #606266; }
.sum-bar button { height: 32px; padding: 0 14px; border-radius: 4px; border: 1px solid var(--line); background: #fff; }
.sum-bar .primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.sum-bar button[disabled] { opacity: .55; }
.week-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.week-col { background: #f5f7fa; border-radius: 4px; padding: 8px; min-height: 140px; }
.week-col.today { background: #ecf5ff; }
.week-card { display: block; width: 100%; margin-top: 8px; padding: 8px; border: 0; border-radius: 4px; background: #fff; text-align: left; cursor: pointer; }
.alert-bad { margin-bottom: 12px; padding: 12px 14px; border: 1px solid #fde2e2; border-radius: 4px; background: #fef0f0; color: #606266; }
.alert-bad b { display: block; margin-bottom: 4px; color: #f56c6c; }
.row-urgent td { background: #fef7f7; }
.sect-title { font-weight: 600; font-size: 13px; margin: 18px 0 10px; padding-left: 8px; border-left: 3px solid #0068b7; }
.ltcs-danger { color: #f56c6c; }
.bed-picker { position: relative; }
.bed-picker .bed-input { width: 100%; height: 36px; border: 1px solid var(--line); border-radius: 4px; padding: 0 10px; }
.bed-pop { position: absolute; z-index: 30; left: 0; top: 40px; width: 760px; max-width: calc(100vw - 80px); background: #fff; border: 1px solid #ebeef5; border-radius: 4px; box-shadow: 0 2px 12px rgba(0, 0, 0, .1); padding: 12px 12px 8px; }
.bed-pop.is-inline { position: static; width: 100%; max-width: none; margin-top: 8px; box-shadow: none; }
.bed-filters { margin-bottom: 8px; }
.bed-pop .bed-no { font-weight: 600; color: #303133; }
.bed-pop tr.is-disabled { color: #c0c4cc; cursor: not-allowed; }
.bed-pop tr.is-current td { background: #ecf5ff; }
.bed-foot { display: flex; justify-content: flex-end; padding-top: 8px; color: #909399; }
.not-found { display: flex; flex-direction: column; align-items: center; min-height: 100vh; padding: 15% 50px 50px; text-align: center; background: #fff; }
.not-found h2 { margin: 0 0 15px; font-size: 10em; font-weight: 400; color: #606266; line-height: 1; }
.not-found p { margin: 0 0 20px; font-size: 26px; color: #909399; }
.not-found em { margin: 0 5px; font-style: normal; color: #e6a23c; }
.not-found .btn-bar button { height: 40px; margin: 0 15px; padding: 0 20px; border: 1px solid #dcdfe6; border-radius: 4px; background: #fff; color: #606266; }
.not-found .btn-bar .primary { background: #0068b7; border-color: #0068b7; color: #fff; }
.dl-page { min-height: 100vh; background: #fff; }
.dl-header { height: 70px; line-height: 70px; font-size: 26px; color: #fff; background: #005ea5; padding-left: 20px; }
.dl-body { display: flex; align-items: flex-start; padding: 20px; }
.dl-tabs { width: 180px; border-right: 1px solid #e4e7ed; }
.dl-tabs button { display: block; width: 100%; height: 40px; border: 0; border-right: 2px solid transparent; background: transparent; text-align: right; padding: 0 20px; color: #303133; }
.dl-tabs button.active { color: #0068b7; border-right-color: #0068b7; }
.dl-main { flex: 1; margin-left: 20px; }
.dl-card { border: 1px solid #ebeef5; border-radius: 4px; }
.dl-card h3 { margin: 0; padding: 14px 18px; border-bottom: 1px solid #ebeef5; font-size: 16px; font-weight: 600; }
.dl-download { display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.dl-download .primary { height: 40px; padding: 0 18px; border: 0; border-radius: 4px; background: #0068b7; color: #fff; }
.dl-qr { display: flex; align-items: center; justify-content: center; width: 130px; height: 130px; margin-left: 20px; border: 1px solid #ddd; color: #909399; background: #f5f7fa; }
.dl-info { width: calc(100% - 32px); margin: 0 16px 20px; border-collapse: collapse; }
.dl-info th, .dl-info td { border: 1px solid #ebeef5; padding: 12px 10px; text-align: left; color: #606266; }
.dl-info th { width: 200px; background: #fafafa; color: #909399; font-weight: 400; }
.mdl-page { min-height: 100vh; background: #fff; }
.mdl-header { height: 10rem; line-height: 10rem; font-size: 4rem; color: #fff; background: #005ea5; padding-left: 2rem; }
.mdl-body { padding: 2rem; }
.mdl-tabs { display: flex; align-items: center; justify-content: space-around; flex-wrap: wrap; }
.mdl-tabs button { height: 6rem; margin: 1rem; padding: 0 2rem; border: 0; background: transparent; color: #666; font-size: 3rem; line-height: 6rem; }
.mdl-tabs button.active { color: #005ea5; border-bottom: 2px solid #005ea5; }
.mdl-content { display: flex; flex-direction: column; align-items: center; margin-top: 4rem; }
.mdl-download { display: flex; align-items: center; justify-content: center; height: 6rem; padding: 0.4rem 1.3rem; border: 0; background: #005ea5; color: #fff; font-size: 2.6rem; }
.mdl-qr { display: flex; align-items: center; justify-content: center; width: 30rem; height: 30rem; margin-top: 3rem; border: 1px solid #ddd; background: #f5f7fa; color: #999; font-size: 2rem; }
.mdl-info { width: 100%; margin-top: 3rem; font-size: 2.8rem; }
.mdl-info .item { display: flex; }
.mdl-info .item + .item { margin-top: 1.4rem; }
.mdl-info label { width: 13rem; }
.mdl-info p { flex: 1; margin: 0; color: #999; }
.mdl-mask { position: fixed; inset: 0; background: rgba(0, 0, 0, .7); }
.page-frame { display: block; width: 100%; height: calc(100vh - 160px); border: 0; background: #fff; }
@media (max-width: 767px) {
  .not-found h2 { font-size: 8em; }
  .not-found p { font-size: 20px; }
  .not-found .btn-bar button { margin: 0 7px; }
}

/* SaaS 视觉重构 */
:root {
  --nav-h: 68px;
  --side: 236px;
  --primary: #1677ff;
  --primary-hover: #4096ff;
  --theme: #1677ff;
  --nav-bg: rgba(255, 255, 255, .96);
  --nav-color: #1d2939;
  --side-bg: #f7f9fc;
  --side-active: #eaf3ff;
  --side-color: #475467;
  --side-icon: #667085;
  --side-bottom: #f7f9fc;
  --page-bg: #f3f6fa;
  --text: #1d2939;
  --muted: #667085;
  --line: #dfe5ec;
  --line-soft: #edf1f5;
}

html, body { background: var(--page-bg); }
body { font-size: 14px; }
button { transition: color .18s, background .18s, border-color .18s, box-shadow .18s, transform .18s; }
button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid rgba(22, 119, 255, .15);
  outline-offset: 1px;
}

/* 登录 */
.login-container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(520px, 1.15fr) minmax(500px, .85fr);
  min-width: 980px;
  min-height: 100vh;
  height: auto;
  overflow: auto;
  background: #fff;
}
.login-brand-panel {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 44px 7vw;
  color: #fff;
  background:
    radial-gradient(circle at 72% 38%, rgba(84, 200, 255, .25), transparent 28%),
    radial-gradient(circle at 18% 90%, rgba(45, 212, 191, .22), transparent 24%),
    linear-gradient(145deg, #0756c7 0%, #0c76df 58%, #1095e8 100%);
}
.login-brand-panel:before, .login-brand-panel:after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
}
.login-brand-panel:before { width: 560px; height: 560px; right: -260px; top: -190px; }
.login-brand-panel:after { width: 360px; height: 360px; left: -190px; bottom: -160px; }
.login-brand { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; }
.login-brand__mark {
  display: block; width: 48px; height: 48px; border-radius: 50%; overflow: hidden;
  background: transparent; box-shadow: none;
}
.login-brand__mark img { width: 48px; height: 48px; display: block; object-fit: cover; }
.login-brand b { display: block; font-size: 23px; letter-spacing: 2px; }
.login-brand small { display: block; margin-top: 2px; color: rgba(255, 255, 255, .75); font-size: 12px; letter-spacing: 3px; }
.login-hero { position: relative; z-index: 2; margin-top: 12vh; }
.login-kicker { font-size: 12px; font-weight: 700; letter-spacing: 3px; color: #b9e6ff; }
.login-hero h1 { margin: 18px 0; font-size: clamp(38px, 4vw, 62px); line-height: 1.18; letter-spacing: 1px; }
.login-hero p { margin: 0; color: rgba(255, 255, 255, .76); font-size: 16px; line-height: 1.9; }
.login-feature-list { display: flex; gap: 22px; margin-top: 30px; color: rgba(255, 255, 255, .9); }
.login-feature-list span:before { content: "✓"; display: inline-grid; place-items: center; width: 19px; height: 19px; margin-right: 7px; border-radius: 50%; background: rgba(255,255,255,.16); font-size: 11px; }
.login-visual { position: absolute; z-index: 1; right: 7%; bottom: 10%; width: 330px; height: 230px; }
.visual-orbit { position: absolute; inset: 25px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; transform: rotate(-15deg); }
.visual-orbit.orbit-two { inset: 55px -35px; transform: rotate(20deg); }
.visual-card {
  position: absolute; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.14); box-shadow: 0 24px 50px rgba(0, 47, 120, .22);
  backdrop-filter: blur(12px);
}
.visual-card--main { right: 60px; bottom: 35px; width: 190px; height: 132px; border-radius: 28px; }
.visual-card--main b { margin-top: -13px; font-size: 18px; }
.visual-card--main small { margin-top: -32px; color: rgba(255,255,255,.72); }
.visual-cross { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 14px; background: #fff; color: #1677ff; font-size: 30px; font-weight: 300; }
.visual-card--one, .visual-card--two { width: 70px; height: 70px; border-radius: 22px; font-weight: 700; }
.visual-card--one { left: 5px; top: 18px; }
.visual-card--two { right: 0; top: 0; }
.login-brand-footer { position: absolute; z-index: 2; left: 7vw; bottom: 32px; color: rgba(255,255,255,.55); font-size: 12px; }
.login-main {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 100vh; padding: 60px 8% 80px; background: #fff;
}
.login-content { width: 100%; max-width: 450px; padding: 0; border-radius: 0; background: transparent; }
.login-title { text-align: left; }
.login-title > span { display: block; margin-bottom: 10px; color: var(--primary); font-weight: 700; }
.login-title h2 { margin: 0; color: #101828; font-size: 30px; font-weight: 700; letter-spacing: -1px; }
.login-title p { margin: 10px 0 34px; color: #98a2b3; }
.login-form { padding: 0; }
.login-label { display: block; margin: 18px 0 8px; color: #344054; font-size: 13px; font-weight: 600; }
.login-form .field {
  height: 48px; margin: 0; padding: 0 14px; border: 1px solid #d9e0e8;
  border-radius: 10px; background: #fff;
}
.login-form .field:focus-within { border-color: #69a9ff; box-shadow: 0 0 0 4px rgba(22,119,255,.08); }
.login-form .field .prefix { width: 30px; color: #98a2b3; font-size: 17px; }
.login-form .field input { height: 46px; font-size: 14px; }
.password-toggle { width: 32px; height: 32px; padding: 0; border: 0; background: transparent; color: #b2bac6; }
.password-toggle.is-visible { color: var(--primary); }
.captcha-row { gap: 12px; }
.captcha-row .field { margin: 0; }
.login-captcha {
  width: 132px; height: 48px; border: 1px solid #d9e0e8; border-radius: 10px;
  color: #1554ad; background:
    repeating-linear-gradient(-20deg, transparent 0 13px, rgba(22,119,255,.05) 13px 14px),
    #f6f9ff; font-family: Georgia, serif; font-weight: 700; font-style: italic; letter-spacing: 4px;
}
.login-captcha:hover { border-color: #69a9ff; }
.login-options { display: flex; justify-content: space-between; align-items: center; margin: 16px 0 6px; }
.login-form .remember { margin: 0; color: #667085; font-size: 13px; }
.login-form .remember input { accent-color: var(--primary); }
.login-help { padding: 4px 0; border: 0; background: transparent; color: var(--primary); font-size: 13px; }
.login-error { min-height: 20px; margin: 0 0 3px; color: #f04438; font-size: 12px; }
.login-btn-ui {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; border-radius: 10px; font-size: 15px; font-weight: 700;
  background: linear-gradient(100deg, #1677ff, #0b8fdf); box-shadow: 0 10px 25px rgba(22,119,255,.2);
}
.login-btn-ui:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(22,119,255,.28); }
.login-btn-ui i { font-style: normal; font-size: 19px; }
.login-apps { display: flex; gap: 14px; margin-top: 28px; padding-top: 22px; border-top: 1px solid #edf1f5; }
.login-apps > div { display: flex; align-items: center; flex: 1; gap: 10px; padding: 10px; border: 1px solid #edf1f5; border-radius: 10px; }
.app-qr { width: 42px; height: 42px; border: 5px solid #344054; background: repeating-linear-gradient(45deg,#344054 0 3px,#fff 3px 6px); }
.app-qr.is-alt { border-color: #1677ff; }
.login-apps p { margin: 0; }
.login-apps b, .login-apps small { display: block; }
.login-apps b { color: #344054; font-size: 12px; }
.login-apps small { margin-top: 4px; color: #98a2b3; font-size: 11px; }
.login-main .login-footer {
  position: absolute; left: 0; right: 0; bottom: 26px; display: flex; justify-content: center; align-items: center;
  gap: 10px; padding: 0; color: #98a2b3; font-size: 11px;
}
.login-main .login-footer i { width: 1px; height: 11px; background: #d0d5dd; }

/* 顶部导航 */
.aui-navbar {
  align-items: center; border-bottom: 1px solid rgba(224, 230, 237, .9);
  box-shadow: 0 2px 12px rgba(16, 24, 40, .035); backdrop-filter: blur(12px);
}
.navbar_new_header {
  width: var(--side); min-width: var(--side); height: var(--nav-h); margin: 0; padding: 0 22px;
  border-right: 1px solid #edf1f5;
}
.logo-img {
  flex: 0 0 auto; width: 38px; height: 38px; margin-right: 11px; border-radius: 50%;
  background: transparent; box-shadow: none; overflow: hidden;
}
.logo-img img { width: 100%; height: 100%; display: block; object-fit: cover; }
.logo_name { min-width: 0; }
.lg_name { color: #101828; font-size: 18px; font-weight: 700; letter-spacing: 1px; }
.logo_sub { margin-top: 2px; color: #98a2b3; font-size: 10px; white-space: nowrap; }
.aui-navbar__body { min-width: 0; height: 100%; padding: 0 22px 0 20px; }
.module-nav { display: flex; align-self: stretch; gap: 6px; }
.module-nav__item {
  position: relative; display: flex; align-items: center; gap: 7px; height: 100%; padding: 0 16px;
  border: 0; background: transparent; color: #667085; font-size: 14px;
}
.module-nav__item:after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: transparent; }
.module-nav__item:hover { color: var(--theme); background: #f8fbff; }
.module-nav__item.is-active { color: var(--theme); font-weight: 600; }
.module-nav__item.is-active:after { background: var(--theme); }
.module-nav__icon { font-size: 17px; }
.nav-tools { gap: 5px; }
.nav-tool-btn {
  position: relative; display: grid; place-items: center; width: 36px; height: 36px; padding: 0;
  border: 0; border-radius: 9px; background: transparent; color: #667085; font-size: 19px;
}
.nav-tool-btn:hover { color: var(--theme); background: #f2f6fb; }
.notice-dot { position: absolute; right: 8px; top: 7px; width: 6px; height: 6px; border: 1px solid #fff; border-radius: 50%; background: #f04438; }
.user-name { display: flex; align-items: center; gap: 9px; height: 48px; margin-left: 5px; padding: 0 7px; border-radius: 10px; }
.user-name:hover { background: #f6f8fb; }
.user-avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: #fff; background: linear-gradient(145deg,#46a2ff,#1677ff); font-size: 12px; font-weight: 700; }
.user-meta { min-width: 66px; text-align: left; }
.user-meta b, .user-meta small { display: block; }
.user-meta b { color: #344054; font-size: 12px; }
.user-meta small { margin-top: 2px; color: #98a2b3; font-size: 10px; }
.user-caret { color: #98a2b3; }
.pop { top: 48px; border: 1px solid #edf1f5; box-shadow: 0 16px 40px rgba(16,24,40,.12); }
.user-pop { min-width: 190px; }
.user-pop-head { display: flex; flex-direction: column; gap: 3px; margin: -8px -8px 7px; padding: 14px 16px; border-bottom: 1px solid #edf1f5; }
.user-pop-head span { color: #98a2b3; font-size: 11px; }

/* 模块侧边栏 */
.aui-sidebar {
  border-right: 1px solid #e8edf3; box-shadow: none;
}
.sidebar-context { display: flex; align-items: center; gap: 10px; height: 70px; padding: 14px 18px 10px; }
.sidebar-context__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--theme); background: rgba(22,119,255,.1); font-size: 17px; }
.sidebar-context b, .sidebar-context small { display: block; }
.sidebar-context b { color: #344054; font-size: 14px; }
.sidebar-context small { margin-top: 3px; color: #98a2b3; font-size: 10px; }
.nav_search_ipt { position: relative; padding: 2px 14px 12px; }
.nav_search_ipt > span { position: absolute; z-index: 1; left: 26px; top: 10px; color: #98a2b3; }
.inline-input {
  height: 36px; padding: 0 12px 0 34px; border-color: #e4e9ef; border-radius: 9px;
  color: #344054; box-shadow: 0 1px 2px rgba(16,24,40,.02);
}
.inline-input::placeholder { color: #b1bac8; }
.aui-sidebar__menu { padding: 2px 10px 18px; }
.menu-section { margin-bottom: 4px; }
.menu-section__title {
  display: flex; align-items: center; justify-content: space-between; width: 100%; height: 36px;
  padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: #98a2b3;
  font-size: 11px; font-weight: 600; text-align: left; letter-spacing: .5px;
}
.menu-section__title:hover { color: #667085; background: #f0f3f7; }
.menu-section__title i { font-style: normal; transition: transform .2s; }
.menu-section.is-open .menu-section__title i { transform: rotate(180deg); }
.menu-section__items { display: none; }
.menu-section.is-open .menu-section__items { display: block; }
.menu-row { position: relative; display: flex; margin: 2px 0; border-radius: 9px; }
.menu-link { height: 40px; padding: 0 10px; gap: 10px; border-radius: 9px; color: #475467; }
.menu-link:hover { color: var(--theme); background: #eef4fb; }
.menu-symbol {
  display: grid; place-items: center; width: 21px; height: 21px; border-radius: 6px;
  color: #7d8b9f; background: transparent; font-size: 13px; font-style: normal;
}
.menu-row.is-active { background: var(--side-active); }
.menu-row.is-active .menu-link { color: var(--theme); background: transparent; font-weight: 600; }
.menu-row.is-active .menu-symbol { color: #fff; background: var(--theme); }
.menu-row.is-active:before { content: ""; position: absolute; left: -10px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--theme); }
.star { position: absolute; right: 5px; top: 7px; height: 26px; opacity: 0; }
.menu-row:hover .star, .star.on { opacity: 1; }
.menu-search-empty { padding: 35px 10px; color: #98a2b3; text-align: center; font-size: 12px; }
.bottom { height: 52px; padding: 0 12px; border-top: 1px solid #e8edf3; }
.btn-item { height: 34px; padding: 0 8px; border-radius: 8px; color: #667085; font-size: 12px; }
.btn-item:hover { color: var(--theme); background: #edf3fa; }
.fold-action { margin-left: auto; }
.common-pop { bottom: 46px; }

/* 内容区 */
.aui-content__wrapper { min-height: 100vh; }
.tabbar {
  top: var(--nav-h); height: 44px; align-items: center; gap: 5px; padding: 0 18px;
  overflow-x: auto;
  border-bottom: 1px solid #e9edf2; box-shadow: none; background: rgba(255,255,255,.9); backdrop-filter: blur(8px);
}
.tab { flex-shrink: 0; white-space: nowrap; height: 32px; padding: 0 13px; border-radius: 8px; color: #667085; font-size: 12px; }
.tab:hover { background: #f3f6f9; color: #344054; }
.tab.is-active { color: var(--theme); background: #edf5ff; font-weight: 600; }
.tab.is-active:after { display: none; }
.tab i { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-left: 7px; border-radius: 50%; }
.tab i:hover { color: #fff; background: #98a2b3; }
.promotion-qr { text-align: center; margin: 16px 0; }
.promotion-qr img { display: block; width: 280px; max-width: 100%; height: auto; margin: auto; image-rendering: pixelated; }
.promotion-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.promotion-actions button, .promotion-download { padding: 9px 12px; border: 1px solid #dce4ef; border-radius: 8px; background: #fff; }
.channel-types-dialog { max-height: 85vh; overflow-y: auto; }
.channel-types-dialog [data-types] { max-height: 40vh; overflow-y: auto; margin: 16px 0; }
.channel-types-dialog [data-types] form { padding: 12px 0; border-bottom: 1px solid var(--line); }
.channel-types-dialog button { min-height: 32px; margin: 8px 8px 0 0; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; }
.channel-types-dialog button.primary { color: #fff; background: var(--primary); border-color: var(--primary); }
.channel-types-dialog button[data-delete] { color: #d92d20; }
.channel-types-dialog button:disabled { opacity: .5; cursor: default; }
.promotion-page { min-height: 100dvh; padding: 28px 16px; background: #f2f6fb; }
.promotion-card { max-width: 520px; margin: auto; padding: 28px; border-radius: 18px; background: #fff; box-shadow: 0 10px 35px rgba(30,65,105,.08); }
.promotion-card h1 { font-size: 24px; overflow-wrap: anywhere; }
.promotion-card p { line-height: 1.7; }
.promotion-card label { display: block; margin: 18px 0; font-size: 15px; }
.promotion-card input:not([type=checkbox]), .promotion-card select, .promotion-card textarea { display: block; width: 100%; min-height: 44px; margin-top: 8px; padding: 10px; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; }
.promotion-card .promotion-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.7; }
.promotion-consent input { margin-top: 5px; flex-shrink: 0; }
.promotion-card button.primary { width: 100%; min-height: 48px; border: 0; border-radius: 9px; background: #1677ff; color: #fff; font-size: 16px; }
.promotion-card button:disabled { opacity: .6; }
@media (max-width: 520px) { .promotion-card { padding: 22px 18px; } .promotion-page { padding: 16px 10px; } }
.aui-content { padding: 128px 20px 20px; }
.empty-card, .panel {
  border-color: #e8edf3; border-radius: 12px; box-shadow: 0 2px 8px rgba(16,24,40,.025);
}
.panel { padding: 20px; }
.mod-ltci .panel { margin-bottom: 16px; }
.mod-ltci .stat-card { border-color: #e8edf3; border-radius: 12px; box-shadow: 0 2px 8px rgba(16,24,40,.025); }
.q-bar { padding: 14px 16px; border: 1px solid #e8edf3; border-radius: 12px; background: #fff; }
.q-bar input, .q-bar select, .q-bar button, .toolbar button { height: 34px; border-radius: 7px; }
.data { border: 1px solid #edf1f5; border-radius: 8px; overflow: hidden; }
.data th { color: #667085; background: #f8fafc; }
.data th, .data td { padding: 11px 10px; }
.data tr:hover td { background: #fafcff; }
.tag { border-radius: 12px; }
.dialog { border-radius: 14px; box-shadow: 0 22px 60px rgba(16,24,40,.18); }

/* 首页 */
.home-dashboard { max-width: 1500px; margin: 0 auto; }
.home-hero {
  position: relative; display: flex; min-height: 228px; overflow: hidden; padding: 38px 44px;
  border-radius: 18px; color: #fff; background:
    radial-gradient(circle at 80% 30%, rgba(89, 203, 255, .38), transparent 23%),
    linear-gradient(120deg, #075fd4, #1677ff 58%, #15a0df);
  box-shadow: 0 15px 36px rgba(22,119,255,.17);
}
.home-hero:after { content: ""; position: absolute; right: -80px; top: -130px; width: 350px; height: 350px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; }
.home-hero__content { position: relative; z-index: 2; }
.home-date { display: inline-block; padding: 5px 10px; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; background: rgba(255,255,255,.1); font-size: 11px; }
.home-hero h1 { margin: 16px 0 8px; font-size: 30px; }
.home-hero p { margin: 0; color: rgba(255,255,255,.76); }
.home-hero__actions { display: flex; gap: 10px; margin-top: 26px; }
.home-hero__actions button { height: 38px; padding: 0 17px; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; color: #fff; background: rgba(255,255,255,.1); }
.home-hero__actions button:hover { background: rgba(255,255,255,.18); }
.home-hero__actions .primary { border-color: #fff; color: #1677ff; background: #fff; }
.home-hero__graphic { position: absolute; z-index: 1; right: 8%; top: 18px; width: 270px; height: 190px; }
.hero-ring { position: absolute; inset: 20px; border: 1px solid rgba(255,255,255,.23); border-radius: 50%; transform: rotate(-12deg); }
.hero-person { position: absolute; bottom: 30px; width: 52px; border-radius: 28px 28px 16px 16px; background: rgba(255,255,255,.9); box-shadow: 0 14px 30px rgba(0,55,130,.2); }
.hero-person:before { content: ""; position: absolute; left: 13px; top: -23px; width: 27px; height: 27px; border: 5px solid rgba(255,255,255,.8); border-radius: 50%; background: #78c9ff; }
.hero-person.p-one { left: 52px; height: 80px; }
.hero-person.p-two { left: 112px; height: 105px; background: #d8f4ff; }
.hero-person.p-three { left: 172px; height: 72px; background: #b8e9ff; }
.home-hero__graphic b { position: absolute; right: 13px; top: 22px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: rgba(255,255,255,.17); font-size: 30px; }
.home-section { margin-top: 24px; }
.home-section__head, .home-card__head { display: flex; align-items: center; justify-content: space-between; }
.home-section__head h2, .home-card__head h2 { margin: 0; color: #1d2939; font-size: 16px; }
.home-section__head p { margin: 5px 0 0; color: #98a2b3; font-size: 12px; }
.home-updated { color: #98a2b3; font-size: 11px; }
.home-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.home-stat { display: flex; align-items: center; gap: 14px; padding: 20px; border: 1px solid #e8edf3; border-radius: 14px; background: #fff; box-shadow: 0 3px 12px rgba(16,24,40,.03); }
.stat-icon { display: grid; place-items: center; flex: 0 0 auto; width: 46px; height: 46px; border-radius: 13px; font-size: 19px; font-style: normal; }
.stat-icon.blue { color: #1677ff; background: #eaf3ff; }
.stat-icon.cyan { color: #06a6c7; background: #e7f9fc; }
.stat-icon.green { color: #12a66a; background: #e8f8f1; }
.stat-icon.orange { color: #f79009; background: #fff4e5; }
.home-stat span, .home-stat b, .home-stat small { display: block; }
.home-stat span { color: #667085; font-size: 12px; }
.home-stat b { margin: 5px 0 3px; color: #101828; font-size: 26px; }
.home-stat small { color: #98a2b3; font-size: 10px; }
.home-stat em { color: #f79009; font-style: normal; }
.home-main-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; margin-top: 18px; }
.home-card { padding: 20px; border: 1px solid #e8edf3; border-radius: 14px; background: #fff; box-shadow: 0 3px 12px rgba(16,24,40,.03); }
.home-card__head > div { display: flex; align-items: center; gap: 8px; }
.home-card__head > button { padding: 4px; border: 0; background: transparent; color: #1677ff; font-size: 11px; }
.count-badge { display: inline-grid; place-items: center; min-width: 21px; height: 21px; padding: 0 6px; border-radius: 11px; color: #1677ff; background: #eaf3ff; font-size: 10px; }
.todo-list { margin-top: 11px; }
.todo-list > button { display: flex; align-items: center; width: 100%; gap: 12px; padding: 12px 4px; border: 0; border-top: 1px solid #f0f2f5; background: transparent; text-align: left; }
.todo-list > button:hover { padding-left: 9px; background: #fafcff; }
.todo-type { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; font-size: 10px; font-style: normal; }
.todo-type.blue { color: #1677ff; background: #eaf3ff; }
.todo-type.purple { color: #7a5af8; background: #f0edff; }
.todo-type.orange { color: #f79009; background: #fff4e5; }
.todo-list span { flex: 1; }
.todo-list b, .todo-list small { display: block; }
.todo-list b { color: #344054; font-size: 12px; }
.todo-list small { margin-top: 4px; color: #98a2b3; font-size: 10px; }
.todo-list em { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #667085; background: #f2f4f7; font-style: normal; font-size: 10px; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 17px; }
.quick-grid button { display: flex; flex-direction: column; align-items: center; gap: 7px; min-height: 75px; padding: 11px 5px; border: 1px solid #edf1f5; border-radius: 11px; background: #fbfcfe; color: #475467; font-size: 11px; }
.quick-grid button:hover { border-color: #b8d8ff; color: #1677ff; background: #f5f9ff; transform: translateY(-2px); }
.quick-grid i { color: #1677ff; font-size: 19px; font-style: normal; }
.business-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.business-grid button { display: flex; align-items: center; gap: 14px; padding: 20px; border: 1px solid #e8edf3; border-radius: 14px; background: #fff; text-align: left; }
.business-grid button:hover { border-color: #b8d8ff; box-shadow: 0 10px 24px rgba(22,119,255,.08); transform: translateY(-2px); }
.business-icon { display: grid; place-items: center; flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; font-size: 20px; font-style: normal; }
.business-icon.acquisition { color: #1677ff; background: #eaf3ff; }
.business-icon.fulfillment { color: #12a66a; background: #e8f8f1; }
.business-icon.organization { color: #7a5af8; background: #f0edff; }
.business-grid span { flex: 1; }
.business-grid b, .business-grid small { display: block; }
.business-grid b { color: #344054; font-size: 14px; }
.business-grid small { margin-top: 5px; color: #98a2b3; font-size: 10px; }
.business-grid em { color: #1677ff; font-style: normal; font-size: 11px; }

/* 折叠与响应式 */
.is-fold { --side: 72px; }
.is-fold .logo_name, .is-fold .sidebar-context > div, .is-fold .nav_search_ipt,
.is-fold .menu-section__title span, .is-fold .menu-link span, .is-fold .star,
.is-fold .btn-item .title { display: none; }
.is-fold .navbar_new_header { width: 72px; min-width: 72px; padding: 0 17px; }
.is-fold .logo-img { margin: 0; }
.is-fold .sidebar-context { justify-content: center; padding-left: 0; padding-right: 0; }
.is-fold .menu-section__title { justify-content: center; padding: 0; }
.is-fold .menu-section__title i { font-size: 0; }
.is-fold .menu-section__title i:after { content: "·"; font-size: 16px; }
.is-fold .menu-link { justify-content: center; padding: 0; }
.is-fold .bottom { flex-direction: column; height: auto; padding: 8px 0; gap: 3px; }

.nav-theme-blue-deep { --theme: #3154d9; --side-bg: #f6f7fb; --side-active: #e9edff; --side-color: #475467; --side-icon: #667085; --side-bottom: #f6f7fb; }
.nav-theme-green { --theme: #0e9674; --side-bg: #f4faf8; --side-active: #e2f5ef; --side-color: #435f57; --side-icon: #637d76; --side-bottom: #f4faf8; }
.nav-theme-orange { --theme: #ed6c2b; --side-bg: #fff8f4; --side-active: #ffeadf; --side-color: #66544a; --side-icon: #806e64; --side-bottom: #fff8f4; }
.nav-theme-black { --theme: #6f8cff; --nav-bg: #1d2433; --nav-color: #eaf0ff; --side-bg: #202939; --side-active: #2e3a51; --side-color: #d0d8e8; --side-icon: #93a0b6; --side-bottom: #202939; --page-bg: #151c28; }
.nav-theme-black .lg_name, .nav-theme-black .user-meta b { color: #eef3ff; }
.nav-theme-black .navbar_new_header, .nav-theme-black .aui-sidebar, .nav-theme-black .bottom { border-color: #303b4e; }

@media (max-width: 1180px) {
  .module-nav__item { padding: 0 10px; }
  .module-nav__icon { display: none; }
  .user-meta { display: none; }
  .home-stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .login-container { grid-template-columns: 1fr; min-width: 0; }
  .login-brand-panel { display: none; }
  .login-main { min-height: 100vh; padding: 50px 24px 80px; }
  .module-nav__item span:not(.module-nav__icon) { display: none; }
  .module-nav__icon { display: inline; }
  .home-main-grid, .business-grid { grid-template-columns: 1fr; }
  .home-hero__graphic { opacity: .45; right: -20px; }
}
@media (max-width: 700px) {
  :root { --side: 0px; }
  .aui-sidebar { transform: translateX(-100%); }
  .navbar_new_header { width: auto; min-width: 0; border-right: 0; }
  .logo_sub { display: none; }
  .aui-navbar__body { padding-left: 4px; }
  .home-stat-grid { grid-template-columns: 1fr; }
  .home-hero { padding: 28px 24px; }
  .home-hero__graphic { display: none; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 接后端之后新增的状态反馈样式 ---------- */
.toast-host { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 2000; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { min-width: 200px; max-width: 520px; padding: 10px 16px; border-radius: 4px; font-size: 14px; background: #edf2fc; color: #606266; border: 1px solid #dcdfe6; box-shadow: 0 4px 12px rgba(0, 0, 0, .08); transition: opacity .2s, transform .2s; }
.toast.is-out { opacity: 0; transform: translateY(-6px); }
.toast--ok { background: #f0f9eb; border-color: #e1f3d8; color: #529b2e; }
.toast--error { background: #fef0f0; border-color: #fde2e2; color: #c45656; }
.toast--warn { background: #fdf6ec; border-color: #faecd8; color: #b88230; }
.state-box { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 48px 12px; color: var(--muted); font-size: 14px; }
.state-box--error { color: #c45656; }
.state-box--error i { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: #fef0f0; color: #f56c6c; font-style: normal; }
.state-box button { height: 30px; padding: 0 14px; border-radius: 4px; border: 1px solid var(--primary); background: var(--primary); color: #fff; }
.spinner { width: 16px; height: 16px; border: 2px solid #dcdfe6; border-top-color: var(--primary); border-radius: 50%; animation: chx-spin .8s linear infinite; }
@keyframes chx-spin { to { transform: rotate(360deg); } }
.table-empty { text-align: center; color: var(--muted); padding: 40px 0; }
.confirm-text { margin: 0 0 20px; color: #606266; line-height: 1.6; }
.req { color: #f56c6c; font-style: normal; }
.pager button { height: 28px; padding: 0 12px; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.pager button[disabled] { color: #c0c4cc; background: #f5f7fa; }
.pager select { height: 28px; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 20px; }
.detail-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.detail-grid > div span { display: block; color: #909399; font-size: 12px; margin-bottom: 2px; }
.detail-grid > div b { font-weight: 500; color: #303133; }
/* 横向完成率条。总览页的「今日进度」用，宽度由内联 style 给。 */
.rate-bar { display: flex; align-items: center; gap: 12px; }
.rate-bar .label { width: 72px; color: #909399; font-size: 13px; }
.rate-bar .track { flex: 1; height: 10px; border-radius: 5px; background: #f0f2f5; overflow: hidden; }
.rate-bar .track i { display: block; height: 100%; border-radius: 5px; background: #409eff; }
.rate-bar .value { min-width: 96px; text-align: right; color: #303133; font-weight: 500; }
.dispatch-group { border-top: 1px solid #f0f2f5; padding-top: 10px; margin-top: 10px; }
.dispatch-group:first-of-type { border-top: 0; margin-top: 0; }
.dispatch-group h4 { margin: 0 0 6px; font-size: 13px; }
.dispatch-group h4 small { font-weight: 400; }
.check-list { margin: 0 0 12px; padding: 0; list-style: none; }
.check-list li { padding: 6px 0 6px 20px; position: relative; color: #606266; }
.check-list li:before { content: "•"; position: absolute; left: 6px; }
.check-list li.bad { color: #c45656; }
.check-list li.warn { color: #b88230; }
/* 弹窗表单里的多选项组（角色、用户身份）。 */
.check-group { display: flex; flex-wrap: wrap; gap: 4px 0; padding: 6px 0; }
.check-group em { font-size: 12px; font-style: normal; }
/* 角色的菜单权限树。缩进由内联 padding-left 按层级给。 */
.menu-tree { max-height: 46vh; overflow: auto; border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; margin-bottom: 12px; }
.menu-node { padding: 3px 0; }
.menu-node small { margin-left: 6px; font-size: 12px; }
.onboarding { max-width: 820px; margin: 48px auto 20px; padding: 0 24px; }
.onboarding header small { color: #4977ab; letter-spacing: .08em; }
.onboarding h1 { font-size: 28px; margin: 14px 0; }
.onboarding p { line-height: 1.8; color: #596b80; }
.onboarding nav { display: flex; gap: 12px; margin: 28px 0; }
.onboarding nav span { flex: 1; padding: 12px; background: #eaf0f7; border-radius: 8px; color: #65758b; }
.onboarding nav .active { color: #fff; background: #2868bb; }
.onboarding .panel { padding: 28px; border-radius: 12px; }
.onboarding label { display: block; margin: 18px 0; font-size: 14px; }
.onboarding input:not([type=checkbox]), .onboarding select { display: block; width: 100%; margin-top: 8px; padding: 10px 12px; border: 1px solid #c9d4e1; border-radius: 6px; box-sizing: border-box; }
.onboarding input[readonly] { background: #f1f4f8; color: #64748b; }
.onboarding-checks { list-style: none; padding: 0; }
.onboarding-checks li { padding: 13px 0; border-bottom: 1px solid #edf1f6; }
.onboarding aside { padding: 15px; background: #f0f6ff; line-height: 1.8; color: #52667f; border-radius: 8px; }
.onboarding-exit { display: block; margin: 16px auto 40px; }
.platform-console { display: flex; min-height: 100vh; background: #f3f6fa; }
.platform-aside { width: 230px; flex-shrink: 0; background: #122c50; color: #fff; padding: 28px 20px; box-sizing: border-box; }
.platform-aside h1 { font-size: 24px; margin: 0; }.platform-aside p { color: #a5bfdc; }
.platform-aside nav { margin: 36px 0; }.platform-aside button { display: block; width: 100%; text-align: left; padding: 12px; margin: 8px 0; border: 0; border-radius: 6px; background: transparent; color: #dce8f8; cursor: pointer; }
.platform-aside nav button.active,.platform-aside button:hover { background: #24548a; color: white; }.platform-aside small { display: block; margin-top: 40px; }
.platform-main { flex: 1; padding: 32px; min-width: 0; }.platform-main>header,.platform-toolbar,.platform-main>footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.platform-main header h2 { font-size: 26px; margin: 10px 0; }.platform-main header small,.platform-main header span { color: #65788e; }.platform-toolbar form { display:flex;gap:8px; }
.platform-console input,.platform-dialog input:not([type=checkbox]),.platform-dialog select { padding: 9px 12px; border: 1px solid #cbd7e5; border-radius: 5px; box-sizing: border-box; }
.platform-table { overflow-x: auto; }.platform-table table { width: 100%; border-collapse: collapse; }.platform-table th,.platform-table td { padding: 15px 12px; text-align:left; border-bottom: 1px solid #e8edf4; }.platform-table th { background: #f6f9fd; color: #66798d; }.platform-main>footer { justify-content:flex-end;margin-top:20px; }
.platform-scope { display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:0 0 24px;padding:16px 20px;background:#fff;border:1px solid #e1e8f0;border-radius:10px; }
.platform-scope p { flex:1;margin:0;color:#52667f; }.platform-scope strong { font-size:17px;color:#18395e; }.platform-scope span { color:#65788e; }
.platform-scope[hidden],.platform-main>footer[hidden] { display:none; }
.platform-mask { z-index: 1000; display: flex; padding: 24px; align-items:center; justify-content:center; }.platform-dialog { background:white; border-radius: 12px; width:min(700px,96vw);max-height:90vh;overflow-y:auto;padding:28px;box-sizing:border-box; }
.platform-dialog header { display:flex;justify-content:space-between;align-items:center;gap:12px; }.platform-dialog label { display:block;margin:14px 0; }.platform-dialog input:not([type=checkbox]),.platform-dialog select { display:block;width:100%;margin-top:7px; }.platform-dialog fieldset { border:1px solid #dce5ef;border-radius:6px;margin:16px 0; }.platform-permissions { max-height:260px;overflow:auto; }.platform-form-error,#platform-error { color:#c23c3c; }
.platform-main button,.platform-dialog button { padding:8px 14px;border:1px solid #cbd7e5;border-radius:6px;background:white;color:#234469;cursor:pointer; }.platform-main button.primary,.platform-dialog button.primary { background:#246cc2;border-color:#246cc2;color:white; }.platform-main button:disabled,.platform-dialog button:disabled { cursor:default;opacity:.5; }
@media(max-width:760px){.platform-console{display:block}.platform-aside{width:auto;padding:18px}.platform-aside nav{display:flex;flex-wrap:wrap;margin:12px 0}.platform-aside nav button{width:auto}.platform-aside small{margin-top:10px}.platform-main{padding:16px}.platform-main>header>span{display:none}.platform-toolbar{flex-wrap:wrap}.platform-toolbar input{max-width:55vw}}
@media (max-width: 600px) { .onboarding { margin-top: 20px; padding: 0 12px; } .onboarding nav { flex-direction: column; gap: 6px; } .onboarding .panel { padding: 18px; } }
/* 排班统筹：全宽、固定表头，长列表在表格内滚动。 */
.dispatch-page { min-width: 0; }
.dispatch-heading, .dispatch-result-head { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.dispatch-shortcuts, .dispatch-batch { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.dispatch-page .dispatch-tabs { gap:20px; margin-bottom:20px; overflow-x:auto; }
.dispatch-tabs button { flex-shrink:0; border:0; border-radius:0; background:transparent; padding:12px 4px; height:auto; color:#606266; border-bottom:3px solid transparent; }
.dispatch-tabs button.active { color:var(--primary); border-bottom-color:var(--primary); font-weight:600; }
.dispatch-page .dispatch-filters { display:flex; flex-wrap:wrap; align-items:flex-end; gap:14px; }
.dispatch-filters label { display:flex; flex-direction:column; align-items:flex-start; gap:7px; margin:0; font-size:13px; color:#606266; }
.dispatch-filters input, .dispatch-filters select { max-width:210px; min-width:140px; height:34px; }
.dispatch-results { min-width:0; }
.dispatch-result-head { padding-bottom:14px; }
.dispatch-batch { font-size:13px; color:#606266; }
.dispatch-table-wrap { width:100%; max-height:580px; overflow:auto; border:1px solid var(--line-soft); border-radius:6px; }
.dispatch-page .dispatch-table, .dispatch-dialog .dispatch-table { width:100%; min-width:1060px; margin:0; table-layout:auto; border-collapse:separate; border-spacing:0; }
.dispatch-table thead th { position:sticky; top:0; z-index:2; background:#f4f7fb; white-space:nowrap; border-bottom:1px solid #dce5ef; padding:14px 12px; }
.dispatch-table td { padding:14px 12px; vertical-align:middle; min-width:95px; line-height:1.6; }
.dispatch-table tbody tr:nth-child(even) { background:#fafcfe; }
.dispatch-table tbody tr:hover { background:#eff6ff; }
.dispatch-table .dispatch-check, .dispatch-table td:first-child:has(input[type=checkbox]) { width:40px; min-width:40px; }
.dispatch-table .dispatch-address { min-width:150px; max-width:250px; overflow-wrap:anywhere; }
.dispatch-sub { display:block; color:#7c8798; font-size:12px; margin-top:4px; font-weight:normal; overflow-wrap:anywhere; }
.dispatch-table .dispatch-person { border:0; background:transparent; padding:0; height:auto; color:var(--primary); font-weight:600; text-align:left; }
.dispatch-person:disabled { color:inherit; cursor:default; }
.dispatch-table .ops { white-space:nowrap; }
.dispatch-table progress { width:90px; height:8px; accent-color:var(--primary); }
.dispatch-warn { color:#c47a10; }
.dispatch-ok { color:#169467; }
.dispatch-page .pager { align-items:center; flex-wrap:wrap; }
.dispatch-dialog { width:min(1180px,94vw); max-height:88vh; overflow:auto; }
.dispatch-detail { display:grid; grid-template-columns:110px minmax(0,1fr); gap:16px; line-height:1.7; }
.dispatch-detail dt { color:#7c8798; }
.dispatch-detail dd { margin:0; overflow-wrap:anywhere; white-space:pre-wrap; }
@media(max-width:1100px) { .dispatch-page .stat-row { grid-template-columns:repeat(2,minmax(0,1fr)); } .dispatch-filters input,.dispatch-filters select { max-width:180px; } }
.dispatch-shortcuts button, .dispatch-batch button { height:34px; padding:0 14px; border:1px solid #dce5ef; border-radius:6px; background:#fff; color:#52637a; }
.dispatch-shortcuts button:hover { background:#eff6ff; color:var(--primary); border-color:#a8cbee; }
.dispatch-batch button.primary { color:#fff; background:var(--primary); border-color:var(--primary); }
.dispatch-batch button:disabled { color:#a8b1be; background:#f4f6f9; border-color:#e5e9ef; cursor:default; }
.dispatch-page .dispatch-filters { padding:16px; gap:12px; }
.dispatch-page .dispatch-filters input, .dispatch-page .dispatch-filters select { min-width:128px; }
.dispatch-page .dispatch-filters input[name=keyword] { width:180px; }
.dispatch-table th small { font-size:11px; font-weight:normal; }
.training-center > .title { font-size: 20px; font-weight: 600; margin-bottom: 16px; }
.training-center > p { color: #667085; line-height: 1.8; }
.training-nav { flex-wrap: wrap; gap: 10px; }
.training-nav a { padding: 7px 12px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; color: var(--primary); background: #f7fbff; }
.training-center .toolbar { flex-wrap: wrap; align-items: center; }
.training-center .toolbar input { height: 34px; min-width: 240px; border: 1px solid var(--line); padding: 0 10px; border-radius: 6px; }
.training-center .data button, .training-center > button, .training-dialog button { padding: 6px 10px; border: 1px solid var(--line); border-radius: 5px; background: #fff; cursor: pointer; }
.training-center .data td > div { margin-top: 5px; color: #8592a6; }
.training-center button:disabled, .training-dialog button:disabled { opacity: .5; cursor: default; }
.training-dialog p { line-height: 1.7; color: #667085; }
.training-dialog textarea, .training-dialog select { display: block; width: 100%; padding: 8px 10px; margin-top: 6px; border: 1px solid var(--line); border-radius: 5px; font: inherit; }
.training-dialog fieldset { margin: 16px 0; padding: 16px; border: 1px solid var(--line); border-radius: 6px; }
.training-dialog label:has(> input[type=checkbox]) { display: flex; align-items: center; gap: 8px; }
.training-dialog input[type=checkbox] { width: 18px; height: 18px; margin: 0; }
.training-dialog [data-error] { color: #c43c3c; }
.training-dialog progress { display: block; width: 100%; height: 12px; margin: 12px 0; }
.training-dialog progress[hidden] { display: none; }
.policy-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; }
.policy-actions button, [data-bind-region], [data-review], [data-adopt], [data-update], [data-activate], [data-publish], [data-version], [data-edit] { padding: 8px 14px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: #245b87; cursor: pointer; font: inherit; }
.policy-actions .primary { color: #fff; background: var(--primary, #1687d9); border-color: transparent; }
.policy-table-wrap { max-width: 100%; overflow-x: auto; }
.policy-table-wrap .data { min-width: 880px; }
.policy-table-wrap td { vertical-align: top; line-height: 1.7; overflow-wrap: anywhere; }
.policy-table-wrap td button { margin: 0 4px 8px 0; white-space: nowrap; }
.policy-table-wrap ul { padding-left: 20px; margin: 0; }
.policy-notice { border-left: 4px solid #269cdb; background: #f1f9ff; }
.policy-config .panel { min-height: 0; margin-bottom: 20px; }
.policy-config .page-head { margin-bottom: 24px; }
.policy-config h3 { margin: 0 0 12px; }
.policy-config [data-revise], .policy-config [data-enable], .policy-config [data-disable], [data-copy], [data-archive] { padding: 8px 12px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: #245b87; cursor: pointer; font: inherit; }
.policy-config summary { cursor: pointer; padding: 4px 0; }
.policy-config [data-template-search] { width: min(100%, 480px); padding: 9px 12px; margin: 8px 0 16px; border: 1px solid var(--line); border-radius: 6px; font: inherit; }
.policy-config .policy-actions label.inline { display: inline-flex; align-items: center; gap: 6px; }
.policy-region-picker fieldset { margin: 12px 0 20px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; }
.policy-region-picker legend { padding: 0 6px; font-weight: 600; }
.policy-region-levels { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.policy-region-results { max-height: 230px; overflow-y: auto; border: 1px solid var(--line); border-radius: 6px; margin-bottom: 8px; }
.policy-region-results button { display: block; width: 100%; padding: 10px; border: 0; background: #fff; text-align: left; color: #245b87; cursor: pointer; font: inherit; }
.policy-region-results button:hover, .policy-region-results button:focus-visible { background: #eaf4ff; }
.policy-region-selection { margin: 8px 0; color: #245b87; }
.policy-region-count, .policy-region-picker small { color: #667085; }
@media (max-width: 640px) { .policy-region-levels { grid-template-columns: 1fr; gap: 0; } }
