/* ===== 全局重置 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
*:focus { outline: none; }

:root {
    --primary: #1a73e8;
    --primary-dark: #1557b0;
    --primary-light: #e8f0fe;
    --danger: #d93025;
    --danger-light: #fce8e6;
    --success: #188038;
    --success-light: #e6f4ea;
    --warning: #f9ab00;
    --warning-light: #fef7e0;
    --bg: #f0f2f5;
    --card-bg: #ffffff;
    --text: #202124;
    --text-secondary: #5f6368;
    --border: #dadce0;
    --shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.08);
    --shadow-lg: 0 4px 12px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-sm: 8px;
}

html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

#app {
    max-width: 600px;
    margin: 0 auto;
    min-height: 100vh;
    background: var(--bg);
    position: relative;
    padding-bottom: 70px;
}

/* ===== 顶部导航 ===== */
.app-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 16px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-logo {
    font-size: 28px;
}

.header-titles h1 {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
}

.header-titles .subtitle {
    font-size: 11px;
    opacity: 0.85;
    margin-top: 2px;
}

.install-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}

.install-btn:active { background: rgba(255,255,255,0.3); }

/* ===== 主内容区 ===== */
.main-content {
    padding: 16px;
    min-height: calc(100vh - 130px);
}

/* ===== 卡片 ===== */
.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: var(--shadow);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

/* ===== 首页统计卡片 ===== */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.stat-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-card .stat-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.stat-card .stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.stat-card .stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* ===== 月份卡片 ===== */
.month-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    transition: transform 0.15s;
}

.month-card.completed { border-left-color: var(--success); }
.month-card.current { border-left-color: var(--warning); }
.month-card:active { transform: scale(0.98); }

.month-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 8px;
}

.month-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.month-card.completed .month-badge {
    background: var(--success-light);
    color: var(--success);
}

.month-card.current .month-badge {
    background: var(--warning-light);
    color: var(--warning);
}

.month-info { flex: 1; margin-left: 12px; }

.month-info h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.month-info .month-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
}

.month-meta .tag {
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--bg);
}

.month-meta .tag.hours { background: var(--primary-light); color: var(--primary); }
.month-meta .tag.emergency { background: var(--danger-light); color: var(--danger); }

.month-status {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    white-space: nowrap;
}

.status-pending { background: var(--bg); color: var(--text-secondary); }
.status-completed { background: var(--success-light); color: var(--success); }
.status-current { background: var(--warning-light); color: var(--warning); }

.month-content-list {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

.month-content-list li {
    list-style: none;
    font-size: 13px;
    color: var(--text-secondary);
    padding: 3px 0;
    padding-left: 16px;
    position: relative;
}

.month-content-list li::before {
    content: "•";
    position: absolute;
    left: 4px;
    color: var(--primary);
}

.month-links {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.month-links a {
    font-size: 12px;
    color: var(--primary);
    text-decoration: none;
    padding: 4px 10px;
    border: 1px solid var(--primary);
    border-radius: 16px;
    white-space: nowrap;
}

.month-links a:active { background: var(--primary-light); }

/* ===== 资源卡片 ===== */
.resource-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: var(--shadow);
}

.resource-card h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.resource-card .resource-meta {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.resource-badge {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
}

.badge-free { background: var(--success-light); color: var(--success); }
.badge-gov { background: var(--primary-light); color: var(--primary); }
.badge-industry { background: var(--warning-light); color: var(--warning); }

.resource-card p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.resource-card a {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

/* ===== 签到功能 ===== */
.signin-section {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: var(--shadow);
}

.signin-section h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
}

.trainee-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.form-group label .required { color: var(--danger); }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    background: white;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    border-width: 2px;
}

/* ===== 签到列表 ===== */
.signin-list {
    margin-top: 12px;
}

.signin-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

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

.signin-item-info {
    flex: 1;
}

.signin-item-name {
    font-size: 14px;
    font-weight: 500;
}

.signin-item-meta {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.signin-item-time {
    font-size: 12px;
    color: var(--success);
    text-align: right;
}

.signin-item .delete-btn {
    background: none;
    border: none;
    color: var(--danger);
    font-size: 18px;
    padding: 4px 8px;
    cursor: pointer;
}

/* ===== 签名区 ===== */
.signature-section {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: var(--shadow);
}

.signature-pad-container {
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    padding: 8px;
    margin-top: 8px;
    background: #fafafa;
}

#signaturePad {
    width: 100%;
    height: 180px;
    display: block;
    cursor: crosshair;
    touch-action: none;
}

.signature-controls {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

/* ===== 按钮 ===== */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn:active { transform: scale(0.97); }

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

.btn-primary:active { background: var(--primary-dark); }

.btn-secondary {
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 13px;
}

/* ===== 报告列表 ===== */
.report-item {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 14px;
    margin-bottom: 10px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.report-item-info { flex: 1; }

.report-item-title {
    font-size: 14px;
    font-weight: 600;
}

.report-item-meta {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* ===== 底部导航 ===== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 6px 0;
    padding-bottom: env(safe-area-inset-bottom, 6px);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
    z-index: 100;
}

.nav-item {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px 8px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.2s;
    flex: 1;
}

.nav-item.active { color: var(--primary); }

.nav-icon { font-size: 22px; }
.nav-label { font-size: 10px; margin-top: 2px; }

/* ===== 弹窗 ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active { display: flex; }

.modal {
    background: white;
    border-radius: var(--radius);
    width: 100%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid var(--border);
}

.modal-header h2 {
    font-size: 17px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 4px 8px;
}

.modal-body {
    padding: 16px;
}

.modal-tip {
    font-size: 13px;
    color: var(--text-secondary);
    background: var(--primary-light);
    padding: 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

/* ===== 培训详情展开 ===== */
.training-detail {
    display: none;
    margin-top: 10px;
}

.training-detail.active { display: block; }

/* ===== 提示信息 ===== */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

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

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

/* ===== 法律依据展示 ===== */
.legal-basis {
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    padding: 12px;
    margin-bottom: 12px;
}

.legal-basis h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.legal-basis li {
    font-size: 12px;
    color: var(--text-secondary);
    list-style: none;
    padding: 3px 0;
    padding-left: 16px;
    position: relative;
}

.legal-basis li::before {
    content: "▶";
    position: absolute;
    left: 0;
    font-size: 10px;
    color: var(--primary);
}

/* ===== Toast提示 ===== */
.toast {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 10px 24px;
    border-radius: 24px;
    font-size: 14px;
    z-index: 300;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.toast.show { opacity: 1; }

/* ===== 进度条 ===== */
.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--success));
    border-radius: 4px;
    transition: width 0.3s;
}

/* ===== 章节标题 ===== */
.section-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title .section-icon {
    font-size: 22px;
}

/* ===== 月份选择器 ===== */
.month-selector {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 12px;
    -webkit-overflow-scrolling: touch;
}

.month-selector::-webkit-scrollbar { display: none; }

.month-btn {
    flex-shrink: 0;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: white;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s;
}

.month-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.month-btn:active { transform: scale(0.95); }

/* ===== 签到状态指示 ===== */
.signin-summary {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.signin-stat {
    flex: 1;
    text-align: center;
    background: var(--card-bg);
    padding: 12px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.signin-stat .num {
    font-size: 24px;
    font-weight: 700;
}

.signin-stat .label {
    font-size: 11px;
    color: var(--text-secondary);
}

@media (max-width: 380px) {
    .header-titles h1 { font-size: 15px; }
    .nav-label { display: none; }
    .nav-icon { font-size: 24px; }
}

/* ===== 培训讲解内容 ===== */
.script-item {
    background: #fafbfc;
    border-radius: var(--radius-sm);
    padding: 14px;
    margin-bottom: 10px;
    border: 1px solid var(--border);
}

.script-item.playing {
    border-color: var(--primary);
    background: var(--primary-light);
}

.script-item-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.script-item-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.script-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    flex: 1;
}

.script-content {
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--text);
    text-align: justify;
    margin-bottom: 10px;
}

/* ===== 语音播放器 ===== */
.voice-player {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border-radius: 24px;
    padding: 8px 12px;
    border: 1px solid var(--border);
}

.voice-player.playing {
    border-color: var(--primary);
    background: var(--primary-light);
}

.voice-play-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.15s;
}

.voice-play-btn:active { transform: scale(0.92); }
.voice-play-btn.playing { background: var(--danger); }

.voice-progress {
    flex: 1;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.voice-progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s;
}

.voice-status {
    font-size: 11px;
    color: var(--text-secondary);
    white-space: nowrap;
    min-width: 60px;
}

.voice-controls-mini {
    display: flex;
    align-items: center;
    gap: 6px;
}

.voice-speed-btn {
    padding: 3px 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 11px;
    background: white;
    cursor: pointer;
    color: var(--text-secondary);
}

.voice-speed-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ===== 全月播报控制条 ===== */
.month-narration-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-light), #e8f0fe);
    border-radius: var(--radius);
    padding: 12px 16px;
    margin-bottom: 12px;
}

.month-narration-bar .narration-icon {
    font-size: 24px;
}

.month-narration-bar .narration-text {
    flex: 1;
}

.month-narration-bar .narration-text h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.month-narration-bar .narration-text p {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* ===== 培训介绍 ===== */
.month-intro {
    background: #fff8e1;
    border-left: 4px solid var(--warning);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    margin-bottom: 12px;
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--text);
    text-align: justify;
}

/* ===== 浮动语音控制条 ===== */
.voice-floating-bar {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 568px;
    background: white;
    border-radius: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 150;
    transition: transform 0.3s, opacity 0.3s;
}

.voice-floating-bar.hidden {
    transform: translateX(-50%) translateY(100px);
    opacity: 0;
    pointer-events: none;
}

.voice-floating-bar .float-title {
    flex: 1;
    font-size: 12px;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.voice-floating-bar .float-progress {
    width: 60px;
    height: 3px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.voice-floating-bar .float-progress-fill {
    height: 100%;
    background: var(--primary);
    width: 0%;
    transition: width 0.3s;
}

/* ===== 版本徽章 ===== */
.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tier-badge {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
}
.tier-free { background: #e0e0e0; color: #666; }
.tier-standard { background: #e3f2fd; color: #1565c0; }
.tier-professional { background: #f3e5f5; color: #7b1fa2; }
.tier-enterprise { background: #fff3e0; color: #e65100; }

/* ===== 登录注册弹窗 ===== */
.auth-tabs {
    display: flex;
    margin-bottom: 16px;
    border-bottom: 2px solid #eee;
}
.auth-tab {
    flex: 1;
    padding: 10px;
    border: none;
    background: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}
.auth-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.auth-sub-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}
.auth-sub-tab {
    flex: 1;
    padding: 6px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: none;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
}
.auth-sub-tab.active {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 600;
}

.code-input-group {
    display: flex;
    gap: 8px;
}
.code-input-group input {
    flex: 1;
}
.code-input-group button {
    white-space: nowrap;
    font-size: 12px;
    padding: 8px 12px;
}

.auth-tip {
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 12px;
}

/* ===== 激活码弹窗 ===== */
.activation-benefits {
    background: var(--primary-light);
    border-radius: 8px;
    padding: 12px;
    margin: 12px 0;
}
.benefit-item {
    font-size: 13px;
    padding: 4px 0;
    color: var(--text);
}
.activation-contact {
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 12px;
}

#activationCode {
    text-align: center;
    font-size: 18px;
    letter-spacing: 2px;
    font-weight: 600;
}

/* ===== 月份锁定状态 ===== */
.month-status.status-locked {
    background: #fff3e0;
    color: #e65100;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 600;
}

/* ===== "我的"页面样式 ===== */
.version-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}
.version-item {
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    position: relative;
}
.version-item.current {
    border-color: var(--primary);
    background: var(--primary-light);
}
.version-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}
.version-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}
.version-features {
    text-align: left;
    font-size: 11px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}
.info-row:last-child {
    border-bottom: none;
}
.info-row span:first-child {
    color: var(--text-secondary);
}
.info-row span:last-child {
    font-weight: 500;
    text-align: right;
}

.func-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
    cursor: pointer;
}
.func-row:last-child {
    border-bottom: none;
}
.func-row.disabled {
    color: var(--text-secondary);
}
.func-row.enabled {
    color: var(--text);
}

/* ===== 弹窗修复 ===== */
.modal-overlay {
    display: none;
}
.modal-overlay.active {
    display: flex !important;
}
#authModal[style*="flex"],
#activationModal.active {
    display: flex !important;
}
