/* ====== 基础样式重置 ====== */
:root {
    /* 医疗主题配色 */
    --primary-blue: #2c5aa0;
    --secondary-blue: #4a90e2;
    --accent-green: #4caf50;
    --warning-red: #f44336;
    --neutral-gray: #f8f9fa;
    --text-dark: #2c3e50;
    --text-medium: #546e7a;
    --text-light: #78909c;
    --border-color: #e0e0e0;
    --shadow-light: rgba(0, 0, 0, 0.05);
    --shadow-medium: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.15);
    
    /* 间距系统 */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-xxl: 48px;
    
    /* 圆角系统 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* 字体系统 */
    --font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-md: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 24px;
    --font-size-xxl: 32px;
    
    /* 动画速度 */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-md);
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #f8fafc 0%, #e3f2fd 100%);
    min-height: 100vh;
}

/* ====== 布局系统 ====== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-xl);
}

/* 网格系统 */
.grid {
    display: grid;
    gap: var(--space-lg);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ====== 头部区域 ====== */
.header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a3c7e 100%);
    color: white;
    padding: var(--space-xxl) var(--space-xl);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-xxl);
    text-align: center;
    box-shadow: 0 8px 32px var(--shadow-dark);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><path d="M54 54H42V42H54V54ZM54 36H42V24H54V36ZM36 54H24V42H36V54ZM36 36H24V24H36V36ZM18 54H6V42H18V54ZM18 36H6V24H18V36ZM54 18H42V6H54V18ZM36 18H24V6H36V18ZM18 18H6V6H18V18Z" fill="white" opacity="0.1"/></svg>');
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.logo-icon i {
    font-size: 32px;
    color: white;
}

.logo-text h1 {
    font-size: var(--font-size-xxl);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: var(--space-xs);
}

.logo-text .tagline {
    font-size: var(--font-size-sm);
    opacity: 0.9;
    font-weight: 300;
}

/* ====== 主内容区 ====== */
.main-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-xxl);
    margin-bottom: var(--space-xxl);
}

@media (max-width: 1200px) {
    .main-content {
        grid-template-columns: 1fr;
    }
}

/* ====== 卡片组件 ====== */
.card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 20px var(--shadow-light);
    transition: all var(--transition-medium);
    border: 1px solid var(--border-color);
}

.card:hover {
    box-shadow: 0 8px 32px var(--shadow-medium);
    transform: translateY(-2px);
}

.card-header {
    padding: var(--space-lg) var(--space-xl);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.card-header h3 {
    font-size: var(--font-size-lg);
    color: var(--text-dark);
    font-weight: 600;
}

.card-body {
    padding: var(--space-xl);
}

/* ====== 上传区域 ====== */
.upload-section .card {
    height: 100%;
}

.upload-intro {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.upload-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
}

.upload-icon-large i {
    font-size: 40px;
    color: white;
}

.upload-intro h3 {
    font-size: var(--font-size-xl);
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

.upload-hint {
    color: var(--text-light);
    font-size: var(--font-size-sm);
    line-height: 1.5;
}

/* 上传拖放区域 */
.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-medium);
    background: var(--neutral-gray);
    margin-bottom: var(--space-lg);
    position: relative;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: var(--secondary-blue);
    background: rgba(74, 144, 226, 0.05);
}

.upload-area i {
    font-size: 48px;
    color: var(--secondary-blue);
    margin-bottom: var(--space-md);
    opacity: 0.7;
}

.upload-area p {
    margin-bottom: var(--space-sm);
    color: var(--text-medium);
}

.file-types {
    font-size: var(--font-size-xs);
    color: var(--text-light);
}

/* 预览区域 */
.preview-container {
    margin-top: var(--space-lg);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.preview-header h4 {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-md);
    color: var(--text-dark);
}

.clear-btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    background: var(--neutral-gray);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-medium);
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.clear-btn:hover {
    background: #f0f0f0;
    color: var(--warning-red);
}

.preview-content {
    background: var(--neutral-gray);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

.image-preview {
    max-width: 100%;
    max-height: 200px;
    display: block;
    margin: 0 auto var(--space-md);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px var(--shadow-light);
    border: 1px solid var(--border-color);
}

.file-info {
    display: flex;
    justify-content: space-between;
    font-size: var(--font-size-sm);
    color: var(--text-medium);
}

.file-info-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.file-info-item i {
    color: var(--text-light);
}

/* ====== 按钮系统 ====== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--font-size-md);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-medium);
    text-align: center;
    line-height: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.2);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.3);
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
}

.btn-sm {
    padding: 8px 20px;
    font-size: var(--font-size-sm);
}

.btn-lg {
    padding: 16px 36px;
    font-size: var(--font-size-lg);
}

.btn-full {
    width: 100%;
}

/* 操作按钮区域 */
.action-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-lg);
    border: none;
    border-radius: var(--radius-lg);
    background: var(--neutral-gray);
    color: var(--text-dark);
    cursor: pointer;
    transition: all var(--transition-medium);
    text-align: center;
}

.action-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow-medium);
}

.action-btn i {
    font-size: 32px;
    margin-bottom: var(--space-xs);
}

.action-btn .btn-text {
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.action-btn .btn-subtext {
    font-size: var(--font-size-xs);
    color: var(--text-light);
    margin-top: 2px;
}

/* 按钮主题色 */
.btn-causes {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    color: #2e7d32;
}

.btn-surgery {
    background: linear-gradient(135deg, #fce4ec, #f8bbd0);
    color: #c2185b;
}

.btn-intervention {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #1565c0;
}

.btn-medication {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    color: #ef6c00;
}

/* ====== 报告展示区 ====== */
.report-container {
    position: relative;
}

/* 加载状态 */
.loading-container {
    text-align: center;
    padding: var(--space-xxl);
}

.loading-spinner {
    margin-bottom: var(--space-lg);
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(44, 90, 160, 0.1);
    border-top: 4px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto var(--space-lg);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: var(--font-size-lg);
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

.loading-detail {
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

/* 错误状态 */
.error-container {
    text-align: center;
    padding: var(--space-xxl);
}

.error-icon {
    width: 80px;
    height: 80px;
    background: rgba(244, 67, 54, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
}

.error-icon i {
    font-size: 40px;
    color: var(--warning-red);
}

.error-container h4 {
    font-size: var(--font-size-lg);
    color: var(--warning-red);
    margin-bottom: var(--space-md);
}

.error-message {
    color: var(--text-medium);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

/* 报告头 */
.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 2px solid var(--border-color);
}

.report-header h3 {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-xl);
    color: var(--text-dark);
}

.report-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 6px 14px;
    background: rgba(44, 90, 160, 0.1);
    color: var(--primary-blue);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timestamp {
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

/* 报告内容 */
.report-content-wrapper {
    max-height: 500px;
    overflow-y: auto;
    margin-bottom: var(--space-xl);
}

.report-content {
    background: var(--neutral-gray);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.report-section {
    margin-bottom: var(--space-xl);
}

.report-section:last-child {
    margin-bottom: 0;
}

.section-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-lg);
    color: var(--primary-blue);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid rgba(44, 90, 160, 0.1);
}

.section-title i {
    font-size: 20px;
}

.section-content {
    color: var(--text-dark);
    line-height: 1.7;
}

.section-content p {
    margin-bottom: var(--space-md);
}

.section-content p:last-child {
    margin-bottom: 0;
}

.key-point {
    background: rgba(76, 175, 80, 0.05);
    border-left: 4px solid var(--accent-green);
    padding: var(--space-md);
    margin: var(--space-md) 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.warning-point {
    background: rgba(244, 67, 54, 0.05);
    border-left: 4px solid var(--warning-red);
    padding: var(--space-md);
    margin: var(--space-md) 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.medical-term {
    font-weight: 600;
    color: var(--primary-blue);
    cursor: help;
    border-bottom: 1px dotted var(--primary-blue);
}

/* ====== 医生推荐区 ====== */
.doctor-recommendation {
    background: linear-gradient(135deg, #f8fafc, #e8f5e9);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-top: var(--space-xl);
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.doctor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.doctor-header h4 {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-lg);
    color: var(--text-dark);
}

.recommendation-tag {
    background: var(--accent-green);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 500;
}

.doctor-card {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: var(--space-lg);
    align-items: start;
}

@media (max-width: 768px) {
    .doctor-card {
        grid-template-columns: 1fr;
    }
}

.doctor-photo {
    position: relative;
}

.doctor-photo img {
    width: 140px;
    height: 140px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 16px var(--shadow-medium);
}

.doctor-verified {
    position: absolute;
    bottom: -8px;
    right: -8px;
    background: linear-gradient(135deg, var(--accent-green), #43a047);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.doctor-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.doctor-name {
    font-size: var(--font-size-xl);
    color: var(--text-dark);
    font-weight: 700;
}

.doctor-hospital {
    font-size: var(--font-size-md);
    color: var(--primary-blue);
    font-weight: 500;
}

.doctor-title {
    font-size: var(--font-size-sm);
    color: var(--text-light);
    padding: 4px 12px;
    background: var(--neutral-gray);
    border-radius: var(--radius-sm);
    display: inline-block;
}

.doctor-details {
    margin: var(--space-md) 0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xs);
    font-size: var(--font-size-sm);
    color: var(--text-medium);
}

.detail-item i {
    color: var(--text-light);
    width: 16px;
}

.doctor-actions {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

/* ====== 详细分析面板 ====== */
.detail-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px var(--shadow-dark);
    z-index: 1000;
    display: none;
    overflow: hidden;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) var(--space-xl);
    background: linear-gradient(135deg, var(--primary-blue), #1a3c7e);
    color: white;
}

.panel-header h4 {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin: 0;
}

.close-panel {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.close-panel:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.panel-content {
    padding: var(--space-xl);
    max-height: calc(80vh - 80px);
    overflow-y: auto;
}

/* 分析内容样式 */
.analysis-content {
    line-height: 1.8;
}

.analysis-section {
    margin-bottom: var(--space-xl);
}

.analysis-section:last-child {
    margin-bottom: 0;
}

.analysis-title {
    font-size: var(--font-size-lg);
    color: var(--primary-blue);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid rgba(44, 90, 160, 0.1);
}

.analysis-list {
    list-style: none;
    padding-left: 0;
}

.analysis-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: var(--space-md);
    color: var(--text-dark);
}

.analysis-list li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary-blue);
    font-size: 20px;
    line-height: 1;
}

.analysis-highlight {
    background: rgba(44, 90, 160, 0.05);
    border-left: 4px solid var(--secondary-blue);
    padding: var(--space-md);
    margin: var(--space-md) 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* ====== 模态框 ====== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn var(--transition-medium);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow: hidden;
    animation: slideUp var(--transition-medium);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) var(--space-xl);
    background: linear-gradient(135deg, var(--primary-blue), #1a3c7e);
    color: white;
}

.modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    padding: var(--space-xl);
}

/* 医生详情样式 */
.modal-doctor-profile {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: var(--space-lg);
    align-items: start;
    margin-bottom: var(--space-xl);
}

.modal-doctor-photo img {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    border: 4px solid var(--primary-blue);
}

.modal-doctor-info h5 {
    font-size: var(--font-size-xl);
    color: var(--text-dark);
    margin-bottom: var(--space-xs);
}

.modal-hospital {
    font-size: var(--font-size-lg);
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.modal-title {
    font-size: var(--font-size-md);
    color: var(--text-medium);
    margin-bottom: var(--space-md);
}

.modal-section {
    margin-bottom: var(--space-xl);
}

.modal-section:last-child {
    margin-bottom: 0;
}

.modal-section h6 {
    font-size: var(--font-size-md);
    color: var(--text-dark);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border-color);
}

.modal-section ul {
    list-style: none;
    padding-left: 0;
}

.modal-section li {
    position: relative;
    padding-left: 24px;
    margin-bottom: var(--space-sm);
    color: var(--text-medium);
}

.modal-section li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

/* ====== 页脚 ====== */
.footer {
    text-align: center;
    padding: var(--space-xl) 0;
    margin-top: var(--space-xxl);
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: var(--font-size-sm);
}

.disclaimer {
    max-width: 800px;
    margin: var(--space-md) auto 0;
    color: var(--warning-red);
    font-size: var(--font-size-xs);
    line-height: 1.5;
}

/* ====== 工具类 ====== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }

.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }

.hidden { display: none !important; }
.visible { display: block !important; }

/* ====== 滚动条样式 ====== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--neutral-gray);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 自定义滚动条容器 */
.scrollable {
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 var(--neutral-gray);
}

/* ====== 打印样式 ====== */
@media print {
    .no-print {
        display: none !important;
    }
    
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .upload-section {
        display: none;
    }
    
    .report-content {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .action-buttons,
    .doctor-recommendation {
        break-inside: avoid;
    }
}