:root {
    --web10-ink: #182230;
    --web10-muted: #687588;
    --web10-line: #e6ebf1;
    --web10-panel: #ffffff;
    --web10-bg: #f4f7fb;
    --web10-navy: #17283d;
    --web10-teal: #087f8c;
    --web10-coral: #e47a56;
    --web10-shadow: 0 12px 32px rgba(28, 46, 70, .08);
}

html, body { background: var(--web10-bg); color: var(--web10-ink); }
body.layui-layout-body { overflow: hidden; font-family: "Segoe UI", "Microsoft YaHei", sans-serif; }
.web10-shell { background: var(--web10-bg); }
/* 必须盖过 admin.css 的 .custom-header{50px} / .layui-body{top:50px}，否则页签会顶进顶栏叠字 */
.layui-layout-admin .web10-header.custom-header,
.layui-layout-admin .layui-header.web10-header {
    height: 68px;
    line-height: 68px;
    background: var(--web10-panel);
    border-bottom: 1px solid var(--web10-line);
    box-shadow: 0 2px 12px rgba(28,46,70,.04);
}
.web10-brand { width: 238px; height: 68px; display: flex; align-items: center; padding: 0 24px; box-sizing: border-box; }
.web10-brand img { width: 128px; height: auto; object-fit: contain; }
.web10-header .layui-layout-left { left: 238px; }
.web10-header .layui-nav .layui-nav-item { line-height: 68px; }
.web10-header .slide-sidebar { height: 68px; line-height: 68px; color: var(--web10-muted); }
.web10-header .slide-sidebar:hover { color: var(--web10-teal); }
.web10-header .datexians {
    position: static;
    left: auto;
    display: inline-block;
    margin: 0 0 0 18px;
    line-height: 68px;
    color: var(--web10-ink);
    font-size: 18px;
    font-weight: 650;
    letter-spacing: .02em;
    vertical-align: top;
}
.web10-header .datexians small { color: var(--web10-muted); font-size: 12px; font-weight: 400; margin-left: 9px; }
.web10-header .layui-nav { background: transparent; }
.web10-header .layui-nav-item > a { color: var(--web10-ink); }
.web10-header .layui-nav-item > a:hover { color: var(--web10-teal); }
.web10-header .layui-nav-child { top: 68px; border: 1px solid var(--web10-line); box-shadow: var(--web10-shadow); }
.layui-layout-admin .layui-side.custom-admin.web10-side,
.layui-layout-admin .web10-side {
    top: 68px;
    width: 238px;
    background: var(--web10-navy);
    z-index: 1000;
    box-shadow: none;
}
.web10-side .layui-side-scroll { width: 100%; }
.web10-side .custom-logo { display: none; }
.web10-side .web10-side-caption { padding: 26px 24px 12px; color: #91a5bd; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.web10-side .layui-nav-tree { width: 100%; background: transparent; padding: 0 12px; box-sizing: border-box; }
.web10-side .layui-nav-tree > .layui-nav-item { margin-bottom: 4px; }
.web10-side .layui-nav-tree > .layui-nav-item > a { height: 46px; line-height: 46px; color: #c9d4e1; border-radius: 8px; padding-left: 16px; }
.web10-side .layui-nav-tree > .layui-nav-item > a:hover,
.web10-side .layui-nav-tree > .layui-nav-itemed > a { color: #fff; background: rgba(255,255,255,.09); }
.web10-side .layui-nav-tree > .layui-nav-item > a i { width: 26px; margin-right: 6px; color: #91a5bd; }
.web10-side .layui-nav-tree > .layui-nav-itemed > a i { color: #72d5d0; }
.web10-side .layui-nav-child { padding: 5px 0 7px 28px; background: transparent; }
.web10-side .layui-nav-child dd a { height: 37px; line-height: 37px; color: #9eafc2; border-radius: 6px; padding-left: 15px; }
.web10-side .layui-nav-child dd a:hover, .web10-side .layui-nav-child dd.layui-this a { color: #fff; background: rgba(255,255,255,.08); }
.layui-layout-admin .layui-body.web10-body,
.layui-layout-admin .web10-body {
    left: 238px;
    top: 68px;
    bottom: 0;
    overflow: hidden;
}
.web10-tabs { height: 100%; background: var(--web10-bg); }
.web10-tabs > .layui-tab-title { display: flex !important; height: 44px; padding: 9px 22px 0; border-bottom: 1px solid var(--web10-line); background: var(--web10-panel); box-sizing: border-box; }
.web10-tabs > .layui-tab-title li { height: 35px; line-height: 35px; color: var(--web10-muted); border-radius: 6px 6px 0 0; }
.web10-tabs > .layui-tab-title li.layui-this { color: var(--web10-teal); font-weight: 600; }
.web10-tabs > .layui-tab-title .layui-this:after { border-bottom-color: var(--web10-teal); }
.web10-tabs > .layui-tab-content { height: calc(100% - 44px); padding: 0; box-sizing: border-box; }
.web10-tabs > .layui-tab-content .layui-tab-item { height: 100%; }
.web10-tabs iframe { width: 100%; height: 100%; border: 0; background: var(--web10-bg); }
.web10-footer { left: 238px; display: none; }
.fold-side-bar .web10-side,
.layui-layout.fold-side-bar .layui-side.web10-side { width: 60px; }
.fold-side-bar .web10-body,
.layui-layout.fold-side-bar .layui-body.web10-body { left: 60px; }
.fold-side-bar .web10-brand { width: 60px; padding: 0 15px; }
.fold-side-bar .web10-brand img { width: 30px; object-fit: cover; object-position: left; }
.fold-side-bar .web10-header .datexians { margin-left: 8px; }
@media (max-width: 767px) {
    .web10-brand { width: 60px; padding: 0 15px; }
    .web10-brand img { width: 30px; object-fit: cover; object-position: left; }
    .web10-header .layui-layout-left { left: 60px; }
    .web10-header .datexians { font-size: 15px; margin-left: 8px; }
    .web10-header .datexians small { display: none; }
    .layui-layout-admin .layui-side.web10-side { top: 68px; }
    .layui-layout-admin .layui-body.web10-body { left: 0; top: 68px; }
}

/* Login */
.web10-login { min-height: 100vh; margin: 0; background: #edf3f7; color: var(--web10-ink); font-family: "Segoe UI", "Microsoft YaHei", sans-serif; }
.web10-login::before { content: ""; position: fixed; inset: 0 52% 0 0; background: var(--web10-navy); }
.web10-login-panel { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 440px); gap: 8vw; align-items: center; max-width: 1160px; min-height: 100vh; margin: 0 auto; padding: 48px; box-sizing: border-box; }
.web10-login-copy { color: #fff; max-width: 420px; }
.web10-login-copy .eyebrow { color: #72d5d0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.web10-login-copy h1 { margin: 18px 0 14px; font-size: 42px; line-height: 1.16; font-weight: 650; }
.web10-login-copy p { color: #b7c7d7; line-height: 1.8; font-size: 15px; }
.web10-login-card { padding: 38px; background: #fff; border: 1px solid #e0e8ef; border-radius: 12px; box-shadow: 0 18px 45px rgba(23,40,61,.12); }
.web10-login-card .logo { margin-bottom: 28px; }
.web10-login-card .logo img { width: 150px; height: auto; }
.web10-login-card h2 { margin: 0 0 8px; font-size: 24px; }
.web10-login-card .hint { margin: 0 0 26px; color: var(--web10-muted); font-size: 13px; }
.web10-login-card .input-group { margin-bottom: 14px; }
.web10-login-card .login-input { width: 100%; height: 48px; border: 1px solid #dbe3eb; border-radius: 7px; padding: 0 14px; background: #fff; color: var(--web10-ink); font: inherit; outline: none; }
.web10-login-card .login-input:focus { border-color: var(--web10-teal); box-shadow: 0 0 0 3px rgba(8,127,140,.1); }
.web10-login-card .login-status { min-height: 20px; margin: 4px 0 0; color: #c45a50; font-size: 13px; }
.web10-login-card .login-button { width: 100%; height: 48px; margin-top: 10px; border: 0; border-radius: 7px; background: var(--web10-teal); color: #fff; font-size: 15px; cursor: pointer; }
.web10-login-card .login-button:hover { background: #066d77; }
.web10-login-card .login-button:disabled { opacity: .65; cursor: wait; }
.web10-login-card .bottom_main { margin-top: 28px; color: #96a2b0; text-align: left; font-size: 12px; }
@media (max-width: 800px) {
    .web10-login::before { display: none; }
    .web10-login-panel { display: block; padding: 24px; }
    .web10-login-copy { display: none; }
    .web10-login-card { max-width: 440px; margin: 12vh auto 0; }
}

.web10-dashboard { min-height: 100%; padding: 28px 30px 38px; box-sizing: border-box; background: var(--web10-bg); font-family: "Segoe UI", "Microsoft YaHei", sans-serif; }
.web10-dashboard-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; margin-bottom: 24px; }
.web10-dashboard-head .eyebrow { color: var(--web10-teal); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.web10-dashboard-head h1 { margin: 8px 0 4px; color: var(--web10-ink); font-size: 28px; line-height: 1.2; }
.web10-dashboard-head p { margin: 0; color: var(--web10-muted); font-size: 13px; }
.web10-dashboard-action { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 7px; background: var(--web10-teal); color: #fff; text-decoration: none; font-size: 13px; }
.web10-dashboard-action:hover { color: #fff; background: #066d77; }
.web10-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.web10-metric { min-height: 132px; padding: 20px; background: var(--web10-panel); border: 1px solid var(--web10-line); border-radius: 10px; box-shadow: 0 5px 18px rgba(28,46,70,.04); }
.web10-metric-top { display: flex; justify-content: space-between; align-items: flex-start; color: var(--web10-muted); font-size: 12px; }
.web10-metric-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: #e6f3f3; color: var(--web10-teal); font-size: 18px; }
.web10-metric:nth-child(2) .web10-metric-icon { background: #fff0e8; color: var(--web10-coral); }
.web10-metric:nth-child(3) .web10-metric-icon { background: #eaf0fa; color: #4f6fae; }
.web10-metric:nth-child(4) .web10-metric-icon { background: #f3edf9; color: #8a5aa8; }
.web10-metric-value { margin-top: 18px; color: var(--web10-ink); font-size: 27px; font-weight: 650; }
.web10-metric-value small { margin-left: 4px; color: var(--web10-muted); font-size: 12px; font-weight: 400; }
.web10-dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, .8fr); gap: 14px; margin-top: 14px; }
.web10-panel { background: var(--web10-panel); border: 1px solid var(--web10-line); border-radius: 10px; box-shadow: 0 5px 18px rgba(28,46,70,.04); }
.web10-panel-head { display: flex; justify-content: space-between; align-items: center; padding: 19px 21px; border-bottom: 1px solid var(--web10-line); }
.web10-panel-head h2 { margin: 0; font-size: 15px; }
.web10-panel-head span { color: var(--web10-muted); font-size: 12px; }
.web10-chart { height: 330px; padding: 13px 16px 18px; box-sizing: border-box; }
.web10-quick { padding: 19px 21px; }
.web10-quick h2 { margin: 0 0 6px; font-size: 15px; }
.web10-quick p { margin: 0 0 18px; color: var(--web10-muted); font-size: 12px; line-height: 1.7; }
.web10-quick-link { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--web10-line); color: var(--web10-ink); text-decoration: none; font-size: 13px; }
.web10-quick-link:hover { color: var(--web10-teal); }
.web10-quick-link i { color: var(--web10-teal); font-size: 18px; }
.web10-footnote { margin-top: 18px; color: #8a96a5; font-size: 12px; }

/* The dashboard stylesheet is also loaded inside the new shell. Keep its
   legacy iframe-shell selectors from changing the responsive outer layout. */
html body.web10-app .web10-layout { display: grid; grid-template-columns: var(--web10-sidebar) minmax(0, 1fr); grid-template-rows: var(--web10-topbar) minmax(0, 1fr) var(--web10-footer); }
html body.web10-app .web10-topbar { display: flex; height: var(--web10-topbar); line-height: normal; }
html body.web10-app .web10-brand { width: auto; height: auto; padding: 0; }
html body.web10-app .web10-brand img { width: 118px; object-fit: contain; }
html body.web10-app .web10-brand span { display: flex; }
html body.web10-app .web10-main { left: auto; top: auto; }
html body.web10-app .web10-footer { left: auto; }
@media (max-width: 1100px) {
    html body.web10-app .web10-layout { grid-template-columns: 1fr; grid-template-areas: "topbar" "main" "footer"; }
    html body.web10-app .web10-topbar { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .web10-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .web10-dashboard-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .web10-dashboard { padding: 20px 15px 28px; }
    .web10-dashboard-head { display: block; }
    .web10-dashboard-action { margin-top: 16px; }
    .web10-metrics { grid-template-columns: 1fr; }
}
