/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

#app {
    display: flex;
    min-height: 100vh;
    background: #f5f7fa;
}

.sidebar {
    width: 220px;
    background: #fff;
    border-right: 1px solid #e4e7ed;
    min-height: 100vh;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 18px 20px;
    border-bottom: 1px solid #e4e7ed;
}

.sidebar-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.nav-groups {
    padding: 12px 0;
    flex: 1;
    overflow-y: auto;
}

.nav-group {
    margin-bottom: 4px;
}

.nav-group-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #303133;
    transition: background 0.2s, color 0.2s;
    user-select: none;
}

.nav-group-title:hover {
    background: #f5f7fa;
}

.nav-group-title.active {
    color: #409eff;
}

.group-icon {
    font-size: 10px;
    color: #909399;
}

.nav-group-items {
    padding: 4px 0;
}

.nav-item {
    display: block;
    padding: 8px 20px 8px 42px;
    color: #606266;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s, color 0.2s;
}

.nav-item:hover {
    background: #f5f7fa;
    color: #409eff;
}

.nav-item.router-link-active,
.nav-item.active {
    background: #ecf5ff;
    color: #409eff;
    border-right: 3px solid #409eff;
}

.main-content {
    flex: 1;
    padding: 20px;
    overflow: auto;
    min-width: 0;
}

/* 头部 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e4e7ed;
}

.header h1 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.total-count {
    color: #909399;
    font-size: 14px;
}

.btn-refresh {
    padding: 8px 16px;
    background: #409eff;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.btn-refresh:hover {
    background: #66b1ff;
}

.btn-batch {
    padding: 8px 16px;
    background: #07c160;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: background 0.3s;
    display: inline-block;
}

.btn-batch:hover {
    background: #059a4c;
}

/* 筛选区 */
.filter-section {
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.filter-row select,
.filter-row input {
    padding: 8px 12px;
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.filter-row select:focus,
.filter-row input:focus {
    border-color: #409eff;
}

.filter-row input[type="date"] {
    width: 140px;
}

.filter-row input[type="text"] {
    width: 180px;
}

.date-sep {
    color: #909399;
    font-size: 14px;
}

.date-hint {
    color: #909399;
    font-size: 12px;
    margin-left: 4px;
}

.btn-search, .btn-reset {
    padding: 8px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-search {
    background: #409eff;
    color: #fff;
}

.btn-search:hover {
    background: #66b1ff;
}

.btn-reset {
    background: #f4f4f5;
    color: #606266;
}

.btn-reset:hover {
    background: #e9e9eb;
}

/* 卡片列表 */
.card-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #909399;
}

/* 问题卡片 */
.issue-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s;
}

.issue-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* 卡片头部 */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.card-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.issue-id {
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 13px;
    color: #909399;
    background: #f5f7fa;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    width: fit-content;
}

.room-name {
    font-size: 14px;
    color: #606266;
    max-width: 800px;
    word-break: break-all;
}

.room-name.clickable {
    color: #409eff;
    cursor: pointer;
    text-decoration: underline;
}

.room-name.clickable:hover {
    color: #66b1ff;
}

.cal-room-name.clickable {
    color: #409eff;
    cursor: pointer;
    text-decoration: underline;
}

.cal-room-name.clickable:hover {
    color: #66b1ff;
}

.card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.tag {
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
}

.tag-priority {
    font-weight: 500;
    color: #fff;
}

.tag-priority.p0 {
    background: #ff4d4f;
    color: #fff;
}

.tag-priority.p1 {
    background: #fa8c16;
    color: #fff;
}

.tag-priority.p2 {
    background: #1890ff;
    color: #fff;
}

.tag-type {
    background: #f0f0f0;
    color: #595959;
}

/* 问题类型颜色 */
.tag-type.智能镜 {
    background: #e6f7ff;
    color: #1890ff;
}

.tag-type.指导仪 {
    background: #fcffe6;
    color: #aeb527;
}

.tag-type.产品 {
    background: #f6ffed;
    color: #52c41a;
}

.tag-type.培训 {
    background: #f9f0ff;
    color: #722ed1;
}

.tag-type.账号 {
    background: #fff0f6;
    color: #eb2f96;
}

.tag-type.小鹅通 {
    background: #e6fffb;
    color: #13c2c2;
}

.tag-type.发票 {
    background: #fff7e6;
    color: #fa8c16;
}

.tag-type.物流 {
    background: #e6f7ff;
    color: #1890ff;
}

.tag-type.其他 {
    background: #f5f5f5;
    color: #8c8c8c;
}

.tag-status {
    background: #f0f0f0;
    color: #595959;
}

.tag-status.已解决 {
    background: #f6ffed;
    color: #52c41a;
    border: 1px solid #b7eb8f;
}

.tag-status.处理中 {
    background: #e6f7ff;
    color: #1890ff;
    border: 1px solid #91d5ff;
}

.tag-status.待确认 {
    background: #fff7e6;
    color: #fa8c16;
    border: 1px solid #ffd591;
}

.tag-status.推进解决 {
    background: #f6ffed;
    color: #52c41a;
    border: 1px solid #b7eb8f;
}

.tag-status.待响应 {
    background: #fff0f6;
    color: #eb2f96;
    border: 1px solid #ffadd2;
}

.btn-edit {
    padding: 6px 16px;
    background: #409eff;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.3s;
    white-space: nowrap;
}

.btn-edit:hover {
    background: #66b1ff;
}

/* 卡片内容区 */
.card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-row {
    display: flex;
    gap: 12px;
}

.info-label {
    flex-shrink: 0;
    width: 80px;
    font-size: 13px;
    color: #909399;
    font-weight: 500;
}

.info-content {
    flex: 1;
    font-size: 14px;
    color: #303133;
    line-height: 1.7;
}

.info-content.highlight {
    font-weight: 500;
    color: #1a1a1a;
}

/* 备注区域 */
.remark-section {
    background: #fafafa;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 4px;
}

.remark-label {
    font-size: 13px;
    color: #909399;
    margin-bottom: 6px;
}

.remark-content {
    font-size: 14px;
    color: #606266;
}

/* 卡片底部 */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.footer-info {
    display: flex;
    gap: 24px;
    font-size: 13px;
    color: #909399;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-label {
    color: #c0c4cc;
}

.footer-value {
    color: #606266;
}

/* ============ 刷牙数据 ============ */
.brush-data-section {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.brush-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 14px;
    color: #606266;
}
.brush-result-header .btn-refresh {
    padding: 6px 16px;
    background: #67c23a;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}
.brush-result-header .btn-refresh:hover {
    background: #85ce61;
}
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #ebeef5;
    border-radius: 8px;
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: #fff;
    min-width: 1200px;
}
.data-table th,
.data-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #ebeef5;
    white-space: nowrap;
    vertical-align: middle;
}
.data-table th {
    background: #f5f7fa;
    color: #606266;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 1;
}
.data-table tbody tr:hover {
    background: #f5f7fa;
}
.data-table-sm th,
.data-table-sm td {
    padding: 7px 10px;
    font-size: 12px;
}
.data-table th.sorted {
    background: #e6f2ff;
    color: #409eff;
}
.data-table th .sort-arrows {
    display: inline-flex;
    flex-direction: column;
    margin-left: 4px;
    vertical-align: middle;
}
.data-table th .sort-arrow {
    font-size: 9px;
    color: #c0c4cc;
    line-height: 1;
}
.data-table th .sort-arrow.active {
    color: #409eff;
}
.data-table th.sortable {
    cursor: pointer;
}
.data-table th.sortable:hover {
    background: #e4e7ed;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding: 20px 0;
}

#page-info {
    color: #606266;
    font-size: 14px;
}

.btn-page {
    padding: 8px 20px;
    background: #fff;
    color: #606266;
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-page:hover:not(:disabled) {
    color: #409eff;
    border-color: #409eff;
}

.btn-page:disabled {
    color: #c0c4cc;
    cursor: not-allowed;
}

/* 页码数字按钮 */
#page-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.page-num {
    min-width: 34px;
    height: 34px;
    padding: 0 6px;
    background: #fff;
    color: #606266;
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.page-num:hover {
    color: #409eff;
    border-color: #409eff;
    background: #ecf5ff;
}

.page-num.active {
    color: #fff;
    background: #409eff;
    border-color: #409eff;
    font-weight: 600;
    cursor: default;
}

/* 省略号 */
.page-ellipsis {
    color: #c0c4cc;
    font-size: 14px;
    padding: 0 4px;
    user-select: none;
}

/* 弹窗 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.modal-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.modal-close {
    font-size: 24px;
    color: #909399;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #409eff;
}

.modal-body {
    padding: 20px 24px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 16px;
}

.form-group.full {
    width: 100%;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: #909399;
    margin-bottom: 6px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-group select:focus,
.form-group textarea:focus {
    border-color: #409eff;
}

.form-group textarea {
    resize: vertical;
    min-height: 72px;
}

/* 触达配置弹窗 - 输入框加大 */
.tpl-modal .form-group input {
    height: 40px;
}
.tpl-modal .form-group textarea {
    min-height: 72px;
    line-height: 1.6;
}
.tpl-modal .form-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #909399;
    line-height: 1.6;
    word-break: break-all;
}

.detail-value {
    font-size: 14px;
    color: #303133;
}

.detail-value.clickable {
    color: #409eff;
    cursor: pointer;
    text-decoration: underline;
}

.detail-value.clickable:hover {
    color: #66b1ff;
}

.detail-content {
    font-size: 14px;
    color: #303133;
    line-height: 1.7;
    background: #fafafa;
    padding: 12px;
    border-radius: 6px;
}

hr {
    border: none;
    border-top: 1px solid #f0f0f0;
    margin: 20px 0;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
    border-radius: 0 0 12px 12px;
}

.btn-cancel {
    padding: 10px 24px;
    background: #fff;
    color: #606266;
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-cancel:hover {
    color: #409eff;
    border-color: #409eff;
}

.btn-save {
    padding: 10px 24px;
    background: #409eff;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.btn-save:hover {
    background: #66b1ff;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #909399;
}

.empty-state .icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.empty-state .text {
    font-size: 14px;
}

/* ============ 诊所工作日程 ============ */
.hplan-page .header {
    margin-bottom: 16px;
}
.hplan-operator { margin-right: 8px; font-size: 14px; color: #606266; }
.hplan-legend { font-size: 13px; color: #909399; margin-left: 12px; }
.hplan-legend em { font-style: normal; margin-right: 12px; }
.hplan-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.hplan-tabs span { padding: 8px 18px; border-radius: 6px; cursor: pointer; font-size: 14px; color: #606266; background: #fff; border: 1px solid #e4e7ed; }
.hplan-tabs span.active { background: #409eff; color: #fff; border-color: #409eff; }
.hplan-layout { display: flex; gap: 16px; min-height: 600px; }
.hplan-clinics { width: 320px; flex-shrink: 0; background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); padding: 16px; display: flex; flex-direction: column; }
.hplan-clinic-head { font-size: 16px; font-weight: 600; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; }
.hplan-total { font-size: 12px; color: #909399; font-weight: normal; }
.hplan-clinics .search { width: 100%; padding: 8px 12px; border: 1px solid #dcdfe6; border-radius: 6px; margin-bottom: 10px; font-size: 14px; }
.hplan-clinics .filter-row { margin-bottom: 10px; }
.hplan-clinics .filter-row span { padding: 4px 10px; border-radius: 4px; cursor: pointer; font-size: 13px; color: #606266; }
.hplan-clinics .filter-row span.on { background: #ecf5ff; color: #409eff; }
.clinic-list { flex: 1; overflow-y: auto; }
.clinic { display: flex; align-items: center; gap: 8px; padding: 8px 6px; border-radius: 6px; cursor: pointer; font-size: 14px; border-bottom: 1px solid #f0f2f5; }
.clinic:hover, .clinic.sel { background: #f5f7fa; }
.clinic .star { color: #c0c4cc; cursor: pointer; }
.clinic .star.on { color: #f7ba2a; }
.clinic .name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clinic .code { font-size: 12px; color: #909399; }
.hplan-main { flex: 1; min-width: 0; }
.hplan-main .card { background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); padding: 16px; margin-bottom: 16px; }
.hplan-main .cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.hplan-main .cal-head button { background: #fff; border: 1px solid #dcdfe6; border-radius: 6px; padding: 6px 12px; cursor: pointer; }
.hplan-main .cal-head .mon { font-size: 16px; font-weight: 600; }
.hplan-main .cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.hplan-main .cal .dow { text-align: center; padding: 8px; font-size: 13px; color: #909399; background: #f5f7fa; border-radius: 4px; }
.hplan-main .cal .day { min-height: 70px; border: 1px solid #ebeef5; border-radius: 6px; padding: 6px; cursor: pointer; position: relative; background: #fff; }
.hplan-main .cal .day.dim { background: #f5f7fa; cursor: default; }
.hplan-main .cal .day.sel { border-color: #409eff; box-shadow: 0 0 0 2px #ecf5ff; }
.hplan-main .cal .day .num { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.hplan-main .cal .day .cnt { font-size: 12px; color: #909399; }
.hplan-main .cal .day .dot { position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border-radius: 50%; }
.hplan-main .cal .day .bar { position: absolute; bottom: 6px; left: 6px; right: 6px; height: 4px; border-radius: 2px; }
.hplan-main .cal .day.d-red { border-left: 3px solid #ff4d4f; }
.hplan-main .cal .day.d-yellow { border-left: 3px solid #faad14; }
.hplan-main .cal .day.d-green { border-left: 3px solid #52c41a; }
.tasks-head { display: flex; justify-content: space-between; align-items: center; margin: 16px 0 10px; }
.tasks-head h3 { font-size: 16px; font-weight: 600; }
#taskArea { background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); padding: 16px; }
#taskArea .empty { text-align: center; padding: 40px; color: #909399; }
.hplan-main .task { display: flex; align-items: center; gap: 12px; padding: 12px; border-bottom: 1px solid #f0f2f5; }
.hplan-main .task .body { flex: 1; min-width: 0; }
.hplan-main .task .title { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.hplan-main .task .remark { font-size: 12px; color: #909399; }
.hplan-main .task .del { color: #f56c6c; cursor: pointer; font-size: 13px; }
.hplan-main .task .st { padding: 2px 8px; border-radius: 10px; font-size: 12px; color: #fff; white-space: nowrap; }
.hplan-main .task .st.未开始 { background: #909399; }
.hplan-main .task .st.进行中 { background: #409eff; }
.hplan-main .task .st.已完成 { background: #67c23a; }
.hplan-main .task .st.延期 { background: #faad14; }
.hplan-main .add-form { background: #f5f7fa; padding: 12px; border-radius: 6px; margin-bottom: 10px; }
.hplan-main .add-form input, .hplan-main .add-form textarea, .hplan-main .edit-input { width: 100%; padding: 8px 12px; border: 1px solid #dcdfe6; border-radius: 6px; margin-bottom: 8px; font-size: 14px; box-sizing: border-box; }
.hplan-main .date-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.hplan-main .date-head input[type="date"] { padding: 8px 12px; border: 1px solid #dcdfe6; border-radius: 6px; }
.hplan-main .date-head span { padding: 4px 10px; border-radius: 4px; cursor: pointer; font-size: 13px; color: #606266; }
.hplan-main .date-head span.on { background: #ecf5ff; color: #409eff; }
.hplan-main .grp { background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); margin-bottom: 16px; overflow: hidden; }
.hplan-main .grp .ghead { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #f5f7fa; font-weight: 600; font-size: 14px; }
.hplan-main .grp .ghead .code { font-weight: normal; color: #909399; }

/* ============ 问题跟进日历 ============ */
.cal-page { width: 100%; }
.cal-hd { margin-bottom: 16px; }
.cal-hd h2 { font-size: 22px; font-weight: 600; }
.cal-sub { font-size: 13px; color: #909399; }
.cal-summary { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 20px; }
.cal-stat { background: #fff; border-radius: 8px; padding: 16px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.cal-stat .num { font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.cal-stat .lbl { font-size: 13px; color: #606266; }
.cal-pending .num { color: #f56c6c; }
.cal-following .num { color: #409eff; }
.cal-resolved .num { color: #67c23a; }
.cal-deferred .num { color: #909399; }
.cal-old .num { color: #e6a23c; }
.cal-nav { display: flex; justify-content: center; align-items: center; gap: 12px; margin-bottom: 14px; }
.cal-nav button { background: #fff; border: 1px solid #dcdfe6; border-radius: 6px; padding: 6px 14px; cursor: pointer; font-size: 16px; }
.cal-ym { font-size: 16px; font-weight: 600; min-width: 120px; text-align: center; }
.cal-legend { display: flex; gap: 16px; margin-bottom: 14px; font-size: 13px; color: #606266; }
.cal-legend span { display: flex; align-items: center; gap: 6px; }
.cal-legend i { width: 12px; height: 12px; border-radius: 2px; display: inline-block; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.cal-dow { text-align: center; padding: 10px; font-size: 14px; color: #909399; background: #f5f7fa; border-radius: 6px; font-weight: 500; }
.cal-cell { min-height: 90px; border: 1px solid #ebeef5; border-radius: 8px; padding: 8px; cursor: pointer; background: #fff; position: relative; overflow: hidden; }
.cal-cell:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.cal-pad { background: #f5f7fa; cursor: default; }
.cal-today { border-color: #409eff; box-shadow: 0 0 0 2px #ecf5ff; }
.cal-has { background: #fff; }
.cal-dnum { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.cal-nr { position: absolute; top: 6px; right: 6px; font-size: 11px; color: #e6a23c; font-weight: 600; }
.cal-big { font-size: 22px; font-weight: 700; color: #303133; margin: 4px 0; text-align: center; }
.cal-bar { display: flex; height: 4px; border-radius: 2px; overflow: hidden; margin-bottom: 6px; }
.cal-bar b { display: block; }
.cal-mini { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; }
.cal-mini em { font-size: 11px; color: #fff; padding: 1px 5px; border-radius: 8px; font-style: normal; }
.cal-empty { color: #c0c4cc; text-align: center; font-size: 20px; margin-top: 20px; }
.cal-loading { text-align: center; padding: 40px; color: #909399; }
.cal-detail { background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); margin-top: 20px; padding: 20px; }
.cal-detail h3 { display: flex; justify-content: space-between; align-items: center; font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.cal-close { color: #909399; cursor: pointer; font-size: 13px; }
.cal-close:hover { color: #409eff; }
.cal-card-list { display: flex; flex-direction: column; gap: 14px; }
.cal-issue-card { border: 1px solid #ebeef5; border-radius: 8px; padding: 16px; }
.cal-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.cal-card-meta { display: flex; flex-direction: column; gap: 4px; }
.cal-issue-id { font-size: 12px; color: #909399; }
.cal-room-name { font-size: 14px; font-weight: 600; color: #303133; }
.cal-card-tags { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.cal-card-body { margin-bottom: 12px; }
.cal-card-footer { padding-top: 12px; border-top: 1px solid #f0f2f5; }
.cal-footer-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 16px; }
.cal-footer-item { display: flex; gap: 6px; font-size: 13px; }
.cal-footer-label { color: #909399; }
.cal-footer-value { color: #606266; }
.cal-empty-line { text-align: center; padding: 30px; color: #909399; }
.cal-modal { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 1000; align-items: center; justify-content: center; }
.cal-modal.show { display: flex; }
.cal-modal-content { background: #fff; border-radius: 8px; width: 90%; max-width: 800px; max-height: 90vh; overflow: auto; }
.cal-modal-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid #ebeef5; }
.cal-modal-header h2 { font-size: 18px; }
.cal-modal-close { font-size: 24px; color: #909399; cursor: pointer; }
.cal-modal-body { padding: 20px; }
.cal-modal-footer { padding: 12px 20px; border-top: 1px solid #ebeef5; display: flex; justify-content: flex-end; gap: 10px; }
.rh-content { font-size: 14px; margin-bottom: 6px; }
.rh-meta { display: flex; gap: 12px; font-size: 12px; color: #909399; }
.remark-history-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; max-height: 180px; overflow-y: auto; }
.remark-history-item { background: #f5f7fa; padding: 8px 10px; border-radius: 6px; font-size: 13px; }
.remark-history-item .rh-content { font-size: 13px; margin-bottom: 4px; line-height: 1.5; word-break: break-all; }
.remark-history-item .rh-meta { display: flex; gap: 12px; font-size: 11px; color: #909399; }
.remark-list-empty { font-size: 12px; color: #c0c4cc; text-align: center; padding: 10px; }

/* 响应式 */
@media (max-width: 768px) {
    #app {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid #e4e7ed;
    }
    
    .nav-groups {
        display: flex;
        flex-wrap: wrap;
        padding: 8px;
    }
    
    .main-content {
        padding: 12px;
    }
    
    .header h1 {
        font-size: 20px;
    }
    
    .filter-row {
        gap: 8px;
    }
    
    .filter-row select,
    .filter-row input {
        width: 100%;
    }
    
    .card-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .card-tags {
        order: -1;
    }
    
    .info-row {
        flex-direction: column;
        gap: 4px;
    }
    
    .info-label {
        width: auto;
    }
    
    .footer-info {
        flex-direction: column;
        gap: 8px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* ============ 日计划管理模块 ============ */
:root{
  --dp-blue:#2f7dfb; --dp-blue-d:#1f6fe0;
  --dp-green:#52c41a; --dp-yellow:#faad14; --dp-red:#ff4d4f; --dp-gray:#d9d9d9;
  --dp-panel:#fff; --dp-line:#e8e8e8; --dp-text:#1f2329; --dp-sub:#8a9099;
}
.dp-page{}
.dp-topbar{display:flex;justify-content:flex-end;padding:0 2px 14px;}
.dp-user{display:flex;align-items:center;gap:10px;}
.dp-avatar{width:38px;height:38px;border-radius:50%;background:var(--dp-blue);color:#fff;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:600;}
.dp-uname{font-size:14px;font-weight:600;}
.dp-role{font-size:12px;color:var(--dp-sub);}
.dp-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px;border-bottom:1px solid var(--dp-line);padding-bottom:10px;}
.dp-tab{font-size:14px;padding:7px 14px;border-radius:8px;cursor:pointer;color:var(--dp-sub);user-select:none;}
.dp-tab:hover{background:#f2f3f5;}
.dp-tab.active{background:var(--dp-blue);color:#fff;}
.dp-section{}
.page-title{font-size:18px;margin-bottom:4px;}
.page-desc{color:var(--dp-sub);font-size:13px;margin-bottom:16px;}

.panel{background:var(--dp-panel);border:1px solid var(--dp-line);border-radius:10px;padding:18px;}
.panel-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;}
.panel-title h3{font-size:16px;}

.cal-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;flex-wrap:wrap;gap:10px;}
.cal-toolbar .left{display:flex;align-items:center;gap:10px;}
.cal-toolbar .left .nav-btn{border:1px solid var(--dp-line);background:#fff;border-radius:6px;width:30px;height:30px;cursor:pointer;font-size:15px;}
.cal-toolbar .left .label{font-size:15px;font-weight:600;min-width:120px;text-align:center;}
.seg{display:inline-flex;border:1px solid var(--dp-line);border-radius:7px;overflow:hidden;}
.seg button{border:0;background:#fff;padding:7px 14px;cursor:pointer;font-size:13px;}
.seg button.active{background:var(--dp-blue);color:#fff;}

.btn{border:0;border-radius:7px;padding:8px 14px;cursor:pointer;font-size:13px;background:var(--dp-blue);color:#fff;}
.btn:hover{background:var(--dp-blue-d);}
.btn.primary{background:var(--dp-blue);color:#fff;}
.btn.ghost{background:#fff;color:var(--dp-text);border:1px solid var(--dp-line);}
.btn.ghost:hover{background:#f2f3f5;}
.btn.sm{padding:5px 10px;font-size:12px;}
.btn.danger{background:#fff;color:var(--dp-red);border:1px solid var(--dp-red);}

/* ============ 问题转工作计划 / 关联回链 ============ */
.btn-toplan {
    padding: 6px 14px;
    background: #67c23a;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.3s;
    white-space: nowrap;
}
.btn-toplan:hover { background: #85ce61; }
.btn-linked {
    padding: 6px 14px;
    background: #fff;
    color: #409eff;
    border: 1px solid #409eff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.3s;
    white-space: nowrap;
}
.btn-linked:hover { background: #ecf5ff; }
.dp-src-link {
    background: #fff7e6;
    color: #d48806;
    border: 1px solid #ffd591;
}
.dp-src-link:hover { background: #fff1d6; }
/* 从问题页跳转过来时，高亮定位的计划卡片 */
.item.dp-focus {
    outline: 3px solid #67c23a;
    box-shadow: 0 0 0 4px rgba(103,194,58,0.25);
    animation: dpFocusPulse 1.1s ease-in-out 2;
}
@keyframes dpFocusPulse {
    0% { box-shadow: 0 0 0 2px rgba(103,194,58,0.35); }
    50% { box-shadow: 0 0 0 8px rgba(103,194,58,0.12); }
    100% { box-shadow: 0 0 0 2px rgba(103,194,58,0.35); }
}
.btn.danger:hover{background:var(--dp-red);color:#fff;}
.btn:disabled{opacity:.5;cursor:not-allowed;}

/* 月历 */
.month-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;}
.wd-head{text-align:center;font-size:11px;color:var(--dp-sub);padding:4px 0;font-weight:600;}
.day-cell{background:#fff;border:1px solid var(--dp-line);border-radius:6px;min-height:46px;padding:5px 6px;cursor:pointer;position:relative;transition:.15s;}
.day-cell:hover{border-color:var(--dp-blue);box-shadow:0 2px 6px rgba(47,125,251,.12);}
.day-cell.selected{border-color:var(--dp-blue);box-shadow:0 0 0 2px rgba(47,125,251,.2);}
.day-cell.other{background:#fafafa;color:#bbb;}
.day-cell .top-line{display:flex;justify-content:space-between;align-items:flex-start;}
.day-cell .dn{font-size:12px;font-weight:600;}
.day-cell .cnt{font-size:13px;font-weight:700;color:var(--dp-text);line-height:1;}
.day-cell .warn{color:var(--dp-red);font-size:10px;background:#fff2f0;border-radius:8px;padding:0 4px;border:1px solid #ffccc7;margin-left:3px;}
.day-cell .stack{display:flex;height:4px;border-radius:3px;overflow:hidden;margin-top:4px;background:#f0f0f0;}
.day-cell .stack i{display:block;height:100%;}
.day-cell .empty-text{color:#bbb;font-size:11px;margin-top:4px;text-align:center;}
.month-rep{position:absolute;right:3px;top:3px;font-size:11px;background:#f0f7ff;border:1px solid #d6e6ff;border-radius:4px;padding:0 4px;cursor:pointer;}
/* 周视图 */
.week-row{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;}
.week-col{background:#fff;border:1px solid var(--dp-line);border-radius:6px;min-height:90px;padding:6px;cursor:pointer;}
.week-col.selected{border-color:var(--dp-blue);box-shadow:0 0 0 2px rgba(47,125,251,.2);}
.week-col .wc-date{font-weight:600;font-size:12px;margin-bottom:4px;display:flex;justify-content:space-between;}
.week-col .mini{font-size:11px;padding:3px 5px;border-radius:4px;margin-bottom:3px;background:#f7f8fa;}
.week-col .empty-text{color:#bbb;font-size:11px;}
.week-rep{font-size:11px;color:var(--dp-blue);background:#eef4ff;border-radius:4px;padding:1px 6px;cursor:pointer;margin-left:4px;}
/* 日视图 */
.day-strip{display:flex;justify-content:center;align-items:center;gap:18px;padding:16px;background:#fff;border:1px solid var(--dp-line);border-radius:8px;}
.day-strip .big-date{font-size:24px;font-weight:700;}
.day-strip .sub{color:var(--dp-sub);font-size:13px;}
/* 计划列表 */
.plan-list .item{display:flex;align-items:flex-start;gap:10px;padding:11px 12px;border:1px solid var(--dp-line);border-radius:8px;margin-bottom:9px;background:#fff;}
.plan-list .item:hover{border-color:var(--dp-blue);}
.st-dot{width:9px;height:9px;border-radius:50%;flex-shrink:0;margin-top:6px;}
.st-未完成{background:var(--dp-red);} .st-继续中{background:var(--dp-yellow);} .st-已完成{background:var(--dp-green);}
.plan-list .item .item-main{flex:1;min-width:0;}
.plan-list .item .tt{font-size:14px;margin-bottom:6px;}
.plan-list .item .grp-rows{display:flex;flex-direction:column;gap:4px;}
.plan-list .item .grp-row{font-size:12px;color:var(--dp-blue);background:#eef4ff;padding:4px 10px;border-radius:6px;cursor:pointer;display:inline-flex;align-items:center;gap:5px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.plan-list .item .grp-more{font-size:12px;color:#fff;background:var(--dp-blue);padding:4px 10px;border-radius:6px;cursor:pointer;display:inline-flex;align-items:center;gap:5px;width:fit-content;}
.plan-list .item .item-actions{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex-shrink:0;}
.dp-tag{font-size:11px;padding:2px 7px;border-radius:10px;color:#fff;cursor:pointer;}
.tag-row{display:flex;gap:8px;align-items:center;}
.rem-row{font-size:12px;color:var(--dp-sub);margin-top:4px;}
/* 总任务/子任务 */
.plan-list .item-parent{background:linear-gradient(90deg,rgba(24,144,255,0.06),transparent);border-left:3px solid var(--dp-blue);}
.tags-line{display:flex;flex-wrap:wrap;gap:5px;margin:4px 0 2px;}
.tag-parent{background:#e6f0ff;color:#1565c0;cursor:default;}
.tag-assigned{background:#fff3e0;color:#e65100;cursor:default;}
.sub-toggle{font-size:12px;color:var(--dp-blue);cursor:pointer;margin:8px 0 2px;user-select:none;display:flex;align-items:center;gap:6px;}
.sub-toggle .sub-cnt{color:var(--dp-sub);font-weight:400;}
.sub-list{margin:6px 0 2px 16px;border-left:2px dashed #e3e8ef;padding-left:10px;}
.child-item{display:flex;align-items:flex-start;gap:10px;padding:8px;background:#fafbfc;border-radius:8px;margin-bottom:6px;}
.child-item .item-main{flex:1;min-width:0;}
.child-item .grp-rows{margin-top:3px;}
.child-item .item-actions{display:flex;flex-direction:column;align-items:flex-end;gap:5px;flex-shrink:0;}
/* 表单 */
.field{margin-bottom:14px;}
.field label{display:block;font-size:13px;color:var(--dp-sub);margin-bottom:5px;}
.field input,.field select,.field textarea{width:100%;border:1px solid var(--dp-line);border-radius:7px;padding:9px 11px;font-size:14px;font-family:inherit;}
.field.row{display:flex;gap:12px;}
.field.row>div{flex:1;}
/* 多选群 */
.tags-box{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px;}
.tag-group{background:#eef4ff;color:var(--dp-blue);border-radius:12px;padding:3px 10px;font-size:12px;display:inline-flex;align-items:center;gap:5px;cursor:pointer;}
.tag-group .rm{width:14px;height:14px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:rgba(47,125,251,.15);}
.group-trigger{width:100%;border:1px solid var(--dp-line);border-radius:7px;padding:9px 11px;background:#fff;cursor:pointer;display:flex;align-items:center;gap:8px;color:var(--dp-sub);}
.group-trigger:hover{border-color:var(--dp-blue);}
.group-trigger .icon{color:var(--dp-blue);font-size:16px;}
/* 群选择弹窗 */
.group-modal-mask,.form-modal-mask,.report-modal-mask{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:100;display:none;align-items:center;justify-content:center;}
.group-modal-mask.active{z-index:110;}
.group-modal-mask.active,.form-modal-mask.active,.report-modal-mask.active{display:flex;}
.group-modal,.form-modal,.report-modal{background:#fff;border-radius:12px;display:flex;flex-direction:column;box-shadow:0 12px 40px rgba(0,0,0,.2);}
.group-modal{width:460px;max-width:90vw;max-height:80vh;}
.form-modal{width:520px;max-width:92vw;max-height:88vh;overflow:auto;}
.report-modal{width:640px;max-width:92vw;max-height:80vh;}
.group-modal-header,.form-modal-header,.report-modal-header{padding:14px 16px;border-bottom:1px solid var(--dp-line);display:flex;justify-content:space-between;align-items:center;}
.group-modal-header h4,.form-modal-header h4,.report-modal-header h4{font-size:15px;}
.close{width:26px;height:26px;border-radius:50%;border:0;background:#f2f3f5;cursor:pointer;font-size:16px;color:var(--dp-sub);}
.group-modal-body{padding:12px 16px;overflow:auto;flex:1;}
.group-modal-search{position:relative;margin-bottom:10px;}
.group-modal-search input{width:100%;padding:9px 11px 9px 34px;border:1px solid var(--dp-line);border-radius:7px;font-size:14px;}
.group-modal-search::before{content:"🔍";position:absolute;left:10px;top:50%;transform:translateY(-50%);font-size:13px;}
.group-select-row{display:flex;align-items:center;gap:10px;padding:9px 8px;border-radius:7px;cursor:pointer;transition:.1s;}
.group-select-row:hover{background:#f5f7fa;}
.group-select-row input{cursor:pointer;width:16px;height:16px;flex-shrink:0;}
.group-avatar{width:36px;height:36px;border-radius:6px;background:linear-gradient(135deg,#8ec5fc,#e0c3fc);display:flex;align-items:center;justify-content:center;font-size:13px;color:#fff;font-weight:600;flex-shrink:0;}
.group-info{flex:1;min-width:0;}
.group-info .name{font-size:14px;color:var(--dp-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.group-info .meta{font-size:12px;color:var(--dp-sub);margin-top:2px;}
.group-count{font-size:12px;color:var(--dp-sub);background:#f5f7fa;padding:2px 7px;border-radius:10px;}
.group-external{font-size:11px;color:#52c41a;background:#f6ffed;border:1px solid #b7eb8f;padding:1px 6px;border-radius:10px;margin-left:6px;}
.group-modal-footer{padding:12px 16px;border-top:1px solid var(--dp-line);display:flex;justify-content:space-between;align-items:center;}
.group-modal-footer .tip{font-size:12px;color:var(--dp-sub);}
.empty-tip{text-align:center;color:var(--dp-sub);padding:24px 0;font-size:13px;}
.form-modal-body{padding:18px;}
.form-modal-footer{padding:12px 18px;border-top:1px solid var(--dp-line);display:flex;justify-content:flex-end;gap:10px;}
/* 报告弹窗 */
.report-modal-body{padding:18px;overflow:auto;flex:1;background:#fafbfc;}
.report-modal-footer{padding:12px 18px;border-top:1px solid var(--dp-line);display:flex;justify-content:flex-end;gap:10px;}
.report-box-modal{background:#fff;border:1px solid var(--dp-line);border-radius:10px;padding:18px;line-height:1.8;white-space:pre-wrap;font-size:14px;color:#2b2f36;min-height:200px;}
/* 列表与表格 */
.list-row{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--dp-line);border-radius:8px;margin-bottom:9px;background:#fff;}
.list-row .nm{flex:1;font-weight:600;}
.list-row .meta{color:var(--dp-sub);font-size:12px;}
.pill{font-size:12px;padding:3px 10px;border-radius:12px;background:#eef4ff;color:var(--dp-blue);}
/* 报告页 */
.report-box{background:#fafbfc;border:1px solid var(--dp-line);border-radius:10px;padding:18px;line-height:1.8;white-space:pre-wrap;font-size:14px;color:#2b2f36;min-height:160px;}
.tabs{display:flex;gap:8px;margin-bottom:14px;}
.tabs .t{border:1px solid var(--dp-line);background:#fff;padding:7px 16px;border-radius:7px;cursor:pointer;font-size:13px;}
.tabs .t.active{background:var(--dp-blue);color:#fff;border-color:var(--dp-blue);}
.toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);background:#1f2329;color:#fff;padding:10px 18px;border-radius:8px;font-size:13px;display:none;z-index:99;}
.hint{font-size:12px;color:var(--dp-sub);background:#fff8e6;border:1px solid #ffe2a8;padding:8px 12px;border-radius:7px;margin-bottom:14px;}
.legend{display:flex;gap:16px;font-size:12px;color:var(--dp-sub);margin-top:10px;align-items:center;flex-wrap:wrap;}
.legend span{display:inline-flex;align-items:center;gap:5px;}
.legend i{width:10px;height:10px;border-radius:3px;display:inline-block;}
/* 成员卡片 */
.member-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px;}
.member-card{border:1px solid var(--dp-line);border-radius:12px;padding:16px;background:#fff;transition:.15s;}
.member-card:hover{box-shadow:0 4px 16px rgba(47,125,251,.12);border-color:var(--dp-blue);}
.mc-head{display:flex;align-items:center;gap:10px;margin-bottom:12px;cursor:pointer;}
.mc-avatar{width:42px;height:42px;border-radius:50%;background:var(--dp-blue);color:#fff;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:600;flex-shrink:0;}
.mc-name{font-size:15px;font-weight:600;}
.mc-sub{font-size:12px;color:var(--dp-sub);margin-top:2px;}
.mc-body{display:flex;align-items:center;gap:16px;margin-bottom:12px;}
.ring{width:64px;height:64px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.ring .inner{width:48px;height:48px;border-radius:50%;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;}
.ring .inner b{font-size:15px;line-height:1;}
.ring .inner small{font-size:9px;color:var(--dp-sub);margin-top:2px;}
.mc-stats{flex:1;font-size:12px;color:var(--dp-sub);line-height:1.9;}
.mc-stats b{color:var(--dp-text);}
.mc-lag{color:var(--dp-red);font-weight:600;}
.mc-actions{display:flex;gap:8px;}
.mc-actions .btn{flex:1;text-align:center;}
.mc-kpis{display:flex;gap:10px;margin-bottom:12px;}
.mc-kpi{flex:1;text-align:center;background:#f7f8fa;border-radius:8px;padding:8px;}
.mc-kpi b{font-size:16px;display:block;}
.mc-kpi span{font-size:11px;color:var(--dp-sub);}
.trend{display:flex;align-items:flex-end;gap:2px;height:28px;margin-bottom:12px;padding:0 2px;}
.trend i{flex:1;border-radius:2px 2px 0 0;min-height:2px;opacity:.9;}
.trend .none{background:#f0f0f0;opacity:.5;height:2px;}
.rep-user-bar{display:flex;align-items:center;gap:10px;margin-bottom:12px;}
.rep-user-bar .whose{font-weight:600;font-size:14px;}
/* 展示人员配置 */
.vis-search{padding:7px 12px;border:1px solid var(--dp-line);border-radius:8px;font-size:13px;min-width:200px;}
.vis-count{font-size:12px;color:var(--dp-sub);margin-left:auto;}
.vis-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:8px;margin-top:12px;max-height:60vh;overflow:auto;}
.vis-item{display:flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid var(--dp-line);border-radius:8px;background:#fff;cursor:pointer;font-size:13px;transition:.12s;}
.vis-item:hover{border-color:var(--dp-blue);background:#f7faff;}
.vis-item input{width:16px;height:16px;flex-shrink:0;}
.vis-name{flex:1;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

/* 分配管理员 */
.panel-subtitle{font-size:13px;font-weight:600;color:var(--dp-txt);margin-bottom:10px;}
.adm-list{display:flex;flex-direction:column;gap:8px;}
.adm-row{display:flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid var(--dp-line);border-radius:8px;background:#fff;font-size:13px;}
.adm-name{font-weight:600;min-width:96px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.adm-badge{font-size:11px;padding:2px 8px;border-radius:10px;background:#eef2f7;color:#5a6b7b;flex-shrink:0;}
.adm-badge.super{background:#fdedeb;color:var(--dp-red);}
.adm-meta{font-size:12px;color:var(--dp-sub);margin-left:auto;}
.adm-lock{font-size:12px;color:var(--dp-sub);}
.adm-cand{display:flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid var(--dp-line);border-radius:8px;background:#fff;font-size:13px;}
.adm-cand .adm-name{flex:1;min-width:0;}
.adm-cand .btn{flex-shrink:0;}

/* 计划模板 */
.tpl-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px;margin-top:14px;}
.tpl-card{border:1px solid var(--dp-line);border-radius:10px;padding:14px;background:#fff;display:flex;flex-direction:column;gap:8px;}
.tpl-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;}
.tpl-name{font-weight:600;font-size:15px;}
.tpl-scope{font-size:11px;padding:2px 8px;border-radius:10px;}
.tpl-scope.personal{background:#eef2f7;color:#5a6b7b;}
.tpl-scope.shared{background:#e6f4ea;color:#1a7f37;}
.tpl-meta{font-size:12px;color:var(--dp-sub);}
.tpl-card-actions{display:flex;gap:6px;margin-top:4px;}
.tpl-modal-mask{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:100;display:none;align-items:flex-start;justify-content:center;overflow:auto;padding:40px 12px;}
.tpl-modal-mask.active{display:flex;}
.tpl-modal{background:#fff;border-radius:12px;width:96%;max-width:780px;box-shadow:0 8px 32px rgba(0,0,0,.15);}
.tpl-modal-head{padding:16px 20px;border-bottom:1px solid #f0f0f0;font-weight:600;font-size:16px;display:flex;justify-content:space-between;align-items:center;}
.tpl-modal-body{padding:16px 20px;}
.tpl-modal-foot{padding:12px 20px;border-top:1px solid #f0f0f0;display:flex;justify-content:flex-end;gap:10px;}
.tpl-days{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;margin-top:8px;}
.tpl-day{border:1px solid #f0f0f0;border-radius:8px;padding:8px;min-width:0;display:flex;flex-direction:column;gap:6px;background:#fafbfc;}
.tpl-day-head{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:600;color:#444;}
.tpl-day-items{display:flex;flex-direction:column;gap:6px;}
.tpl-edit-item{display:flex;flex-direction:column;gap:4px;}
.tpl-item-title{width:100%;padding:5px 7px;border:1px solid var(--dp-line);border-radius:6px;font-size:12px;}
.tpl-edit-item select{width:100%;padding:4px 6px;border:1px solid var(--dp-line);border-radius:6px;font-size:12px;}
.tpl-day-empty{font-size:11px;color:#bbb;text-align:center;padding:4px 0;}
.btn.xs{padding:2px 8px;font-size:11px;}
.deploy-preview{margin-top:10px;padding:10px 12px;background:#f3f8ff;border-radius:8px;font-size:13px;color:#235;}
@media (max-width:768px){ .tpl-days{grid-template-columns:repeat(2,1fr);} .tpl-modal-mask{padding:16px 6px;} }
/* 客户触达任务卡 */
.item-touch{background:linear-gradient(135deg,#fff7e6,#fffbf2);border-left:3px solid #fa8c16;}
.tag-touch{background:#fff1e0;color:#d46b08;border:1px solid #ffd591;}
.tag-touch-code{background:#f0f5ff;color:#2f54eb;border:1px solid #adc6ff;}
.touch-progress{margin:8px 0 6px;}
.touch-bar{height:8px;background:#f0f0f0;border-radius:5px;overflow:hidden;}
.touch-bar i{display:block;height:100%;background:linear-gradient(90deg,#ffa940,#fa8c16);border-radius:5px;transition:width .3s;}
.touch-num{margin-top:4px;font-size:12px;color:#7a5a2e;}
.touch-num b{color:#fa8c16;font-size:14px;}
.touch-input-row{display:flex;align-items:center;gap:8px;margin-top:6px;flex-wrap:wrap;}
.dp-touch-input{width:90px;padding:5px 8px;border:1px solid var(--dp-line);border-radius:6px;font-size:13px;}
.btn-touch{background:#fa8c16;color:#fff;border:none;}
.btn-touch:hover{background:#d46b08;}
/* 触达群选择标签 */
.touch-groups{display:flex;flex-wrap:wrap;gap:5px;margin:6px 0;}
.tg-tag{display:inline-flex;align-items:center;gap:3px;padding:2px 8px;background:#e6f4ff;color:#1677ff;border:1px solid #91caff;border-radius:10px;font-size:11.5px;line-height:1.6;}
.tg-tag .rm{cursor:pointer;font-size:14px;color:#999;margin-left:2px;}
.tg-tag .rm:hover{color:#ff4d4f;}
/* 系统分配的今日需触达群（可点击跳转） */
.touch-assigned{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin:6px 0;}
.ta-label{font-size:11.5px;color:#fa8c16;font-weight:600;}
.ag-tag{display:inline-flex;align-items:center;padding:2px 9px;background:#fff1e6;color:#d4380d;border:1px solid #ffbb96;border-radius:10px;font-size:11.5px;line-height:1.6;cursor:pointer;}
.ag-tag:hover{background:#ffd8bf;}
/* 未分类群列表 */
.uncat-list{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px;}
.uncat-tag{display:inline-block;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:2px 8px;background:#f5f5f5;color:#666;border:1px solid #d9d9d9;border-radius:8px;font-size:11.5px;cursor:pointer;}
.uncat-tag:hover{background:#e9e9e9;color:#333;}
.tc-ids{color:#1677ff;font-size:12px;}
/* 触达配置表格 */
.tc-table{width:100%;border-collapse:collapse;font-size:13px;}
.tc-table th{background:#fafafa;color:#666;font-weight:600;padding:10px 12px;text-align:left;border-bottom:2px solid #e8e8e8;white-space:nowrap;}
.tc-table td{padding:9px 12px;border-bottom:1px solid #f0f0f0;vertical-align:middle;}
.tc-table tbody tr:hover{background:#f5f7fa;}
.tc-target-badge{display:inline-block;background:#1989fa;color:#fff;border-radius:10px;padding:1px 8px;font-size:12px;min-width:24px;text-align:center;}
/* 手动选群弹窗 */
.tpl-modal-groups{max-width:860px;}
.tc-search{flex:1;min-width:160px;max-width:320px;padding:6px 10px;border:1px solid #d9d9d9;border-radius:8px;font-size:13px;}
.tc-filter{display:inline-flex;align-items:center;gap:4px;font-size:13px;color:#555;cursor:pointer;}
.tc-glist{max-height:380px;overflow-y:auto;border:1px solid #f0f0f0;border-radius:8px;margin-top:10px;}
.tc-grow{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:7px 12px;border-bottom:1px solid #f5f5f5;cursor:pointer;font-size:13px;}
.tc-grow:last-child{border-bottom:none;}
.tc-grow:hover{background:#f7f9fc;}
.tc-grow.on{background:#e6f4ff;}
.tc-gname{max-width:340px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#1f1f1f;text-decoration:underline dotted #aaa;cursor:pointer;}
.tc-tag{display:inline-block;padding:0 6px;border-radius:6px;font-size:11px;line-height:18px;white-space:nowrap;}
.tc-tag.auto{background:#e6f4ff;color:#0958d9;border:1px solid #91caff;}
.tc-tag.manual{background:#f6ffed;color:#389e0d;border:1px solid #b7eb8f;}
/* 操作列：三个按钮一行 */
.tc-ops{display:flex;gap:4px;flex-wrap:nowrap;white-space:nowrap;align-items:center;}
.tc-ops .btn{flex-shrink:0;}
/* 触达总结页 */
.ts-card{background:#fff;border:1px solid #f0f0f0;border-radius:12px;padding:14px 16px;margin-bottom:12px;}
.ts-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px;}
.ts-stats{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:12.5px;}
.ts-num{color:#555;}
.ts-num b{color:#1677ff;font-size:15px;}
.ts-pct{background:#f6ffed;color:#389e0d;border:1px solid #b7eb8f;border-radius:10px;padding:1px 8px;font-size:12px;}
.ts-summary{font-size:13px;color:#333;line-height:1.6;background:#f9f9f9;border-radius:8px;padding:8px 10px;}
.ts-detail{display:flex;flex-direction:column;gap:4px;margin-top:8px;font-size:12.5px;color:#555;max-height:220px;overflow-y:auto;}
.ts-grow{padding:3px 0;border-bottom:1px dashed #f0f0f0;}
.ts-grow:last-child{border-bottom:none;}
/* 日历 dayPanel 顶部 tab 切换器 */
.day-tabs .dtab{border:0;background:none;cursor:pointer;font-size:13px;color:#666;padding:6px 12px;border-radius:8px;transition:all .15s;}
.day-tabs .dtab:hover{background:#fff;color:#1677ff;}
.day-tabs .dtab.on{background:#fff;color:#1677ff;font-weight:600;box-shadow:0 1px 4px rgba(0,0,0,.06);}
/* 员工 AI 总结页内联任务卡 */
.ts-section-title{font-size:14px;font-weight:700;margin:14px 0 8px;color:#333;}
.ts-task-card{background:#fff;border:1px solid #f0f0f0;border-radius:12px;padding:12px 14px;margin-bottom:10px;}
.ts-task-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:8px;}
.ts-task-cat{font-size:11.5px;background:#fff7e6;color:#d46b08;border:1px solid #ffd591;padding:1px 8px;border-radius:8px;}
.ts-task-title{font-size:13.5px;font-weight:600;flex:1;min-width:0;}
.ts-task-prog{display:flex;align-items:center;gap:6px;font-size:12px;color:#666;}
.ts-task-bar{width:80px;height:6px;background:#f0f0f0;border-radius:3px;overflow:hidden;}
.ts-task-bar i{display:block;height:100%;background:#52c41a;border-radius:3px;}
.ts-task-chips{display:flex;flex-wrap:wrap;gap:6px;padding-top:6px;border-top:1px dashed #f0f0f0;}
.ts-gchip{display:inline-block;background:#f6f6f6;border:1px solid #e5e7eb;border-radius:8px;padding:2px 8px;font-size:11.5px;cursor:pointer;}
.ts-gchip:hover{border-color:#1677ff;color:#1677ff;}
.ts-task-empty{font-size:12px;padding-top:6px;border-top:1px dashed #f0f0f0;}
/* ===== 触达总结 Demo 风格 ===== */
/* 责任人总览 */
.ts-owners{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin-bottom:14px;}
.ts-owner{background:#fff;border:2px solid transparent;border-radius:12px;padding:10px 12px;cursor:pointer;box-shadow:0 1px 3px rgba(0,0,0,.05);transition:all .15s;}
.ts-owner:hover{box-shadow:0 4px 12px rgba(0,0,0,.08);}
.ts-owner.active{border-color:#1677ff;box-shadow:0 4px 14px rgba(22,119,255,.15);}
.ts-o-top{display:flex;align-items:center;gap:8px;margin-bottom:6px;}
.ts-o-avatar{width:32px;height:32px;border-radius:50%;background:#1677ff;color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;flex-shrink:0;}
.ts-owner:nth-child(2) .ts-o-avatar{background:#722ed1}.ts-owner:nth-child(3) .ts-o-avatar{background:#d4380d}.ts-owner:nth-child(4) .ts-o-avatar{background:#13c2c2}.ts-owner:nth-child(5) .ts-o-avatar{background:#eb2f96}
.ts-o-name{font-size:13px;font-weight:600;line-height:1.3;}
.ts-o-sub{font-size:10.5px;color:#999;}
.ts-o-rate{font-size:14px;font-weight:700;text-align:right;margin-bottom:3px;}
.ts-o-bar{height:5px;background:#f0f0f0;border-radius:3px;overflow:hidden;}
.ts-o-bar i{display:block;height:100%;border-radius:3px;}
/* AI 总结大卡 */
.ts-ai-card{background:linear-gradient(135deg,#f0f7ff,#e8f4ff);border:1px solid #b7dcff;border-radius:14px;padding:14px 16px;margin-bottom:12px;}
.ts-ai-head{display:flex;align-items:center;gap:8px;margin-bottom:8px;flex-wrap:wrap;}
.ts-ai-tag{background:#1677ff;color:#fff;font-size:11px;padding:2px 8px;border-radius:8px;font-weight:600;}
.ts-ai-title{font-size:13.5px;font-weight:600;color:#0958d9;}
.ts-ai-summary{font-size:13px;line-height:1.7;color:#1f3a5f;}
.ts-ai-kps{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;}
.ts-ai-kp{background:#fff;border:1px solid #c9e4ff;border-radius:10px;padding:4px 9px;font-size:11.5px;color:#1677ff;}
.ts-ai-kp b{color:#0958d9;margin-right:3px;}
/* 未触达预警 */
.ts-miss-alert{background:#fff1f0;border:1px solid #ffa39e;color:#cf1322;border-radius:10px;padding:9px 14px;font-size:13px;margin-bottom:12px;}
.ts-miss-alert b{font-size:14px;}
/* 任务联动 */
.ts-task-list{display:flex;flex-direction:column;gap:10px;}
.ts-task-card{background:#fff;border-radius:12px;padding:12px 14px;border:1px solid #f0f0f0;}
.ts-task-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px;}
.ts-task-cat{font-size:12px;background:#fff7e6;color:#d46b08;border:1px solid #ffd591;padding:2px 8px;border-radius:8px;flex-shrink:0;}
.ts-task-title{font-size:13.5px;font-weight:600;flex:1;min-width:0;}
.ts-task-prog{display:flex;align-items:center;gap:8px;font-size:12.5px;color:#666;flex-shrink:0;}
.ts-task-prog b{font-size:13px;}
.ts-task-bar{width:80px;height:6px;background:#f0f0f0;border-radius:3px;overflow:hidden;}
.ts-task-bar i{display:block;height:100%;border-radius:3px;}
.ts-task-chips{display:flex;flex-wrap:wrap;gap:6px;padding-top:8px;border-top:1px dashed #f0f0f0;}
.ts-gchip{display:inline-flex;align-items:center;gap:5px;background:#f6f6f6;border:1px solid #e5e7eb;border-radius:8px;padding:3px 9px;font-size:11.5px;cursor:pointer;transition:all .12s;}
.ts-gchip:hover{border-color:#1677ff;color:#1677ff;}
.ts-st{width:7px;height:7px;border-radius:50%;display:inline-block;}
.ts-st.done{background:#52c41a;}
.ts-st.miss{background:#ff4d4f;}
.ts-task-empty{font-size:12px;color:#999;padding-top:6px;border-top:1px dashed #f0f0f0;}
/* 群明细 */
.ts-glist{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:10px;}
.ts-gcard{background:#fff;border-radius:12px;padding:11px 13px;border:1px solid #f0f0f0;}
.ts-ghead{display:flex;align-items:center;gap:8px;margin-bottom:6px;flex-wrap:wrap;}
.ts-gname{font-size:12.5px;font-weight:600;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;text-decoration:underline dotted #aaa;}
.ts-gname:hover{color:#1677ff;text-decoration-color:#1677ff;}
.ts-gtag{font-size:10.5px;padding:1px 7px;border-radius:6px;flex-shrink:0;white-space:nowrap;}
.ts-gtag.touched{background:#f6ffed;color:#389e0d;border:1px solid #b7eb8f;}
.ts-gtag.extra{background:#fff7e6;color:#d46b08;border:1px solid #ffd591;}
.ts-gpoint{font-size:12px;color:#555;line-height:1.6;background:#fafafa;border-radius:8px;padding:6px 8px;}
.ts-sec-badge{font-size:11px;background:#e6f4ff;color:#0958d9;padding:2px 8px;border-radius:8px;font-weight:400;margin-left:4px;vertical-align:1px;}
/* 汇总页：多人详情串联 */
.ts-aggregate{display:flex;flex-direction:column;gap:16px;}
.ts-member-block{display:flex;flex-direction:column;gap:8px;background:#fbfbfc;border-radius:14px;padding:14px;border:1px dashed #f0f0f0;}
.ts-divider{height:1px;background:linear-gradient(90deg,transparent,#e5e7eb,transparent);margin:4px 0;}
.ts-owners-summary{font-size:11.5px;color:#999;margin-top:6px;padding-left:4px;}
/* 汇总页：手风琴式 */
.ts-owners-overview{margin-bottom:14px;}
.ts-owner{position:relative;cursor:pointer;}
.ts-owner .ts-o-arrow{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:11px;color:#bbb;transition:transform .2s;}
.ts-owner.active{background:#f0f7ff;border-color:#1677ff;}
.ts-owner.active .ts-o-arrow{transform:translateY(-50%) rotate(0deg);color:#1677ff;}
.ts-acc-list{display:flex;flex-direction:column;gap:10px;}
.ts-acc-body{background:#fbfbfc;border-radius:12px;padding:14px;border:1px dashed #f0f0f0;margin-bottom:8px;}

/* ===== 订单导入页 (2026-08-12) ===== */
.page-header{display:flex;flex-direction:column;gap:4px;margin-bottom:16px;}
.page-header h2{margin:0;font-size:20px;color:var(--dp-text,#333);}
.sub-text{font-size:12px;color:#888;margin-top:2px;line-height:1.6;}
.card{background:#fff;border:1px solid var(--dp-line,#eee);border-radius:12px;padding:16px;margin-bottom:16px;}
.card-title{font-size:15px;font-weight:600;color:var(--dp-text,#333);margin-bottom:12px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.btn-primary{background:var(--dp-blue,#1677ff);border:0;border-radius:7px;padding:8px 14px;cursor:pointer;font-size:13px;color:#fff;}
.btn-primary:hover{opacity:.9;}
.btn-primary:disabled{opacity:.5;cursor:not-allowed;}
.btn-sm{padding:4px 10px;font-size:12px;border-radius:6px;}
.mono{font-family:Consolas,Monaco,monospace;font-size:12px;}
.warn{color:#d4380d;}
.ok{color:#389e0d;}
.table{width:100%;border-collapse:collapse;font-size:12.5px;}
.table th,.table td{border:1px solid #f0f0f0;padding:6px 8px;text-align:left;}
.table th{background:#fafafa;font-weight:600;white-space:nowrap;}
.cell{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
/* 步骤条 */
.oi-steps{display:flex;gap:8px;margin-bottom:16px;flex-wrap:wrap;}
.oi-step{display:flex;align-items:center;gap:6px;background:#f5f5f5;border:1px solid #eee;border-radius:16px;padding:4px 12px;font-size:12.5px;color:#999;}
.oi-step span{display:inline-flex;width:18px;height:18px;border-radius:50%;background:#d9d9d9;color:#fff;align-items:center;justify-content:center;font-size:11px;}
.oi-step.on{background:#e6f4ff;border-color:#91caff;color:#0958d9;}
.oi-step.on span{background:#1677ff;}
.oi-step.done{background:#f6ffed;border-color:#b7eb8f;color:#389e0d;}
.oi-step.done span{background:#52c41a;}
/* 上传 */
.oi-upload{display:flex;flex-direction:column;gap:10px;}
.oi-upload input[type=file]{font-size:13px;}
.oi-file-info{font-size:13px;color:#555;display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
.oi-meta{font-size:12.5px;color:#666;background:#fafafa;border:1px dashed #e5e7eb;border-radius:8px;padding:8px 12px;margin-top:12px;}
.oi-error{background:#fff2f0;border:1px solid #ffccc7;color:#cf1322;border-radius:8px;padding:10px 14px;font-size:12.5px;margin-top:10px;}
.oi-error ul{margin:6px 0 0 16px;padding:0;}
.oi-stat{display:flex;gap:16px;flex-wrap:wrap;margin:10px 0;}
.oi-stat-item{font-size:13px;color:#666;background:#fafafa;border-radius:8px;padding:8px 14px;}
.oi-stat-item b{font-size:18px;color:#1677ff;margin-right:4px;}
.oi-stat-item.warn b{color:#d4380d;}
.oi-stat-item.ok b{color:#389e0d;}
/* 进度 */
.oi-progress{margin-top:8px;}
.oi-progress-bar{height:10px;background:#f0f0f0;border-radius:6px;overflow:hidden;}
.oi-progress-fill{height:100%;background:linear-gradient(90deg,#69b1ff,#1677ff);border-radius:6px;transition:width .3s;}
.oi-progress-text{font-size:12.5px;color:#666;margin-top:6px;display:flex;gap:12px;flex-wrap:wrap;}
/* 结果 */
.oi-result{margin-top:6px;}
.oi-failures{margin-top:10px;}
.oi-failures .table{margin-top:8px;}
.oi-done-msg{font-size:15px;color:#389e0d;margin-top:10px;}
/* 映射编辑 */
.oi-map-block{margin:14px 0;padding:12px;border:1px dashed #e5e7eb;border-radius:10px;}
.oi-map-block-title{font-size:13px;font-weight:600;margin-bottom:10px;color:#333;}
.oi-map-block select,.oi-map-block input{border:1px solid #d9d9d9;border-radius:6px;padding:4px 8px;font-size:12.5px;max-width:220px;background:#fff;color:#333;}

/* ===== 打印快递单页 (2026-08-12) ===== */
.et-input{width:100%;box-sizing:border-box;border:1px solid #d9d9d9;border-radius:8px;padding:8px 12px;font-size:13.5px;background:#fff;color:#333;}
.et-input:focus{outline:none;border-color:#1677ff;box-shadow:0 0 0 2px rgba(22,119,255,.12);}
.et-area{min-height:90px;resize:vertical;font-family:inherit;line-height:1.7;}
.et-actions{display:flex;gap:10px;margin-top:10px;flex-wrap:wrap;}
.et-manual{margin-top:14px;border:1px dashed #e5e7eb;border-radius:10px;padding:14px;display:flex;flex-direction:column;gap:10px;}
.et-row{display:flex;align-items:center;gap:12px;}
.et-row label{width:90px;font-size:13px;color:#555;flex-shrink:0;text-align:right;}
.et-row .et-input{flex:1;max-width:520px;}
.et-addr-card{margin-top:14px;background:#fafafa;border:1px solid #e5e7eb;border-radius:10px;padding:14px;}
.et-addr-title{font-size:13px;font-weight:600;color:#333;margin-bottom:10px;}
.et-addr-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;}
.et-addr-item{background:#fff;border:1px solid #f0f0f0;border-radius:8px;padding:8px 10px;display:flex;flex-direction:column;gap:4px;}
.et-addr-item span{font-size:11px;color:#999;}
.et-addr-item b{font-size:13px;color:#333;word-break:break-all;}
.et-addr-item.wide{grid-column:span 4;}
.et-warn{margin-top:10px;display:flex;gap:8px;flex-wrap:wrap;}
.et-warn-item{font-size:12px;color:#d46b08;background:#fff7e6;border:1px solid #ffd591;border-radius:6px;padding:3px 8px;}
.et-error{margin-top:10px;font-size:12.5px;color:#cf1322;background:#fff2f0;border:1px solid #ffccc7;border-radius:8px;padding:8px 12px;display:flex;flex-direction:column;gap:4px;}
.et-send-msg{margin-top:12px;font-size:13.5px;border-radius:8px;padding:10px 14px;}
.et-send-msg.ok{background:#f6ffed;border:1px solid #b7eb8f;color:#389e0d;}
.et-send-msg.err{background:#fff2f0;border:1px solid #ffccc7;color:#cf1322;}
.et-cand{margin-top:10px;background:#f0f5ff;border:1px solid #adc6ff;border-radius:8px;padding:10px 12px;}
.et-cand-label{font-size:12.5px;color:#0958d9;margin-bottom:8px;}
.et-header{margin-bottom:14px;padding-bottom:12px;border-bottom:1px dashed #e5e7eb;}
.et-header h2{margin:0;font-size:18px;color:#333;}
.et-required-tip{font-size:13px;color:#999;margin-left:6px;font-weight:normal;}
.et-fill{position:relative;margin-bottom:18px;}
.et-fill .et-area{width:100%;box-sizing:border-box;min-height:80px;resize:vertical;padding-right:90px;}
.et-paste-btn{position:absolute;right:8px;top:8px;background:#1677ff;color:#fff;border:0;border-radius:6px;padding:5px 12px;font-size:12.5px;cursor:pointer;}
.et-paste-btn:disabled{opacity:.5;cursor:not-allowed;}
.et-form{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px;background:#fff;border:1px solid #f0f0f0;border-radius:10px;padding:18px;margin-bottom:16px;}
.et-cell{display:flex;flex-direction:column;gap:6px;position:relative;}
.et-cell .et-label{font-size:13px;color:#555;}
.et-count{position:absolute;right:4px;bottom:4px;font-size:11px;color:#bbb;}
.et-region{display:flex;gap:6px;}
.et-region select{flex:1;min-width:0;}
.et-actions-row{display:flex;gap:10px;justify-content:flex-end;margin-bottom:14px;}
.et-msg{margin-bottom:12px;font-size:13px;border-radius:8px;padding:8px 14px;}
.et-msg.ok{background:#f6ffed;border:1px solid #b7eb8f;color:#389e0d;}
.et-msg.err{background:#fff2f0;border:1px solid #ffccc7;color:#cf1322;}
.et-required{color:#cf1322;margin-left:3px;}
