/* OA 管理系统全局样式：清新天空蓝导航 + 中性浅灰内容区 + 精细化的排版与分隔线 */
:root {
    --oa-bg: #f4f5f7;
    --oa-card: #ffffff;
    --oa-line: #e6e9ef;
    --oa-line-soft: #eef1f5;
    --oa-text: #101828;
    --oa-text-2: #475467;
    --oa-muted: #8b94a6;
    --oa-primary: #2a4bcc;
    --oa-primary-dark: #1f3aa8;
    --oa-primary-soft: #eef2ff;
    --oa-danger: #d92d20;
    --oa-danger-soft: #fef3f2;
    --oa-success: #067647;
    --oa-success-soft: #ecfdf3;
    --oa-warning: #b54708;
    --oa-warning-soft: #fff6ed;
    --oa-ink: #121821;
    --oa-radius: 14px;
    --oa-shadow: 0 1px 2px rgba(16, 24, 40, .04);
    --oa-sidebar-width: 240px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--oa-bg);
    color: var(--oa-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "tnum";
}

a { text-decoration: none; }

/* ---------- 布局 ---------- */
.oa-layout { min-height: 100vh; }

.oa-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--oa-sidebar-width);
    background: #2a4bcc;
    border-right: 1px solid #dbe8f5;
    display: flex;
    flex-direction: column;
    z-index: 1030;
    transition: transform .22s ease;
}

.oa-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    height: 68px;
    padding: 0 22px;
    color: #14558c;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.oa-brand:hover { color: #14558c; }

.oa-brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: linear-gradient(135deg, #38bdf8 0%, #3b82f6 100%);
    color: #fff;
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: .4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.oa-brand-text {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .3px;
    color: #fff;
}

.oa-nav { flex: 1; overflow-y: auto; padding: 18px 14px 26px; }
.oa-nav::-webkit-scrollbar { width: 4px; }
.oa-nav::-webkit-scrollbar-thumb { background: rgba(56, 130, 246, .18); border-radius: 4px; }
.oa-nav-list { list-style: none; margin: 0; padding: 0; }
.oa-nav-list > li + li { margin-top: 3px; }
.oa-nav-list > li.oa-nav-group { margin-top: 10px; }
.oa-nav-list > li.oa-nav-group:first-child { margin-top: 0; }

/* 菜单项入场：轻微右移淡入，逐项错峰 */
.oa-nav-list > li { animation: oaNavIn .38s ease both; }
.oa-nav-list > li:nth-child(1) { animation-delay: .02s; }
.oa-nav-list > li:nth-child(2) { animation-delay: .05s; }
.oa-nav-list > li:nth-child(3) { animation-delay: .08s; }
.oa-nav-list > li:nth-child(4) { animation-delay: .11s; }
.oa-nav-list > li:nth-child(5) { animation-delay: .14s; }
.oa-nav-list > li:nth-child(6) { animation-delay: .17s; }
.oa-nav-list > li:nth-child(7) { animation-delay: .20s; }
.oa-nav-list > li:nth-child(8) { animation-delay: .23s; }

.oa-nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    height: 42px;
    padding: 0 14px;
    border: 0;
    background: transparent;
    border-radius: 9px;
    color: #fff;
    font-size: 13.5px;
    letter-spacing: .2px;
    text-align: left;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.oa-nav-link:hover { background: rgba(56, 189, 248, .1); color: #fff; }

.oa-nav-link.is-active {
    background: rgba(56, 189, 248, .12);
    color: #fff;
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(16, 78, 120, .08);
}

.oa-nav-link.is-active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    border-radius: 0 3px 3px 0;
    background: #38bdf8;
    animation: oaBarGrow .34s cubic-bezier(.34, 1.56, .64, 1) both;
}

.oa-nav-icon {
    font-size: 16px;
    width: 18px;
    text-align: center;
    opacity: .85;
    flex: 0 0 auto;
    transition: transform .18s ease, opacity .18s ease;
}

.oa-nav-link:hover .oa-nav-icon { transform: translateX(1px); opacity: 1; }

.oa-nav-link.is-active .oa-nav-icon { opacity: 1; }

/* 分组内包含当前菜单时，父级标题提亮 */
.oa-nav-group.has-active > .oa-nav-toggle { color: #fff; }
.oa-nav-group.has-active > .oa-nav-toggle .oa-nav-icon { opacity: 1; }

.oa-caret {
    margin-left: auto;
    font-size: 11px;
    transition: transform .2s ease;
    opacity: .4;
}

.oa-nav-toggle[aria-expanded="true"] .oa-caret { transform: rotate(180deg); }

/* 子菜单展开/收起：高度与透明度过渡 */
.oa-subnav {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .3s cubic-bezier(.4, 0, .2, 1), opacity .22s ease;
}
.oa-nav-group.is-open > .oa-subnav { opacity: 1; }
.oa-subnav li { margin-top: 2px; }
.oa-subnav > li:first-child { margin-top: 6px; }
.oa-subnav > li:last-child { margin-bottom: 6px; }
.oa-subnav .oa-nav-link {
    height: 38px;
    padding-left: 44px;
    font-size: 13px;
    letter-spacing: .1px;
    color: #fff;
    transition: background .16s ease, color .16s ease, padding-left .18s ease;
}
.oa-subnav .oa-nav-link:hover { padding-left: 46px; }
.oa-subnav .oa-nav-link:hover { color: #fff; background: rgba(56, 189, 248, .08); }
.oa-subnav .oa-nav-icon { font-size: 14px; width: 16px; }
.oa-subnav .oa-nav-link.is-active {
    background: rgba(56, 189, 248, .12);
    color: #fff;
}
.oa-subnav .oa-nav-link.is-active::before {
    height: 0;
    width: 0;
}
.oa-subnav .oa-nav-link.is-active .oa-nav-icon { color: #fff; opacity: 1; }

.oa-sidebar-foot {
    padding: 15px 22px;
    font-size: 11.5px;
    letter-spacing: .3px;
    color: #8ba7bd;
    border-top: 1px solid rgba(56, 130, 246, .12);
}

.oa-main {
    margin-left: var(--oa-sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.oa-header {
    height: 68px;
    background: var(--oa-card);
    border-bottom: 1px solid var(--oa-line);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 30px;
    position: sticky;
    top: 0;
    z-index: 1020;
    white-space: nowrap;
}

.oa-header-title h1 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .2px;
    margin: 0;
    color: var(--oa-text);
}
.oa-header-title p { font-size: 12px; color: var(--oa-muted); margin: 2px 0 0; }
.oa-header-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.oa-header-ticker {
    flex: 1 1 auto;
    min-width: 0;
    height: 32px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(90deg, #eef2ff, #f8fafc);
    border: 1px solid #e5e7eb;
    margin: 0 8px;
}
.oa-header-ticker-track { display: inline-flex; white-space: nowrap; padding: 0 10px; animation: oaHeaderTicker 90s linear infinite; }
.oa-header-ticker-track span { padding-right: 60px; font-size: 12.5px; color: #334155; }
@keyframes oaHeaderTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.oa-menu-toggle {
    display: none;
    border: 1px solid var(--oa-line);
    background: #fff;
    border-radius: 9px;
    width: 36px;
    height: 36px;
    color: var(--oa-text-2);
    line-height: 1;
    font-size: 18px;
}

/* 顶部清除缓存 */
.oa-cache-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--oa-line);
    border-radius: 9px;
    background: #fff;
    color: var(--oa-text-2);
    font-size: 16px;
    line-height: 1;
    flex: 0 0 auto;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.oa-cache-btn:hover {
    background: var(--oa-primary-soft);
    border-color: #dbe4ff;
    color: var(--oa-primary);
}
.oa-cache-btn:disabled { opacity: .6; cursor: not-allowed; }

.oa-user {
    display: flex;
    align-items: center;
    gap: 9px;
    background: transparent;
    border: 0;
    padding: 5px 8px;
    border-radius: 10px;
    color: var(--oa-text);
    cursor: pointer;
    transition: background .15s ease;
}
.oa-user:hover { background: #f5f6f8; }
.oa-user .bi-chevron-down { font-size: 10px; color: var(--oa-muted); }
.oa-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--oa-primary-soft);
    color: var(--oa-primary);
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.oa-user-name { font-size: 13px; font-weight: 500; }

.oa-body { flex: 1; padding: 28px 30px 48px; }

/* ---------- 卡片 ---------- */
.oa-card {
    background: var(--oa-card);
    border: 1px solid var(--oa-line);
    border-radius: var(--oa-radius);
    box-shadow: var(--oa-shadow);
}

.oa-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--oa-line-soft);
}
.oa-card-head h2 { font-size: 15px; font-weight: 600; margin: 0; letter-spacing: .2px; }
.oa-card-head p { font-size: 12.5px; color: var(--oa-muted); margin: 3px 0 0; }
.oa-card-head .oa-card-actions { margin-left: auto; display: flex; gap: 8px; }
.oa-card-body { padding: 24px; }

.oa-alert {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 9px;
    font-size: 13px;
    margin-bottom: 18px;
    border: 1px solid transparent;
}
.oa-alert-ok { background: var(--oa-success-soft); border-color: #d1fadf; color: var(--oa-success); }
.oa-alert-err { background: var(--oa-danger-soft); border-color: #fee4e2; color: var(--oa-danger); }

/* ---------- 按钮 ---------- */
.btn {
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 500;
    --cui-btn-focus-box-shadow: 0 0 0 3px rgba(42, 75, 204, .15);
}
.btn-primary {
    background-color: var(--oa-primary);
    border-color: var(--oa-primary);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--oa-primary-dark) !important;
    border-color: var(--oa-primary-dark) !important;
}
.btn-outline-secondary {
    color: var(--oa-text-2);
    border-color: #dfe3ea;
    background: #fff;
}
.btn-outline-secondary:hover {
    background: #f5f6f8;
    color: var(--oa-text);
    border-color: #d3d9e2;
}
.btn-link-danger {
    color: var(--oa-danger);
    background: transparent;
    border: 0;
    padding: 0;
    font-size: 13px;
    cursor: pointer;
}
.btn-link-danger:hover { text-decoration: underline; }
.oa-btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 15px;
    font-size: 13px;
    line-height: 1;
}

/* ---------- 表格 ---------- */
.oa-table { width: 100%; margin: 0; border-collapse: collapse; }
.oa-table th {
    background: #fbfcfd;
    color: var(--oa-muted);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: .04em;
    text-align: left;
    padding: 12px 20px;
    border-bottom: 1px solid var(--oa-line);
    white-space: nowrap;
}
.oa-table td {
    padding: 15px 20px;
    border-bottom: 3px solid var(--oa-line-soft);
    font-size: 13.5px;
    color: var(--oa-text);
    vertical-align: middle;
}
.oa-table tbody tr:hover td { background: #fafbfd; }
.oa-table tbody tr:last-child td { border-bottom: 0; }
.oa-table .oa-actions { display: flex; gap: 8px; align-items: center; white-space: nowrap; flex-wrap: wrap; }
.oa-follow-row.is-editing .oa-follow-ops .oa-color-select,
.oa-follow-row.is-editing .oa-follow-ops .oa-record-btn,
.oa-follow-row.is-editing .oa-follow-ops .oa-archive-btn { display: none; }
.oa-follow-ops .oa-cancel-btn { display: none; }
.oa-follow-row.is-editing .oa-follow-ops .oa-cancel-btn { display: inline-flex; }

/* 列表操作按钮 */
.oa-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 30px;
    padding: 0 11px;
    border: 1px solid var(--oa-line);
    border-radius: 7px;
    background: #fff;
    color: var(--oa-text-2);
    font-size: 12.5px;
    line-height: 1;
    cursor: pointer;
    transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.oa-action-btn i { font-size: 12px; opacity: .75; }
.oa-action-btn:hover {
    background: #f6f8fb;
    border-color: #d3dae5;
    color: var(--oa-text);
}
.oa-action-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 75, 204, .12);
}
.oa-action-btn.is-primary {
    color: var(--oa-primary);
    border-color: #dbe3ff;
    background: #f4f7ff;
}
.oa-action-btn.is-primary:hover {
    background: #e9efff;
    border-color: #c6d3ff;
    color: var(--oa-primary-dark);
}
.oa-action-btn.is-danger {
    color: var(--oa-danger);
    border-color: #f4d5d2;
}
.oa-action-btn.is-danger:hover {
    background: var(--oa-danger-soft);
    border-color: #efc2bd;
    color: var(--oa-danger);
}

.oa-empty {
    padding: 60px 20px;
    text-align: center;
    color: var(--oa-muted);
    font-size: 13px;
}
.oa-empty i { display: block; font-size: 30px; margin-bottom: 10px; opacity: .45; }

/* ---------- 徽标 ---------- */
.oa-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
}
.oa-badge-ok { background: var(--oa-success-soft); color: var(--oa-success); }
.oa-badge-off { background: #f2f4f7; color: #667085; }
.oa-badge-primary { background: var(--oa-primary-soft); color: var(--oa-primary); }
.oa-badge-warning { background: var(--oa-warning-soft); color: var(--oa-warning); }
.oa-badge-danger { background: var(--oa-danger-soft); color: var(--oa-danger); }
.oa-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* ---------- 表单 ---------- */
.oa-form .form-label { font-size: 13px; color: var(--oa-text-2); margin-bottom: 7px; font-weight: 500; }
.oa-form .form-control, .oa-form .form-select {
    border-color: #dfe3ea;
    border-radius: 8px;
    font-size: 13.5px;
    padding: 9px 12px;
    color: var(--oa-text);
    min-height: 40px;
}
.oa-form .form-control::placeholder { color: #aab2c0; }
.oa-form .form-control:focus, .oa-form .form-select:focus {
    border-color: var(--oa-primary);
    box-shadow: 0 0 0 3px rgba(42, 75, 204, .12);
}
.oa-form .form-text { font-size: 12px; color: var(--oa-muted); }
.oa-form .oa-required::after { content: " *"; color: var(--oa-danger); }
.oa-form-actions {
    display: flex;
    gap: 10px;
    padding-top: 22px;
    margin-top: 6px;
    border-top: 1px solid var(--oa-line-soft);
}

/* ---------- 首页数据看板 ---------- */
.oa-kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.oa-kpi-grid.is-duo { grid-template-columns: repeat(2, 1fr); margin-bottom: 18px; }
.oa-kpi {
    position: relative;
    overflow: hidden;
    background: var(--oa-card);
    border: 1px solid var(--oa-line);
    border-radius: var(--oa-radius);
    box-shadow: var(--oa-shadow);
    padding: 13px 15px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.oa-kpi::after {
    content: "";
    position: absolute;
    right: -46px;
    top: -46px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(42, 75, 204, .08), transparent 70%);
    pointer-events: none;
}
.oa-kpi:hover { border-color: #dbe1ea; box-shadow: 0 8px 20px rgba(16, 24, 40, .06); }
.oa-kpi-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.oa-kpi-label { font-size: 12.5px; color: var(--oa-muted); letter-spacing: .02em; }
.oa-kpi-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--oa-primary-soft);
    color: var(--oa-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex: 0 0 auto;
}
.oa-kpi-icon.is-green { background: var(--oa-success-soft); color: var(--oa-success); }
.oa-kpi-icon.is-orange { background: var(--oa-warning-soft); color: var(--oa-warning); }
.oa-kpi-icon.is-gray { background: #f2f4f7; color: #98a2b3; }
.oa-kpi-value {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: var(--oa-text);
}
.oa-kpi-value em { font-style: normal; font-size: 12px; font-weight: 500; color: var(--oa-muted); margin-left: 4px; }
.oa-kpi-value.is-money { font-size: 26px; }
.oa-kpi-value.is-text { font-size: 18px; line-height: 1.45; font-weight: 500; }
.oa-kpi-cur { font-size: 18px; font-weight: 600; color: var(--oa-text-2); margin-right: 2px; vertical-align: 2px; }
.oa-kpi-foot { font-size: 12px; color: var(--oa-muted); display: flex; align-items: center; gap: 6px; min-height: 20px; }
.oa-kpi-trend {
    display: inline-flex;
    align-items: center;
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 11.5px;
    background: #f2f4f7;
    color: var(--oa-text-2);
}
.oa-kpi-trend.is-up { background: var(--oa-success-soft); color: var(--oa-success); }
.oa-kpi-trend.is-down { background: var(--oa-danger-soft); color: var(--oa-danger); }

.oa-dash-row { display: grid; grid-template-columns: 1.65fr 1fr; gap: 18px; margin-top: 18px; }
.oa-dash-row-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 18px; }
.oa-dash-recent { margin-top: 18px; }

/* 柱状趋势图 */
.oa-chart { display: flex; gap: 10px; height: 218px; padding-top: 20px; }
.oa-chart-col { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.oa-chart-plot {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 6px;
    border-bottom: 1px solid var(--oa-line-soft);
    background-image: linear-gradient(to top, #eef1f5 1px, transparent 1px);
    background-size: 100% 25%;
    background-position: 0 100%;
}
.oa-bar {
    position: relative;
    width: 15px;
    min-height: 3px;
    border-radius: 4px 4px 1px 1px;
    transition: height .45s ease, opacity .18s ease;
}
.oa-bar:hover { opacity: .85; }
.oa-bar.is-entry { background: linear-gradient(180deg, #4d6ae8 0%, #2a4bcc 100%); }
.oa-bar.is-leave { background: #d7dce5; }
.oa-bar i {
    position: absolute;
    top: -17px;
    left: 50%;
    transform: translateX(-50%);
    font-style: normal;
    font-size: 10px;
    color: var(--oa-muted);
    line-height: 1;
}
.oa-chart-label { text-align: center; font-size: 12px; color: var(--oa-muted); margin-top: 9px; }
.oa-chart-legend { display: flex; align-items: center; gap: 16px; font-size: 12px; color: var(--oa-text-2); }
.oa-chart-legend .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 5px; vertical-align: 1px; }

/* 环形占比图 */
.oa-donut-wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 6px 0 2px; }
.oa-donut {
    width: 168px;
    height: 168px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(42, 75, 204, .12);
}
.oa-donut-hole {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    box-shadow: inset 0 0 0 1px rgba(16, 24, 40, .04);
}
.oa-donut-hole strong { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.oa-donut-hole span { font-size: 11.5px; color: var(--oa-muted); }
.oa-legend-list { display: flex; align-items: center; gap: 22px; }
.oa-legend-item { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--oa-text-2); }
.oa-legend-item .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.oa-legend-item strong { font-weight: 600; color: var(--oa-text); }

/* 排行 / 比例进度条 */
.oa-rank-list { display: flex; flex-direction: column; gap: 15px; }
.oa-rank-item { display: flex; flex-direction: column; gap: 7px; }
.oa-rank-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; }
.oa-rank-name {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--oa-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.oa-rank-name em {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: #f2f4f7;
    color: var(--oa-muted);
    font-style: normal;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.oa-rank-item:first-child .oa-rank-name em { background: var(--oa-primary-soft); color: var(--oa-primary); }
.oa-rank-name small {
    font-size: 11.5px;
    color: var(--oa-muted);
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
}
.oa-rank-dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; display: inline-block; }
.oa-rank-count { flex: 0 0 auto; font-size: 12.5px; color: var(--oa-muted); }
.oa-rank-count strong { font-weight: 600; color: var(--oa-text); }
.oa-rank-track { height: 6px; border-radius: 999px; background: #f1f3f7; overflow: hidden; }
.oa-rank-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #4d6ae8, #2a4bcc);
    transition: width .55s ease;
}
.oa-rank-fill.is-green { background: linear-gradient(90deg, #34d399, #067647); }
.oa-rank-fill.is-pink { background: linear-gradient(90deg, #f9a8d4, #db2777); }
.oa-rank-fill.is-gray { background: linear-gradient(90deg, #d7dce5, #98a2b3); }

/* 工作报表指标 */
.oa-mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.oa-mini {
    background: #fbfcfd;
    border: 1px solid var(--oa-line-soft);
    border-radius: 10px;
    padding: 13px 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.oa-mini span { font-size: 12px; color: var(--oa-muted); }
.oa-mini strong { font-size: 20px; font-weight: 600; letter-spacing: -.01em; color: var(--oa-text); }
.oa-mini strong.is-money { font-size: 17px; }
.oa-mini-note {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed var(--oa-line-soft);
    font-size: 12px;
    color: var(--oa-muted);
}

/* ---------- 占位页 ---------- */
.oa-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px;
    color: var(--oa-muted);
}
.oa-placeholder i { font-size: 42px; opacity: .3; margin-bottom: 16px; }
.oa-placeholder h3 { font-size: 15px; color: var(--oa-text-2); font-weight: 500; margin: 0 0 6px; }
.oa-placeholder p { font-size: 13px; margin: 0; }

/* ---------- 登录页 ---------- */
.oa-login {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 0 7vw;
    overflow: hidden;
    background:
        radial-gradient(820px 620px at 82% 16%, rgba(58, 96, 200, .32), transparent 62%),
        radial-gradient(720px 560px at 10% 88%, rgba(24, 58, 135, .38), transparent 66%),
        linear-gradient(135deg, #0a101a 0%, #0f1826 52%, #0a1018 100%);
}

/* 全屏细网格纹理，左侧渐隐，增加层次感 */
.oa-login::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(circle at 28% 42%, #000 0%, transparent 68%);
    mask-image: radial-gradient(circle at 28% 42%, #000 0%, transparent 68%);
    opacity: .85;
    animation: oaGridDrift 40s linear infinite;
}

/* 全屏暗色遮罩，保证文字与表单可读 */
.oa-login::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 9, 15, .38) 0%, rgba(6, 9, 15, .06) 55%, rgba(6, 9, 15, .3) 100%);
}

/* 缓慢漂浮的柔光球，为全屏背景增加呼吸感 */
.oa-login-orb {
    position: absolute;
    right: 3%;
    top: 6%;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(86, 122, 240, .26) 0%, rgba(86, 122, 240, 0) 68%);
    filter: blur(6px);
    animation: oaOrbFloat 16s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.oa-login-orb-2 {
    left: 6%;
    right: auto;
    top: auto;
    bottom: 2%;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(52, 96, 210, .20) 0%, rgba(52, 96, 210, 0) 70%);
    animation: oaOrbFloat2 24s ease-in-out infinite;
}

.oa-login-hero {
    position: absolute;
    left: 7vw;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    max-width: 380px;
    color: #fff;
}

.oa-login-hero-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 34px; animation: oaFadeUp .6s .08s both; }
.oa-login-hero-brand .oa-brand-mark { width: 36px; height: 36px; border-radius: 9px; font-size: 13px; animation: oaMarkIn .8s .12s both; }
.oa-login-hero-brand span { font-size: 15px; font-weight: 600; letter-spacing: .4px; }

.oa-login-hero h2 {
    font-size: 30px;
    line-height: 1.55;
    font-weight: 600;
    letter-spacing: .5px;
    margin: 0 0 16px;
    animation: oaFadeUp .72s .16s both;
}

.oa-login-hero p {
    font-size: 13.5px;
    line-height: 1.9;
    color: rgba(255, 255, 255, .6);
    margin: 0;
    max-width: 360px;
    animation: oaFadeUp .72s .24s both;
}

.oa-login-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 400px;
    padding: 42px 38px 36px;
    background: rgba(255, 255, 255, .97);
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(2, 6, 16, .45);
    animation: oaCardIn .9s cubic-bezier(.2, .8, .2, 1) .05s both;
}

/* 卡片顶部细光条，加载时从中间展开 */
.oa-login-card::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, #8ea6ff, transparent);
    animation: oaLineIn .9s .35s both;
}

.oa-login-head { margin-bottom: 28px; animation: oaFadeUp .6s .34s both; }
.oa-login-head h1 { font-size: 21px; font-weight: 600; letter-spacing: .3px; margin: 0 0 6px; }
.oa-login-head p { font-size: 13px; color: var(--oa-muted); margin: 0; }
.oa-login .form-label { font-size: 13px; color: var(--oa-text-2); font-weight: 500; margin-bottom: 7px; transition: color .18s ease; }

/* 表单字段依次浮现；聚焦时标签同步变色 */
.oa-login .oa-field { animation: oaFadeUp .55s both; }
.oa-login .oa-field:nth-of-type(1) { animation-delay: .42s; }
.oa-login .oa-field:nth-of-type(2) { animation-delay: .48s; }
.oa-login .oa-field:focus-within .form-label { color: var(--oa-primary); }

#loginForm .btn { animation: oaFadeUp .55s .56s both; }

.oa-login .btn-primary { position: relative; overflow: hidden; }
.oa-login .btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -140%;
    width: 55%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .3), transparent);
    transform: skewX(-18deg);
    transition: left .5s ease;
    pointer-events: none;
}
.oa-login .btn-primary:hover::after { left: 140%; }
.oa-login .form-control {
    height: 44px;
    border-color: #dfe3ea;
    border-radius: 9px;
    font-size: 14px;
    padding: 10px 13px;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.oa-login .form-control:focus {
    border-color: var(--oa-primary);
    box-shadow: 0 0 0 3px rgba(42, 75, 204, .12);
}
.oa-login .btn {
    height: 44px;
    border-radius: 9px;
    font-size: 14px;
    letter-spacing: 2px;
    margin-top: 8px;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.oa-login .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(42, 75, 204, .32);
}
.oa-login .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(42, 75, 204, .26);
}

/* ---------- 统一提示 ---------- */
.oa-toast-stack {
    position: fixed;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}
.oa-toast-item {
    display: flex;
    align-items: center;
    gap: 9px;
    max-width: min(70vw, 520px);
    padding: 11px 16px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e7eaf0;
    box-shadow: 0 12px 32px rgba(16, 24, 40, .14);
    font-size: 13.5px;
    color: #1f2937;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .3s ease, transform .3s ease;
}
.oa-toast-item.is-show { opacity: 1; transform: translateY(0); }
.oa-toast-item.is-hide { opacity: 0; transform: translateY(-6px); }
.oa-toast-item .bi { font-size: 16px; flex: 0 0 auto; }
.oa-toast-success .bi { color: #12b76a; }
.oa-toast-error .bi { color: #e5484d; }
.oa-toast-info .bi { color: var(--oa-primary); }

.oa-loading-mask {
    position: fixed;
    inset: 0;
    z-index: 3200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, .26);
    opacity: 0;
    transition: opacity .22s ease;
}
.oa-loading-mask.is-show { opacity: 1; }
.oa-loading-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(16, 24, 40, .2);
    font-size: 13.5px;
    color: #344054;
}
.oa-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #e1e6ee;
    border-top-color: var(--oa-primary);
    border-radius: 50%;
    animation: oaSpin .7s linear infinite;
}
@keyframes oaSpin {
    to { transform: rotate(360deg); }
}

#oaConfirmModal .modal-content {
    border: none;
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(16, 24, 40, .2);
}
#oaConfirmModal .modal-body { padding: 22px 22px 8px; }
#oaConfirmModal .oa-confirm-text { margin: 0; font-size: 14px; line-height: 1.6; color: #1f2937; }
#oaConfirmModal .modal-footer { border: 0; padding: 12px 18px 18px; gap: 8px; }

/* ---------- 上传组件 ---------- */
.oa-upload-box {
    width: 100%;
    max-width: 230px;
    height: 145px;
    border: 1px dashed #d5dae3;
    border-radius: 11px;
    background: #fafbfc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--oa-muted);
    font-size: 12.5px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: border-color .15s ease, color .15s ease;
}
.oa-upload-box:hover { border-color: var(--oa-primary); color: var(--oa-primary); }
.oa-upload-box i { font-size: 22px; }
.oa-upload-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.oa-upload.has-src .oa-upload-box img { display: block; }
.oa-upload.has-src .oa-upload-empty { display: none; }
.oa-upload-hint { font-size: 12px; color: var(--oa-muted); margin-top: 8px; }

.oa-attendance-remark {
    max-width: 240px;
    white-space: normal;
    word-break: break-all;
    color: var(--oa-text-2);
}

/* 考勤截图缩略图与放大查看 */
.oa-attendance-thumb {
    width: 64px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--oa-line);
    cursor: zoom-in;
    transition: transform .15s ease;
}
.oa-attendance-thumb:hover { transform: scale(1.05); }

.oa-img-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(16, 24, 40, .72);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    cursor: zoom-out;
}
.oa-img-lightbox.is-show { display: flex; }
.oa-img-lightbox img {
    max-width: 90vw;
    max-height: 86vh;
    border-radius: 10px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
    background: #fff;
}

/* 列表合同下载 */
.oa-file-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 180px;
    color: var(--oa-primary);
    font-size: 13px;
    text-decoration: none;
}
.oa-file-download .bi { flex: 0 0 auto; }
.oa-file-download span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.oa-file-download:hover { text-decoration: underline; }

/* 列表合同图片缩略图 */
.oa-contract-thumbs { display: flex; flex-wrap: wrap; gap: 6px; max-width: 190px; }
.oa-contract-thumb {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border: 1px solid var(--oa-line);
    border-radius: 7px;
    cursor: zoom-in;
    transition: transform .15s ease, border-color .15s ease;
}
.oa-contract-thumb:hover { transform: scale(1.06); border-color: var(--oa-primary); }

/* ---------- 合同多图上传 ---------- */
.oa-upload-multi { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.oa-image-list { display: flex; flex-wrap: wrap; gap: 10px; }
.oa-image-item {
    position: relative;
    width: 84px;
    height: 84px;
    border: 1px solid var(--oa-line);
    border-radius: 10px;
    overflow: hidden;
    background: #fafbfc;
    flex: 0 0 auto;
}
.oa-image-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.oa-upload-multi .oa-upload-add {
    width: 84px;
    height: 84px;
    max-width: none;
    flex: 0 0 auto;
    font-size: 12px;
    gap: 4px;
}
.oa-upload-multi .oa-upload-hint { flex-basis: 100%; margin-top: 0; }
.oa-image-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(16, 24, 40, .62);
    color: #fff;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s ease;
}
.oa-image-remove:hover { background: var(--oa-danger); }

/* ---------- 菜单管理 ---------- */
.oa-table code {
    background: #f6f8fa;
    color: var(--oa-text-2);
    border-radius: 6px;
    padding: 2px 7px;
    font-size: 12px;
}
.oa-menu-title { display: flex; align-items: center; gap: 8px; }
.oa-menu-title > i { color: #98a2b3; }
.oa-menu-title .oa-menu-lvl { color: var(--oa-primary); }

/* ---------- 权限树 ---------- */
.oa-access-tree { border: 1px solid var(--oa-line); border-radius: 11px; padding: 8px 6px; max-height: 360px; overflow-y: auto; }
.oa-access-group { padding: 4px 10px; }
.oa-access-parent {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 500;
    padding: 7px 4px;
    color: var(--oa-text);
}
.oa-access-children { padding-left: 26px; }
.oa-access-item { display: flex; align-items: center; gap: 8px; padding: 6px 4px; font-size: 13px; color: var(--oa-text-2); }
.oa-access-item input, .oa-access-parent input { cursor: pointer; }
.oa-check-title { display: flex; align-items: center; gap: 8px; }
.oa-check-title i { color: #98a2b3; font-size: 13px; }

/* ---------- 弹窗 ---------- */
.modal-content { border: 0; border-radius: 16px; box-shadow: 0 32px 80px rgba(10, 20, 40, .20); }
.modal-header { border-bottom: 1px solid var(--oa-line-soft); padding: 20px 24px; }
.modal-title { font-size: 15px; font-weight: 600; letter-spacing: .2px; }
.modal-body { padding: 24px; }
.modal-footer { border-top: 1px solid var(--oa-line-soft); padding: 15px 24px; }
.oa-confirm-text { font-size: 13.5px; color: var(--oa-text-2); margin: 0; line-height: 1.7; }

/* ---------- 分页 ---------- */
.pagination { margin: 18px 0 0; gap: 6px; flex-wrap: wrap; }
.pagination > li { list-style: none; }
.pagination > li > a,
.pagination > li > span {
    display: block;
    min-width: 34px;
    text-align: center;
    border: 1px solid var(--oa-line);
    border-radius: 8px;
    color: var(--oa-text-2);
    font-size: 13px;
    padding: 6px 11px;
    background: #fff;
    text-decoration: none;
}
.pagination > li > a:hover { color: var(--oa-primary); background: var(--oa-primary-soft); border-color: #dbe3ff; }
.pagination > li.active > span {
    background: var(--oa-primary);
    border-color: var(--oa-primary);
    color: #fff;
}
.pagination > li.disabled > span { color: #c3c9d3; background: #f8f9fb; }

/* ---------- 详情信息 ---------- */
.oa-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
.oa-info-item { padding: 12px 0; border-bottom: 1px dashed var(--oa-line-soft); }
.oa-info-item .label { font-size: 12px; color: var(--oa-muted); margin-bottom: 4px; }
.oa-info-item .value { font-size: 13.5px; }

/* ---------- 跟单系统 ---------- */
.oa-follow-total { font-size: 12.5px; color: var(--oa-muted);     line-height: 34px;}
.oa-follow-total strong { color: var(--oa-text); font-weight: 600; }

.oa-follow-filter { padding: 18px 24px; border-bottom: 1px solid var(--oa-line-soft); }
.oa-company-tabs { margin-bottom: 16px; overflow-x: auto; }
.oa-company-tabs .oa-tab { text-decoration: none; white-space: nowrap; }

/* ---------- 报表选项卡 ---------- */
.oa-tabs { display: flex; align-items: center; gap: 4px; margin-bottom: 18px; border-bottom: 1px solid var(--oa-line-soft); }
.oa-tab {
    position: relative;
    padding: 8px 14px 10px;
    border: 0;
    background: none;
    font-size: 13.5px;
    color: var(--oa-muted);
    line-height: 1.2;
    cursor: pointer;
}
.oa-tab:hover { color: var(--oa-text); }
.oa-tab.is-active { color: var(--oa-primary); font-weight: 600; }
.oa-tab.is-active::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: -1px;
    height: 2px;
    border-radius: 2px;
    background: var(--oa-primary);
}
.oa-report-pane[hidden] { display: none; }
.oa-report-chart { padding: 12px 20px 24px; }
.oa-report-chart #oaReportChart { width: 100%; height: 440px; }

/* 首页业绩可视化 */
.oa-home-chart-wrap { padding: 8px 20px 22px; }
.oa-home-chart-wrap #oaHomeChart { width: 100%; height: 380px; }
.oa-filter-grid { display: flex; flex-wrap: wrap; gap: 14px 18px; }
.oa-filter-item { display: flex; gap: 6px; min-width: 150px;white-space: nowrap;
    align-items: center; }
.oa-filter-item > label { font-size: 12.5px; color: var(--oa-muted); }
.oa-filter-item.is-wide { min-width: 280px; }
.oa-filter-item.is-narrow { min-width: 96px; max-width: 110px; }
.oa-filter-range { display: flex; align-items: center; gap: 8px; }
.oa-filter-range .form-control { max-width: 150px; }
.oa-filter-range > span { color: var(--oa-muted); }
.oa-filter-item.is-actions { flex-direction: row; align-items: center; gap: 10px; }
.oa-filter-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--oa-text-2);
    cursor: pointer;
    white-space: nowrap;
}
.oa-filter-switch input { cursor: pointer; }

.oa-follow-wrap { overflow-x: auto; }
.oa-follow-table { min-width: 1560px; }
.oa-follow-table th,
.oa-follow-table td { padding: 11px 14px; }
.oa-follow-table .oa-col-extra { display: none; }
.oa-follow-table.show-extra .oa-col-extra { display: table-cell; }

.oa-follow-table .oa-cell {
    display: block;
    max-width: 110px;
    line-height: 1.5;
}
.oa-follow-table td[data-cell="jianyi"] .oa-cell,
.oa-follow-table td[data-cell="link"] .oa-cell {
    max-width: 100px;
    white-space: nowrap;
}
.oa-cell-link a,
.oa-cell-link span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--oa-primary);
}
.oa-cell-link a:hover { text-decoration: underline;white-space: normal; }

.oa-cell-input { display: none; }
.oa-follow-table .oa-cell-input {
    min-height: 32px;
    padding: 5px 8px;
    font-size: 12.5px;
    min-width: 120px;
    border-radius: 7px;
}
.oa-follow-table textarea.oa-cell-input { min-width: 200px; resize: vertical; }
.oa-follow-row.is-editing .oa-cell { display: none; }
.oa-follow-row.is-editing .oa-cell-input { display: block; }
.oa-follow-row.is-editing .oa-count-edit { display: flex; align-items: center; gap: 6px; }
.oa-count-edit input { width: 70px; }
.oa-plus-btn { height: 32px; white-space: nowrap; }

/* 状态色 */
.oa-follow-row.is-yellow td { background: #ffc000; }
.oa-follow-row.is-red td { background: #ff0000; }
.oa-follow-row.is-green td { background: #548235; }
.oa-follow-row.is-gray td { background: #cfcfcf; }
.oa-follow-row.is-gray td .oa-cell { color: #667085; }
.oa-follow-table tbody tr.is-yellow:hover td { background: #ffc000; }
.oa-follow-table tbody tr.is-red:hover td { background: #ff0000; }
.oa-follow-table tbody tr.is-green:hover td { background: #548235; }
.oa-follow-table tbody tr.is-gray:hover td { background: #cfcfcf; }

/* 跟单建议未读 */
.oa-follow-row.has-jianyi td[data-cell="jianyi"] {
    animation: oaJianyiPulse 1.8s ease-in-out infinite;
}
.oa-jianyi-full { font-size: 13px; line-height: 1.6; overflow: hidden;
    text-overflow: ellipsis;
}
.oa-jianyi-full:hover{
    overflow: inherit;
    white-space: normal;
}
.oa-jianyi-full.is-hidden { display: none; }
.oa-unread-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 5px;
    border-radius: 50%;
    background: var(--oa-danger);
    vertical-align: middle;
}

.oa-color-select {
    width: 108px;
    height: 30px;
    min-height: 30px !important;
    padding: 2px 8px !important;
    font-size: 12.5px !important;
    border-radius: 7px !important;
}

/* 历史记录列 */
.oa-follow-history .oa-actions { flex-wrap: nowrap; }
.oa-follow-history .oa-action-btn i { font-size: 13px; }
.oa-follow-history .oa-image-manage { display: none; }
.oa-follow-row.is-editing .oa-follow-history .oa-image-manage { display: inline-flex; }
.oa-follow-row.is-editing .oa-follow-history .oa-image-view { display: none; }

/* 跟单弹窗 */
.oa-modal-mask {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(16, 24, 40, .32);
    backdrop-filter: blur(2px);
}
.oa-modal-mask[hidden] { display: none; }
.oa-modal {
    width: min(580px, 100%);
    max-height: 82vh;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(16, 24, 40, .18);
    overflow: hidden;
    animation: oaModalIn .22s ease both;
}
.oa-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--oa-line-soft);
}
.oa-modal-head h3 { margin: 0; font-size: 15px; font-weight: 600; }
.oa-modal-close {
    border: 0;
    background: transparent;
    color: var(--oa-muted);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.oa-modal-close:hover { color: var(--oa-text); }
.oa-modal-body { padding: 18px 20px; overflow-y: auto; }
.oa-modal.is-media { width: min(940px, 100%); height: 80vh; max-height: 80vh; }
.oa-modal.is-media .oa-modal-body { flex: 1; }
.oa-modal.is-add-customer { height: 60vh; max-height: 60vh; }
.oa-modal.is-add-customer .oa-modal-body { flex: 1; }
.oa-modal.is-edit-follow { width: 70%; max-width: 70%; height: 420px; max-height: 420px; }
.oa-modal.is-edit-follow .oa-modal-body { flex: 1; }
.oa-follow-edit-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 16px; }
.oa-edit-field label { display: block; margin-bottom: 6px; font-size: 12.5px; color: var(--oa-muted); }
.oa-edit-field.is-wide { grid-column: 1 / -1; }
.oa-edit-images { margin-top: 4px; }
.oa-edit-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
@media (max-width: 600px) { .oa-edit-pair { grid-template-columns: 1fr; } }
.oa-edit-tip { margin-top: 4px; font-size: 12px; color: var(--oa-muted); }
.oa-edit-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 10px; padding-top: 6px; }
/* 历史记录列与编辑弹窗中的历史图片区域：仅隐藏，保留代码 */
.oa-follow-table th.oa-col-history,
.oa-follow-table td.oa-follow-history,
.oa-edit-history { display: none !important; }
@media (max-width: 900px) { .oa-follow-edit-form { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .oa-follow-edit-form { grid-template-columns: 1fr; } }
.oa-modal.is-media .oa-image-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.oa-modal-empty { padding: 26px 0; text-align: center; color: var(--oa-muted); font-size: 13px; }
.oa-record-actions { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.oa-record-list { margin: 0; padding: 0; }
.oa-record-item {
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--oa-line-soft);
}
.oa-record-item:last-child { margin-bottom: 0; border-bottom: 0; }
.oa-record-time { font-size: 16px; font-weight: 600; color: var(--oa-text); margin-bottom: 10px; }
.oa-record-head { display: flex; align-items: center; margin-bottom: 10px; }
.oa-record-head .oa-record-time { margin-bottom: 0; }
.oa-record-head .oa-record-item-upload {
    margin-left: 20px;
    height: 22px;
    padding: 0 8px;
    font-size: 12px;
    line-height: 20px;
}
.oa-record-imgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.oa-record-thumb {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--oa-line);
}
.oa-record-thumb-wrap { position: relative; display: block; }
.oa-record-thumb-del {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .6);
    color: #fff;
    font-size: 14px;
    line-height: 20px;
    cursor: pointer;
}
.oa-record-thumb-del:hover { background: rgba(220, 38, 38, .9); }
.oa-record-item-actions { margin-top: 8px; }
.oa-record-mark { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.oa-record-mark-label { font-size: 12px; color: #6b7280; white-space: nowrap; }
.oa-record-mark-input { height: 30px; font-size: 12px; }
.oa-record-mark-textarea { height: auto; min-height: 60px; font-size: 12px; resize: vertical; }
.oa-record-mark-save { height: 30px; white-space: nowrap; }
.oa-record-text { margin: 8px 0 0; font-size: 13px; line-height: 1.7; color: var(--oa-text-2); white-space: pre-wrap; }
.oa-image-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 10px; }
.oa-image-item {
    position: relative;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--oa-line);
    border-radius: 9px;
    overflow: hidden;
    background: #f7f8fa;
}
.oa-image-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.oa-image-del {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    border: 0;
    border-radius: 50%;
    background: rgba(16, 24, 40, .6);
    color: #fff;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}
.oa-image-actions { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.oa-image-hint { font-size: 12px; color: var(--oa-muted); }
.oa-image-thumb { cursor: zoom-in; }

/* 存档备注 */
.oa-archive-mark { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--oa-line-soft); }
.oa-archive-mark .form-label { font-size: 13px; font-weight: 500; color: var(--oa-text-2); margin-bottom: 7px; }
.oa-archive-mark textarea.form-control {
    width: 100%;
    min-height: 92px;
    resize: vertical;
    font-size: 13.5px;
    line-height: 1.7;
}
.oa-archive-mark-actions { display: flex; justify-content: flex-end; margin-top: 12px; }

/* 存档弹窗：备注固定在底部，记录区域单独滚动 */
.oa-modal.has-archive-mark .oa-modal-body { display: flex; flex-direction: column; overflow: hidden; min-height: 0; }
.oa-modal.has-archive-mark .oa-record-box { flex: 1; min-height: 0; overflow-y: auto; padding-right: 4px; }
.oa-modal.has-archive-mark .oa-archive-mark { flex: 0 0 auto; margin-top: 0; }

/* 图片放大查看 */
.oa-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(9, 13, 20, .9);
}
.oa-lightbox[hidden] { display: none; }
.oa-lb-img {
    max-width: 88vw;
    max-height: 84vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
    user-select: none;
}
.oa-lb-close {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding-bottom: 7px;
}
.oa-lb-close:hover { background: rgba(255, 255, 255, .22); }
.oa-lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding-bottom: 6px;
}
.oa-lb-nav:hover { background: rgba(255, 255, 255, .24); }
.oa-lb-prev { left: 24px; }
.oa-lb-next { right: 24px; }
.oa-lb-counter {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .8);
    font-size: 13px;
    letter-spacing: .5px;
}
body.oa-lightbox-open { overflow: hidden; }

.oa-toast {
    position: fixed;
    left: 50%;
    bottom: 38px;
    z-index: 3000;
    padding: 9px 18px;
    border: 1px solid var(--oa-line);
    border-radius: 9px;
    background: #fff;
    color: var(--oa-text);
    font-size: 13px;
    box-shadow: 0 8px 24px rgba(16, 24, 40, .1);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 10px);
    transition: opacity .2s ease, transform .2s ease;
}
.oa-toast.is-show { opacity: 1; transform: translate(-50%, 0); }
body.oa-modal-open { overflow: hidden; }

.oa-follow-date{
    white-space: nowrap;
}

@keyframes oaModalIn {
    from { opacity: 0; transform: translateY(8px) scale(.98); }
    to { opacity: 1; transform: none; }
}

@keyframes oaJianyiPulse {
    0%, 100% { background: #fff8e6; }
    50% { background: #fff0c2; }
}

/* ---------- 响应式 ---------- */
.oa-mask { display: none; position: fixed; inset: 0; background: rgba(10, 16, 26, .42); z-index: 1025; }

@media (max-width: 1200px) {
    .oa-kpi-grid { grid-template-columns: repeat(2, 1fr); }
    .oa-dash-row { grid-template-columns: 1fr; }
}

@media (max-width: 991px) {
    .oa-sidebar { transform: translateX(-100%); }
    .oa-main { margin-left: 0; }
    .oa-menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
    body.oa-sidebar-open .oa-sidebar { transform: translateX(0); }
    body.oa-sidebar-open .oa-mask { display: block; }
}

@media (max-width: 1279px) {
    .oa-login-hero { display: none; }
}

@media (max-width: 900px) {
    .oa-login { padding: 24px; }
    .oa-login-card { max-width: 420px; }
}

@media (max-width: 640px) {
    .oa-body { padding: 18px 16px 32px; }
    .oa-header { padding: 0 16px; }
    .oa-kpi-grid { grid-template-columns: 1fr; }
    .oa-kpi-grid.is-duo { grid-template-columns: 1fr; }
    .oa-info-grid { grid-template-columns: 1fr; }
    .oa-user-name { display: none; }
    .oa-login { padding: 16px; }
    .oa-login-card { padding: 34px 26px 30px; }
}

/* ---------- 动效 ---------- */
@keyframes oaNavIn {
    from { opacity: 0; transform: translateX(-6px); }
    to { opacity: 1; transform: none; }
}

@keyframes oaBarGrow {
    from { transform: translateY(-50%) scaleY(0); opacity: 0; }
    to { transform: translateY(-50%) scaleY(1); opacity: 1; }
}

@keyframes oaFadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

@keyframes oaCardIn {
    from { opacity: 0; transform: translateY(22px) scale(.97); filter: blur(8px); }
    to { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes oaLineIn {
    from { width: 0; opacity: 0; }
    to { width: 64px; opacity: .9; }
}

@keyframes oaMarkIn {
    from { opacity: 0; transform: scale(.82); }
    to { opacity: 1; transform: none; }
}

@keyframes oaOrbFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-24px, 18px, 0) scale(1.06); }
}

@keyframes oaOrbFloat2 {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(28px, -20px, 0) scale(1.05); }
}

@keyframes oaGridDrift {
    from { background-position: 0 0, 0 0; }
    to { background-position: 64px 64px, 64px 64px; }
}

/* ---------- 减少动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

/* 公司设置 */
.oa-target-table td { vertical-align: middle; }
.oa-target-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-weight: 600;
    color: var(--oa-text);
    cursor: pointer;
}
.oa-target-input {
    display: none;
    width: 110px;
    height: 32px;
    min-height: 32px !important;
    padding: 4px 8px !important;
    font-size: 13px !important;
    border-radius: 7px !important;
}
.oa-target-row.is-on .oa-target-input { display: block; }
.oa-boss-switch { margin: 0; padding-left: 2.6em; cursor: pointer; }
.oa-boss-switch .form-check-input { cursor: pointer; }
.oa-target-foot { display: flex; justify-content: flex-end; padding: 16px 16px 4px; }

/* 工作报表 */
.oa-report-table td { vertical-align: middle; }
.oa-metric { display: inline-flex; align-items: center; gap: 6px; }
.oa-metric-num { font-weight: 600; color: var(--oa-text); font-variant-numeric: tabular-nums; }
.oa-metric.is-editable .oa-metric-num { cursor: pointer; border-bottom: 1px dashed var(--oa-muted);
    width: 30px;
    text-align: center; }
.oa-metric-badge {
    font-size: 11.5px;
    line-height: 1;
    padding: 3px 6px;
    border-radius: 4px;
    border: 1px solid transparent;
}
.oa-metric.is-ok .oa-metric-badge {
    color: var(--oa-success);
    background: var(--oa-success-soft);
    border-color: #abe7c6;
}
.oa-metric.is-bad .oa-metric-badge {
    color: var(--oa-danger);
    background: var(--oa-danger-soft);
    border-color: #fecdca;
}
.oa-metric-input {
    width: 68px;
    height: 28px;
    min-height: 28px !important;
    padding: 2px 6px !important;
    font-size: 13px !important;
    border-radius: 6px !important;
}

/* 工作报表：整行达标状态 */
.oa-status {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 9px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid transparent;
}
.oa-status.is-ok { color: var(--oa-success); background: var(--oa-success-soft); border-color: #abe7c6; }
.oa-status.is-bad { color: var(--oa-danger); background: var(--oa-danger-soft); border-color: #fecdca; }
.oa-status.is-none { color: var(--oa-muted); background: #f5f6f8; border-color: var(--oa-line); }

/* 跟单：锁定单元格 */
.oa-follow-table .is-locked .oa-cell { color: var(--oa-muted); cursor: not-allowed; }
.oa-follow-table .is-locked .oa-cell i { font-size: 11px; margin-left: 4px; }

/* 跟单：业绩调整 */
.oa-adjust-wrap { display: flex; align-items: center; gap: 6px; }
.oa-adjust-btn { display: none; height: 26px; padding: 0 8px; font-size: 12px; }
.oa-follow-row.is-editing .oa-adjust-btn { display: inline-flex; }
.oa-adjust-form { display: flex; flex-direction: column; gap: 12px; }

/* 编辑弹窗内的业绩调整浮层 */
.oa-modal.is-edit-follow .oa-modal-body { position: relative; }
.oa-adjust-layer {
    position: absolute;
    inset: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, .45);
}
.oa-adjust-dialog {
    width: min(420px, 100%);
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .22);
}
.oa-adjust-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--oa-line-soft);
}
.oa-adjust-head h3 { margin: 0; font-size: 16px; font-weight: 600; color: var(--oa-text); }
.oa-adjust-body { padding: 18px 20px 20px; overflow-y: auto; }
.oa-adjust-row { display: flex; align-items: center; gap: 12px; }
.oa-adjust-row label { width: 44px; margin: 0; font-size: 13px; color: var(--oa-text-2); flex: none; }
.oa-adjust-row .form-control,
.oa-adjust-row .form-select { flex: 1; }
.oa-adjust-radios { display: flex; align-items: center; gap: 18px; }
.oa-adjust-radios label {
    width: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--oa-text);
    cursor: pointer;
}
.oa-adjust-submit { display: flex; align-items: center; gap: 12px; }
.oa-adjust-tip { margin: 0; font-size: 12px; color: var(--oa-muted); }
.oa-form-hint { margin: 2px 0 0; font-size: 12px; color: var(--oa-muted); }
.oa-modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.oa-search-select { position: relative; flex: 1; }
.oa-search-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 20;
    max-height: 220px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--oa-border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(18, 28, 45, .12);
    padding: 4px;
}
.oa-search-option {
    padding: 8px 10px;
    font-size: 13px;
    color: var(--oa-text);
    border-radius: 6px;
    cursor: pointer;
}
.oa-search-option:hover { background: #f2f6ff; color: var(--oa-primary); }
.oa-search-empty { padding: 10px; font-size: 12px; color: var(--oa-muted); text-align: center; }

/* ---------- 员工端（/yuangong） ---------- */
.oa-staff-body { background: var(--oa-bg); }

.oa-staff-topbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    height: 60px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 24px;
    background: #fff;
    border-bottom: 1px solid var(--oa-line);
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}

.oa-staff-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--oa-text);
}
.oa-staff-brand:hover { color: var(--oa-text); }
.oa-staff-brand .oa-brand-text { font-size: 15px; font-weight: 600; letter-spacing: .2px; }

.oa-staff-user {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 14px;
}
.oa-staff-user-name {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--oa-text-2);
}
.oa-staff-user-name i { font-size: 17px; color: var(--oa-primary); }

.oa-staff-main { padding: 22px 24px 48px; }

.oa-staff-table { min-width: 1820px; }
.oa-staff-table .oa-cell { max-width: 130px; }
.oa-staff-table td[data-cell="jianyi"] .oa-cell { max-width: 240px; }
.oa-staff-table .oa-follow-jianyi-cell .oa-cell { display: block; }

@media (max-width: 640px) {
    .oa-staff-topbar { padding: 0 14px; }
    .oa-staff-main { padding: 14px 12px 32px; }
    .oa-staff-user-name { font-size: 13px; }
}

/* ---------- 员工登录页（/yuangong） ---------- */
.oa-elogin-body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(620px 480px at 88% -6%, rgba(56, 189, 248, .22), transparent 62%),
        radial-gradient(560px 440px at -4% 104%, rgba(99, 102, 241, .16), transparent 62%),
        linear-gradient(160deg, #f1f8ff 0%, #f8fbff 52%, #edf4ff 100%);
}

.oa-elogin { width: 100%; max-width: 880px; }

.oa-elogin-card {
    display: grid;
    grid-template-columns: 350px 1fr;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(23, 58, 120, .16), 0 2px 6px rgba(23, 58, 120, .06);
    animation: oaCardIn .7s cubic-bezier(.2, .8, .2, 1) both;
}

.oa-elogin-aside {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 40px 34px;
    color: #fff;
    background: linear-gradient(155deg, #2f6fed 0%, #3b8dfb 56%, #4cc0f7 100%);
}

.oa-elogin-bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    pointer-events: none;
}
.oa-elogin-bubble.is-one { width: 220px; height: 220px; top: -70px; right: -70px; }
.oa-elogin-bubble.is-two { width: 130px; height: 130px; bottom: 46px; left: -54px; background: rgba(255, 255, 255, .1); }
.oa-elogin-bubble.is-three { width: 62px; height: 62px; bottom: 110px; right: 34px; background: rgba(255, 255, 255, .16); }

.oa-elogin-brand {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: .3px;
}
.oa-elogin-brand .oa-brand-mark {
    background: rgba(255, 255, 255, .2);
    border: 1px solid rgba(255, 255, 255, .38);
}

.oa-elogin-aside h2 {
    position: relative;
    z-index: 1;
    margin: 40px 0 12px;
    font-size: 25px;
    font-weight: 600;
    letter-spacing: .6px;
}
.oa-elogin-aside > p {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 13px;
    line-height: 1.9;
    color: rgba(255, 255, 255, .82);
}

.oa-elogin-points {
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 30px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, .92);
}
.oa-elogin-points li { display: flex; align-items: center; gap: 9px; }
.oa-elogin-points i { font-size: 15px; opacity: .9; }

.oa-elogin-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 46px 46px 38px;
}

.oa-elogin-head { margin-bottom: 26px; animation: oaFadeUp .5s .1s both; }
.oa-elogin-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: var(--oa-primary-soft);
    color: var(--oa-primary);
    font-size: 22px;
}
.oa-elogin-head h1 { margin: 0 0 6px; font-size: 21px; font-weight: 600; letter-spacing: .3px; }
.oa-elogin-head p { margin: 0; font-size: 13px; color: var(--oa-muted); }

.oa-elogin-form .form-label { font-size: 13px; font-weight: 500; color: var(--oa-text-2); margin-bottom: 7px; }
.oa-elogin-form .form-control {
    height: 44px;
    padding: 10px 13px;
    font-size: 14px;
    border-color: #dfe3ea;
    border-radius: 9px;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.oa-elogin-form .form-control:focus {
    border-color: var(--oa-primary);
    box-shadow: 0 0 0 3px rgba(42, 75, 204, .12);
}
.oa-elogin-form .btn {
    height: 44px;
    border-radius: 9px;
    font-size: 14px;
    letter-spacing: 2px;
    margin-top: 4px;
    transition: transform .18s ease, box-shadow .18s ease;
}
.oa-elogin-form .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(42, 75, 204, .3);
}

.oa-elogin-foot {
    margin: 18px 0 0;
    text-align: center;
    font-size: 12px;
    color: var(--oa-muted);
}

@media (max-width: 860px) {
    .oa-elogin-card { grid-template-columns: 1fr; }
    .oa-elogin-aside { padding: 26px 26px 28px; }
    .oa-elogin-aside h2 { margin: 20px 0 8px; font-size: 21px; }
    .oa-elogin-points { display: none; }
    .oa-elogin-form { padding: 32px 26px 30px; }
}
