/* 员工前台基础样式（移动优先）*/
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: #f2f4f7;
    color: #1f2329;
    font-size: 15px;
    line-height: 1.6;
}
a { color: #1e9fff; text-decoration: none; }

/* 顶部导航 */
.topbar {
    height: 52px;
    background: #1e9fff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    position: sticky;
    top: 0;
    z-index: 10;
}
.topbar .tb-name { font-weight: 700; font-size: 16px; }
.topbar .tb-right a { color: #eaf6ff; font-size: 14px; }

.container { max-width: 720px; margin: 0 auto; padding: 16px; }

/* 卡片 */
.card {
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.card h3 { margin: 0 0 14px; font-size: 16px; color: #1f2329; }
.card .hint { color: #8a9099; font-size: 13px; margin: -8px 0 14px; }

/* 今日完成情况：键值对 */
.kv { margin: 4px 0 2px; }
.kv-row { display: flex; padding: 9px 0; border-bottom: 1px solid #f0f2f5; font-size: 14px; }
.kv-row:last-child { border-bottom: none; }
.kv-k { width: 84px; color: #8a9099; flex: none; }
.kv-v { flex: 1; color: #1f2329; word-break: break-all; }

/* 信息行 */
.info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f2f5;
}
.info-row:last-child { border-bottom: none; }
.info-row .k { color: #8a9099; }
.info-row .v { font-weight: 600; }

/* 表单 */
.form-item { margin-bottom: 14px; }
.form-item label { display: block; margin-bottom: 6px; color: #4e5969; font-size: 14px; }
.form-item input, .form-item select, .form-item textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dcdfe6;
    border-radius: 8px;
    font-size: 15px;
    background: #fff;
    color: #1f2329;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
    -webkit-appearance: none;
    appearance: none;
}
.form-item input:focus, .form-item select:focus, .form-item textarea:focus {
    border-color: #1e9fff;
    box-shadow: 0 0 0 3px rgba(30,159,255,.12);
}
.form-item input:hover, .form-item select:hover, .form-item textarea:hover { border-color: #c0c4cc; }
/* 下拉框：去除原生外观，自定义主题色箭头 */
.form-item select {
    padding-right: 38px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%231e9fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}
.form-item select option { padding: 8px 10px; background: #fff; color: #1f2329; }
.form-item textarea { resize: vertical; min-height: 64px; }

/* 技术部：多条工作事项动态表单 */
.work-row {
    position: relative;
    border: 1px solid #ebedf0;
    border-radius: 10px;
    padding: 14px 14px 6px;
    margin-bottom: 12px;
    background: #fafbfc;
}
.work-row .form-item { margin-bottom: 10px; }
.work-row .form-item:last-of-type { margin-bottom: 4px; }
.work-row:focus-within { border-color: #1e9fff; box-shadow: 0 0 0 3px rgba(30,159,255,.08); }
.row-del {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: transparent;
    color: #f53f3f;
    font-size: 13px;
    cursor: pointer;
    padding: 2px 4px;
}
.row-del:hover { text-decoration: underline; }
.work-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}
.work-actions #addWorkBtn { margin-left: auto; } /* 「+添加工作事项」置于右下角 */
.work-actions .btn { width: auto; padding: 11px 20px; }

/* 月度完成情况：按天折叠（与后台技术任务一致） */
.task-accordion { margin-top: 4px; }
.acc-group { border: 1px solid #e3e8f0; border-radius: 8px; margin-bottom: 10px; overflow: hidden; background: #fff; }
.acc-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; cursor: pointer; background: #f5f9ff; user-select: none; transition: background .15s; }
.acc-head:hover { background: #eaf2ff; }
.acc-caret { color: #1e9fff; font-size: 12px; width: 14px; text-align: center; transition: transform .15s; }
.acc-date { font-weight: 700; color: #1f2d3d; font-size: 15px; }
.acc-count { color: #8a9099; font-size: 13px; margin-left: auto; }
.acc-body { padding: 4px 8px 8px; }
.acc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.acc-table th, .acc-table td { padding: 9px 12px; text-align: left; border-bottom: 1px solid #f0f2f5; vertical-align: top; }
.acc-table th { background: #fafbfc; color: #5a6573; font-weight: 600; font-size: 13px; }
.acc-table td { color: #333; }
.acc-table tbody tr:last-child td { border-bottom: none; }

.btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: #1e9fff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}
.btn:active { background: #1786e0; }
.btn-ghost {
    display: inline-block;
    padding: 9px 14px;
    border: 1px solid #1e9fff;
    color: #1e9fff;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    margin-right: 8px;
   
}

/* 提示 */
.alert { padding: 10px 12px; border-radius: 8px; margin-bottom: 14px; font-size: 14px; }
.alert.ok { background: #e8f8ee; color: #1a8a4f; }
.alert.err { background: #fdecec; color: #d4380d; }

/* 登录页（左右结构：左侧公司愿景使命，右侧登录框） */
.login-page { display: flex; min-height: 100vh; }
.login-brand {
    flex: 1 1 55%;
    background: linear-gradient(135deg, #1e9fff 0%, #1668dc 60%, #1252b0 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
}
.brand-inner { max-width: 520px; }
.brand-logo { font-size: 26px; font-weight: 800; letter-spacing: 2px; margin-bottom: 8px; }
.brand-company { font-size: 15px; opacity: .85; margin-bottom: 36px; }
.brand-item { margin-bottom: 26px; }
.brand-item:last-child { margin-bottom: 0; }
.brand-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    padding: 3px 14px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 999px;
    margin-bottom: 10px;
    letter-spacing: 2px;
}
.brand-text { font-size: 15px; line-height: 1.9; opacity: .95; }
.login-main {
    flex: 1 1 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f7fa;
    padding: 24px;
}
.login-box { width: 100%; max-width: 380px; }
.login-box .logo {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    color: #1e9fff;
    margin-bottom: 6px;
}
.login-box .sub { text-align: center; color: #8a9099; margin-bottom: 22px; }
@media (max-width: 768px) {
    .login-page { flex-direction: column; }
    .login-brand { padding: 36px 22px; }
    .brand-inner { max-width: 100%; }
    .brand-item { margin-bottom: 18px; }
    .login-main { padding: 26px 16px 44px; }
}

/* 参考指标表 */
.ref-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 6px; }
.ref-table th, .ref-table td { padding: 8px 6px; border-bottom: 1px solid #f0f2f5; text-align: center; }
.ref-table th { color: #8a9099; font-weight: 500; }
.ref-table td.label { text-align: left; color: #4e5969; }
.ref-table td .now { color: #1e9fff; font-weight: 700; }
.section-title { font-size: 15px; font-weight: 700; margin: 4px 0 10px; }

.notice {
    text-align: center;
    color: #8a9099;
    padding: 30px 10px;
    font-size: 14px;
}

/* 技术部：我的项目 */
.proj-add { display: flex; gap: 8px; margin-bottom: 12px; }
.proj-add input { flex: 1; padding: 10px 12px; border: 1px solid #dcdfe6; border-radius: 8px; font-size: 14px; outline: none; }
.proj-add input:focus { border-color: #1e9fff; }
.btn-sm { width: auto; padding: 10px 16px; font-size: 14px; }
.proj-list { list-style: none; margin: 0; padding: 0; }
.proj-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f2f5;
    font-size: 14px;
}
.proj-list li:last-child { border-bottom: none; }
.proj-name { font-weight: 600; color: #1f2329; }
.proj-del { color: #d4380d; font-size: 13px; }

/* 技术部：今日工作记录列表 */
.work-list { display: flex; flex-direction: column; gap: 12px; }
.work-item { border: 1px solid #eef0f3; border-radius: 10px; padding: 12px 14px; background: #fafbfc; }
.work-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.work-head b { font-size: 15px; color: #1e6fff; }
.work-del { color: #d4380d; font-size: 13px; }

/* 技术部：多项目填写块 */
.proj-block {
    border: 1px solid #eef0f3;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 14px;
    background: #fafbfc;
}
.proj-check { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; cursor: pointer; }
.proj-check input { width: 18px; height: 18px; accent-color: #1e9fff; }
.proj-check b { font-size: 15px; color: #1f2329; }

/* ── 运营部：项目添加表单（多字段一行） ── */
.proj-add-ops { flex-wrap: wrap; }
.proj-add-ops input, .proj-add-ops select { flex: 1 1 140px; min-width: 130px; padding: 10px 12px; border: 1px solid #dcdfe6; border-radius: 8px; font-size: 14px; outline: none; }
.proj-add-ops input:focus, .proj-add-ops select:focus { border-color: #1e9fff; }
.proj-add-ops .btn { flex: 0 0 auto; }
.proj-meta { color: #8a919f; font-size: 12px; margin-left: 10px; flex: 1; text-align: left; }

/* ── 运营部：日报行网格布局 ── */
.work-row-ops { display: block; }
.ops-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 12px; }
.ops-grid .form-item { margin-bottom: 0; }
.ops-grid .form-item:first-child { grid-column: 1 / -1; }
.ops-grid .form-item:nth-child(4) { grid-column: 1 / -1; } /* 今日优化内容整行 */
@media (min-width: 720px) {
    .ops-grid { grid-template-columns: repeat(3, 1fr); }
    .ops-grid .form-item:first-child { grid-column: 1 / -1; }
    .ops-grid .form-item:nth-child(4) { grid-column: 1 / -1; }
}
.ops-meta { margin-top: 8px; font-size: 12px; color: #8a919f; }

/* ── 运营部：会议纪要行 ── */
.work-row-minute { border-left: 3px solid #f5a623; }
.minute-tag { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #fff7e8; color: #d48806; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.btn-light { background: #fff; color: #1e6fff; border: 1px solid #9cc5ff; }
.btn-light:active { background: #eef5ff; }

/* ── 销售部：AI 业绩分析卡片 ── */
.ai-card { border-top: 3px solid #7c5cff; }
.ai-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ai-card-head h3 { margin: 0; }
.ai-date { font-size: 12px; color: #8a919f; }
.ai-refresh { margin-left: auto; font-size: 12px; color: #7c5cff; text-decoration: none; border: 1px solid #d6ccff; border-radius: 6px; padding: 3px 10px; }
.ai-refresh:active { background: #f3efff; }
.ai-sec { margin-bottom: 14px; }
.ai-sec:last-child { margin-bottom: 0; }
.ai-sec-title { display: inline-block; font-size: 13px; font-weight: 700; color: #fff; padding: 3px 12px; border-radius: 6px; margin-bottom: 8px; }
.ai-summary { background: #7c5cff; }
.ai-suggest { background: #2f9e6b; }
.ai-guide  { background: #e0863a; }
.ai-sec-body { font-size: 14px; line-height: 1.7; color: #2b2f36; white-space: pre-line; word-break: break-word; }
.ai-sec-body.ai-err { color: #d4380d; background: #fff2e8; padding: 10px 12px; border-radius: 8px; }
.ai-card-body { margin-top: 4px; }
.ai-intro { font-size: 13px; line-height: 1.7; color: #5b6472; margin: 0 0 14px; }
.ai-intro b { color: #7c5cff; }
.ai-btn { width: 100%; padding: 11px 0; font-size: 15px; font-weight: 600; background: #7c5cff; color: #fff; border: none; border-radius: 9px; cursor: pointer; }
.ai-btn:active { background: #6a49f0; }
.ai-loading { font-size: 14px; color: #7c5cff; display: flex; align-items: center; gap: 8px; padding: 8px 0; }
.ai-spinner { width: 16px; height: 16px; border: 2px solid #d6ccff; border-top-color: #7c5cff; border-radius: 50%; display: inline-block; animation: ai-spin .8s linear infinite; }
@keyframes ai-spin { to { transform: rotate(360deg); } }
.ai-foot { margin-top: 14px; text-align: right; }
.ai-refresh-btn { font-size: 12px; color: #7c5cff; background: #fff; border: 1px solid #d6ccff; border-radius: 6px; padding: 5px 14px; cursor: pointer; }
.ai-refresh-btn:active { background: #f3efff; }

/* ── 销售客户库 ── */
.cust-form { margin-top: 4px; }
.cust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.cust-item { display: flex; flex-direction: column; gap: 5px; }
.cust-item-2 { grid-column: 1 / -1; }
.cust-item > span { font-size: 13px; color: #6b7280; }
.cust-item > span i { color: #f04438; font-style: normal; margin-left: 2px; }
.cust-item input, .cust-item select, .cust-item textarea {
    border: 1px solid #dfe3e8; border-radius: 8px; padding: 9px 10px; font-size: 14px;
    font-family: inherit; background: #fff; color: #1f2329; outline: none; width: 100%; box-sizing: border-box;
}
.cust-item input:focus, .cust-item select:focus, .cust-item textarea:focus { border-color: #7c5cff; }
.cust-item textarea { resize: vertical; }
.cust-actions { margin-top: 14px; display: flex; gap: 10px; }
.cust-empty { color: #8a9099; font-size: 14px; padding: 8px 0; }
.cust-list { display: flex; flex-direction: column; gap: 12px; }
.cust-row { border: 1px solid #eef0f3; border-radius: 12px; padding: 12px 14px; background: #fafbfc; }
.cust-row-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.cust-name { font-weight: 700; font-size: 15px; color: #1f2329; }
.cust-row-body { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 13px; color: #4b5563; }
.cust-row-body span { display: inline-flex; gap: 4px; }
.cust-row-body i { color: #9aa1ac; font-style: normal; }
.cust-stage, .cust-remark { flex-basis: 100%; }
.cust-row-ops { margin-top: 10px; display: flex; gap: 16px; }
.link-edit { color: #1e6fff; font-size: 13px; }
.link-del { color: #f04438; font-size: 13px; }
/* 标签 */
.tag { font-size: 12px; padding: 2px 8px; border-radius: 999px; line-height: 1.6; }
.tag-src { background: #eef2ff; color: #4f46e5; }
.tag-st-1 { background: #eef2f7; color: #6b7280; }
.tag-st-2 { background: #e6f0ff; color: #1e6fff; }
.tag-st-3 { background: #fff4e5; color: #d97706; }
.tag-st-4 { background: #e8f8ee; color: #1a8a4f; }
.tag-st-5 { background: #fdecec; color: #d4380d; }
.tag-lv-1 { background: #fde8ef; color: #d6336c; }
.tag-lv-2 { background: #eef2f7; color: #6b7280; }
.tag-lv-3 { background: #f1f3f5; color: #adb5bd; }


/* ── 通用：提交页日期选择条（技术部/运营部等「提交今日工作」） ── */
.work-date-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 4px; }
.work-date-bar label { font-size: 13px; color: #6b7280; }
.work-date-bar input[type="date"] { padding: 7px 10px; border: 1px solid #dfe3e8; border-radius: 8px; font-size: 14px; outline: none; }
.work-date-bar input[type="date"]:focus { border-color: #1e9fff; }

/* ── 个人中心：手机号/邮箱 直接编辑保存 ── */
.profile-form { margin: 0; }
.profile-form .info-row .v { flex: 1; margin-left: 12px; font-weight: 400; }
.info-input {
    width: 100%;
    box-sizing: border-box;
    padding: 7px 10px;
    border: 1px solid #dfe3e8;
    border-radius: 8px;
    font-size: 14px;
    color: #1f2329;
    outline: none;
    background: #fff;
}
.info-input:focus { border-color: #1e9fff; }
.profile-save-btn { margin-top: 12px; width: 100%; text-align: center; }

/* ── 个人中心：消息通知框 ── */
.notice-card .notice-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 1px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: #f5222d;
    border-radius: 10px;
    vertical-align: middle;
}
.notice-empty { color: #8a919f; font-size: 14px; padding: 6px 0; }
.notice-list { display: flex; flex-direction: column; gap: 10px; }
.notice-item {
    border: 1px solid #eef0f3;
    border-radius: 10px;
    padding: 10px 12px;
    background: #fafbfc;
}
.notice-item.unread { border-color: #bae0ff; background: #f0f8ff; }
.notice-top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; flex-wrap: wrap; }
.notice-tag {
    font-size: 12px;
    padding: 1px 8px;
    border-radius: 4px;
    color: #fff;
    background: #8c8c8c;
}
.notice-task { background: #722ed1; }
.notice-system { background: #13c2c2; }
.notice-title { font-weight: 600; color: #1f2329; font-size: 14px; }
.notice-time { margin-left: auto; color: #a0a6b0; font-size: 12px; }
.notice-content { color: #4a5159; font-size: 13px; line-height: 1.6; word-break: break-all; }
.notice-read-btn {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    color: #1e9fff;
    text-decoration: none;
}
.notice-read-btn:active { opacity: .7; }
.notice-readed { display: inline-block; margin-top: 8px; font-size: 13px; color: #b0b6bf; }
.notice-all-read {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    color: #1e9fff;
    text-decoration: none;
}

/* ── 个人中心：手机号/邮箱 点击进入编辑态 ── */
.profile-field .info-text {
    display: inline-block;
    width: 100%;
    text-align: right;
    font-size: 14px;
    color: #1f2329;
    cursor: pointer;
    border-bottom: 1px dashed #c9d2dd;
    padding-bottom: 2px;
}
.profile-field .info-text:hover { color: #1e9fff; border-bottom-color: #1e9fff; }
.profile-field .info-text .edit-pen {
    font-style: normal;
    margin-left: 6px;
    font-size: 12px;
    color: #b0b6bf;
}
.profile-field .info-text:hover .edit-pen { color: #1e9fff; }

/* ── 个人中心：月度任务进度条（销售部 / 运营部） ── */
.month-task-card .mt-month { font-size: 13px; font-weight: 400; color: #98a0ab; margin-left: 4px; }
.month-task-card .mt-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.month-task-card .mt-name { font-size: 14px; font-weight: 600; color: #1f2329; }
.month-task-card .mt-pct { font-size: 22px; font-weight: 700; line-height: 1; }
.month-task-card .mt-pct.warn { color: #e74c3c; }
.month-task-card .mt-pct.mid  { color: #f39c12; }
.month-task-card .mt-pct.good { color: #1a8a4f; }
.month-task-card .mt-bar {
    height: 16px;
    background: #eef1f5;
    border-radius: 8px;
    overflow: hidden;
    margin: 6px 0 10px;
}
.month-task-card .mt-fill {
    height: 100%;
    border-radius: 8px;
    transition: width .45s ease;
}
.month-task-card .mt-fill.warn { background: linear-gradient(90deg,#ff7a6b,#e74c3c); }
.month-task-card .mt-fill.mid  { background: linear-gradient(90deg,#ffc14d,#f39c12); }
.month-task-card .mt-fill.good { background: linear-gradient(90deg,#39c97a,#1a8a4f); }
.month-task-card .mt-figs {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: #5b6168;
}
.month-task-card .mt-figs b { color: #1f2329; }
.month-task-card .mt-over { color: #1a8a4f; font-weight: 600; }
.month-task-card .mt-tip {
    margin: 10px 0 0;
    padding: 7px 11px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.5;
}
.month-task-card .mt-tip.warn { color: #c0392b; background: #fdecea; }
.month-task-card .mt-tip.mid  { color: #b9770e; background: #fef5e7; }
.month-task-card .mt-tip.ok   { color: #1a8a4f; background: #f0fff5; }

/* ── 资料库页面 ── */
.res-intro { font-size: 13px; color: #8a929e; margin: 2px 0 12px; padding: 0 4px; }
.res-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; padding: 0 4px; }
.res-tab {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 16px;
    background: #eef1f5;
    color: #5b6470;
    font-size: 13px;
    text-decoration: none;
}
.res-tab.active { background: #1e9fff; color: #fff; }
.res-tab:hover { opacity: .9; }
.res-empty { text-align: center; color: #98a0ab; padding: 30px 0; }
.res-list { display: flex; flex-direction: column; gap: 12px; }
.res-card { display: flex; align-items: flex-start; padding: 14px; }
.res-icon {
    flex: 0 0 auto;
    width: 46px; height: 46px;
    border-radius: 10px;
    background: #eaf6ff;
    font-size: 24px;
    line-height: 46px;
    text-align: center;
    margin-right: 12px;
}
.res-body { flex: 1 1 auto; min-width: 0; }
.res-title {
    font-size: 15px; font-weight: 600; color: #1f2329;
    margin-bottom: 6px;
    word-break: break-all;
}
.res-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12px; color: #98a0ab; margin-bottom: 6px; }
.res-badge { background: #eef1f5; color: #5b6470; border-radius: 4px; padding: 1px 8px; }
.res-ext { background: #fff4e6; color: #b9770e; border-radius: 4px; padding: 1px 8px; font-weight: 600; }
.res-remark { font-size: 13px; color: #6b7280; margin-bottom: 8px; word-break: break-all; }
.res-actions { display: flex; align-items: center; gap: 12px; }
.btn-res-dl {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 6px;
    background: #1a8a4f; color: #fff;
    font-size: 13px; text-decoration: none;
}
.btn-res-dl:hover { background: #15703f; }
.res-count { font-size: 12px; color: #b0b6bf; }

/* ── 资料库上传按钮 / 上传页 ── */
.res-upload-bar { margin: 0 0 14px; padding: 0 4px; }
.btn-res-upload {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 8px;
    background: #1e9fff; color: #fff;
    font-size: 14px; text-decoration: none;
}
.btn-res-upload:hover { background: #168ce6; }

.res-up-form { padding: 16px; }
.ruf-row { display: flex; align-items: flex-start; margin-bottom: 16px; }
.ruf-row > label {
    flex: 0 0 70px;
    font-size: 14px; color: #5b6470; padding-top: 8px;
}
.ruf-row input[type=text],
.ruf-row select,
.ruf-row textarea {
    flex: 1 1 auto;
    width: 100%;
    padding: 9px 11px;
    border: 1px solid #dfe3e8;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
    font-family: inherit;
}
.ruf-row textarea { resize: vertical; }
.ruf-file { flex: 1 1 auto; }
.ruf-file input[type=file] { display: block; width: 100%; font-size: 13px; }
.ruf-file-name { display: block; margin-top: 6px; font-size: 12px; color: #98a0ab; word-break: break-all; }
.ruf-progress { margin-top: 8px; font-size: 13px; color: #1e9fff; }
.btn-res-submit {
    display: block;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #1a8a4f; color: #fff;
    font-size: 15px; font-weight: 600;
    cursor: pointer;
}
.btn-res-submit:disabled { background: #b9c2cc; cursor: not-allowed; }
.btn-res-submit:not(:disabled):hover { background: #15703f; }

/* ── 消息通知：查看全部入口 ── */
.notice-more {
    display: block;
    margin: 12px 2px 2px;
    text-align: center;
    font-size: 13px;
    color: #1e9fff;
    text-decoration: none;
}
.notice-more:hover { color: #168ce6; text-decoration: underline; }

/* ── 消息通知列表页：分页 ── */
.pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 18px 0 6px;
}
.pager .pg-btn,
.pager .pg-cur {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    line-height: 34px;
    text-align: center;
    border-radius: 8px;
    font-size: 13px;
    text-decoration: none;
    box-sizing: border-box;
}
.pager .pg-btn {
    background: #f2f5f8;
    color: #5b6470;
    border: 1px solid #e3e7ec;
}
.pager .pg-btn:hover { background: #e6ebf0; color: #1e9fff; }
.pager .pg-cur {
    background: #1e9fff;
    color: #fff;
    font-weight: 600;
    border: 1px solid #1e9fff;
}

/* ── topbar 返回链接（列表页） ── */
.tb-back {
    color: #fff;
    font-size: 15px;
    text-decoration: none;
}
.tb-back:hover { opacity: 0.85; }

/* ── 我的代办（后台下发任务的待办/超时/完成） ── */
.mytask-card .mytask-count {
    float: right; font-size: 12px; font-weight: normal; color: #1e9fff;
    background: #eaf4ff; padding: 1px 8px; border-radius: 10px; margin-top: 2px;
}
.mytask-empty { color: #999; font-size: 13px; padding: 6px 2px; }
.mytask-list { display: flex; flex-direction: column; gap: 10px; }
.mytask-item {
    border: 1px solid #eef1f4; border-left: 3px solid #1e9fff;
    border-radius: 8px; padding: 10px 12px; background: #fafcff;
}
.mytask-item.state-overdue { border-left-color: #ff4d4f; background: #fff6f6; }
.mytask-item.state-done { border-left-color: #52c41a; background: #f6fff8; }
.mytask-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mytask-content { font-size: 14px; font-weight: 600; color: #2a3340; }
.mytask-state { font-size: 12px; padding: 1px 8px; border-radius: 10px; white-space: nowrap; }
.mytask-state.state-doing { color: #1e9fff; background: #eaf4ff; }
.mytask-state.state-overdue { color: #ff4d4f; background: #ffeaea; }
.mytask-state.state-done { color: #52c41a; background: #eafbe7; }
.mytask-meta { font-size: 12px; color: #8a93a0; margin-top: 6px; }
.mytask-done { margin-top: 8px; font-size: 13px; padding: 5px 14px; }
