/**
 * 无为心力训练 - 前端样式
 * 简洁、移动端友好的设计风格
 */

/* ========== 基础重置 ========== */
.wmt-home-container,
.wmt-report-wrapper,
.wmt-practice-container {
    max-width: 680px;
    margin: 0 auto;
    padding: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: #3A3A3A;
    line-height: 1.7;
    box-sizing: border-box;
    background: #F5F0E6;
    min-height: 100vh;
}

/* ========== 按钮 ========== */
.wmt-btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
}
.wmt-btn-primary {
    background: #1a2f3a;
    color: #fff;
    border: 2px solid #1a2f3a;
}
.wmt-btn-primary:hover {
    background: #234A48;
    border-color: #234A48;
}
.wmt-btn-outline {
    background: transparent;
    border: 2px solid #1a2f3a;
    color: #1a2f3a;
}
.wmt-btn-outline:hover {
    background: #1a2f3a;
    color: #fff;
}
.wmt-btn-block {
    display: block;
    width: 100%;
}
.wmt-btn-text {
    background: none;
    border: none;
    color: #95A5A6;
    font-size: 13px;
    cursor: pointer;
    padding: 8px;
}
.wmt-btn-text:hover {
    color: #E74C3C;
}

/* ========== 登录弹窗 ========== */
.wmt-auth-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.wmt-auth-modal {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.wmt-auth-tabs {
    display: flex;
    margin-bottom: 24px;
    border-bottom: 2px solid #E0D8CA;
}
.wmt-auth-tab {
    flex: 1;
    padding: 10px;
    border: none;
    background: none;
    font-size: 15px;
    color: #999;
    cursor: pointer;
    transition: all 0.2s;
}
.wmt-auth-tab.active {
    color: #1a2f3a;
    border-bottom: 2px solid #1a2f3a;
    margin-bottom: -2px;
}
.wmt-auth-title {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #3A3A3A;
}
.wmt-field {
    margin-bottom: 14px;
}
.wmt-field input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E0D8CA;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.2s;
    background: #FAF9F6;
}
.wmt-field input:focus {
    outline: none;
    border-color: #1a2f3a;
}
.wmt-auth-hint {
    text-align: center;
    font-size: 13px;
    color: #999;
    margin-bottom: 16px;
}
.wmt-auth-error {
    color: #E74C3C;
    font-size: 13px;
    text-align: center;
    min-height: 20px;
    margin-bottom: 12px;
}
.wmt-privacy-notice {
    background: #F5F0E6;
    border: 1px solid #E0D8CA;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 12px;
    color: #888;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.wmt-privacy-icon {
    font-size: 14px;
    flex-shrink: 0;
}

/* ========== 绑定卡片品牌信息 ========== */
.wmt-auth-brand {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e0d8ca;
    text-align: center;
}
.wmt-auth-brand-qrs {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-bottom: 10px;
}
.wmt-auth-brand-qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.wmt-auth-brand-qr-img {
    width: 72px;
    height: 72px;
    border-radius: 6px;
    border: 1px solid #e0d8ca;
    object-fit: contain;
}
.wmt-auth-brand-qr-label {
    font-size: 11px;
    color: #999;
}
.wmt-auth-brand-credit {
    font-size: 11px;
    color: #bbb;
    letter-spacing: 1px;
}

/* ========== Hero 区域 ========== */
.wmt-hero {
    background: linear-gradient(135deg, #1a2f3a 0%, #2d4a5e 100%);
    border-radius: 16px;
    padding: 32px 24px;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(42,79,78,0.2);
}
.wmt-hero-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
}
.wmt-hero-top h1 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}
.wmt-btn-history {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    color: #fff;
    line-height: 0;
    transition: background 0.2s;
}
.wmt-btn-history:hover {
    background: rgba(255,255,255,0.25);
}
.wmt-btn-history svg {
    display: block;
}
.wmt-hero-sub {
    font-size: 14px;
    opacity: 0.8;
    margin: 0 0 20px;
}
.wmt-hero-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
}
.wmt-stat-item {
    text-align: center;
}
.wmt-stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
}
.wmt-stat-label {
    font-size: 12px;
    opacity: 0.7;
}

/* ========== 本周提示 ========== */
.wmt-week-hint {
    background: #fefcf9;
    border: 1px solid #e0d8ca;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 16px;
    text-align: center;
    font-size: 14px;
    color: #5a5a5a;
}
.wmt-week-icon {
    margin-right: 4px;
}
.wmt-week-chosen strong {
    color: #4a908a;
}
.wmt-week-note {
    font-size: 12px;
    color: #aaa;
    margin-left: 8px;
}
.wmt-week-pick {
    color: #c8956c;
    font-weight: 500;
}

/* ========== 报告入口 ========== */
.wmt-report-entry {
    text-align: center;
    margin-bottom: 20px;
}

/* ========== 九宫格 ========== */
.wmt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}
.wmt-cell {
    background: #fff;
    border-radius: 12px;
    padding: 16px 8px;
    text-align: center;
    border: 1px solid #E0D8CA;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.wmt-cell-current, .wmt-cell-active {
    cursor: pointer;
    border: 2px solid #4a908a;
    box-shadow: 0 4px 12px rgba(74,144,138,0.15);
}
.wmt-cell-current:hover, .wmt-cell-active:hover, .wmt-cell-started:hover, .wmt-cell-new:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(74,144,138,0.2);
    z-index: 10;
    position: relative;
}
.wmt-cell-done, .wmt-cell-started {
    cursor: pointer;
    background: #FFFDF5;
    border: 1px solid #c8956c;
}
.wmt-cell-locked {
    background: #F0EDE6;
    color: #B0A898;
    border: 1px solid #DDD5C7;
}
.wmt-cell-new {
    cursor: pointer;
    background: #fff;
    border: 1px dashed #d0c8b8;
}
.wmt-cell-new:hover {
    border-style: solid;
    border-color: #4a908a;
}
.wmt-cell-icon {
    font-size: 28px;
    margin-bottom: 4px;
}
.wmt-cell-ring {
    width: 60px;
    height: 60px;
    margin: 4px 0;
}
.wmt-ring-svg {
    width: 100%;
    height: 100%;
}
.wmt-cell-name {
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
}
.wmt-cell-status {
    font-size: 11px;
    margin-top: 2px;
    opacity: 0.8;
}
.wmt-cell-done .wmt-cell-status {
    color: #D4A84B;
}

/* ========== 退出 ========== */
.wmt-logout-wrap {
    text-align: center;
    margin-top: 8px;
}

/* ========== 训练页 ========== */
.wmt-practice-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #E0D8CA;
}
.wmt-practice-back {
    color: #1a2f3a;
    text-decoration: none;
    font-size: 15px;
}
.wmt-practice-info {
    text-align: right;
}
.wmt-practice-field {
    display: block;
    font-size: 16px;
    font-weight: 700;
}
.wmt-practice-day {
    font-size: 13px;
    color: #999;
}

.wmt-section {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
}
.wmt-section-label {
    font-size: 13px;
    font-weight: 700;
    color: #1a2f3a;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 12px;
    padding: 0;
}
.wmt-field-hint {
    font-size: 13px;
    color: #999;
    margin: 0 0 10px;
}

/* 情绪选择 */
.wmt-mood-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.wmt-mood-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 4px;
    border: 2px solid #E8E8E8;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.wmt-mood-item:has(input:checked),
.wmt-mood-item.wmt-mood-checked {
    border-color: #1a2f3a;
    background: rgba(44,95,93,0.06);
}
.wmt-mood-input {
    display: none;
}
.wmt-mood-emoji {
    font-size: 28px;
    margin-bottom: 4px;
}
.wmt-mood-label {
    font-size: 11px;
    color: #666;
}

/* 能量滑块 */
.wmt-energy-slider {
    margin-top: 20px;
}
.wmt-slider-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 6px;
}
.wmt-slider-horizontal {
    -webkit-appearance: none;
    appearance: none;
    flex: 1;
    height: 12px;
    border-radius: 6px;
    background: #E0D8CA;
    outline: none;
    cursor: pointer;
}
.wmt-slider-horizontal::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #1a2f3a;
    border: 3px solid #FFFFFF;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.15s;
}
.wmt-slider-horizontal::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}
.wmt-slider-horizontal::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #1a2f3a;
    border: 3px solid #FFFFFF;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    cursor: pointer;
}
.wmt-slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
    padding: 0 4px;
}
.wmt-slider-value {
    font-size: 36px;
    font-weight: 700;
    color: #1a2f3a;
    min-width: 50px;
    text-align: center;
}

/* 深度阅读 */
.wmt-section-reading {
    background: #fff;
    padding: 20px;
    border: 1px solid #E0D8CA;
    border-radius: 12px;
}
.wmt-reading-content {
    font-size: 15px;
    line-height: 2;
    color: #333;
}

/* 引发思考 */
.wmt-section-questions {
    background: #fff;
    padding: 20px;
    border: 1px solid #E0D8CA;
    border-radius: 12px;
}
.wmt-question-item {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #E8E0D0;
}
.wmt-question-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.wmt-question-num {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #1a2f3a;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wmt-question-text {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
}

/* 行动建议 */
.wmt-section-action {
    background: #FDF8EC;
    padding: 20px;
    border: 1px solid #E8DCC8;
    border-radius: 12px;
    border-left: 4px solid #C9A86C;
}
.wmt-action-content {
    font-size: 15px;
    line-height: 1.8;
}

/* 作业记录 */
.wmt-section-journal {
    background: #fff;
    padding: 20px;
    border: 1px solid #E0D8CA;
    border-radius: 12px;
}
.wmt-journal-input {
    width: 100%;
    padding: 14px;
    border: 2px solid #E0D8CA;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    box-sizing: border-box;
    background: #FAF9F6;
}
.wmt-journal-input:focus {
    outline: none;
    border-color: #1a2f3a;
    background: #fff;
}

/* 提交按钮 */
.wmt-submit-bar {
    position: sticky;
    bottom: 0;
    background: #F5F0E6;
    padding: 16px 0;
    margin-top: 8px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.04);
}

/* 已完成打卡 */
.wmt-checkin-done {
    text-align: center;
    padding: 60px 20px;
}
.wmt-checkin-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

/* ========== 报告页 ========== */
.wmt-report-wrapper {
    max-width: 680px;
    margin: 0 auto;
    padding: 16px;
}
.wmt-report-header {
    background: linear-gradient(135deg, #2A4F4E, #3D6B6A);
    border-radius: 12px;
    padding: 32px 24px;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(42,79,78,0.2);
}
.wmt-report-header h1 {
    font-size: 22px;
    margin: 0 0 8px;
}
.wmt-report-user {
    font-size: 18px;
    font-weight: 600;
    opacity: 0.9;
}
.wmt-report-date {
    font-size: 13px;
    opacity: 0.7;
    margin-top: 4px;
}
.wmt-report-section {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid #E0D8CA;
}
.wmt-section-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 16px;
    color: #1a2f3a;
    padding-bottom: 10px;
    border-bottom: 2px solid #E8E0D0;
}

/* 总分仪表盘 */
.wmt-score-dashboard {
    text-align: center;
}
.wmt-score-circle-wrap {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 12px;
}
.wmt-score-circle {
    width: 100%;
    height: 100%;
}
.wmt-score-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}
.wmt-score-num {
    font-size: 22px;
    font-weight: 700;
}
.wmt-score-unit {
    font-size: 12px;
    font-weight: 400;
    color: #888;
}
.wmt-score-level {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}
.wmt-score-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    text-align: left;
    margin-top: 12px;
}

/* 三维得分条 */
.wmt-dim-bar-item {
    margin-bottom: 16px;
}
.wmt-dim-bar-item:last-child {
    margin-bottom: 0;
}
.wmt-dim-bar-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}
.wmt-dim-bar-name {
    font-size: 14px;
    font-weight: 600;
}
.wmt-dim-bar-score {
    font-size: 16px;
    font-weight: 700;
}
.wmt-dim-bar-track {
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}
.wmt-dim-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s ease;
}
.wmt-dim-bar-desc {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

/* 九大场景 */
.wmt-scene-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}
.wmt-scene-card {
    padding: 12px 8px;
    border-radius: 8px;
    text-align: center;
    font-size: 12px;
}
.wmt-scene-high {
    background: #E8F0E8;
    border: 1px solid #8FB88F;
}
.wmt-scene-mid {
    background: #F8F2E0;
    border: 1px solid #D4C48A;
}
.wmt-scene-low {
    background: #F5E8E5;
    border: 1px solid #D4A090;
}
.wmt-scene-name {
    font-weight: 600;
    margin-bottom: 4px;
}
.wmt-scene-score {
    font-size: 18px;
    font-weight: 700;
}
.wmt-scene-level {
    font-size: 11px;
    opacity: 0.7;
}
.wmt-scene-legend {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #999;
    justify-content: center;
}
.wmt-legend-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 4px;
}
.wmt-dot-high { background: #4A9E87; }
.wmt-dot-mid { background: #C9A86C; }
.wmt-dot-low { background: #C4775E; }

/* 优劣势 */
.wmt-swa-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.wmt-swa-col h3 {
    font-size: 14px;
    margin: 0 0 10px;
    color: #666;
}
.wmt-swa-item {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 8px;
}
.wmt-swa-strength {
    background: #E8F0E8;
    border: 1px solid #B8D4B8;
}
.wmt-swa-weakness {
    background: #F8F2E0;
    border: 1px solid #D4C48A;
}
.wmt-swa-label {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 6px;
}
.wmt-swa-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* 整体洞察 */
.wmt-insight-card {
    background: #F8F5EF;
    border: 1px solid #E0D8CA;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 12px;
}
.wmt-insight-pattern {
    margin-bottom: 8px;
}
.wmt-tag {
    display: inline-block;
    padding: 2px 8px;
    background: #1a2f3a;
    color: #fff;
    border-radius: 4px;
    font-size: 11px;
    margin-right: 8px;
}
.wmt-insight-desc {
    font-size: 14px;
    color: #333;
    line-height: 1.7;
}
.wmt-insight-meta {
    font-size: 13px;
    color: #888;
    margin-top: 8px;
    font-style: italic;
}
.wmt-force-item {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 14px;
}
.wmt-force-high {
    background: #E8F0E8;
    border: 1px solid #B8D4B8;
}
.wmt-force-low {
    background: #F8F2E0;
    border: 1px solid #D4C48A;
}
.wmt-force-item p {
    margin: 4px 0 0;
    color: #666;
}

/* 发展建议 */
.wmt-suggestion-item {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #E8E0D0;
}
.wmt-suggestion-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.wmt-sug-number {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #1a2f3a;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wmt-sug-content strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}
.wmt-sug-content p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* 返回按钮 */
.wmt-report-back {
    text-align: center;
    padding: 20px 0 40px;
}

.wmt-report-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

/* ========== 格子 Hover 浮层 ========== */
.wmt-cell {
    position: relative;
    overflow: visible;
}
.wmt-cell-tooltip {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: #fff;
    border: 1px solid #e0d8ca;
    border-radius: 10px;
    padding: 10px 14px;
    min-width: 170px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    margin-top: 8px;
}
.wmt-cell-tooltip::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fff;
}
.wmt-cell-tooltip.active {
    display: block;
}
.wmt-tooltip-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px solid #f0ece5;
    font-size: 13px;
    cursor: pointer;
    border-radius: 4px;
    padding: 6px 8px;
    margin: 0 -8px;
}
.wmt-tooltip-row:last-child {
    border-bottom: none;
}
.wmt-tooltip-row:hover {
    background: #f8f5ef;
}
.wmt-tooltip-day {
    font-weight: 600;
    color: #4a908a;
    min-width: 36px;
}
.wmt-tooltip-mood {
    flex: 1;
}
.wmt-tooltip-score {
    color: #c8956c;
    font-weight: 600;
}
.wmt-tooltip-date {
    color: #aaa;
    font-size: 11px;
}
.wmt-tooltip-loading, .wmt-tooltip-empty {
    text-align: center;
    color: #aaa;
    font-size: 12px;
    padding: 8px 0;
}

/* ========== 历史记录抽屉 ========== */
.wmt-drawer-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 9998;
}
.wmt-drawer-overlay.active {
    display: block;
}
.wmt-drawer {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 420px;
    max-width: 90vw;
    background: #fefcf9;
    z-index: 9999;
    box-shadow: -4px 0 24px rgba(0,0,0,0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.wmt-drawer.active {
    transform: translateX(0);
}
.wmt-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 12px;
    border-bottom: 1px solid #e8e0d0;
}
.wmt-drawer-header h2 {
    font-size: 18px;
    margin: 0;
    color: #3A3A3A;
}
.wmt-drawer-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}
.wmt-drawer-period {
    display: flex;
    gap: 8px;
    padding: 12px 20px;
    border-bottom: 1px solid #e8e0d0;
}
.wmt-period-btn {
    padding: 5px 16px;
    border-radius: 20px;
    border: 1px solid #e0d8ca;
    background: #fff;
    font-size: 13px;
    color: #666;
    cursor: pointer;
}
.wmt-period-btn.active {
    background: #4a908a;
    color: #fff;
    border-color: #4a908a;
}

/* 能量曲线图 */
.wmt-chart-container {
    padding: 12px 16px;
    background: #faf9f6;
    border-bottom: 1px solid #e8e0d0;
}
.wmt-chart-svg {
    width: 100%;
    height: auto;
    display: block;
}
.wmt-chart-empty {
    text-align: center;
    color: #ccc;
    padding: 40px 0;
    font-size: 14px;
}

/* 时间线列表 */
.wmt-timeline {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}
.wmt-timeline-loading, .wmt-timeline-empty {
    text-align: center;
    color: #aaa;
    padding: 40px 0;
}
.wmt-timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f0ece5;
    position: relative;
}
.wmt-timeline-item:last-child {
    border-bottom: none;
}
.wmt-timeline-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4a908a;
    margin-top: 5px;
    flex-shrink: 0;
}
.wmt-timeline-content {
    flex: 1;
    cursor: default;
}
.wmt-timeline-date {
    font-size: 13px;
    color: #999;
    margin-bottom: 2px;
}
.wmt-timeline-field {
    font-size: 15px;
    font-weight: 600;
    color: #3A3A3A;
}
.wmt-timeline-mood {
    font-size: 14px;
    color: #666;
    margin-top: 2px;
}
.wmt-timeline-energy {
    color: #c8956c;
    font-weight: 600;
    margin-left: 6px;
}
.wmt-timeline-journal-preview {
    font-size: 12px;
    color: #aaa;
    margin-top: 4px;
    font-style: italic;
}
.wmt-timeline-edit {
    background: none;
    border: 1px solid #e0d8ca;
    border-radius: 6px;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 14px;
    color: #999;
    margin-top: 2px;
    flex-shrink: 0;
    transition: all 0.2s;
}
.wmt-timeline-edit:hover {
    border-color: #c8956c;
    color: #c8956c;
}

/* ========== 回顾模态框 ========== */
.wmt-review-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 10000;
    overflow-y: auto;
    padding: 40px 16px;
    box-sizing: border-box;
}
.wmt-review-overlay.active {
    display: block;
}
.wmt-review-modal {
    background: #fefcf9;
    border-radius: 16px;
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}
.wmt-review-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0ece5;
    border: none;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    color: #666;
    z-index: 1;
}
.wmt-review-close:hover {
    background: #e0d8ca;
}
.wmt-review-body {
    padding: 28px 24px;
}
.wmt-review-loading, .wmt-review-error {
    text-align: center;
    color: #aaa;
    padding: 40px 0;
}
.wmt-review-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8e0d0;
}
.wmt-review-date {
    font-size: 13px;
    color: #999;
    margin-bottom: 4px;
}
.wmt-review-field {
    font-size: 20px;
    font-weight: 700;
    color: #3A3A3A;
}
.wmt-review-meta {
    font-size: 15px;
    color: #c8956c;
    margin-top: 6px;
}
.wmt-review-section {
    margin-bottom: 20px;
}
.wmt-review-section h4 {
    font-size: 15px;
    margin: 0 0 10px;
    color: #4a908a;
}
.wmt-review-section p {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin: 0;
}
.wmt-review-question {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}
.wmt-review-journal {
    background: #faf9f6;
    padding: 14px;
    border-radius: 8px;
    font-style: italic;
    border-left: 3px solid #c8956c;
}

/* ========== 编辑日记模态框 ========== */
.wmt-edit-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 10001;
}
.wmt-edit-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.wmt-edit-modal {
    background: #fefcf9;
    border-radius: 16px;
    max-width: 460px;
    width: 100%;
    padding: 24px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}
.wmt-edit-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.wmt-edit-header h3 {
    font-size: 17px;
    margin: 0;
    color: #3A3A3A;
}
.wmt-edit-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}
.wmt-edit-textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #e0d8ca;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    box-sizing: border-box;
    background: #faf9f6;
    line-height: 1.7;
}
.wmt-edit-textarea:focus {
    outline: none;
    border-color: #4a908a;
    background: #fff;
}
.wmt-edit-hint {
    font-size: 12px;
    color: #bbb;
    margin: 8px 0 16px;
    text-align: center;
}
.wmt-edit-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* ========== 底部品牌信息 ========== */
.wmt-brand-footer {
    margin-top: 24px;
    padding: 24px 16px 12px;
    text-align: center;
    border-top: 1px solid #e0d8ca;
}
.wmt-brand-qrs {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 16px;
}
.wmt-brand-qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.wmt-brand-qr-img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    border: 1px solid #e0d8ca;
    object-fit: contain;
}
.wmt-brand-qr-label {
    font-size: 12px;
    color: #888;
}
.wmt-brand-credit {
    font-size: 12px;
    color: #bbb;
    letter-spacing: 1px;
}

/* ========== 报告加载中 ========== */
.wmt-report-loading {
    text-align: center;
    padding: 80px 20px;
}
.wmt-loading-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 20px;
    border: 3px solid #e8e2d5;
    border-top-color: #4a908a;
    border-radius: 50%;
    animation: wmt-spin 0.8s linear infinite;
}
@keyframes wmt-spin {
    to { transform: rotate(360deg); }
}
.wmt-loading-hint {
    font-size: 13px;
    color: #bbb;
    margin-top: 4px;
}

/* ========== 响应式 ========== */
@media (max-width: 480px) {
    .wmt-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .wmt-cell {
        padding: 12px 4px;
        min-height: 100px;
    }
    .wmt-cell-icon { font-size: 22px; }
    .wmt-cell-ring { width: 44px; height: 44px; }
    .wmt-cell-name { font-size: 11px; }
    .wmt-mood-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }
    .wmt-scene-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .wmt-swa-grid {
        grid-template-columns: 1fr;
    }
    .wmt-hero-top h1 { font-size: 20px; }
    .wmt-stat-value { font-size: 22px; }

    /* 移动端抽屉全屏 */
    .wmt-drawer {
        width: 100%;
        max-width: 100vw;
    }
    .wmt-drawer-header {
        padding: 16px;
    }
    .wmt-drawer-period {
        padding: 10px 16px;
    }
    .wmt-timeline {
        padding: 12px 16px;
    }

    /* 移动端浮层调整 */
    .wmt-cell-tooltip {
        min-width: 150px;
        left: 0;
        right: auto;
        transform: none;
        z-index: 9999;
    }
    .wmt-cell-tooltip::before {
        left: 24px;
    }

    /* 移动端回顾模态框 */
    .wmt-review-modal {
        border-radius: 12px;
    }
    .wmt-review-body {
        padding: 20px 16px;
    }

    /* 移动端编辑模态框 */
    .wmt-edit-modal {
        padding: 20px;
    }

    /* 移动端底部品牌信息 */
    .wmt-brand-qrs {
        gap: 20px;
    }
    .wmt-brand-qr-img {
        width: 80px;
        height: 80px;
    }
    .wmt-brand-credit {
        font-size: 11px;
    }
}

/* ========== 确认提交浮层 ========== */
.wmt-confirm-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 10002;
}
.wmt-confirm-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.wmt-confirm-overlay-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 0;
}
.wmt-confirm-card {
    position: relative;
    z-index: 1;
    background: #fefcf9;
    border-radius: 16px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
    overflow: hidden;
}
.wmt-confirm-card-title {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #3A3A3A;
    padding: 24px 20px 16px;
    border-bottom: 1px solid #e8e0d0;
}
.wmt-confirm-card-body {
    padding: 20px;
}
.wmt-confirm-section {
    margin-bottom: 18px;
}
.wmt-confirm-section:last-child {
    margin-bottom: 0;
}
.wmt-confirm-section-title {
    font-size: 13px;
    font-weight: 600;
    color: #999;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.wmt-confirm-row {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}
.wmt-confirm-mood-tag {
    display: inline-block;
    background: #f8f3e8;
    border: 1px solid #e0d4c0;
    border-radius: 20px;
    padding: 4px 12px;
    margin: 2px 4px 2px 0;
    font-size: 14px;
    color: #6b5c3e;
}
.wmt-confirm-lock {
    font-size: 12px;
    color: #bbb;
    margin-left: 6px;
}
.wmt-confirm-journal {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    background: #faf9f6;
    padding: 12px 14px;
    border-radius: 8px;
    border-left: 3px solid #c8956c;
}
.wmt-confirm-empty {
    color: #ccc;
    font-style: italic;
}
.wmt-confirm-card-actions {
    display: flex;
    gap: 12px;
    padding: 16px 20px 24px;
    justify-content: center;
}
.wmt-confirm-card-actions .wmt-btn {
    min-width: 120px;
}

/* ========== 回顾模式样式 ========== */
.wmt-practice-review-badge {
    display: inline-block;
    background: #f0e6d0;
    color: #8b7355;
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 10px;
    margin-left: 8px;
    font-weight: 600;
    vertical-align: middle;
}
.wmt-section-lock-hint {
    display: inline-block;
    font-size: 12px;
    font-weight: 400;
    color: #bbb;
    margin-left: 8px;
    vertical-align: middle;
}
.wmt-mood-locked {
    opacity: 0.6;
    pointer-events: none;
}
.wmt-mood-locked .wmt-mood-item {
    cursor: not-allowed;
}
.wmt-mood-locked .wmt-mood-input:disabled {
    cursor: not-allowed;
}
.wmt-energy-locked {
    opacity: 0.6;
    pointer-events: none;
}
.wmt-energy-locked input[type="range"] {
    cursor: not-allowed;
}

/* ========== 历史时间线可点击 ========== */
.wmt-timeline-content.wmt-clickable {
    cursor: pointer;
}
.wmt-timeline-content.wmt-clickable:hover {
    opacity: 0.85;
}
.wmt-timeline-content.wmt-clickable:hover .wmt-timeline-field {
    color: #4a908a;
}
.wmt-timeline-goto {
    font-size: 11px;
    color: #bbb;
    margin-left: 6px;
    opacity: 0;
    transition: opacity 0.2s;
}
.wmt-timeline-content.wmt-clickable:hover .wmt-timeline-goto {
    opacity: 1;
    color: #4a908a;
}

/* ========== 浮层箭头指示 ========== */
.wmt-tooltip-arrow {
    font-size: 11px;
    color: #ccc;
    margin-left: auto;
    opacity: 0;
    transition: opacity 0.2s;
}
.wmt-tooltip-row:hover .wmt-tooltip-arrow {
    opacity: 1;
    color: #4a908a;
}

/* ========== 七日导航条 ========== */
.wmt-day-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 16px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}
.wmt-day-tab {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.18s;
    line-height: 1;
    text-align: center;
    border: 1px solid #E0E0E0;
    background: #FFFFFF;
    color: #333;
    cursor: pointer;
    box-sizing: border-box;
}
.wmt-day-tab:hover {
    border-color: #B0B0B0;
    background: #F8F8F8;
}

/* 当前天高亮：深绿底白字（参考图风格） */
.wmt-day-tab-current {
    background: #2D6A4F !important;
    border-color: #2D6A4F !important;
    color: #fff !important;
    cursor: default;
}
.wmt-day-tab-current:hover {
    background: #2D6A4F !important;
    border-color: #2D6A4F !important;
}

/* 锁定（locked）：不可点，浅灰 */
.wmt-day-tab-locked {
    background: #F5F5F5;
    border-color: #E0E0E0;
    color: #B0B0B0;
    cursor: not-allowed;
}
.wmt-day-tab-locked:hover {
    background: #F5F5F5;
    border-color: #E0E0E0;
}

/* 已完成（done）：可点，深绿边框+文字 */
.wmt-day-tab-done {
    border-color: #2D6A4F;
    color: #2D6A4F;
    background: #FFFFFF;
}
.wmt-day-tab-done:hover {
    background: #E8F5E9;
    border-color: #2D6A4F;
}

/* 激活但未完成（active）：可点，浅灰边框 */
.wmt-day-tab-active {
    border-color: #C0C0C0;
    color: #333;
    background: #FFFFFF;
}
.wmt-day-tab-active:hover {
    border-color: #2D6A4F;
    color: #2D6A4F;
    background: #F0F7F0;
}

/* 移动端七日导航条适配 */
@media (max-width: 768px) {
    .wmt-day-tabs {
        gap: 4px;
        width: 100% !important;
        max-width: 100% !important;
    }
    .wmt-day-tab {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        height: 44px;
        font-size: 14px;
        border-radius: 6px;
    }
}
