/* ============================================
   大连青促会后台管理 - 样式表
   ============================================ */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #eff6ff;
    --accent: #e8623a;
    --accent-light: #fef0ec;
    --green: #1a7a4c;
    --green-light: #e8f5ee;
    --danger: #e74c3c;
    --warning: #f39c12;
    --info: #3498db;
    --text: #1a1a1a;
    --text-light: #555;
    --text-muted: #888;
    --bg: #f9f9f8;
    --bg-white: #ffffff;
    --border: #e8e8e6;
    --border-light: #f0f0ed;
    --shadow: 0 2px 12px rgba(0,0,0,0.06);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.08);
    --radius: 10px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
    --sidebar-width: 240px;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   登录页
   ============================================ */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #60a5fa 100%);
    padding: 20px;
}

.login-container {
    background: white;
    border-radius: 16px;
    padding: 48px 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.login-header {
    text-align: center;
    margin-bottom: 36px;
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.login-logo .login-logo-img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
}

.login-logo .login-logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
}

.login-header p {
    font-size: 13px;
    color: var(--text-muted);
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.login-form input {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--text);
    transition: all 0.2s;
    font-family: inherit;
}

.login-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
    background: white;
}

.login-error {
    font-size: 13px;
    color: var(--danger);
    min-height: 20px;
    margin-bottom: 8px;
    opacity: 0;
    transition: opacity 0.2s;
}

.login-error.show {
    opacity: 1;
}

.btn-login {
    width: 100%;
    padding: 13px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: var(--primary);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
}

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

.login-hint {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 20px;
}

/* ============================================
   后台布局
   ============================================ */
.admin-body {
    display: flex;
    min-height: 100vh;
}

/* 侧边栏 */
.sidebar {
    width: var(--sidebar-width);
    background: #1e3a5f;
    color: rgba(255,255,255,0.85);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    z-index: 100;
    transition: transform 0.3s;
}

/* 侧边栏折叠状态 */
.sidebar-collapsed .sidebar {
    transform: translateX(-100%);
}

.sidebar-collapsed .main-content {
    margin-left: 0;
}

.sidebar-collapsed .menu-collapse {
    background: #1e3a5f;
    color: white;
    border-radius: 0 8px 8px 0;
    padding: 10px 14px;
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 101;
    box-shadow: 2px 0 12px rgba(0,0,0,0.15);
}

.sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.sidebar-logo:hover {
    opacity: 0.85;
}

.sidebar-logo .sidebar-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: block;
}

.sidebar-logo .sidebar-logo-text {
    font-size: 16px;
    font-weight: 600;
    color: white;
    line-height: 1.3;
}

.sidebar-subtitle {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    padding-left: 46px;
}

.sidebar-nav {
    flex: 1;
    padding: 12px 0;
    overflow-y: auto;
}

.nav-section {
    padding: 0 16px;
    margin-bottom: 8px;
}

.nav-section-title {
    font-size: 11px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    padding: 12px 8px 6px;
    letter-spacing: 1px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    border-radius: var(--radius-sm);
    margin-bottom: 2px;
    font-size: 14px;
    transition: all 0.2s;
    cursor: pointer;
}

.nav-item:hover {
    background: rgba(255,255,255,0.08);
    color: white;
}

.nav-item.active {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

.nav-item .nav-icon {
    font-size: 18px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.nav-item .nav-badge {
    margin-left: auto;
    background: var(--accent);
    color: white;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.sidebar-footer a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 13px;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.sidebar-footer a:hover {
    color: white;
    background: rgba(255,255,255,0.08);
}

/* 主内容区 */
.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: margin-left 0.3s;
}

/* 顶部栏 */
.topbar {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 0 32px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-collapse {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text);
    padding: 4px;
}

.breadcrumb-admin {
    font-size: 14px;
    color: var(--text-muted);
}

.breadcrumb-admin span {
    color: var(--text);
    font-weight: 600;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-right .btn {
    padding: 6px 16px;
    font-size: 13px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: white;
    color: var(--text);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    font-family: inherit;
}

.topbar-right .btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-light);
}

.admin-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

/* 内容页面 */
.page-content {
    padding: 28px 32px;
    flex: 1;
}

/* 页面头部 */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.page-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
}

.page-header p {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

.page-header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

/* 统计卡片 */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.stat-card {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.stat-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.stat-card .stat-info h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
}

.stat-card .stat-info p {
    font-size: 13px;
    color: var(--text-muted);
}

/* 卡片容器 */
.card {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 24px;
}

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

.card-header h3 {
    font-size: 17px;
    font-weight: 600;
}

.card-body {
    padding: 24px;
}

.card-body.no-padding {
    padding: 0;
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
    font-family: inherit;
    text-decoration: none;
    line-height: 1.4;
}

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

.btn-outline {
    background: white;
    color: var(--text);
    border-color: var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-danger {
    background: white;
    color: var(--danger);
    border-color: #fdd;
}
.btn-danger:hover { background: #fff5f5; }

.btn-sm {
    padding: 5px 12px;
    font-size: 12px;
}

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

.btn-warning {
    background: var(--warning);
    color: white;
}
.btn-warning:hover { background: #e08e0b; }

/* 表格 */
.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th, table td {
    padding: 14px 16px;
    text-align: left;
    font-size: 14px;
}

table th {
    background: var(--bg);
    font-weight: 600;
    color: var(--text-light);
    font-size: 13px;
    white-space: nowrap;
    border-bottom: 2px solid var(--border);
}

table td {
    border-bottom: 1px solid var(--border);
    color: var(--text);
    vertical-align: middle;
}

table tbody tr:hover {
    background: var(--bg);
}

.table-actions {
    display: flex;
    gap: 6px;
}

/* 标签 */
.tag {
    display: inline-flex;
    padding: 3px 10px;
    font-size: 12px;
    border-radius: 12px;
    font-weight: 500;
}

.tag-green { background: var(--green-light); color: var(--green); }
.tag-orange { background: var(--accent-light); color: var(--accent); }
.tag-blue { background: var(--primary-light); color: var(--primary); }
.tag-red { background: #fff5f5; color: var(--danger); }
.tag-purple { background: #f3eeff; color: #7c3aed; }
.tag-gray { background: #f0f0f0; color: var(--text-muted); }

/* 表单 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

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

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

/* Permissions Grid */
.permissions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
    margin-top: 8px;
    padding: 12px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.permissions-grid label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-light);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.15s;
}

.permissions-grid label:hover {
    background: var(--primary-light);
}

.permissions-grid input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--primary);
}

/* 模态框 */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 200;
    align-items: center;
    justify-content: center;
}

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

.modal {
    background: white;
    border-radius: var(--radius);
    width: 92%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* 新闻编辑模态框更大 */
#newsModal .modal {
    max-width: 960px;
}

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

.modal-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--bg);
    cursor: pointer;
    font-size: 18px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close:hover {
    background: #eee;
    color: var(--text);
}

.modal-body {
    padding: 24px;
}

/* 新闻编辑模态框内部间距更紧凑 */
#newsModal .modal-body {
    padding: 20px 16px;
}

#newsModal .modal-header {
    padding: 16px 20px;
}

/* 批量导入 */
.batch-import-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 16px;
}

.batch-tab {
    padding: 10px 20px;
    border: none;
    background: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
    font-family: inherit;
}

.batch-tab:hover {
    color: var(--primary);
}

.batch-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.batch-tab-content {
    display: none;
}

.batch-tab-content.active {
    display: block;
}

.batch-tab-content textarea {
    width: 100%;
    padding: 12px;
    font-family: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
    font-size: 12px;
    line-height: 1.5;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    resize: vertical;
    background: #fafafa;
}

.batch-tab-content textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
    background: white;
}

.btn-accent {
    background: linear-gradient(135deg, #e8623a, #d44a2a);
    color: white;
    border: none;
}

.btn-accent:hover {
    background: linear-gradient(135deg, #d44a2a, #c0392b);
}

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

/* 搜索栏 */
.search-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.search-bar input,
.search-bar select {
    padding: 9px 14px;
    font-size: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: white;
    color: var(--text);
    font-family: inherit;
}

.search-bar input {
    flex: 1;
    min-width: 200px;
}

.search-bar input:focus,
.search-bar select:focus {
    outline: none;
    border-color: var(--primary);
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 24px;
}

.pagination button {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: white;
    cursor: pointer;
    font-size: 13px;
    color: var(--text);
    transition: all 0.2s;
    font-family: inherit;
}

.pagination button:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination button.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

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

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

/* Toast */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    z-index: 300;
    transform: translateX(120%);
    transition: transform 0.3s ease;
}

.toast.show {
    transform: translateX(0);
}

.toast.error {
    background: var(--danger);
}

.toast.warning {
    background: var(--warning);
}

/* 空行 */
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }

/* 隐藏内容页 */
.page-section {
    display: none;
}

.page-section.active {
    display: block;
}

/* 响应式 */
@media (max-width: 1024px) {
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.open {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0;
    }
    .stats-row {
        grid-template-columns: 1fr 1fr;
    }
    .page-content {
        padding: 20px 16px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .topbar {
        padding: 0 16px;
    }
    .dashboard-cols {
        grid-template-columns: 1fr;
    }
    .shortcuts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-row {
        grid-template-columns: 1fr;
    }
    .page-header {
        flex-direction: column;
        gap: 12px;
    }
    .shortcuts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   工作台增强样式
   ============================================ */

/* 统计卡片高亮变体 */
.stat-card-warning {
    border-left: 3px solid var(--warning);
}

.stat-card-brand {
    border-left: 3px solid #0891b2;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%);
}

.stat-card .stat-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.stat-card .stat-meta span {
    font-size: 11px;
    background: #e8f5ee;
    color: var(--green);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
}

/* 快捷操作 */
.dashboard-shortcuts {
    margin-bottom: 24px;
}

.shortcuts-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 12px;
}

.shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.shortcut-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 12px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.shortcut-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(37,99,235,0.1);
    transform: translateY(-2px);
}

.shortcut-icon {
    font-size: 24px;
}

.shortcut-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.shortcut-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--danger);
    color: white;
    font-size: 11px;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    padding: 0 6px;
}

/* 双栏布局 */
.dashboard-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.dashboard-card {
    margin-bottom: 0;
}

.dashboard-card .table-wrap {
    max-height: 320px;
    overflow-y: auto;
}

/* 新闻编辑 - 语言区域 */
.lang-section {
    background: var(--bg, #f9fafb);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}
.lang-section-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary, #2D8C5A);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--border, #e5e7eb);
}
.form-hint {
    font-size: 12px;
    color: var(--text-muted, #999);
    margin-top: 4px;
    line-height: 1.5;
}

/* ============================================
   PDF上传组件
   ============================================ */
.upload-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    padding: 32px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--bg);
}

.upload-zone:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.upload-zone.drag-over {
    border-color: var(--primary);
    background: var(--primary-light);
    border-style: solid;
}

.upload-zone.has-file {
    border-color: var(--primary);
    border-style: solid;
    background: var(--primary-light);
    padding: 16px 24px;
}

.upload-zone-content {
    pointer-events: none;
}

.upload-zone.has-file .upload-zone-content {
    opacity: 0.6;
}

.upload-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.upload-text {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.upload-browse-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
    padding: 0;
    text-decoration: underline;
    pointer-events: auto;
}

.upload-browse-btn:hover {
    color: var(--primary-dark);
}

.upload-hint {
    font-size: 12px;
    color: var(--text-muted);
}

.upload-file-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--primary-light);
    border: 1px solid var(--primary);
    border-radius: var(--radius-sm);
    margin-top: 8px;
}

.upload-file-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.upload-file-size {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
}

.upload-file-remove {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: var(--danger);
    color: white;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

.upload-file-remove:hover {
    background: #c0392b;
}

.upload-error {
    padding: 10px 14px;
    background: #fff5f5;
    color: var(--danger);
    border: 1px solid #fdd;
    border-radius: var(--radius-sm);
    font-size: 13px;
    margin-top: 8px;
}

.form-hint-inline {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
}

/* ============================================
   理事头像上传组件
   ============================================ */
.avatar-upload-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 0;
}

.avatar-upload-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px dashed var(--border);
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    transition: border-color 0.2s;
}

.avatar-upload-preview:hover {
    border-color: var(--primary);
}

.avatar-upload-placeholder {
    font-size: 32px;
    opacity: 0.5;
}

.avatar-upload-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ============================================
   中英文 Tab 切换
   ============================================ */
.lang-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 20px;
}

.lang-tab {
    padding: 10px 20px;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}

.lang-tab:hover {
    color: var(--text);
}

.lang-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 600;
}

.lang-panel {
    display: none;
}

.lang-panel.active {
    display: block;
}

@media (max-width: 480px) {
    .stats-row {
        grid-template-columns: 1fr;
    }
    .page-header {
        flex-direction: column;
        gap: 12px;
    }
}

/* ============================================
   管理员管理页面
   ============================================ */
#page-admins .table-wrap {
    overflow-x: auto;
}

#page-admins table th:last-child,
#page-admins table td:last-child {
    min-width: 180px;
}

/* ============================================
   志愿者管理列表 - 超宽表格横向滚动
   ============================================ */
#page-volunteer-mgmt .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

#page-volunteer-mgmt table {
    min-width: 1400px;
    width: max-content;
}

#page-volunteer-mgmt table th,
#page-volunteer-mgmt table td {
    white-space: nowrap;
}

#page-volunteer-mgmt table td {
    padding: 10px 12px;
}

#page-volunteer-mgmt .table-actions {
    white-space: nowrap;
    gap: 4px;
}

#page-volunteer-mgmt .table-actions .btn {
    padding: 4px 10px;
    font-size: 12px;
}

/* 志愿者报名管理列表 - 同样支持横向滚动 */
#page-volunteers .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

#page-volunteers table {
    min-width: 1000px;
    width: max-content;
}

#page-volunteers table th,
#page-volunteers table td {
    white-space: nowrap;
}

#page-volunteers .table-actions {
    white-space: nowrap;
    gap: 4px;
}

/* ============================================
   合作伙伴管理列表样式
   ============================================ */
#page-partner-mgmt .table-wrap {
    overflow-x: auto;
}

#page-partner-mgmt table th,
#page-partner-mgmt table td {
    white-space: nowrap;
}

#page-partner-mgmt .table-actions {
    white-space: nowrap;
    gap: 4px;
}

/* ============================================
   富文本编辑器 (Rich Text Editor)
   ============================================ */
.rich-editor-wrapper {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: white;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.rich-editor-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.rich-editor-toolbar {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 8px 10px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

.re-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 30px;
    border: none;
    background: transparent;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-light);
    transition: all 0.15s;
    font-family: inherit;
    padding: 0;
}

.re-btn:hover {
    background: #e8e8e6;
    color: var(--text);
}

.re-btn.active {
    background: var(--primary-light);
    color: var(--primary);
}

.re-sep {
    width: 1px;
    height: 20px;
    background: var(--border);
    margin: 0 4px;
}

.rich-editor-body {
    min-height: 180px;
    max-height: 420px;
    overflow-y: auto;
    padding: 14px 16px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
    outline: none;
    font-family: var(--font-sans);
}

.rich-editor-body:empty::before {
    content: attr(placeholder);
    color: #aaa;
    pointer-events: none;
}

.rich-editor-body h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 16px 0 8px;
    color: var(--text);
}

.rich-editor-body ul,
.rich-editor-body ol {
    padding-left: 24px;
    margin: 8px 0;
}

.rich-editor-body li {
    margin-bottom: 4px;
}

.rich-editor-body a {
    color: var(--primary);
    text-decoration: underline;
}

.rich-editor-body b,
.rich-editor-body strong {
    font-weight: 700;
}

.rich-editor-body i,
.rich-editor-body em {
    font-style: italic;
}

.rich-editor-body u {
    text-decoration: underline;
}

/* ============================================
   COP 人员管理状态标签
   ============================================ */
.status-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.status-pending {
    background: #fef3c7;
    color: #d97706;
}

.status-approved {
    background: #d1fae5;
    color: #059669;
}

.status-rejected {
    background: #fee2e2;
    color: #dc2626;
}

.status-registered {
    background: #dbeafe;
    color: #2563eb;
}

.status-attended {
    background: #ede9fe;
    color: #7c3aed;
}

.status-graduated {
    background: #fce7f3;
    color: #be185d;
}

/* ============================================
   志愿者电子证 v2 - 国际化青春时尚风格
   ============================================ */
.cert-workspace {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 24px;
    align-items: start;
}

@media (max-width: 1100px) {
    .cert-workspace { grid-template-columns: 1fr; }
}

/* 预览背景 */
.cert-preview-body {
    display: flex;
    justify-content: center;
    background: linear-gradient(135deg, #e8eaf6 0%, #f5f5f5 50%, #fce4ec 100%);
    padding: 40px;
    min-height: 500px;
}

.cert-print-area {
    width: 820px;
    max-width: 100%;
    transform-origin: top center;
}

/* ===== 证书主体 v2 ===== */
.certificate-v2 {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    font-family: 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
    color: #1a1a2e;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.06);
}

/* 背景装饰 */
.cv2-bg-decor {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}
.cv2-bg-circle1 {
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233,30,99,0.04) 0%, transparent 70%);
    top: -80px; right: -80px;
}
.cv2-bg-circle2 {
    width: 220px; height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(33,150,243,0.04) 0%, transparent 70%);
    bottom: -40px; left: -40px;
}
.cv2-bg-dots {
    width: 180px; height: 180px;
    background-image: radial-gradient(circle, rgba(0,0,0,0.04) 1px, transparent 1px);
    background-size: 14px 14px;
    top: 120px; right: 60px;
}

/* 顶部色条 */
.cv2-top-bar {
    display: flex;
    height: 6px;
    position: relative;
    z-index: 1;
}
.cv2-top-bar-left {
    flex: 1;
    background: linear-gradient(90deg, #e91e63, #ff6f91);
}
.cv2-top-bar-right {
    flex: 1;
    background: linear-gradient(90deg, #ff6f91, #2196f3);
}

/* 底部色条 */
.cv2-bottom-bar {
    height: 6px;
    background: linear-gradient(90deg, #2196f3, #00bcd4, #4caf50);
    position: relative;
    z-index: 1;
}

/* 证书内容区域 */
.cv2-content {
    padding: 50px 60px 40px;
    position: relative;
    z-index: 1;
}

/* ===== Header ===== */
.cv2-header {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 36px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.cv2-logo {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    object-fit: contain;
    flex-shrink: 0;
}

.cv2-header-text {
    flex: 1;
}

.cv2-org {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: #e91e63;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.cv2-org-cn {
    font-size: 15px;
    font-weight: 600;
    color: #555;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.cv2-title-wrap {
    text-align: left;
}

.cv2-title-line {
    height: 1px;
    background: linear-gradient(90deg, #e91e63, transparent 60%);
    margin: 6px 0;
}

.cv2-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #1a1a2e;
    text-transform: uppercase;
}

.cv2-title-icon {
    color: #e91e63;
    font-size: 14px;
    vertical-align: middle;
    margin: 0 8px;
}

.cv2-title-sub {
    font-size: 18px;
    font-weight: 600;
    color: #e91e63;
    letter-spacing: 4px;
    margin-top: 2px;
}

/* ===== Main Body ===== */
.cv2-main {
    margin-bottom: 32px;
}

.cv2-intro {
    font-size: 14px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 2px;
}

.cv2-intro-cn {
    font-size: 15px;
    color: #999;
    margin: 0 0 20px;
}

.cv2-name-block {
    margin-bottom: 22px;
}

.cv2-name {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: 2px;
    display: inline-block;
    min-width: 120px;
}

.cv2-name-underline {
    height: 3px;
    background: linear-gradient(90deg, #e91e63, #ff6f91, transparent);
    border-radius: 2px;
    margin-top: 4px;
    max-width: 260px;
}

.cv2-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    margin: 0 0 8px;
}

.cv2-desc-cn {
    font-size: 14px;
    color: #777;
    line-height: 1.8;
    margin: 0 0 24px;
}

/* ===== 信息卡片 ===== */
.cv2-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.cv2-info-item {
    background: #fafafa;
    border-radius: 10px;
    padding: 12px 16px;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cv2-info-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #bbb;
    font-weight: 600;
}

.cv2-info-val {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

/* ===== Footer ===== */
.cv2-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 24px;
    border-top: 1px solid rgba(0,0,0,0.06);
    gap: 20px;
}

.cv2-footer-left {
    flex: 0 0 auto;
}

.cv2-cert-id {
    margin-bottom: 16px;
}

.cv2-cert-id-label {
    display: block;
    font-size: 8px;
    letter-spacing: 2px;
    color: #bbb;
    font-weight: 700;
    margin-bottom: 4px;
}

.cv2-cert-id-val {
    font-size: 11px;
    font-weight: 600;
    color: #666;
    font-family: 'SF Mono', 'Consolas', 'Monaco', monospace;
    letter-spacing: 0.5px;
}

.cv2-qr-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.cv2-qr-placeholder {
    width: 60px; height: 60px;
    border-radius: 8px;
    overflow: hidden;
}

.cv2-footer-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.cv2-seal-v2 {
    opacity: 0.85;
    transform: rotate(-12deg);
}

.cv2-footer-right {
    flex: 0 0 auto;
    text-align: right;
    min-width: 180px;
}

.cv2-dates {
    margin-bottom: 4px;
}

.cv2-date-row {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    align-items: baseline;
}

.cv2-date-label {
    font-size: 8px;
    letter-spacing: 1.5px;
    color: #bbb;
    text-transform: uppercase;
    font-weight: 700;
}

.cv2-date-label-cn {
    font-size: 10px;
    color: #ccc;
}

.cv2-date-val {
    font-size: 13px;
    font-weight: 700;
    color: #333;
    letter-spacing: 1px;
}

.cv2-signature {
    margin-top: 20px;
    text-align: right;
}

.cv2-sig-line {
    width: 140px;
    height: 1px;
    background: #ccc;
    margin-left: auto;
    margin-bottom: 4px;
}

.cv2-sig-text {
    font-size: 8px;
    color: #bbb;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===== 打印样式 ===== */
@media print {
    body * { visibility: hidden; }
    .cert-print-area, .cert-print-area * { visibility: visible; }
    .cert-print-area {
        position: absolute;
        left: 0; top: 0;
        width: 100%;
        padding: 0; margin: 0;
    }
    .cert-preview-body {
        background: #fff;
        padding: 0;
    }
    .certificate-v2 {
        box-shadow: none;
        border-radius: 0;
    }
    @page {
        size: A4 landscape;
        margin: 6mm;
    }
}

/* 自动编号按钮 */
#btnAutoGenCertNo {
    background: linear-gradient(135deg, #fce4ec, #f8bbd0);
    border: 1px solid #e91e63;
    color: #c2185b;
}
#btnAutoGenCertNo:hover {
    background: linear-gradient(135deg, #f8bbd0, #f48fb1);
}

/* ============================================
   童仓问卷仪表盘 — Redesigned
   ============================================ */
.dash { --dash-radius: 14px; --dash-gap: 18px; }
.dash-summary { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px; margin-bottom:20px; padding:0 2px; }
.dash-summary__title { font-size:19px; font-weight:700; color:#111827; letter-spacing:-0.01em; margin:0; }
.dash-summary__meta { display:block; margin-top:3px; font-size:12px; color:#9ca3af; }
.dash-total-badge { display:flex; align-items:center; gap:12px; background:linear-gradient(135deg,#eff6ff,#dbeafe); border:1px solid #bfdbfe; border-radius:12px; padding:12px 20px; }
.dash-total-badge__num { font-size:32px; font-weight:800; color:#1d4ed8; line-height:1; }
.dash-total-badge__text { font-size:13px; font-weight:600; color:#3b82f6; line-height:1.2; }
.dash-kpis { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-bottom:20px; }
.dash-kpi { background:#fff; border:1px solid #e5e7eb; border-radius:14px; padding:20px 22px; display:flex; align-items:center; gap:16px; box-shadow:0 1px 3px rgba(0,0,0,.04); transition:box-shadow .2s,transform .2s; }
.dash-kpi:hover { box-shadow:0 4px 12px rgba(0,0,0,.08); transform:translateY(-1px); }
.dash-kpi__icon { width:48px; height:48px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:22px; flex-shrink:0; }
.dash-kpi__icon--blue  { background:linear-gradient(135deg,#dbeafe,#bfdbfe); }
.dash-kpi__icon--green { background:linear-gradient(135deg,#d1fae5,#a7f3d0); }
.dash-kpi__icon--amber { background:linear-gradient(135deg,#fef3c7,#fde68a); }
.dash-kpi__content { min-width:0; }
.dash-kpi__value { font-size:30px; font-weight:800; color:#111827; line-height:1.1; letter-spacing:-0.02em; }
.dash-kpi__label { font-size:12.5px; font-weight:600; color:#6b7280; margin-top:3px; text-transform:uppercase; letter-spacing:0.04em; }
.dash-kpi__sub { font-size:11px; color:#9ca3af; margin-top:1px; }
.dash-main { display:grid; grid-template-columns:1.2fr 1fr; gap:18px; align-items:start; }
.dash-card { background:#fff; border:1px solid #e5e7eb; border-radius:14px; box-shadow:0 1px 3px rgba(0,0,0,.04); overflow:hidden; margin-bottom:18px; }
.dash-card:last-child { margin-bottom:0; }
.dash-card__header { display:flex; align-items:center; gap:8px; padding:14px 18px; border-bottom:1px solid #f3f4f6; background:#fafbfc; }
.dash-card__header h3 { margin:0; font-size:13.5px; font-weight:700; color:#1f2937; flex:1; }
.dash-card__badge { font-size:11px; font-weight:500; color:#9ca3af; background:#f3f4f6; padding:2px 8px; border-radius:100px; }
.dash-card__body { padding:18px; }

/* ~ KPI 已迁移至 .dash-kpis 系列 ~ */

/* 满意度分布条 — redesigned */
.sat-bar-row { display:flex; align-items:center; gap:12px; margin-bottom:12px; }
.sat-bar-row:last-child { margin-bottom:0; }
.sat-bar-label { width:90px; font-size:12.5px; font-weight:500; color:#4b5563; text-align:right; flex-shrink:0; }
.sat-bar-track { flex:1; height:28px; background:#f3f4f6; border-radius:6px; overflow:hidden; position:relative; }
.sat-bar-fill { height:100%; border-radius:6px; display:flex; align-items:center; justify-content:flex-end; padding-right:10px; font-size:12px; font-weight:700; color:#1f2937; transition:width .7s cubic-bezier(0.22,1,0.36,1); min-width:0; }
.sat-bar-count { width:32px; font-size:12.5px; color:#9ca3af; font-weight:600; text-align:center; flex-shrink:0; }

/* 维度均分条 — redesigned */
.dim-row { display:flex; align-items:center; gap:12px; margin-bottom:10px; }
.dim-row:last-child { margin-bottom:0; }
.dim-label { width:80px; font-size:12px; font-weight:500; color:#4b5563; text-align:right; flex-shrink:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.dim-track { flex:1; height:22px; background:#f3f4f6; border-radius:5px; overflow:hidden; }
.dim-fill { height:100%; border-radius:5px; display:flex; align-items:center; justify-content:flex-end; padding-right:8px; font-size:11.5px; font-weight:700; color:#fff; transition:width .7s cubic-bezier(0.22,1,0.36,1); min-width:0; }

/* 点位排名 — redesigned */
.loc-list { list-style:none; margin:0; padding:0; }
.loc-item { display:flex; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid #f3f4f6; }
.loc-item:last-child { border-bottom:none; }
.loc-item__rank { width:26px; height:26px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:700; color:#fff; flex-shrink:0; }
.loc-item__rank--gold   { background:linear-gradient(135deg,#f59e0b,#d97706); }
.loc-item__rank--silver { background:linear-gradient(135deg,#94a3b8,#64748b); }
.loc-item__rank--bronze { background:linear-gradient(135deg,#d97706,#b45309); }
.loc-item__rank--default { background:#d1d5db; color:#6b7280; }
.loc-item__info { flex:1; min-width:0; }
.loc-item__name { font-size:13.5px; font-weight:600; color:#1f2937; }
.loc-item__count { font-size:11px; color:#9ca3af; margin-top:1px; }
.loc-item__score { font-size:22px; font-weight:800; color:#111827; letter-spacing:-0.02em; flex-shrink:0; text-align:right; min-width:40px; }
.loc-item__score--high { color:#059669; }
.loc-item__score--mid  { color:#d97706; }
.loc-item__score--low  { color:#dc2626; }

/* 关键发现 — redesigned */
.insight-item { display:flex; align-items:flex-start; gap:12px; padding:14px; margin-bottom:10px; background:#f9fafb; border-radius:10px; border:1px solid #f3f4f6; }
.insight-item:last-child { margin-bottom:0; }
.insight-icon { width:32px; height:32px; border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:15px; flex-shrink:0; }
.insight-icon--good  { background:#dcfce7; color:#166534; }
.insight-icon--warn  { background:#fef3c7; color:#92400e; }
.insight-icon--info  { background:#dbeafe; color:#1e40af; }
.insight-text { flex:1; font-size:13px; color:#4b5563; line-height:1.55; }
.insight-text strong { display:block; color:#111827; font-size:13.5px; margin-bottom:2px; }
.insight-text span { font-size:12px; color:#6b7280; }
.insight-bar { margin-top:6px; height:5px; background:#e5e7eb; border-radius:3px; overflow:hidden; }
.insight-bar-fill { height:100%; border-radius:3px; transition:width .7s cubic-bezier(0.22,1,0.36,1); }

@media (max-width: 1024px) { .dash-main { grid-template-columns:1fr; } .dash-kpis { grid-template-columns:repeat(2,1fr); } }
@media (max-width: 768px) { .dash-kpis { grid-template-columns:1fr; } .dash-summary { flex-direction:column; align-items:flex-start; } .sat-bar-label { width:70px; font-size:11px; } .dim-label { width:64px; font-size:11px; } }
