/* Core — 变量、主题、布局、导航、侧边栏 */
/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 统一放大基础字号，全站文字随 rem 放大 */
html {
    font-size: 19.5px;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.25rem; }

/* ========== 浅色主题 (默认) ========== */
:root,
[data-theme="light"] {
    --bg-main: #f5f7fb;
    --bg-soft: #edf3f7;
    --surface: rgba(255, 255, 255, 0.86);
    --surface-strong: #ffffff;
    --surface-alt: #f7fafc;
    --card-bg: rgba(255, 255, 255, 0.92);
    --card-hover: rgba(15, 118, 110, 0.06);
    --border: rgba(140, 162, 184, 0.2);
    --border-strong: rgba(90, 115, 138, 0.18);
    --text-main: #1f2d3a;
    --text-soft: #5f7286;
    --text-faint: #5f7286;
    --brand: #0f766e;
    --brand-2: #3b82f6;
    --brand-3: #f4d06f;
    --brand-glow: rgba(59, 130, 246, 0.09);
    --brand-glow-2: rgba(15, 118, 110, 0.08);
    --shadow-lg: 0 22px 50px rgba(27, 52, 77, 0.08);
    --shadow-md: 0 12px 32px rgba(27, 52, 77, 0.06);
    --shadow-sm: 0 8px 22px rgba(27, 52, 77, 0.05);
    --header-bg: rgba(255, 255, 255, 0.72);
    --canvas-bg: #f8fbfd;
    --input-bg: #ffffff;
    --code-bg: #f1f5f9;
}

/* ========== 深色主题 ========== */
[data-theme="dark"] {
    --bg-main: #0f172a;
    --bg-soft: #1e293b;
    --surface: rgba(30, 41, 59, 0.86);
    --surface-strong: #1e293b;
    --surface-alt: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.92);
    --card-hover: rgba(59, 130, 246, 0.12);
    --border: rgba(71, 85, 105, 0.4);
    --border-strong: rgba(71, 85, 105, 0.35);
    --text-main: #e2e8f0;
    --text-soft: #94a3b8;
    --text-faint: #8fa1b4;
    --brand: #2dd4bf;
    --brand-2: #60a5fa;
    --brand-3: #fbbf24;
    --brand-glow: rgba(59, 130, 246, 0.12);
    --brand-glow-2: rgba(45, 212, 191, 0.10);
    --shadow-lg: 0 22px 50px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.25);
    --shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.2);
    --header-bg: rgba(15, 23, 42, 0.78);
    --canvas-bg: #0f172a;
    --input-bg: #1e293b;
    --code-bg: #1e293b;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-main);
    min-height: 100vh;
    color: var(--text-main);
}

/* 头部导航 */
.header {
    background: var(--header-bg);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

/* 语言切换 */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: 980px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-soft);
    text-decoration: none;
    transition: all 0.2s ease;
}
.lang-toggle:hover {
    background: var(--card-hover);
    color: var(--brand);
    border-color: var(--brand);
}

/* 主题切换按钮 */
.theme-toggle {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-soft);
    transition: all 0.3s ease;
    font-size: 1rem;
}
.theme-toggle:hover {
    background: var(--card-hover);
    color: var(--brand);
    border-color: var(--brand);
}
[data-theme="dark"] .theme-toggle .fa-moon::before {
    content: '\f185'; /* sun icon */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--brand);
}

.logo .subtitle {
    font-size: 0.9rem;
    color: var(--text-faint);
    margin-top: 0.2rem;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: var(--text-soft);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    position: relative;
}
.nav a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--brand);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}
.nav a:hover::after,
.nav a.active::after { width: 60%; }

.nav a:hover,
.nav a.active {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.14), rgba(59, 130, 246, 0.12));
    color: var(--text-main);
}

/* 导航下拉菜单 */
.nav li.has-dropdown { position: relative; }
.nav-arrow { font-size: 0.68rem; margin-left: 3px; opacity: 0.5; transition: transform 0.2s; }
.nav li.has-dropdown:hover .nav-arrow,
.nav li.has-dropdown.open .nav-arrow { transform: rotate(180deg); }

.nav-parent {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    cursor: pointer;
    font-weight: bold;
    color: var(--text-soft);
    transition: all 0.3s ease;
    position: relative;
    user-select: none;
}
.nav-parent::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 0;
    height: 2px;
    background: var(--brand);
    transition: width 0.3s ease;
}
.nav-parent:hover,
.nav-parent.active {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.14), rgba(59, 130, 246, 0.12));
    color: var(--text-main);
}
.nav-parent:hover::after,
.nav-parent.active::after { width: 60%; }

.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 140px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    padding: 0.4rem 0;
    z-index: 100;
    list-style: none;
}
.nav li.has-dropdown:hover .nav-dropdown,
.nav li.has-dropdown.open .nav-dropdown { display: block; }
.nav-dropdown li { margin: 0; }
.nav-dropdown li a {
    display: block;
    padding: 0.45rem 1rem;
    font-size: 0.92rem;
    white-space: nowrap;
    text-decoration: none;
    color: var(--text-soft);
    transition: background 0.15s;
}
.nav-dropdown li a:hover { background: rgba(15,118,110,0.08); color: var(--text-main); }
.nav-dropdown li a.active { color: var(--brand); font-weight: 600; }

.auth {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info {
    color: var(--brand);
    font-weight: bold;
}

.btn {
    padding: 0.5rem 1.5rem;
    border-radius: 999px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-login {
    background: var(--input-bg);
    border: 1px solid var(--border-strong);
    color: var(--brand);
    box-shadow: var(--shadow-sm);
}

.btn-login:hover {
    background: var(--card-hover);
    color: var(--brand);
    border-color: var(--brand);
}

.btn-register {
    background: var(--brand);
    color: #ffffff;
    border: 1px solid transparent;
}

.btn-register:hover {
    background: var(--brand-2);
}

.btn-logout {
    background: #d95f5f;
    color: #fff;
    border: 1px solid transparent;
}

.btn-logout:hover {
    background: #c94d4d;
}

/* 主内容区 */
.main-content {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

/* 右侧页面内容区（侧边栏右侧） */
.page-area {
    flex: 1;
    min-width: 0;
}

/* 首页布局 */
.home-container {
    display: grid;
    grid-template-columns: 250px 1fr 300px;
    gap: 2rem;
}

/* 侧边栏 */
.sidebar {
    background: var(--surface);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.sidebar h2 {
    margin-bottom: 1.5rem;
    color: var(--brand);
}

.data-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.data-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: var(--surface-alt);
    border-radius: 10px;
}

.data-item:hover {
    background: rgba(15, 118, 110, 0.08);
}

.data-item i {
    color: var(--brand);
}

.data-name {
    flex: 1;
}

.data-size {
    color: var(--text-faint);
    font-size: 0.9rem;
}

.download-btn {
    background: var(--text-main);
    color: var(--bg-main);
    border: none;
    padding: 0.4rem 0.9rem;
    border-radius: 980px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}
.download-btn:hover {
    opacity: 0.88;
}

/* 模型预测区 */
.model-section {
    background: var(--surface);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.model-section h2 {
    margin-bottom: 1.5rem;
    color: var(--brand);
}

.input-form {
    background: var(--surface-alt);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--text-soft);
}

.form-group input {
    padding: 0.7rem;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--input-bg);
    color: var(--text-main);
    font-size: 1rem;
}

.predict-btn {
    width: 100%;
    background: var(--text-main);
    color: var(--bg-main);
    border: none;
    padding: 0.9rem;
    border-radius: 980px;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    margin-top: 1rem;
}

.predict-btn:hover {
    background: var(--brand);
}
.predict-btn:active {
    background: var(--brand-2);
}

/* 预测结果 */
.prediction-result {
    background: var(--surface-alt);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border);
}

.prediction-result h3 {
    margin-bottom: 1rem;
    color: var(--brand);
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.result-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--border);
}

.result-card.ne-card {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(59, 130, 246, 0.12));
    border: 1px solid rgba(59, 130, 246, 0.12);
}

.result-card.tec-card {
    background: linear-gradient(135deg, rgba(244, 208, 111, 0.22), rgba(238, 232, 170, 0.22));
    border: 1px solid rgba(244, 208, 111, 0.28);
}

.result-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-faint);
    margin-bottom: 0.5rem;
}

.result-value {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--brand);
}

.result-unit {
    display: block;
    font-size: 0.85rem;
    color: var(--text-faint);
    margin-top: 0.2rem;
}

.prediction-time {
    font-size: 0.9rem;
    color: var(--text-faint);
    text-align: right;
}

/* 可视化面板 */
.visualization-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.visualization-panel h2 {
    color: var(--brand);
}

.gif-container {
    background: var(--surface);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--border);
}

.gif-placeholder {
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--surface-alt);
    border-radius: 10px;
    color: var(--text-faint);
}

.gif-placeholder i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.data-3d {
    background: var(--surface);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--border);
}

.data-item-3d {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: var(--surface-alt);
    border-radius: 10px;
    margin-bottom: 0.5rem;
    color: var(--brand);
}

.data-item-3d:last-child {
    margin-bottom: 0;
}

.status-panel {
    background: var(--surface);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--border);
}

.status-panel h4 {
    margin-bottom: 1rem;
    color: var(--brand);
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.status-dot.online {
    background: var(--brand);
}

/* 通用页面样式 */
.about-container,
.data-container,
.download-container,
.model-container,
.tec-container,
.visualization-container,
.vis-container,
.news-container {
    background: var(--surface);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.about-container h1,
.data-container h1,
.download-container h1,
.model-container h1,
.tec-container h1,
.visualization-container h1,
.vis-container h1,
.news-container h1 {
    margin-bottom: 2rem;
    color: var(--brand);
}

.about-section,
.tec-section,
.vis-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.about-section h2,
.tec-section h2,
.vis-section h2 {
    margin-bottom: 1rem;
    color: var(--brand);
}

.about-section ul,
.data-info ul {
    list-style: none;
    padding-left: 0;
}

.about-section li,
.data-info li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.about-section li:last-child,
.data-info li:last-child {
    border-bottom: none;
}

/* 特性网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--border);
}

.feature-card:hover {
    background: rgba(15, 118, 110, 0.06);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--brand);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-soft);
    font-size: 0.9rem;
}

/* 数据来源卡片 */
.data-sources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.data-source-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border);
}

.data-source-card:hover {
    border-color: rgba(15, 118, 110, 0.22);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.card-header i {
    color: var(--brand);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.file-size {
    color: var(--text-faint);
    font-size: 0.9rem;
}

/* 模型图 */
.model-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    background: var(--surface-alt);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.diagram-box {
    padding: 1.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    min-width: 150px;
}

.diagram-box.input {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.18);
}

.diagram-box.transformer {
    background: rgba(15, 118, 110, 0.12);
    border: 1px solid rgba(15, 118, 110, 0.18);
}

.diagram-box.output {
    background: rgba(244, 208, 111, 0.22);
    border: 1px solid rgba(244, 208, 111, 0.28);
}

.diagram-box i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.arrow {
    font-size: 2rem;
    color: var(--brand-2);
}

/* 特性列表 */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--border);
}

.feature-name {
    font-weight: bold;
    color: var(--brand);
}

.feature-desc {
    color: var(--text-soft);
}

/* 参数表格 */
.params-table {
    width: 100%;
    border-collapse: collapse;
}

.params-table th,
.params-table td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.params-table th {
    color: var(--brand);
    width: 30%;
}

/* TEC监测 */
.tec-monitor {
    background: var(--surface-alt);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border);
}

.monitor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.monitor-item {
    text-align: center;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--border);
}

.monitor-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-faint);
    margin-bottom: 0.5rem;
}

.monitor-value {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--brand);
}

.monitor-unit {
    display: block;
    font-size: 0.85rem;
    color: var(--text-faint);
}

/* 地图和图表占位符 */
.tec-map,
.tec-chart,
.vis-3d,
.ne-distribution,
.animation-container {
    background: var(--surface-alt);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border);
}

.map-placeholder,
.chart-placeholder,
.vis-placeholder,
.distribution-placeholder,
.animation-placeholder {
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border-radius: 10px;
    color: var(--text-faint);
    border: 1px solid var(--border);
}

.map-placeholder i,
.chart-placeholder i,
.vis-placeholder i,
.distribution-placeholder i,
.animation-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* 新闻列表 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.news-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border);
}

.news-card:hover {
    border-color: rgba(59, 130, 246, 0.2);
}

.news-date {
    color: var(--brand);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.news-card p {
    color: var(--text-soft);
    margin-bottom: 1rem;
}

.read-more {
    color: var(--brand);
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline;
}

.news-archive {
    background: var(--surface-alt);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border);
}

.archive-years {
    display: flex;
    gap: 2rem;
}

.archive-link {
    color: var(--brand);
    text-decoration: none;
}

.archive-link:hover {
    text-decoration: underline;
}

/* 认证页面 */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.auth-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid var(--border);
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--brand);
}

.error-message {
    background: rgba(255, 71, 87, 0.2);
    border: 1px solid #ff4757;
    border-radius: 8px;
    padding: 0.8rem;
    color: #ff4757;
    margin-bottom: 1rem;
    text-align: center;
}

.auth-card .form-group {
    margin-bottom: 1rem;
}

.auth-card .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-soft);
}

.auth-card .form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--input-bg);
    color: var(--text-main);
    font-size: 1rem;
}

.submit-btn {
    width: 100%;
    background: var(--text-main);
    color: var(--bg-main);
    border: none;
    padding: 0.9rem;
    border-radius: 980px;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: var(--brand);
}
.submit-btn:active {
    background: var(--brand-2);
}

.register-link {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-faint);
}

.register-link a {
    color: var(--brand);
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

/* 页脚 */
.footer {
    text-align: center;
    padding: 2rem;
    background: var(--header-bg);
    border-top: 1px solid var(--border);
    margin-top: 2rem;
    color: var(--text-faint);
}
.footer-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .45rem 1.2rem;
    margin-top: .8rem;
    font-size: .78rem;
    line-height: 1.6;
}
.footer-meta a { color: var(--brand); text-underline-offset: .18em; }
.footer-meta a:hover { color: var(--text-main); }

/* 响应式设计 */
@media (max-width: 1200px) {
    .home-container {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .data-sources-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .monitor-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .resource-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .result-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .data-sources-grid {
        grid-template-columns: 1fr;
    }

    .monitor-grid {
        grid-template-columns: 1fr;
    }

    .model-diagram {
        flex-direction: column;
        gap: 1rem;
    }

    .arrow {
        transform: rotate(90deg);
    }

    .resource-hero {
        grid-template-columns: 1fr;
    }
}

