/* ============================================================
   Bento Grid 浅色弹窗主题（个人中心 / 登录注册 / 工单）
   - 作用域：.acct-modal（登录注册 + 个人中心）、.tk-modal（工单弹窗）
   - 白色瓦片 + 细边框 + 柔影 + 实心蓝主按钮 + 语义色徽章
   - 通过容器前缀提升优先级，覆盖各自原始暗色样式
   ============================================================ */

/* ---------- 通用语义 ---------- */
.acct-modal.is-err, .acct-modal .is-err { color: #D92D20; }
.acct-modal .is-ok { color: #067647; }

/* ---------- 登录 / 注册 / 个人中心 ---------- */
.acct-modal .acct-modal-card {
    background: #FFFFFF; color: #101828;
    border: 1px solid rgba(16, 24, 40, .08);
    box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.08);
    backdrop-filter: none; -webkit-backdrop-filter: none;
}
.acct-modal .acct-close { color: #98A2B3; }
.acct-modal .acct-close:hover { background: #F2F4F7; }
.acct-modal .acct-title { color: #101828; }
.acct-modal .acct-tab {
    background: #F2F4F7; border-color: rgba(16,24,40,.10); color: #667085;
}
.acct-modal .acct-tab.is-on {
    background: #EFF4FF; border-color: rgba(37,99,235,.45); color: #2563EB;
}
.acct-modal .acct-label { color: #667085; }
.acct-modal .acct-input {
    color: #101828; background: #FFFFFF;
    border: 1px solid rgba(16,24,40,.14);
}
.acct-modal .acct-input:focus { border-color: #2563EB; box-shadow: 0 0 0 3px rgba(37,99,235,.14); }
.acct-modal .acct-submit {
    color: #fff; background: #2563EB; border: 1px solid #2563EB;
    box-shadow: 0 1px 2px rgba(16,24,40,.08);
}
.acct-modal .acct-submit:hover { background: #1D4ED8; border-color: #1D4ED8; }
.acct-modal .acct-hint { color: #667085; }
.acct-modal .acct-hint a { color: #2563EB; }
.acct-modal .acct-msg.is-err { color: #D92D20; }
.acct-modal .acct-msg.is-ok { color: #067647; }
.acct-modal .acct-muted { color: #667085; }
.acct-modal .acct-avatar {
    border-color: rgba(16,24,40,.12); background: #F2F4F7;
}
.acct-modal .acct-upload-btn {
    color: #2563EB; background: #EFF4FF; border-color: rgba(37,99,235,.35);
}
.acct-modal .acct-upload-btn:hover { background: #E0EAFF; }
.acct-modal .acct-kv {
    background: #F9FAFB; border-color: rgba(16,24,40,.08);
}
.acct-modal .acct-kv span { color: #667085; }
.acct-modal .acct-kv b { color: #101828; }
.acct-modal .acct-section { border-top-color: rgba(16,24,40,.08); }
.acct-modal .acct-section-title { color: #667085; }
.acct-modal .acct-logout {
    color: #D92D20; background: #FEF3F2; border-color: rgba(229,72,77,.35);
}
.acct-modal .acct-logout:hover { background: #FEE4E2; }
.acct-modal .acct-notices li { border-bottom-color: rgba(16,24,40,.08); }

/* ---------- 工单弹窗 ---------- */
.tk-modal .tk-card {
    background: #FFFFFF; color: #101828;
    border: 1px solid rgba(16,24,40,.08);
    box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.08);
}
.tk-modal .tk-card h3 { color: #101828; }
.tk-modal .tk-close { color: #98A2B3; }
.tk-modal .tk-hint { color: #667085; }
.tk-modal .tk-label { color: #667085; }
.tk-modal .tk-input, .tk-modal .tk-textarea {
    color: #101828; background: #FFFFFF;
    border: 1px solid rgba(16,24,40,.14);
}
.tk-modal .tk-input:focus, .tk-modal .tk-textarea:focus {
    border-color: #2563EB; box-shadow: 0 0 0 3px rgba(37,99,235,.14);
}
.tk-modal .tk-input::placeholder, .tk-modal .tk-textarea::placeholder { color: #98A2B3; }
.tk-modal .tk-type { background: #FFFFFF; border-color: rgba(16,24,40,.14); }
.tk-modal .tk-type:hover { background: #F9FAFB; }
.tk-modal .tk-type span { color: #667085; }
.tk-modal .tk-type[data-tk-type="bug"] b { color: #D92D20; }
.tk-modal .tk-type[data-tk-type="suggest"] b { color: #067647; }
.tk-modal .tk-type.on { background: #EFF4FF; border-color: rgba(37,99,235,.55); }
.tk-modal .tk-type[data-tk-type="bug"].on { background: #FEF3F2; border-color: rgba(217,45,32,.55); }
.tk-modal .tk-type[data-tk-type="suggest"].on { background: #ECFDF3; border-color: rgba(6,118,71,.5); }
.tk-modal .tk-img { border-color: rgba(16,24,40,.14); }
.tk-modal .tk-img-del { background: rgba(229,72,77,.9); }
.tk-modal .tk-pick {
    color: #667085; border-color: rgba(16,24,40,.16); border-style: dashed;
}
.tk-modal .tk-pick:hover { border-color: #2563EB; color: #2563EB; }
.tk-modal .tk-btn {
    color: #101828; background: #FFFFFF;
    border: 1px solid rgba(16,24,40,.14);
}
.tk-modal .tk-btn:hover { background: #F9FAFB; }
.tk-modal .tk-btn-primary {
    color: #fff; background: #2563EB; border-color: #2563EB; font-weight: 600;
}
.tk-modal .tk-btn-primary:hover { background: #1D4ED8; border-color: #1D4ED8; }
.tk-modal .tk-btn-ghost { color: #667085; background: #fff; }
.tk-modal .tk-msg.is-ok { color: #067647; }
.tk-modal .tk-msg.is-err { color: #D92D20; }
.tk-modal .tk-msglist li {
    background: #F9FAFB; border-color: rgba(16,24,40,.08);
}
.tk-modal .tk-msglist li.unread {
    background: #FEF3F2; border-color: rgba(217,45,32,.4);
}
.tk-modal .tk-msg-title { color: #101828; }
.tk-modal .tk-msg-time { color: #98A2B3; }
.tk-modal .tk-msg-body { color: #344054; }
.tk-modal .tk-read-btn {
    color: #2563EB; background: #EFF4FF; border-color: rgba(37,99,235,.35);
}
.tk-modal .tk-empty { color: #98A2B3; }
.tk-modal .tk-mine-item {
    background: #F9FAFB; border-color: rgba(16,24,40,.08);
}
.tk-modal .tk-mine-item:hover, .tk-modal .tk-mine-item:focus-visible {
    background: #EFF4FF; border-color: rgba(37,99,235,.4);
}
.tk-modal .tk-mine-no { color: #98A2B3; }
.tk-modal .tk-mine-title { color: #101828; }
.tk-modal .tk-mine-time { color: #98A2B3; }
.tk-modal .tk-mine-type.is-bug { color: #D92D20; background: #FEF3F2; }
.tk-modal .tk-mine-type.is-suggest { color: #067647; background: #ECFDF3; }
.tk-modal .tk-mine-status.is-pending { color: #B54708; background: #FFFAEB; }
.tk-modal .tk-mine-status.is-done { color: #067647; background: #ECFDF3; }
.tk-modal .tk-mine-status.is-rejected { color: #D92D20; background: #FEF3F2; }
.tk-modal .tk-badge { background: #F2F4F7; color: #667085; }
