* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    background: #f2f2f7;
    color: #1c1c1e;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ========== Login Page ========== */
.login-wrapper {
    display: flex;
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    background: #f2f2f7;
    position: relative;
}

.login-left {
    flex: 2;
    min-width: 0;
    height: 80vh;
    padding: 160px 18px 0 60px;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.platform-brand {
    position: absolute;
    top: 72px;
    left: 80px;
    z-index: 10;
}

.platform-title {
    font-size: 42px;
    font-weight: 700;
    color: #1c1c1e;
    letter-spacing: 2px;
    line-height: 1.2;
}

.platform-subtitle {
    font-size: 15px;
    color: #8e8e93;
    margin-top: 10px;
    letter-spacing: 0.5px;
}

.login-right {
    flex: 1;
    min-width: 400px;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding: 160px 24px 0 18px;
}

.login-right .login-container {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
}

.notice-board,
.process-flow {
    background: #fff;
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

.notice-board {
    flex: 1;
}

.board-title {
    font-size: 20px;
    font-weight: 600;
    color: #1c1c1e;
    margin-bottom: 18px;
    padding-left: 12px;
    border-left: 4px solid #007AFF;
}

.notice-list {
    max-height: 320px;
    overflow-y: auto;
    overflow-x: hidden;
}

.notice-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f2;
    text-decoration: none;
    color: inherit;
}

.notice-item:last-child {
    border-bottom: none;
}

.notice-item .notice-title {
    flex: 1;
    min-width: 0;
    font-size: 15px;
    font-weight: 500;
    color: #1c1c1e;
    transition: color 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notice-item:hover .notice-title {
    color: #007AFF;
}

.notice-item .notice-date {
    font-size: 13px;
    color: #8e8e93;
    flex-shrink: 0;
}

.notice-empty {
    font-size: 14px;
    color: #8e8e93;
    text-align: center;
    padding: 20px 0;
}

/* Announcement detail page */
.announcement-body {
    background: #f2f2f7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.announcement-page {
    flex: 1 0 auto;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    padding: 170px 80px 80px;
    box-sizing: border-box;
}

.announcement-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 48px;
    width: 100%;
    max-width: 855px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06), 0 8px 40px rgba(0, 0, 0, 0.04);
}

.announcement-card-title {
    font-size: 24px;
    font-weight: 600;
    color: #1c1c1e;
    line-height: 1.4;
    margin-bottom: 12px;
}

.announcement-card-date {
    font-size: 13px;
    color: #8e8e93;
    margin-bottom: 24px;
}

.announcement-card-body {
    font-size: 15px;
    color: #333;
    line-height: 1.8;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
    margin-bottom: 32px;
}

.announcement-back {
    display: inline-block;
    font-size: 14px;
    color: #007AFF;
    text-decoration: none;
}

.announcement-back:hover {
    text-decoration: underline;
}

.page-footer.announcement-footer {
    position: static;
    padding: 24px 0;
}

.flow-list {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.flow-list li {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
}

.flow-list li .flow-phone {
    color: #007AFF;
    font-weight: 700;
}

@media (max-width: 900px) {
    .login-left,
    .platform-brand {
        display: none;
    }
    .login-right {
        flex: 1;
        min-width: 0;
        height: auto;
        padding: 40px 24px;
        align-items: center;
    }
}

.login-bg {
    display: none;
}

.login-container {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06), 0 8px 40px rgba(0, 0, 0, 0.04);
    width: 400px;
    padding: 52px 44px 44px;
    position: relative;
    z-index: 1;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-title-row .login-logo {
    margin-bottom: 0;
}

.login-title-row h1 {
    margin-bottom: 0;
}

.login-logo {
    margin-bottom: 20px;
}

.login-logo svg {
    opacity: 0.9;
}

.login-header h1 {
    font-size: 28px;
    font-weight: 600;
    color: #1c1c1e;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.login-divider {
    display: none;
}

.login-subtitle {
    font-size: 14px;
    color: #8e8e93;
    letter-spacing: 0.5px;
    font-weight: 400;
}

/* Flash messages */
.flash-messages {
    margin-bottom: 16px;
}

.flash {
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    text-align: center;
    font-weight: 500;
}

.flash-error {
    background: #fff2f0;
    color: #ff3b30;
}

.flash-success {
    background: #f0fff4;
    color: #34c759;
}

/* Form */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    align-items: center;
    border: 1px solid #e5e5ea;
    border-radius: 12px;
    padding: 0 14px;
    transition: all 0.2s;
    background: #f5f5f7;
}

.form-group:focus-within {
    border-color: #007AFF;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.12);
    background: #fff;
}

.form-group label {
    display: flex;
    align-items: center;
    margin-right: 10px;
    flex-shrink: 0;
}

.form-group label svg path {
    fill: #8e8e93;
}

.form-group:focus-within label svg path {
    fill: #007AFF;
}

.form-group input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 0;
    font-size: 16px;
    background: transparent;
    color: #1c1c1e;
}

.form-group input::placeholder {
    color: #c7c7cc;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #8e8e93;
    user-select: none;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #007AFF;
    cursor: pointer;
}

.btn-login {
    width: 100%;
    padding: 15px;
    background: #007AFF;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-login:hover {
    background: #0070e9;
}

.btn-login:active {
    background: #0068d6;
    transform: scale(0.98);
}

.login-footer {
    text-align: center;
    margin-top: 40px;
    font-size: 12px;
    color: #c7c7cc;
}

.page-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 0;
    text-align: center;
    font-size: 12px;
    line-height: 24px;
    color: #585e6d;
    z-index: 5;
}

.page-footer a {
    color: #585e6d;
    text-decoration: none;
}

.page-footer a:hover {
    color: #9095a2;
}

.page-footer .sep {
    display: inline-block;
    vertical-align: middle;
    margin: 0 10px;
    width: 1px;
    height: 12px;
    background: #b7bcc7;
}

/* Login Tabs */
.login-tabs {
    display: flex;
    background: #f2f2f7;
    border-radius: 10px;
    padding: 3px;
    margin-bottom: 24px;
}

.tab-btn {
    flex: 1;
    padding: 9px 0;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #8e8e93;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn.active {
    background: #fff;
    color: #007AFF;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: flex;
}

.link-register {
    font-size: 14px;
    color: #007AFF;
    text-decoration: none;
}

.link-register:hover {
    text-decoration: underline;
}

/* Send code button */
.btn-send-code {
    flex-shrink: 0;
    padding: 8px 12px;
    margin: 4px 0;
    margin-left: -8px; margin-right: 0; position: relative; left: -15px;
    background: transparent;
    color: #007AFF;
    border: 1px solid #007AFF;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-send-code:hover {
    background: #f0f4ff;
}

.btn-send-code:disabled {
    color: #c7c7cc;
    border-color: #e5e5ea;
    background: transparent;
    cursor: not-allowed;
}

/* ========== Dashboard ========== */
.dashboard-wrapper {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 240px;
    background: #fff;
    border-right: 1px solid #e5e5ea;
    display: flex;
    flex-direction: column;
    z-index: 100;
    overflow-y: auto;
}

.sidebar-header {
    padding: 28px 24px 20px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #1c1c1e;
    border-bottom: 1px solid #f2f2f7;
}

.sidebar-nav {
    padding: 8px;
    flex: 1;
}

.nav-item {
    padding: 10px 16px;
    margin-bottom: 2px;
    cursor: pointer;
    font-size: 14px;
    color: #3c3c43;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 10px;
    font-weight: 500;
    text-decoration: none;
}

.nav-item svg {
    opacity: 0.5;
}

.nav-item:hover {
    background: #f2f2f7;
}

.nav-item.active {
    color: #007AFF;
    background: #f0f4ff;
}

.nav-item.active svg {
    opacity: 1;
}

.main-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #f2f2f7;
    margin-left: 240px;
    height: 100vh;
    transition: margin-right 0.25s ease;
}

.topbar {
    position: fixed;
    top: 0;
    left: 240px;
    right: 0;
    height: 52px;
    background: #fff;
    border-bottom: 1px solid #e5e5ea;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 24px;
    gap: 16px;
    z-index: 90;
    transition: right 0.25s ease;
}

.topbar .user-info {
    font-size: 14px;
    color: #8e8e93;
}

.btn-logout {
    padding: 6px 16px;
    background: transparent;
    color: #ff3b30;
    border: 1px solid #ff3b30;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s;
}

.btn-logout:hover {
    background: #ff3b30;
    color: #fff;
}

.content {
    flex: 1;
    padding: 32px 36px 68px;
    margin-top: 52px;
    overflow-y: auto;
}

.content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1c1c1e;
}

.content p {
    font-size: 15px;
    color: #8e8e93;
}

/* ========== 网站底部备案信息 ========== */
.main-footer {
    position: fixed;
    left: 240px;
    right: 0;
    bottom: 0;
    height: 36px;
    line-height: 36px;
    text-align: center;
    font-size: 12px;
    color: #8e8e93;
    background: #fff;
    border-top: 1px solid #e5e5ea;
    z-index: 80;
}
.main-footer a {
    color: #8e8e93;
    text-decoration: none;
}
.main-footer a:hover {
    color: #007AFF;
}

/* ========== User Management ========== */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.page-header h2 {
    margin-bottom: 0;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #007AFF;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-primary:hover { background: #0070e9; }

.toolbar {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.search-box {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e5e5ea;
    border-radius: 10px;
    padding: 0 14px;
    max-width: 360px;
    transition: border-color 0.2s;
}

.search-box:focus-within { border-color: #007AFF; }

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 0;
    font-size: 14px;
}

.filter-select {
    padding: 10px 14px;
    border: 1px solid #e5e5ea;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    color: #1c1c1e;
    outline: none;
    cursor: pointer;
}

.filter-select:focus { border-color: #007AFF; }

/* Table */
.table-wrap {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.data-table th {
    text-align: left;
    padding: 14px 16px;
    font-weight: 600;
    color: #8e8e93;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #f2f2f7;
    background: #fafafa;
}

.data-table td {
    padding: 13px 16px;
    border-bottom: 1px solid #f2f2f7;
    color: #1c1c1e;
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: #fafafa; }

.table-empty {
    text-align: center;
    color: #c7c7cc;
    padding: 48px 0 !important;
}

.cell-muted { color: #8e8e93; font-size: 13px; }
.cell-actions { white-space: nowrap; }
.user-name { font-weight: 600; }

/* Badges */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-on { background: #f0fff4; color: #34c759; }
.badge-off { background: #fff2f0; color: #ff3b30; }

.badge-role {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.role-admin { background: #f0f4ff; color: #007AFF; }
.role-reviewer { background: #fff8f0; color: #ff9500; }
.role-searcher { background: #f0fff4; color: #34c759; }
.role-client { background: #f2f2f7; color: #8e8e93; }

/* Action buttons */
.btn-sm {
    padding: 4px 10px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    margin-right: 4px;
    text-decoration: none;
    display: inline-block;
}

.btn-edit { background: #f0f4ff; color: #007AFF; }
.btn-search { background: #e8f2ff; color: #007AFF; }
.btn-search:hover { background: #d0e4ff; }
.btn-edit:hover { background: #dde8ff; }
.btn-accept { background: #f0fff4; color: #34c759; }
.btn-accept:hover { background: #d4f5dd; }
.btn-review { background: #f3e8ff; color: #af52de; }
.btn-review:hover { background: #e8d6f8; }
.btn-reject { background: #fff2f0; color: #ff3b30; }
.btn-reject:hover { background: #ffddd9; }
.btn-warn { background: #fff8f0; color: #ff9500; }
.btn-warn:hover { background: #ffedd4; }
.btn-unarchive { background: #e6fffb; color: #13c2c2; }
.btn-unarchive:hover { background: #b5f5ec; }
.btn-green { background: #f0fff4; color: #34c759; }
.btn-green:hover { background: #d4f5dd; }
.btn-del { background: #fff2f0; color: #ff3b30; }
.btn-del:hover { background: #ffddd9; }

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    justify-content: flex-end;
}

.pg-info {
    font-size: 13px;
    color: #8e8e93;
    margin-right: 12px;
}

.pg-btn {
    width: 34px;
    height: 34px;
    border: 1px solid #e5e5ea;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    color: #1c1c1e;
    cursor: pointer;
    transition: all 0.15s;
}

.pg-btn:hover { border-color: #007AFF; color: #007AFF; }
.pg-btn.active { background: #007AFF; color: #fff; border-color: #007AFF; }

/* ========== Modal ========== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 100;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-overlay.show { display: flex; }

.modal {
    background: #fff;
    border-radius: 18px;
    width: 540px;
    max-width: 94vw;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
    animation: modalIn 0.2s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(12px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px 0;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: #f2f2f7;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover { background: #e5e5ea; }

#user-form {
    padding: 20px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: flex;
    gap: 14px;
}

.form-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-field label {
    font-size: 13px;
    font-weight: 600;
    color: #8e8e93;
}

.form-field .required { color: #ff3b30; }

.form-field input,
.form-field select {
    padding: 10px 14px;
    border: 1px solid #e5e5ea;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    background: #f5f5f7;
    transition: all 0.2s;
}

.form-field input:focus,
.form-field select:focus {
    border-color: #007AFF;
    box-shadow: 0 0 0 3px rgba(0,122,255,0.1);
    background: #fff;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 8px;
}

.btn-cancel {
    padding: 10px 22px;
    border: 1px solid #e5e5ea;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
    color: #1c1c1e;
}

.btn-cancel:hover { background: #f2f2f7; }

/* Toast */
.toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #1c1c1e;
    color: #fff;
    padding: 10px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    z-index: 200;
}

.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-err { background: #ff3b30; }

/* ========== Request Form ========== */
.request-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px 28px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.form-card-readonly {
    background: #fafafa;
    border: 1px solid #f0f0f5;
}

.form-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #1c1c1e;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f2f2f7;
}

.form-hint {
    font-size: 13px;
    color: #8e8e93;
    margin-bottom: 12px;
    line-height: 1.5;
}

.readonly-value {
    font-size: 14px;
    color: #8e8e93;
    padding: 8px 0;
}

/* Form row column variants */
.form-row.cols-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
}

.form-row.cols-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 768px) {
    .form-row.cols-3, .form-row.cols-2 {
        grid-template-columns: 1fr;
    }
}

.form-field.full { grid-column: 1 / -1; }
.form-field.span-2 { grid-column: span 2; }
.form-field.narrow { max-width: 140px; }

/* Textarea */
textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e5e5ea;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    background: #f5f5f7;
    resize: vertical;
    transition: all 0.2s;
    color: #1c1c1e;
}

textarea:focus {
    border-color: #007AFF;
    box-shadow: 0 0 0 3px rgba(0,122,255,0.1);
    background: #fff;
}

/* Checkbox & Radio groups */
.checkbox-group, .radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cb-label, .rb-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #1c1c1e;
    cursor: pointer;
    padding: 8px 16px;
    background: #f5f5f7;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: all 0.15s;
    user-select: none;
}

.cb-label:hover, .rb-label:hover {
    background: #f0f4ff;
}

.cb-label:has(input:checked), .rb-label:has(input:checked) {
    background: #f0f4ff;
    border-color: #007AFF;
    color: #007AFF;
}

.cb-label input, .rb-label input {
    accent-color: #007AFF;
    width: 16px;
    height: 16px;
}

/* Checkpoint items */
.cp-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.cp-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #007AFF;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 8px;
}

.cp-del {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: #c7c7cc;
    font-size: 20px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 8px;
    transition: all 0.15s;
}

.cp-del:hover { background: #fff2f0; color: #ff3b30; }

.btn-add-cp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: transparent;
    color: #007AFF;
    border: 1px dashed #007AFF;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    margin-top: 4px;
}

.btn-add-cp:hover { background: #f0f4ff; }

/* Form actions bar */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 0 12px;
}

.btn-draft {
    padding: 12px 28px;
    background: #fff;
    color: #8e8e93;
    border: 1px solid #e5e5ea;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-draft:hover { background: #f2f2f7; color: #1c1c1e; }
.btn-export {
    padding: 12px 28px;
    background: #e8f2ff;
    color: #007AFF;
    border: 1px solid #cfe3ff;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}
.btn-export:hover { background: #d0e4ff; }
.btn-export:disabled { opacity: 0.6; cursor: not-allowed; }

/* ========== Request Detail ========== */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.detail-card {
    background: #fff;
    border-radius: 14px;
    padding: 18px 22px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.detail-title {
    font-size: 12px;
    font-weight: 600;
    color: #8e8e93;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.detail-value {
    font-size: 18px;
    font-weight: 600;
    color: #1c1c1e;
}

.detail-row {
    font-size: 14px;
    color: #1c1c1e;
    line-height: 1.6;
}

.detail-label {
    color: #8e8e93;
    font-weight: 500;
}

.detail-text {
    font-size: 14px;
    color: #1c1c1e;
    line-height: 1.8;
    white-space: pre-wrap;
}

.checkpoint-block {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    line-height: 1.6;
}

.checkpoint-block .cp-num {
    width: 24px;
    height: 24px;
    font-size: 12px;
    margin-top: 1px;
}

.req-no {
    font-family: "SF Mono", "Menlo", "Consolas", monospace;
    font-size: 13px;
    color: #007AFF;
    font-weight: 500;
}

.cell-muted { color: #8e8e93; font-size: 13px; }

/* Status badges */
.badge-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.st-draft { background: #f2f2f7; color: #8e8e93; }
.st-submitted { background: #f0f4ff; color: #007AFF; }
.st-accepted { background: #e8f5ff; color: #007AFF; }
.st-searching { background: #fff8f0; color: #ff9500; }
.st-confirming { background: #fff3e0; color: #e08600; }
.st-reviewing { background: #eef2ff; color: #5856d6; }
.st-reviewed { background: #f0e6ff; color: #af52de; }
.st-completed { background: #f0fff4; color: #34c759; }
.st-archived { background: #e6fffb; color: #13c2c2; }
.st-rejected { background: #fff2f0; color: #ff3b30; }

/* ========== Agent Panel ========== */
:root {
    --agent-width: 380px;
}

.agent-panel {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: 0;
    overflow: hidden;
    background: #fff;
    border-left: 1px solid #e5e5ea;
    display: flex;
    flex-direction: column;
    transition: width 0.25s ease;
    z-index: 100;
}

.dashboard-wrapper.agent-open .agent-panel {
    width: var(--agent-width);
}

.dashboard-wrapper.agent-open .topbar {
    right: var(--agent-width);
}

.dashboard-wrapper.agent-open .tab-bar {
    right: var(--agent-width);
}

.dashboard-wrapper.agent-open .main-area {
    margin-right: var(--agent-width);
}

@media (max-width: 1100px) {
    .dashboard-wrapper.agent-open .agent-panel {
        width: 360px;
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
        z-index: 110;
    }
    .dashboard-wrapper.agent-open .topbar {
        right: 0;
    }
    .dashboard-wrapper.agent-open .tab-bar {
        right: 0;
    }
    .dashboard-wrapper.agent-open .main-area {
        margin-right: 0;
    }
    .dashboard-wrapper.msg-open .msg-panel {
        z-index: 110;
    }
    .dashboard-wrapper.msg-open.agent-open .agent-panel {
        right: 0;
        z-index: 109;
    }
    .dashboard-wrapper.msg-open.agent-open .msg-panel {
        right: 0;
        z-index: 110;
    }
    .dashboard-wrapper.msg-open.agent-open .topbar,
    .dashboard-wrapper.msg-open.agent-open .tab-bar {
        right: 0;
    }
    .dashboard-wrapper.msg-open.agent-open .main-area {
        margin-right: 0;
    }
}

/* Resize handle */
.agent-resize-handle {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    cursor: ew-resize;
    z-index: 10;
    transition: background 0.15s;
}

.agent-resize-handle:hover {
    background: rgba(0, 122, 255, 0.15);
}

/* Agent toggle in topbar */
.btn-agent-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: transparent;
    color: #007AFF;
    border: 1px solid #007AFF;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-agent-toggle:hover { background: #f0f4ff; }

.dashboard-wrapper.agent-open .btn-agent-toggle {
    background: #007AFF;
    color: #fff;
}

/* Agent panel header */
.agent-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f2f2f7;
    flex-shrink: 0;
}

.agent-panel-title {
    font-size: 17px;
    font-weight: 700;
    color: #1c1c1e;
}

.agent-panel-collapse {
    width: 30px;
    height: 30px;
    border: none;
    background: #f2f2f7;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8e8e93;
    transition: all 0.15s;
}

.agent-panel-collapse:hover { background: #e5e5ea; color: #1c1c1e; }

/* Agent messages */
.agent-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.agent-msg { display: flex; }
.agent-msg.user { justify-content: flex-end; }
.agent-msg.assistant { justify-content: flex-start; }

.agent-msg-bubble {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
}

.agent-msg.user .agent-msg-bubble {
    background: #007AFF;
    color: #fff;
    border-bottom-right-radius: 4px;
}

.agent-msg.assistant .agent-msg-bubble {
    background: #f2f2f7;
    color: #1c1c1e;
    border-bottom-left-radius: 4px;
}

/* Typing dots animation */
.typing-dots { display: inline-flex; gap: 3px; padding: 4px 0; }
.typing-dots span {
    width: 6px; height: 6px;
    background: #8e8e93;
    border-radius: 50%;
    animation: typing-bounce 1.4s ease-in-out infinite both;
}
.typing-dots span:nth-child(1) { animation-delay: 0s; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

/* Agent quick action buttons */
.agent-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 16px;
    border-top: 1px solid #f2f2f7;
    flex-shrink: 0;
}

.qa-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: #f0f4ff;
    color: #007AFF;
    border: 1px solid transparent;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
    font-family: inherit;
}

.qa-btn:hover {
    background: #dde8ff;
    border-color: #007AFF;
}

.qa-btn:active {
    transform: scale(0.96);
}

.qa-btn-green {
    background: #f0fff4;
    color: #34c759;
    border-color: transparent;
}

.qa-btn-green:hover {
    background: #d4f5dd;
    border-color: #34c759;
}

/* Agent input — fixed at bottom */
.agent-input-area {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid #f2f2f7;
    background: #fafafa;
    flex-shrink: 0;
}

.agent-input-area textarea {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #e5e5ea;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    background: #fff;
    resize: none;
    min-height: 20px;
    max-height: 100px;
    transition: border-color 0.2s;
    color: #1c1c1e;
}

.agent-input-area textarea:focus { border-color: #007AFF; }

.agent-send-btn {
    width: 38px;
    height: 38px;
    border: none;
    background: #007AFF;
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s;
}

.agent-send-btn:hover { background: #0070e9; }
.agent-send-btn:active { transform: scale(0.92); }

/* ========== Sidebar Nav Section ========== */
.nav-section {
    margin-top: 14px;
    border-top: 1px solid #f2f2f7;
    padding-top: 8px;
}

.nav-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #8e8e93;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.15s;
    user-select: none;
}

.nav-section-header:hover { background: #f2f2f7; }

.nav-section-header svg:first-child { opacity: 0.5; flex-shrink: 0; }

.nav-section-chevron {
    margin-left: auto;
    opacity: 0.4;
    transition: transform 0.2s;
}

.nav-section.open .nav-section-chevron { transform: rotate(180deg); }

.nav-section-items { display: none; padding-left: 4px; }
.nav-section.open .nav-section-items { display: block; }

/* ========== Toggle Switch ========== */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 28px;
}

.toggle-switch input { opacity: 0; width: 0; height: 0; }

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #e5e5ea;
    border-radius: 28px;
    transition: all 0.2s;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 24px;
    width: 24px;
    left: 2px;
    bottom: 2px;
    background: #fff;
    border-radius: 50%;
    transition: all 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.toggle-switch input:checked + .toggle-slider { background: #34c759; }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }

/* ========== Token display ========== */
.token-value-display {
    font-family: "SF Mono", "Menlo", "Consolas", monospace;
    background: #f2f2f7;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    word-break: break-all;
    color: #1c1c1e;
    margin: 8px 0;
}

.token-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: #f0f4ff;
    color: #007AFF;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.15s;
}

.token-copy-btn:hover { background: #dde8ff; }

.token-warning {
    color: #ff9500;
    font-size: 12px;
    margin-top: 8px;
}

/* ========== My Tasks / Progress Timeline ========== */
.task-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    margin-bottom: 16px;
    overflow: hidden;
}

.task-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 12px;
}

.task-card-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.task-project-name {
    font-size: 16px;
    font-weight: 600;
    color: #1c1c1e;
}

.task-card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.task-card-body {
    padding: 0 24px 20px;
}

.task-meta {
    display: flex;
    gap: 24px;
    font-size: 13px;
    color: #8e8e93;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

/* Timeline */
.task-timeline {
    background: #fafafa;
    border-radius: 12px;
    padding: 16px 20px;
}

.timeline-label {
    font-size: 12px;
    font-weight: 600;
    color: #8e8e93;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.timeline-track {
    display: flex;
    align-items: center;
    overflow-x: auto;
    padding-bottom: 4px;
}

.tl-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    position: relative;
}

.tl-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #e5e5ea;
    border: 3px solid #e5e5ea;
    transition: all 0.3s;
}

.tl-step.tl-done .tl-dot {
    background: #007AFF;
    border-color: #007AFF;
}

.tl-step.tl-current .tl-dot {
    background: #fff;
    border-color: #007AFF;
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.15);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.15); }
    50% { box-shadow: 0 0 0 8px rgba(0, 122, 255, 0.06); }
}

.tl-step.tl-rejected .tl-dot {
    background: #ff3b30;
    border-color: #ff3b30;
}

.tl-label {
    font-size: 11px;
    color: #c7c7cc;
    font-weight: 500;
    white-space: nowrap;
}

.tl-step.tl-done .tl-label { color: #007AFF; }
.tl-step.tl-current .tl-label { color: #007AFF; font-weight: 600; }
.tl-step.tl-rejected .tl-label { color: #ff3b30; font-weight: 600; }

.tl-line {
    width: 36px;
    height: 2px;
    background: #e5e5ea;
    flex-shrink: 0;
    margin: 0 4px;
    align-self: flex-start;
    margin-top: 7px;
    transition: background 0.3s;
}

.tl-line.tl-line-done { background: #007AFF; }

.tl-line-end {
    width: 24px;
    height: 2px;
    background: linear-gradient(to right, #e5e5ea, transparent);
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 7px;
    margin-left: 4px;
}

/* ========== Welcome Hero ========== */
.welcome-hero {
    padding: 32px 0 20px;
}

.welcome-title {
    font-size: 34px;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.welcome-sub {
    font-size: 17px;
    color: #86868b;
    margin-top: 6px;
    font-weight: 400;
}

/* ========== Section Title ========== */
.section-title {
    font-size: 13px;
    font-weight: 600;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 16px;
}

.stat-section {
    margin-top: 36px;
}

/* ========== Overview Split Layout ========== */
.overview-split {
    display: flex;
    gap: 20px;
}

.overview-left {
    flex: 2;
    min-width: 0;
}

.overview-right {
    flex: 1;
    display: flex;
    gap: 10px;
    min-width: 0;
}

.work-status-full {
    margin-bottom: 20px;
}

.donut-row {
    display: flex;
    gap: 16px;
}

.donut-col {
    flex: 1;
    min-width: 0;
    background: #fff;
    border-radius: 16px;
    padding: 18px 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.donut-col-sm {
    padding: 12px 12px;
    flex: 1;
    min-width: 0;
}
.donut-col-sm .subsection-title {
    margin-bottom: 6px;
    font-size: 11px;
    letter-spacing: 0.4px;
}
.donut-col-sm .donut-wrap svg {
    width: 90px;
    height: 90px;
}
.donut-col-sm .donut-legend {
    gap: 4px;
}
.donut-col-sm .donut-legend-item {
    font-size: 11px;
    gap: 4px;
}
.donut-col-sm .dl-dot {
    width: 7px;
    height: 7px;
}

.subsection-title {
    font-size: 12px;
    font-weight: 600;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
    text-align: center;
}

/* ========== Donut Chart ========== */
.donut-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.donut-wrap svg {
    flex-shrink: 0;
}

.donut-legend {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.donut-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #1d1d1f;
}

.dl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dl-label {
    flex: 1;
    font-weight: 500;
}

.dl-val {
    font-weight: 700;
    color: #1d1d1f;
    min-width: 20px;
    text-align: right;
}

/* ========== Searcher Stats ========== */
.searcher-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sr-row {
    display: flex;
    align-items: center;
    gap: 10px 16px;
    padding: 14px 20px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.sr-name {
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
    flex-shrink: 0;
}

.sr-bar-wrap {
    flex: 1;
    height: 8px;
    background: #f2f2f7;
    border-radius: 4px;
    overflow: hidden;
}

.sr-bar {
    height: 100%;
    background: linear-gradient(90deg, #007AFF, #5856d6);
    border-radius: 4px;
    transition: width 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.sr-count {
    font-size: 14px;
    font-weight: 600;
    color: #007AFF;
    flex-shrink: 0;
    min-width: 48px;
    text-align: right;
}

/* 查新员工作状态指示灯 */
.status-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.status-idle { background: #34c759; box-shadow: 0 0 6px rgba(52,199,89,0.4); }
.status-working { background: #ffcc00; box-shadow: 0 0 6px rgba(255,204,0,0.5); animation: pulse-dot 1.5s ease-in-out infinite; }
.status-paused { background: #ff3b30; box-shadow: 0 0 6px rgba(255,59,48,0.4); }

.sr-role-tag {
    font-size: 11px;
    color: #8e8e93;
    background: #f2f2f7;
    border-radius: 4px;
    padding: 2px 6px;
    flex-shrink: 0;
}
.status-label { font-size: 13px; color: #8e8e93; font-weight: 700; }
.status-text-idle { color: #34c759; }
.status-text-working { color: #cc9900; }
.status-text-paused { color: #ff3b30; }

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.sr-tasks {
    margin-left: auto;
    display: flex;
    gap: 16px;
}
.sr-task-item {
    font-size: 12px;
    color: #86868b;
    white-space: nowrap;
    text-align: left;
}
.sr-task-no {
    font-family: 'SF Mono', 'Consolas', monospace;
    color: #8e8e93;
    margin-right: 6px;
}
.sr-task-name {
    color: #1d1d1f;
    margin-right: 6px;
}
.sr-task-action {
    color: #cc9900;
    font-weight: 500;
}

/* ========== Tab Bar ========== */
.tab-bar {
    position: fixed;
    top: 52px;
    left: 240px;
    right: 0;
    height: 36px;
    background: #f2f2f7;
    border-bottom: 1px solid #e5e5ea;
    display: flex;
    align-items: stretch;
    z-index: 89;
    overflow-x: auto;
    overflow-y: hidden;
    transition: right 0.25s ease;
}

.tab-bar::-webkit-scrollbar { height: 0; }

.tab-list {
    display: flex;
    align-items: stretch;
    height: 100%;
    padding: 0 4px;
    gap: 2px;
}

.tab-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    height: 30px;
    margin-top: 4px;
    background: #e5e5ea;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-size: 13px;
    color: #8e8e93;
    font-weight: 500;
    white-space: nowrap;
    user-select: none;
    transition: all 0.15s;
    min-width: 0;
}

.tab-item:hover { background: #dcdce0; color: #3c3c43; }

.tab-item.active {
    background: #fff;
    color: #007AFF;
    font-weight: 600;
    border-bottom: 2px solid #fff;
    margin-bottom: -1px;
    z-index: 1;
}

.tab-title {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tab-close {
    width: 18px;
    height: 18px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8e8e93;
    flex-shrink: 0;
    padding: 0;
    transition: all 0.1s;
}

.tab-close:hover { background: rgba(0,0,0,0.1); color: #ff3b30; }

/* Tab content area */
.tab-main {
    margin-top: 88px !important;
}

/* ========== Work Page ========== */
.work-page {
    width: 100%;
    margin: 0 auto;
}

.db-table th:nth-child(3),
.db-table td:nth-child(3) {
    word-break: break-all;
}

.work-welcome {
    padding: 32px 0 20px;
}

.work-title {
    font-size: 28px;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.3px;
}

.work-sub {
    font-size: 15px;
    color: #8e8e93;
    margin-top: 8px;
}

.work-hint {
    font-size: 14px;
    color: #c7c7cc;
    margin-top: 12px;
    font-style: italic;
}

.work-meta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.work-meta .form-card {
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

/* ========== Work Info Card ========== */
.work-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 0 20px;
}

.work-header .req-no {
    font-size: 14px;
}

.work-header .work-title {
    font-size: 24px;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: -0.3px;
}

.work-info-card {
    padding: 28px 32px;
    margin-bottom: 16px;
}

.work-info-grid {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.work-info-item {
    padding: 8px 0;
}

.work-info-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #8e8e93;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.work-info-value {
    font-size: 15px;
    color: #1c1c1e;
    font-weight: 500;
}

.work-info-row {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.work-info-row .work-info-item {
    flex: 1;
    min-width: 160px;
}

.work-info-block .work-info-label {
    margin-bottom: 6px;
}

.work-info-text {
    font-size: 14px;
    color: #1c1c1e;
    line-height: 1.6;
    overflow-x: auto;
    word-wrap: break-word;
}

.work-info-text .checkpoint-block {
    padding: 2px 0;
    gap: 8px;
}

.work-info-text .cp-num {
    width: 20px;
    height: 20px;
    font-size: 11px;
    margin-top: 2px;
}

.work-info-divider {
    height: 1px;
    background: #f2f2f7;
    margin: 4px 0;
}

.db-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.db-table th {
    text-align: left;
    padding: 8px 10px;
    background: #f9f9fb;
    color: #8e8e93;
    font-weight: 500;
    font-size: 12px;
    border-bottom: 1px solid #e5e5ea;
}

.db-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #f2f2f7;
    vertical-align: middle;
}

.db-table tbody tr:hover {
    background: #fafafc;
}

.sw-row {
    display: flex;
    gap: 20px;
    margin-bottom: 8px;
}

.sw-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sw-label {
    font-size: 13px;
    color: #8e8e93;
    font-weight: 500;
}

.sw-textarea {
    width: 100%;
    min-height: 80px;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.6;
    border: 1px solid #e5e5ea;
    border-radius: 8px;
    resize: vertical;
    font-family: inherit;
    box-sizing: border-box;
}

.sw-textarea:focus {
    outline: none;
    border-color: #007AFF;
    box-shadow: 0 0 0 3px rgba(0,122,255,0.1);
}

.sw-hint {
    font-size: 12px;
    color: #aeaeb2;
    margin-top: 6px;
    display: block;
}

.btn-save-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 8px 24px;
    font-size: 14px;
    background: #007AFF;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.15s;
}

.btn-save-inline:hover {
    background: #0066d6;
}

.btn-save-inline:active {
    background: #0055b3;
}

.query-block {
    margin-bottom: 16px;
}

.query-block:last-child {
    margin-bottom: 0;
}

.query-header {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 6px;
}

.query-checkpoint-text {
    font-size: 14px;
    color: #48484a;
    line-height: 1.5;
    padding-top: 1px;
}

.query-textarea {
    width: 100%;
    min-height: 60px;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.6;
    font-family: SF Mono, Consolas, monospace;
    border: 1px solid #e5e5ea;
    border-radius: 8px;
    resize: vertical;
    box-sizing: border-box;
}

.query-textarea:focus {
    outline: none;
    border-color: #34C759;
    box-shadow: 0 0 0 3px rgba(52,199,89,0.1);
}

/* Search query test results */
.query-results {
    margin-top: 12px;
    border: 1px solid #e5e5ea;
    border-radius: 8px;
    overflow: hidden;
}

.qr-loading {
    padding: 16px;
    color: #007AFF;
    font-size: 14px;
}

.qr-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #f9f9fb;
    font-size: 13px;
    color: #48484a;
    border-bottom: 1px solid #e5e5ea;
}

.qr-header-left {
    display: flex;
    align-items: center;
    gap: 4px;
}

.qr-collapse-btn {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px 10px;
    border: 1px solid #c6c6c8;
    border-radius: 4px;
    background: #fff;
    color: #8e8e93;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s;
}

.qr-collapse-btn:hover {
    color: #007AFF;
    border-color: #007AFF;
}

.qr-error {
    padding: 16px;
    color: #ff3b30;
    font-size: 14px;
}

.qr-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.qr-table th {
    padding: 8px 10px;
    background: #f2f2f7;
    text-align: left;
    font-weight: 600;
    color: #48484a;
    border-bottom: 1px solid #e5e5ea;
}

.qr-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #f2f2f7;
    vertical-align: top;
}

.qr-table tbody tr:hover { background: #f9f9fb; }

.qr-num {
    color: #8e8e93;
    text-align: center;
    font-weight: 500;
}

.qr-title {
    color: #007AFF;
    text-decoration: none;
    font-weight: 500;
    line-height: 1.4;
}

.qr-title:hover { text-decoration: underline; }

.qr-source {
    margin-top: 3px;
    font-size: 12px;
    color: #8e8e93;
    line-height: 1.3;
}

.qr-year {
    color: #48484a;
    text-align: center;
}

.qr-cited {
    color: #8e8e93;
    text-align: center;
}

/* 检索结果分页 */
.qr-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 12px 0 4px;
}

.qr-page-btn {
    padding: 6px 16px;
    border: 1px solid #c6c6c8;
    border-radius: 6px;
    background: #fff;
    color: #007AFF;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s;
}

.qr-page-btn:hover:not(:disabled) {
    background: #007AFF;
    color: #fff;
    border-color: #007AFF;
}

.qr-page-btn:disabled {
    color: #c6c6c8;
    border-color: #e5e5ea;
    cursor: not-allowed;
}

.qr-page-info {
    font-size: 13px;
    color: #48484a;
}

/* 查新结论报告 */
.report-block {
    margin-top: 16px;
    border: 1px solid #e5e5ea;
    border-radius: 10px;
    overflow: hidden;
}

.report-header {
    padding: 12px 16px;
    background: #f0faf3;
    border-bottom: 1px solid #d4ecd9;
}

.report-header-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a7a32;
}

.report-textarea {
    width: 100%;
    min-height: 200px;
    padding: 14px 16px;
    border: none;
    font-size: 14px;
    line-height: 1.8;
    color: #1c1c1e;
    background: #fff;
    resize: vertical;
    outline: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.report-textarea:disabled {
    background: #f9f9fb;
    color: #8e8e93;
}

/* 报告生成进度条 */
.report-progress {
    padding: 32px 20px;
    text-align: center;
}
.progress-bar-track {
    width: 100%;
    max-width: 480px;
    height: 6px;
    background: #e5e5ea;
    border-radius: 3px;
    margin: 0 auto 16px;
    overflow: hidden;
}
.progress-bar-fill {
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, #007AFF, #5856D6);
    border-radius: 3px;
    animation: progress-slide 1.5s ease-in-out infinite;
}
@keyframes progress-slide {
    0% { width: 0%; margin-left: 0; }
    50% { width: 60%; margin-left: 20%; }
    100% { width: 0%; margin-left: 100%; }
}
.progress-text {
    font-size: 13px;
    color: #8e8e93;
}

/* 报告版本列表 */
.version-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    gap: 8px;
}
.version-item:not(:last-child) {
    border-bottom: 1px solid #f2f2f7;
}
.version-num {
    font-weight: 600;
    font-size: 14px;
    color: #1c1c1e;
    min-width: 44px;
}
.version-badge-gen {
    font-size: 11px;
    background: #e3f2fd;
    color: #007AFF;
    padding: 2px 8px;
    border-radius: 10px;
    white-space: nowrap;
}
.version-badge-upload {
    font-size: 11px;
    background: #f3e5f5;
    color: #9c27b0;
    padding: 2px 8px;
    border-radius: 10px;
    white-space: nowrap;
}
.version-meta {
    font-size: 12px;
    color: #8e8e93;
    margin-left: auto;
    margin-right: 10px;
    white-space: nowrap;
}
.version-size {
    font-size: 12px;
    color: #8e8e93;
    margin-right: 10px;
    white-space: nowrap;
}
.version-dl-btn {
    font-size: 12px;
    padding: 4px 14px;
    background: #007AFF;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}
.version-dl-btn:hover {
    background: #0056cc;
    text-decoration: none;
    color: #fff;
}

/* 论文详情弹窗 */
.pm-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}
.pm-overlay.show {
    display: flex;
}
.pm-dialog {
    background: #fff;
    border-radius: 12px;
    width: 680px;
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.pm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e5ea;
}
.pm-header-title {
    font-size: 15px;
    font-weight: 600;
    color: #48484a;
}
.pm-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    line-height: 0;
}
.pm-body {
    padding: 20px;
    overflow-y: auto;
}
.pm-loading {
    text-align: center;
    color: #8e8e93;
    padding: 40px 0;
}
.pm-title {
    font-size: 18px;
    font-weight: 600;
    color: #1c1c1e;
    margin: 0 0 12px 0;
    line-height: 1.4;
}
.pm-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e5ea;
}
.pm-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #48484a;
}
.pm-abstract {
    font-size: 14px;
    color: #48484a;
    line-height: 1.7;
    margin-bottom: 20px;
    max-height: 240px;
    overflow-y: auto;
    padding-right: 8px;
}
.pm-actions {
    display: flex;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #e5e5ea;
}
.pm-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: opacity 0.15s;
}
.pm-btn:hover { opacity: 0.85; }
.pm-btn-original {
    background: #007AFF;
    color: #fff;
}
.pm-btn-download {
    background: #34c759;
    color: #fff;
}
.pm-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 收藏按钮 (表格行内) */
.qr-bookmark {
    text-align: center;
    vertical-align: middle;
}
.btn-fav {
    background: none;
    border: none;
    cursor: pointer;
    color: #c7c7cc;
    padding: 4px;
    line-height: 0;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
}
.btn-fav:hover {
    color: #FF9500;
    background: rgba(255, 149, 0, 0.08);
}
.btn-fav.on {
    color: #FF9500;
}
.btn-fav.on:hover {
    color: #FF3B30;
    background: rgba(255, 59, 48, 0.08);
}

.btn-fav-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: #c7c7cc;
    padding: 4px;
    line-height: 0;
    border-radius: 4px;
}
.btn-fav-remove:hover { color: #FF3B30; }
.btn-fav-move {
    background: none;
    border: none;
    cursor: pointer;
    color: #c7c7cc;
    padding: 4px;
    line-height: 0;
    border-radius: 4px;
}
.btn-fav-move:hover { color: #007AFF; }

/* PDF 图标 */
.pdf-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    transition: all 0.15s;
}

.pdf-ok {
    color: #007AFF;
    background: rgba(0, 122, 255, 0.06);
}

.pdf-ok:hover {
    color: #fff;
    background: #007AFF;
}

.pdf-miss {
    color: #c7c7cc;
    background: transparent;
}

.pdf-miss:hover {
    color: #8e8e93;
    background: rgba(0, 0, 0, 0.04);
}

.related-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    transition: all 0.15s;
    color: #c6c6c8;
    background: transparent;
    text-decoration: none;
}

.related-icon:hover {
    color: #8e8e93;
    background: rgba(0, 0, 0, 0.04);
}

.related-icon.active {
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.06);
}

.related-icon.active:hover {
    color: #fff;
    background: #ff6b35;
}

/* 收藏表格 */
.fav-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.fav-table th {
    text-align: left;
    padding: 8px 10px;
    font-size: 11px;
    font-weight: 500;
    color: #8e8e93;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e5e5ea;
}
.fav-table td {
    padding: 10px 10px;
    border-bottom: 1px solid #f0f0f5;
    vertical-align: top;
}
.fav-table tbody tr:hover { background: #f9f9fb; }
.fav-row.has-abstract { cursor: pointer; }
.fav-row.has-abstract:hover { background: #e8f0fe; }

/* 悬浮收藏夹按钮 */
.fav-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1500;
    color: #FF9500;
    transition: transform 0.15s, box-shadow 0.15s, right 0.25s;
}
.dashboard-wrapper.agent-open .fav-float {
    right: calc(var(--agent-width) + 24px);
}
.dashboard-wrapper.msg-open .fav-float {
    right: calc(var(--msg-width) + 24px);
}
.dashboard-wrapper.msg-open.agent-open .fav-float {
    right: calc(var(--agent-width) + var(--msg-width) + 24px);
}
.fav-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.fav-float-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    background: #FF3B30;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    line-height: 1;
}

/* 收藏夹弹出面板 */
.fav-panel {
    position: fixed;
    bottom: 84px;
    right: 24px;
    width: 360px;
    max-height: 420px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    z-index: 1499;
    display: none;
    flex-direction: column;
    overflow: hidden;
    transition: right 0.25s;
}
.dashboard-wrapper.agent-open .fav-panel {
    right: calc(var(--agent-width) + 24px);
}
.dashboard-wrapper.msg-open .fav-panel {
    right: calc(var(--msg-width) + 24px);
}
.dashboard-wrapper.msg-open.agent-open .fav-panel {
    right: calc(var(--agent-width) + var(--msg-width) + 24px);
}
.fav-panel.show { display: flex; }
.fav-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #e5e5ea;
    font-size: 14px;
    font-weight: 600;
    color: #1c1c1e;
}
.fav-panel-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    line-height: 0;
}
.fav-panel-body {
    overflow-y: auto;
    padding: 8px 0;
}
.fav-panel-item {
    padding: 10px 16px;
    border-bottom: 1px solid #f0f0f5;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}
.fav-panel-item:hover { background: #f9f9fb; }
.fav-panel-title {
    font-size: 13px;
    font-weight: 500;
    color: #007AFF;
    text-decoration: none;
    flex: 1;
    min-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fav-panel-title:hover { text-decoration: underline; }
.fav-panel-source {
    font-size: 11px;
    color: #8e8e93;
    width: 100%;
}
.fav-panel-remove {
    background: none;
    border: 1px solid #e5e5ea;
    border-radius: 4px;
    font-size: 11px;
    color: #FF3B30;
    cursor: pointer;
    padding: 2px 8px;
    margin-left: auto;
}
.fav-panel-remove:hover { background: #FF3B30; color: #fff; }
.fav-panel-group-label {
    font-size: 11px;
    font-weight: 600;
    color: #8e8e93;
    padding: 8px 16px 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 查新点收藏内嵌区 */
.fav-checkpoint {
    padding: 12px 14px;
    background: #fafafa;
    border: 1px solid #e5e5ea;
    border-radius: 8px;
}

.tab-bar-inline {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #e5e5ea;
    margin-top: 4px;
}

.tab-btn-inline {
    padding: 8px 20px;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #8e8e93;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.15s;
}

.tab-btn-inline.active {
    color: #007AFF;
    border-bottom-color: #007AFF;
    font-weight: 500;
}

.tab-btn-inline:hover:not(.active) {
    color: #48484a;
}

.cell-link {
    color: #007AFF;
    text-decoration: none;
    font-size: 13px;
}

.cell-link:hover {
    text-decoration: underline;
}

/* ========== Message Panel ========== */
:root {
    --msg-width: 360px;
}

.msg-panel {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: 0;
    overflow: hidden;
    background: #fff;
    border-left: 1px solid #e5e5ea;
    display: flex;
    flex-direction: column;
    transition: width 0.25s ease;
    z-index: 101;
}

.dashboard-wrapper.msg-open .msg-panel {
    width: var(--msg-width);
}

.dashboard-wrapper.msg-open .topbar {
    right: var(--msg-width);
}

.dashboard-wrapper.msg-open .tab-bar {
    right: var(--msg-width);
}

.dashboard-wrapper.msg-open .main-area {
    margin-right: var(--msg-width);
}

/* both panels open: msg rightmost, agent to its left */
.dashboard-wrapper.msg-open.agent-open .agent-panel {
    right: var(--msg-width);
}

.dashboard-wrapper.msg-open.agent-open .topbar {
    right: calc(var(--agent-width) + var(--msg-width));
}

.dashboard-wrapper.msg-open.agent-open .tab-bar {
    right: calc(var(--agent-width) + var(--msg-width));
}

.dashboard-wrapper.msg-open.agent-open .main-area {
    margin-right: calc(var(--agent-width) + var(--msg-width));
}

.msg-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f2f2f7;
    flex-shrink: 0;
}

.msg-panel-title {
    font-size: 17px;
    font-weight: 700;
    color: #1c1c1e;
}

.msg-panel-close {
    width: 30px;
    height: 30px;
    border: none;
    background: #f2f2f7;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8e8e93;
    transition: all 0.15s;
}

.msg-panel-close:hover { background: #e5e5ea; color: #1c1c1e; }

.msg-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #f9f9fb;
}

.msg-empty {
    text-align: center;
    color: #c7c7cc;
    font-size: 14px;
    padding: 48px 0;
}

.msg-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.msg-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 4px;
}

.msg-user {
    font-size: 12px;
    font-weight: 600;
    color: #8e8e93;
}

.msg-time {
    font-size: 11px;
    color: #c7c7cc;
}

.msg-bubble {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
    background: #fff;
    color: #1c1c1e;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.msg-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 16px;
    border-top: 1px solid #f2f2f7;
    flex-shrink: 0;
}

.msg-input-area {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid #f2f2f7;
    background: #fafafa;
    flex-shrink: 0;
}

.msg-input-area textarea {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #e5e5ea;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    background: #fff;
    resize: none;
    min-height: 20px;
    max-height: 100px;
    transition: border-color 0.2s;
    color: #1c1c1e;
}

.msg-input-area textarea:focus { border-color: #007AFF; }

.msg-send-btn {
    width: 38px;
    height: 38px;
    border: none;
    background: #007AFF;
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s;
}

.msg-send-btn:hover { background: #0070e9; }
.msg-send-btn:active { transform: scale(0.92); }

.btn-msg-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: transparent;
    color: #34c759;
    border: 1px solid #34c759;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-msg-toggle:hover { background: #f0fff4; }

.dashboard-wrapper.msg-open .btn-msg-toggle {
    background: #34c759;
    color: #fff;
}

@media (max-width: 1100px) {
    .dashboard-wrapper.msg-open .msg-panel {
        width: 340px;
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
        z-index: 110;
    }
    .dashboard-wrapper.msg-open .topbar,
    .dashboard-wrapper.msg-open .tab-bar {
        right: 0;
    }
    .dashboard-wrapper.msg-open .main-area {
        margin-right: 0;
    }
    .dashboard-wrapper.msg-open .fav-float,
    .dashboard-wrapper.msg-open .fav-panel {
        right: 24px;
    }
}

/* 检索数据库选择弹窗 */
.db-checkbox-row:hover {
    background: #f9f9fb;
}
.db-checkbox-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #007AFF;
}

