body {
    font-family: 'SF Pro', 'Helvetica Neue', Arial, 'Microsoft YaHei', sans-serif;
    background: #f7f9fa;
    margin: 0;
    padding: 0;
    color: #222;
    letter-spacing: 0.01em;
    line-height: 1.7;
}
.header {
    padding: 56px 0 20px 0;
    background: #fff;
    box-shadow: 0 2px 12px rgba(52,152,219,0.04);
    text-align: center;
}
.header h1 {
    font-size: 2.6rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 10px;
    letter-spacing: 1.2px;
}
.subtitle {
    font-size: 1.15rem;
    color: #2ecc71;
    font-weight: 400;
    margin-bottom: 0;
}
.main-container {
    max-width: 960px;
    margin: 48px auto 0 auto;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 6px 36px rgba(52,152,219,0.10);
    padding: 48px 40px 40px 40px;
}
.steps-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 44px;
    gap: 12px;
}
.step {
    flex: 1 1 0;
    text-align: center;
    padding: 14px 0;
    border-radius: 18px;
    background: #f0f4f8;
    color: #bbb;
    font-size: 1.15rem;
    font-weight: 500;
    transition: background 0.3s, color 0.3s;
    letter-spacing: 0.02em;
}
.step.active {
    background: #3498db;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(52,152,219,0.10);
}
.step-section {
    display: none;
    animation: fadeIn 0.5s;
    margin-bottom: 32px;
}
.step-section.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: none; }
}
.step-nav {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 40px;
}
/* WP-A fix: keep route controls reachable on narrow screens (negative-x P0).
   The left button group has inline margin-right:auto which, together with the
   flex-end anchor, pushed #printBtn/#saveDataBtn off-screen at negative x with
   no scroll path (body overflow-x:hidden). Wrap the group and drop the auto margin. */
@media (max-width: 560px) {
    .step-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    .step-nav > div:first-child {
        margin-right: 0 !important;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    .step-nav button {
        flex: 0 1 auto;
    }
}
button {
    position: relative;
    overflow: hidden;
    padding: 12px 32px;
    font-size: 1.15rem;
    background: #3498db;
    color: #fff;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(52,152,219,0.10);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    outline: none;
}
button:disabled {
    background: #e0e6ed;
    color: #aaa;
    cursor: not-allowed;
}
button:focus-visible {
    outline: 3px solid #1B5FA8;
    outline-offset: 2px;
}
button:hover:not(:disabled) {
    background: #217dbb;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 4px 16px rgba(52,152,219,0.16);
}
/* 表单美化 */
.form-group {
    margin-bottom: 32px;
    text-align: left;
}
.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 10px;
    color: #222;
    font-size: 1.05rem;
}
.radio-group {
    display: flex;
    gap: 36px;
    margin-top: 8px;
}
input[type="radio"] {
    accent-color: #3498db;
}
input[type="number"], input[type="text"], textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e0e6ed;
    border-radius: 12px;
    font-size: 16px;
    margin-top: 4px;
    box-sizing: border-box;
    background: #f7f9fa;
    transition: border 0.2s, box-shadow 0.2s;
}
input[type="number"]:focus, input[type="text"]:focus, textarea:focus {
    border: 1.5px solid #3498db;
    outline: none;
    background: #fff;
    box-shadow: 0 2px 8px rgba(52,152,219,0.08);
}
textarea {
    resize: vertical;
}
/* 资源思维导图样式 */
.mindmap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 40px 0 0 0;
    gap: 40px;
}
.mindmap-branch {
    flex: 1 1 220px;
    min-width: 240px;
    background: #f7f9fa;
    border-radius: 22px;
    box-shadow: 0 2px 16px rgba(52,152,219,0.08);
    padding: 32px 20px 22px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.3s, transform 0.3s;
}
.mindmap-branch:hover {
    box-shadow: 0 8px 32px rgba(46,204,113,0.12);
    transform: translateY(-2px) scale(1.04);
}
.branch-title {
    font-size: 21px;
    font-weight: 600;
    color: #3498db;
    margin-bottom: 18px;
}
.resource-cards {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
}
.resource-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 1px 10px rgba(52,152,219,0.08);
    padding: 18px 14px;
    font-size: 16px;
    color: #222;
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.2s, border 0.2s;
    text-align: center;
    border: 1.5px solid #f0f0f0;
}
.resource-card:hover {
    box-shadow: 0 4px 18px rgba(230,126,34,0.14);
    transform: translateY(-2px) scale(1.05);
    border: 1.5px solid #e67e22;
}
/* 资源简介弹窗 */
.modal {
    position: fixed;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(52,152,219,0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s;
}
.modal-content {
    background: #fff;
    border-radius: 22px;
    padding: 40px 36px 32px 36px;
    min-width: 340px;
    max-width: 90vw;
    box-shadow: 0 8px 36px rgba(52,152,219,0.18);
    position: relative;
    animation: scaleIn 0.3s;
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}
.close-btn {
    position: absolute;
    right: 18px;
    top: 12px;
    font-size: 24px;
    color: #888;
    cursor: pointer;
    font-weight: bold;
    transition: color 0.2s;
}
.close-btn:hover {
    color: #e67e22;
}
.modal-title {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 14px;
    color: #3498db;
}
.modal-desc {
    font-size: 16px;
    color: #333;
    line-height: 1.7;
}
/* 学习路线流程图样式 */
.route-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin: 48px 0 20px 0;
    flex-wrap: wrap;
}
.route-step {
    background: #f7f9fa;
    border-radius: 22px;
    box-shadow: 0 2px 16px rgba(52,152,219,0.08);
    padding: 32px 22px 22px 22px;
    min-width: 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: box-shadow 0.3s, transform 0.3s;
}
.route-step:hover {
    box-shadow: 0 8px 32px rgba(46,204,113,0.12);
    transform: translateY(-2px) scale(1.04);
}
.route-icon {
    font-size: 34px;
    margin-bottom: 12px;
}
.route-label {
    font-size: 19px;
    font-weight: 500;
    color: #3498db;
    margin-bottom: 10px;
}
.route-level {
    font-size: 15px;
    color: #333;
}
.level-value {
    font-weight: bold;
    color: #e67e22;
}
.route-arrow {
    font-size: 30px;
    color: #bbb;
    margin: 0 10px;
    user-select: none;
}
.route-tip {
    text-align: center;
    color: #888;
    font-size: 15px;
    margin-top: 14px;
}
/* 学习方法建议与计划表样式 */
.method-advice {
    display: flex;
    gap: 40px;
    margin: 40px 0 28px 0;
    flex-wrap: wrap;
}
.advice-block {
    background: #f7f9fa;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(52,152,219,0.08);
    padding: 32px 22px 22px 22px;
    min-width: 240px;
    flex: 1 1 240px;
    transition: box-shadow 0.3s, transform 0.3s;
}
.advice-block:hover {
    box-shadow: 0 8px 32px rgba(46,204,113,0.12);
    transform: translateY(-2px) scale(1.04);
}
.advice-title {
    font-size: 19px;
    font-weight: 600;
    color: #3498db;
    margin-bottom: 12px;
}
.advice-desc {
    font-size: 16px;
    color: #333;
    line-height: 1.7;
}
.week-plan {
    margin-top: 40px;
}
.plan-title {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 14px;
}
.plan-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(52,152,219,0.08);
}
.plan-table th, .plan-table td {
    padding: 16px 14px;
    text-align: center;
    font-size: 15px;
    border-bottom: 1px solid #f0f0f0;
}
.plan-table th {
    background: #f0f4f8;
    color: #3498db;
    font-weight: 600;
}
.plan-table tr:last-child td {
    border-bottom: none;
}
/* 优雅加载动画 */
.loader {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #e0e6ed;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 级别信息显示样式 */
.level-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 24px 32px;
    margin: 24px 0;
    color: white;
    text-align: center;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}

.level-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.level-text {
    font-size: 16px;
    font-weight: 500;
}

.level-value {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.level-desc {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.5;
}

/* 重新推荐按钮样式 */
.recommendation-actions {
    display: flex;
    justify-content: center;
    margin: 32px 0;
}

.regenerate-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(245, 87, 108, 0.3);
}

.regenerate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 87, 108, 0.4);
}



.btn-icon {
    font-size: 18px;
}

/* 资源详情弹窗增强样式 */
.modal-actions {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e0e6ed;
    display: flex;
    justify-content: center;
}

.detail-btn {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.3);
}

.detail-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(79, 172, 254, 0.4);
}

/* 资源卡片增强样式 */
.resource-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.resource-card:hover::before {
    left: 100%;
}

.resource-card:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

/* 加载提示样式 */
.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.loading-indicator .loader {
    width: 50px;
    height: 50px;
    border: 4px solid #e0e6ed;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* 响应式设计增强 */
@media (max-width: 768px) {
    .level-info {
        padding: 20px 24px;
        margin: 20px 0;
    }
    
    .level-badge {
        flex-direction: column;
        gap: 8px;
    }
    
    .regenerate-btn {
        padding: 14px 28px;
        font-size: 15px;
    }
    
    .detail-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .loading-indicator {
        padding: 30px 15px;
    }
} 

/* 让第二步资源清单整体居中 */
.mindmap-2x2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 32px auto;
}
.mindmap-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    width: 100%;
    margin-bottom: 18px;
} 

/* 番茄时间专注工具样式 */
#pomodoro-time {
    font-size: 38px;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 12px;
    letter-spacing: 2px;
    text-align: center;
}
#pomodoro-start, #pomodoro-pause, #pomodoro-reset {
    min-width: 60px;
    padding: 8px 18px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(52,152,219,0.10);
}
#pomodoro-start { background: #27ae60; color: #fff; }
#pomodoro-pause { background: #f39c12; color: #fff; }
#pomodoro-reset { background: #e74c3c; color: #fff; }
#pomodoro-start:hover { background: #219150; }
#pomodoro-pause:hover { background: #d68910; }
#pomodoro-reset:hover { background: #c0392b; }

#task-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
}
#task-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    background: #fff;
    border-radius: 8px;
    padding: 6px 10px 6px 4px;
    box-shadow: 0 1px 6px rgba(52,152,219,0.06);
    transition: box-shadow 0.2s;
}
#task-list li:hover {
    box-shadow: 0 4px 16px rgba(52,152,219,0.12);
}
#task-list input[type="checkbox"] {
    accent-color: #3498db;
    width: 18px;
    height: 18px;
    margin-right: 8px;
}
#task-list span {
    font-size: 15px;
    outline: none;
    transition: color 0.2s;
}
#task-list span[contenteditable="true"]:focus {
    background: #f0f4f8;
    border-radius: 4px;
}
#task-list button {
    background: none;
    border: none;
    color: #e74c3c;
    font-size: 16px;
    cursor: pointer;
    margin-left: 8px;
    border-radius: 4px;
    padding: 2px 6px;
    transition: background 0.2s;
}
#task-list button:hover {
    background: #fdecea;
}
#new-task-input {
    flex: 1;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1.5px solid #e0e6ed;
    font-size: 15px;
    background: #fff;
    transition: border 0.2s, box-shadow 0.2s;
}
#new-task-input:focus {
    border: 1.5px solid #3498db;
    outline: none;
    background: #f7f9fa;
    box-shadow: 0 2px 8px rgba(52,152,219,0.08);
}
#add-task-btn {
    background: #3498db;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(52,152,219,0.10);
}
#add-task-btn:hover {
    background: #217dbb;
} 

.resource-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #e67e22;
    margin-bottom: 18px;
    letter-spacing: 1px;
}
.plan-title {
    font-size: 19px;
    font-weight: 600;
    color: #3498db;
    margin-bottom: 18px;
    text-align: center;
    letter-spacing: 1px;
}
@media (max-width: 900px) {
    #step2 > div[style*='display: flex'] {
        flex-direction: column !important;
        gap: 24px !important;
    }
    .plan-title, .resource-section-title {
        text-align: left;
    }
} 

/* 让第四步卡片与计划表区域高度对齐、标题风格统一 */
.resource-row-flex {
    display: flex;
    gap: 40px;
    align-items: stretch;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.resource-section-title, .plan-title {
    font-size: 20px;
    font-weight: 700;
    color: #e67e22;
    margin-bottom: 18px;
    letter-spacing: 1px;
    text-align: left;
}
@media (max-width: 900px) {
    .resource-row-flex {
        flex-direction: column !important;
        gap: 24px !important;
    }
    .resource-section-title, .plan-title {
        text-align: left;
    }
} 

.resource-unified-container {
    background: #f7f9fa;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(52,152,219,0.10);
    padding: 36px 32px 32px 32px;
    margin-bottom: 36px;
    display: flex;
    gap: 48px;
    align-items: stretch;
    flex-wrap: wrap;
}
.resource-unified-container > div {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.resource-unified-container .plan-title, .resource-unified-container .resource-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #e67e22;
    margin-bottom: 18px;
    letter-spacing: 1px;
    text-align: left;
    white-space: nowrap;
}
.resource-unified-container .plan-table {
    min-width: 360px;
}
@media (max-width: 1100px) {
    .resource-unified-container {
        flex-direction: column !important;
        gap: 24px !important;
        padding: 24px 8px 18px 8px;
    }
    .resource-unified-container .plan-table {
        min-width: 0;
    }
} 

.chart-unified-container {
    background: #f7f9fa;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(52,152,219,0.10);
    padding: 36px 32px 32px 32px;
    margin-bottom: 36px;
    margin-top: 8px;
}
.chart-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #e67e22;
    margin-bottom: 18px;
    letter-spacing: 1px;
    text-align: left;
}
.chart-row-flex {
    display: flex;
    gap: 40px;
    align-items: stretch;
    flex-wrap: wrap;
    justify-content: space-between;
}
.chart-row-flex > div {
    flex: 1;
    min-width: 260px;
    max-width: 340px;
    height: 320px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px #e0eafc;
    margin: 0 8px 0 0;
    position: relative;
}
.chart-row-flex > div:last-child {
    margin-right: 0;
}
@media (max-width: 1100px) {
    .chart-row-flex {
        flex-direction: column !important;
        gap: 24px !important;
    }
    .chart-row-flex > div {
        min-width: 0;
        height: 260px;
        margin: 0 0 16px 0;
    }
    .chart-row-flex > div:last-child {
        margin-bottom: 0;
    }
} 

/* 横屏移动设备适配 */
@media (orientation: landscape) and (max-width: 1024px) {
  .main-container {
    max-width: 100vw;
    margin: 12px auto 0 auto;
    padding: 18px 4vw 18px 4vw;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(52,152,219,0.08);
  }
  .modal-content {
    min-width: 220px;
    max-width: 98vw;
    padding: 18px 2vw 18px 2vw;
    font-size: 15px;
  }
  .plan-table, .plan-table th, .plan-table td {
    font-size: 13px;
    padding: 8px 4px;
  }
  .mindmap-2x2, .mindmap-row {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 18px !important;
    max-width: 100vw;
  }
  .mindmap-branch {
    min-width: 160px;
    padding: 14px 6px 10px 6px;
    font-size: 14px;
  }
  .resource-card {
    font-size: 13px;
    padding: 10px 6px;
  }
  .pomodoro-tasks-row, .resource-unified-container, .scientific-metrics-row {
    flex-direction: column !important;
    gap: 18px !important;
    padding: 18px 2vw 18px 2vw;
  }
  .modal {
    align-items: flex-start;
    padding-top: 2vh;
  }
  .modal-content {
    min-width: 220px;
    max-width: 98vw;
    padding: 18px 2vw 18px 2vw;
  }
  .close-btn {
    font-size: 22px;
    right: 8px;
    top: 6px;
  }
  .step-nav {
    flex-direction: row;
    gap: 10px;
    margin-top: 18px;
  }
  .header h1 {
    font-size: 1.6rem;
  }
  .subtitle {
    font-size: 1rem;
  }
  .modal {
    align-items: flex-start;
    padding-top: 2vh;
    overflow-y: auto;
  }
  .modal-content {
    min-width: 220px;
    max-width: 98vw;
    padding: 12px 2vw 12px 2vw;
    font-size: 15px;
    max-height: 88vh;
    overflow-y: auto;
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
  }
  /* 只针对三个图表弹窗的图表区域做高度限制和自适应 */
  #level-curve-chart,
  #lance-curve-chart,
  #radar-chart {
    min-height: 180px;
    max-height: 38vh;
    height: 32vh !important;
    width: 100% !important;
    margin-bottom: 8px;
    box-sizing: border-box;
  }
  /* 图表弹窗信息区域样式 - 确保不重叠 */
  #level-curve-info,
  #lance-curve-info,
  #radar-info {
    margin-top: 12px !important;
    padding-top: 8px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    color: #666 !important;
    text-align: center !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
  }
  .close-btn {
    font-size: 22px;
    right: 8px;
    top: 6px;
    z-index: 10;
    background: rgba(255,255,255,0.85);
    border-radius: 50%;
    padding: 2px 8px 2px 8px;
  }
  .modal-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
    margin-top: 8px;
  }
  .modal-desc {
    font-size: 0.98rem;
    overflow-x: auto;
    padding-bottom: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
} 

/* 全局加载动画样式 */
.global-loader {
  border: 6px solid #e0e6ed;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  animation: global-spin 1.1s linear infinite;
  box-shadow: 0 4px 24px rgba(52,152,219,0.10);
  background: linear-gradient(135deg, #f7f9fa 60%, #eaf6fb 100%);
}
@keyframes global-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
#globalLoading button {
  outline: none;
  transition: background 0.2s, box-shadow 0.2s;
}
#globalLoading button:hover {
  background: #d35400;
  box-shadow: 0 4px 16px rgba(230,126,34,0.16);
} 

@media (orientation: landscape) and (max-width: 1024px) {
  #step4 .resource-unified-container {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 18px !important;
    padding: 18px 2vw 18px 2vw !important;
  }
  #step4 .resource-unified-container > div {
    flex: 1 1 340px !important;
    min-width: 280px !important;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    align-items: center !important;
    margin: 0 auto !important;
    box-sizing: border-box;
  }
  #step4 .method-advice {
    width: 100%;
    align-items: center !important;
    margin: 0 0 12px 0 !important;
  }
  #step4 .plan-table {
    min-width: 0 !important;
    font-size: 13px !important;
  }
  #step4 .plan-title, #step4 .resource-section-title {
    text-align: center !important;
    white-space: normal !important;
    width: 100%;
  }
  #step4 .resource-unified-container > div:first-child {
    margin-left: -36px !important;
  }
} 