/* 眩晕评估系统样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", "PingFang SC", sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; }
.page { display: none; min-height: 100vh; padding: 20px; }
.page.active { display: flex; flex-direction: column; align-items: center; justify-content: center; }

/* 顶部患者信息栏 */
.patient-header { position: fixed; top: 0; left: 0; right: 0; background: #1a5276; color: white; padding: 10px 20px; text-align: center; font-size: 14px; z-index: 100; }

/* 首页 */
.home-container { text-align: center; background: white; border-radius: 16px; padding: 40px; max-width: 800px; width: 100%; box-shadow: 0 10px 40px rgba(0,0,0,0.2); }
.home-title { font-size: 36px; color: #1a5276; margin-bottom: 10px; }
.home-subtitle { font-size: 18px; color: #666; margin-bottom: 30px; }
.role-cards { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* Role Avatar */
.role-avatar {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 50%;
    background: #fff;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s;
}
.role-card:hover .role-avatar {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.role-card { background: #f8f9fa; border: 2px solid #e9ecef; border-radius: 12px; padding: 30px 20px; width: 200px; cursor: pointer; transition: all 0.3s; }
.role-card:hover { border-color: #1a5276; transform: translateY(-5px); box-shadow: 0 5px 20px rgba(26,82,118,0.2); }
.role-icon { font-size: 48px; margin-bottom: 15px; }
.role-card h3 { color: #1a5276; margin-bottom: 8px; }
.role-card p { color: #666; font-size: 14px; }

/* 表单 */
.auth-container { background: white; border-radius: 16px; padding: 30px 40px; max-width: 700px; width: 90%; box-shadow: 0 10px 40px rgba(0,0,0,0.15); border: 1px solid #d0e4f0; }
.supplementary-container, .questionnaire-container, .result-container, .admin-container, .list-container { background: white; border-radius: 16px; padding: 30px 35px; max-width: 900px; width: 92%; box-shadow: 0 10px 40px rgba(0,0,0,0.15); border: 1px solid #d0e4f0; }
.patient-info-container { background: white; border-radius: 16px; padding: 20px 35px; max-width: 800px; width: 90%; box-shadow: 0 10px 40px rgba(0,0,0,0.15); border: 1px solid #d0e4f0; }
.visit-type-container { background: white; border-radius: 16px; padding: 40px; max-width: 800px; width: 90%; box-shadow: 0 10px 40px rgba(0,0,0,0.15); border: 1px solid #d0e4f0; }
.form-group { margin-bottom: 10px; }
.form-group label { display: block; margin-bottom: 4px; font-weight: bold; color: #1a5276; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 10px 14px; border: 1px solid #c5d8e8; border-radius: 8px; font-size: 15px; background: linear-gradient(135deg, #f8fbfd 0%, #eef5fa 100%); transition: all 0.3s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: #2980b9; background: #fff; box-shadow: 0 0 0 3px rgba(41,128,185,0.1); }
.form-row { display: flex; gap: 15px; }
.form-row .form-group { flex: 1; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.error-msg { color: #e74c3c; font-size: 14px; margin-bottom: 10px; }
.success-msg { color: #27ae60; font-size: 14px; margin-bottom: 10px; }

/* 按钮 */
.btn-primary, .btn-secondary, .btn-exit { padding: 10px 22px; border: none; border-radius: 8px; font-size: 15px; cursor: pointer; margin: 0; transition: all 0.3s; white-space: nowrap; }
.btn-primary { background: linear-gradient(135deg, #2980b9, #1a6fa0); color: white; }
.btn-primary:hover { background: linear-gradient(135deg, #1a6fa0, #145a82); transform: translateY(-1px); }
.btn-secondary { background: linear-gradient(135deg, #7f8c8d, #6c7a7b); color: white; }
.btn-secondary:hover { background: linear-gradient(135deg, #6c7a7b, #5a6869); transform: translateY(-1px); }
.btn-exit { background: #e74c3c; color: white; margin-top: 20px; }
.nav-buttons { display: flex; justify-content: center; flex-wrap: nowrap; margin-top: 10px; gap: 10px; }

/* 就诊类型 */
.visit-type-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 25px 0; }
.visit-card { background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%); border: 2px solid #d5dce4; border-radius: 14px; padding: 25px 15px; cursor: pointer; text-align: center; transition: all 0.3s; min-height: 120px; display: flex; flex-direction: column; justify-content: center; }
.visit-card:hover { border-color: #2980b9; transform: translateY(-4px); box-shadow: 0 6px 20px rgba(41,128,185,0.2); }
.visit-card h3 { color: #1a5276; margin: 8px 0 5px; font-size: 20px; }
.visit-card p { color: #666; font-size: 13px; }

/* 问卷 */
.progress-bar { width: 100%; height: 8px; background: #e0ecf3; border-radius: 4px; margin-bottom: 10px; }
.progress-fill { height: 100%; background: linear-gradient(90deg, #2980b9, #1a6fa0); border-radius: 4px; transition: width 0.3s; }
.progress-text { text-align: center; color: #1a5276; margin-bottom: 15px; font-size: 14px; }
.question-content { min-height: 200px; }
.question-text { font-size: 22px; font-weight: bold; color: #4a2068; margin-bottom: 15px; }
.option-cards { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.option-card { flex: 0 1 auto; max-width: 100%; word-wrap: break-word; overflow-wrap: break-word; white-space: normal; }
.option-card { padding: 6px 10px; border: 2px solid #c5d8e8; border-radius: 6px; cursor: pointer; transition: all 0.2s; font-size: 14px; background: linear-gradient(135deg, #f8fbfd 0%, #eef5fa 100%); line-height: 1.4; }
.option-card:hover { border-color: #2980b9; background: linear-gradient(135deg, #eef5fa 0%, #dceef5 100%); }
.option-card.selected { border-color: #2980b9; background: linear-gradient(135deg, #2980b9, #1a6fa0); color: white; font-weight: bold; }
.option-card .option-label { font-weight: bold; font-size: 12px; margin-right: 4px; }

/* 结果 */
.result-section { background: #f8f9fa; border-radius: 12px; padding: 20px; margin-bottom: 15px; }
.result-section h3 { color: #1a5276; margin-bottom: 10px; }
.ai-content { background: white; border: 1px solid #ddd; border-radius: 8px; padding: 20px; white-space: pre-wrap; line-height: 1.8; font-size: 14px; max-height: 500px; overflow-y: auto; }

/* 图片预览 */
.image-preview { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.image-preview img { width: 100px; height: 100px; object-fit: cover; border-radius: 8px; border: 1px solid #ddd; }

/* 列表 */
.assessment-item { background: #f8f9fa; border-radius: 8px; padding: 15px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; }
.assessment-item .info { flex: 1; }
.assessment-item .actions { display: flex; gap: 5px; }


/* Admin First Login */
.first-login-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    color: #856404;
    font-size: 14px;
}

/* Forgot Password */
.forgot-password-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.verification-code-input {
    display: flex;
    gap: 10px;
}

.verification-code-input input {
    flex: 1;
}

.verification-code-input button {
    white-space: nowrap;
    padding: 10px 15px;
    background: #2196f3;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.verification-code-input button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Admin Dashboard */
.admin-dashboard {
    padding: 20px;
}

.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.stat-card .stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #2196f3;
}

.stat-card .stat-label {
    color: #666;
    margin-top: 5px;
}

.doctor-list {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.doctor-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.doctor-item:last-child {
    border-bottom: none;
}

.doctor-info {
    flex: 1;
}

.doctor-info .doctor-name {
    font-weight: bold;
    font-size: 16px;
}

.doctor-info .doctor-details {
    color: #666;
    font-size: 13px;
    margin-top: 3px;
}

.assessment-list {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.assessment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.assessment-item:last-child {
    border-bottom: none;
}

.assessment-info {
    flex: 1;
}

.assessment-info .patient-name {
    font-weight: bold;
}

.assessment-info .assessment-date {
    color: #666;
    font-size: 13px;
}

.btn-danger {
    background: #f44336;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
}

.btn-danger:hover {
    background: #d32f2f;
}

.filter-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-bar select, .filter-bar input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* Dashboard */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}
.dashboard-menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.menu-card {
    background: white;
    border-radius: 12px;
    padding: 15px 20px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}
.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}
.menu-card h3 {
    color: #1976d2;
    margin-bottom: 4px;
    font-size: 18px;
}
.menu-card p {
    color: #666;
    font-size: 13px;
}
.btn-logout {
    background: #f44336;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
}

/* 医生仪表盘菜单 - 4个按钮排两行 */
#page-doctor-dashboard .dashboard-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 首页适配一屏显示 */
#page-home .home-container {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 20px 30px;
    max-width: 900px;
    width: 90%;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: auto;
}

#page-home h1 {
    font-size: 26px;
    margin-bottom: 6px;
    color: #1a5276;
}

#page-home .subtitle {
    font-size: 15px;
    color: #666;
    margin-bottom: 12px;
}

#page-home .role-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    width: 100%;
    max-width: 720px;
}

#page-home .role-card {
    background: white;
    border-radius: 12px;
    padding: 12px 12px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border: 2px solid transparent;
}

#page-home .role-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-color: #1976d2;
}

#page-home .role-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 6px;
}

#page-home .role-card h3 {
    font-size: 22px;
    color: #1976d2;
    margin: 4px 0 3px;
}

#page-home .role-card p {
    font-size: 12px;
    color: #666;
    line-height: 1.3;
}

#page-home .btn-exit {
    margin-top: 12px;
    padding: 8px 24px;
    font-size: 15px;
}

.patient-info-container h2 {
    font-size: 22px;
    color: #1a5276;
    margin-bottom: 10px;
    text-align: center;
    font-weight: bold;
}

/* 登录/注册页面按钮一行 */
.auth-container .nav-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: 15px;
}
.auth-container .nav-buttons button {
    padding: 10px 22px;
    font-size: 15px;
    white-space: nowrap;
}
.auth-container .nav-buttons button {
    padding: 10px 20px;
    font-size: 14px;
    white-space: nowrap;
}

.auth-container .form-group {
    margin-bottom: 12px;
}
.auth-container h2 {
    font-size: 22px;
    color: #1a5276;
    margin-bottom: 15px;
}

/* 就诊卡片彩色背景 */
.visit-card:nth-child(1) {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-color: #90caf9;
}
.visit-card:nth-child(1):hover {
    border-color: #42a5f5;
    box-shadow: 0 6px 20px rgba(66,165,245,0.25);
}
.visit-card:nth-child(1) h3 {
    color: #1565c0;
}

.visit-card:nth-child(2) {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-color: #a5d6a7;
}
.visit-card:nth-child(2):hover {
    border-color: #66bb6a;
    box-shadow: 0 6px 20px rgba(102,187,106,0.25);
}
.visit-card:nth-child(2) h3 {
    color: #2e7d32;
}

.visit-card:nth-child(3) {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-color: #ffcc80;
}
.visit-card:nth-child(3):hover {
    border-color: #ffa726;
    box-shadow: 0 6px 20px rgba(255,167,38,0.25);
}
.visit-card:nth-child(3) h3 {
    color: #e65100;
}

/* 问诊文本框增加行数 */
.form-group textarea {
    min-height: 160px;
    resize: vertical;
}

.option-card .option-label {
    font-weight: bold;
    font-size: 12px;
    margin-right: 4px;
    color: #d4a5a5;
}





/* 选中状态下字母代号变白色 */
.option-card.selected .option-label {
    color: white;
}

/* 数字评分题选项：深蓝色加粗 */
.numeric-option .option-label {
    color: #1a5276;
    font-weight: bold;
    font-size: 16px;
}
.numeric-option.selected .option-label {
    color: white;
}

/* DHI量表选项：深蓝色加粗 */
.dhi-option .option-label {
    color: #1a5276 !important;
    font-weight: bold !important;
    font-size: 16px !important;
}
.dhi-option.selected .option-label {
    color: white !important;
}

/* 量表题选项（DHI/SAS/SDS）：深蓝色加粗 */
.scale-option .option-label {
    color: #1a5276 !important;
    font-weight: bold !important;
    font-size: 16px !important;
}
.scale-option.selected .option-label {
    color: white !important;
}





.file-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.file-item { position: relative; width: 100px; height: 100px; border-radius: 8px; border: 1px solid #ddd; overflow: hidden; }
.file-item img { width: 100%; height: 100%; object-fit: cover; }
.file-item .file-icon { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #f0f0f0; font-size: 12px; color: #666; text-align: center; padding: 5px; }
.file-item .remove-btn { position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; background: rgba(255,0,0,0.8); color: white; border: none; border-radius: 50%; cursor: pointer; font-size: 12px; line-height: 20px; text-align: center; }

/* 首页医疗免责声明 */
.medical-disclaimer {
    background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
    border: 1px solid #ffc107;
    border-left: 4px solid #e67e22;
    border-radius: 8px;
    padding: 10px 20px;
    margin: 0 auto 16px;
    max-width: 100%;
    width: 100%;
    color: #8a6d3b;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
    overflow: visible;
    box-shadow: 0 2px 8px rgba(230,126,34,0.1);
}

.disclaimer-icon {
    color: #e67e22;
    font-weight: bold;
    margin-right: 5px;
    font-size: 15px;
}

/* 备案信息 */
.filing-info {
    margin-top: 16px;
    text-align: center;
    font-size: 12px;
    color: #999;
    line-height: 1.8;
}

.filing-info a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.filing-info a:hover {
    color: #1a5276;
    text-decoration: underline;
}

.filing-divider {
    margin: 0 8px;
    color: #ccc;
}

.beian-icon {
    width: 14px;
    height: 14px;
    vertical-align: -2px;
    margin-right: 3px;
}

/* 响应式：小屏幕适配 */
@media (max-width: 600px) {
    .medical-disclaimer {
        font-size: 10px;
        padding: 8px 10px;
        margin-bottom: 12px;
        white-space: normal;
    }
    .filing-info {
        font-size: 11px;
    }
}

/* ===== Toolbar Search ===== */
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar-search { flex: 1; min-width: 240px; max-width: 360px; padding: 8px 12px; border: 2px solid #e0e0e0; border-radius: 8px; font-size: 14px; }
.toolbar-search:focus { border-color: #1565c0; outline: none; }

/* ===== Patient Query ===== */
.query-card { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); margin-bottom: 24px; }
.patient-report-cards { display: flex; flex-direction: column; gap: 16px; }
.report-card { background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.report-card-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.visit-type-badge { background: #e3f2fd; color: #1565c0; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-right: 10px; }
.report-date { color: #78909c; font-size: 13px; }
.concise-diagnosis-list { list-style: none; padding: 0; margin: 0; }
.concise-diagnosis-list li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid #eceff1; }
.concise-diagnosis-list li:last-child { border-bottom: none; }
.diagnosis-rank { flex: 0 0 auto; background: #1565c0; color: #fff; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; }
.diagnosis-name { font-size: 16px; font-weight: 600; color: #263238; line-height: 1.5; }
.report-note { color: #c62828; font-size: 13px; line-height: 1.6; margin-top: 14px; margin-bottom: 0; }

@media (max-width: 768px) {
    .toolbar-search { max-width: 100%; }
    .report-card-header { align-items: stretch; }
    .report-card-header .btn { width: 100%; }
}

/* ===== Exam Input (v2.2) ===== */
.exam-input-buttons { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.exam-upload-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; background: #f0f4f8; border: 2px solid #1565c0; border-radius: 8px; color: #1565c0; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.exam-upload-btn:hover { background: #1565c0; color: #fff; }
.exam-upload-btn span { pointer-events: none; }
.handwriting-area { border: 2px dashed #ccc; border-radius: 8px; padding: 12px; margin-bottom: 12px; background: #fafafa; }
.handwriting-area canvas { width: 100%; max-width: 600px; height: auto; border: 1px solid #ddd; border-radius: 4px; background: #fff; touch-action: none; cursor: crosshair; display: block; }
.canvas-controls { display: flex; gap: 10px; margin-top: 8px; }


/* ===== 量表每页多题显示（DHI等） ===== */
.scale-page-question { background: linear-gradient(135deg, #f8fbfd 0%, #eef5fa 100%); border: 1px solid #d0e4f0; border-radius: 10px; padding: 16px 20px; margin-bottom: 16px; }
.scale-page-question:last-child { margin-bottom: 0; }
.scale-page-question .scale-question-text { font-size: 18px; font-weight: bold; color: #4a2068; line-height: 1.6; margin-bottom: 12px; }
.scale-q-index { display: inline-block; width: 28px; height: 28px; line-height: 28px; text-align: center; background: #1a5276; color: #ffffff; border-radius: 50%; font-size: 14px; font-weight: bold; margin-right: 10px; vertical-align: middle; }
.scale-page-question .scale-options { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 0; }
.scale-page-question .scale-options .scale-option { padding: 8px 24px; font-size: 15px; line-height: 1.5; }


/* ===== 问诊备选答案：加粗深蓝色 ===== */
.option-card.qn-option { color: #1a5276; font-weight: bold; }
.option-card.qn-option .option-label { color: #1a5276; font-weight: bold; }
.option-card.qn-option.selected,
.option-card.qn-option.selected .option-label { color: #ffffff; }


/* ===== 问诊备选答案字母代码：浅粉红不抢眼 ===== */
.option-card.qn-option .qn-code { color: #de9aaf; font-weight: normal; }
.option-card.qn-option.selected .qn-code { color: #ffd9e2; }


/* ===== 提建议/留言弹窗 ===== */
.feedback-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 9999; display: flex; align-items: center; justify-content: center; }
.feedback-modal-content { background: #ffffff; border-radius: 12px; width: 90%; max-width: 520px; padding: 24px 28px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); box-sizing: border-box; }
.feedback-modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.feedback-modal-header h3 { color: #1a5276; margin: 0; }
.feedback-modal-close { font-size: 26px; color: #999999; cursor: pointer; line-height: 1; }
.feedback-modal-close:hover { color: #1a5276; }
.feedback-modal-content input, .feedback-modal-content textarea { width: 100%; padding: 10px 12px; border: 1px solid #cfd8e3; border-radius: 8px; font-size: 15px; font-family: inherit; box-sizing: border-box; }
.feedback-modal-content textarea { resize: vertical; line-height: 1.6; }
.feedback-modal-content input:focus, .feedback-modal-content textarea:focus { outline: none; border-color: #1a5276; }


/* ===== 医生工作台菜单卡片：两行排列 ===== */
#page-doctor-dashboard .dashboard-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
#page-doctor-dashboard .dashboard-menu .menu-card { flex: 0 0 calc((100% - 30px) / 3); width: auto; margin: 0; box-sizing: border-box; }

/* 本地知识库不可用时的低干扰提醒（仅诊断结果区） */
.rag-warning { margin: 8px 0 12px; padding: 8px 12px; font-size: 13px; line-height: 1.6; color: #8a6d1d; background: #fff8e1; border: 1px solid #f0d98a; border-radius: 8px; }
