:root {
    --bg-main: #0b0f19;
    --bg-glass: rgba(17, 24, 39, 0.6);
    --border-glass: rgba(255, 255, 255, 0.08);
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    
    /* Brand Colors */
    --accent-cyan: #06b6d4;
    --accent-blue: #3b82f6;
    --accent-orange: #f97316;
    --status-idle: #10b981;
    --status-busy: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body, html {
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    min-height: 100vh;
    overflow-y: hidden; /* Desktop scroll lock */
    /* Add a subtle dark gradient background */
    background: radial-gradient(circle at 10% 20%, rgba(6, 182, 212, 0.05) 0%, transparent 20%),
                radial-gradient(circle at 90% 80%, rgba(249, 115, 22, 0.05) 0%, transparent 20%),
                #0b0f19;
}

/* UI Utilities */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Layout */
.dashboard-layout {
    display: flex;
    height: 100vh;
    padding: 20px;
    gap: 20px;
}

/* Sidebar */
.sidebar {
    width: 280px;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--border-glass); border-radius: 4px; }

.brand {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.brand h2 {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.badge {
    font-size: 11px;
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    padding: 3px 8px;
    border-radius: 10px;
    border: 1px solid rgba(16, 185, 129, 0.4);
    text-transform: uppercase;
    font-weight: 600;
}

.dept-group {
    margin-bottom: 20px;
}

.dept-group h4 {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 5px;
}

.agent-item {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 8px;
    margin-bottom: 4px;
    font-size: 14px;
    transition: all 0.2s ease;
    cursor: default;
}

.agent-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 8px currentColor;
}

.agent-item.status-busy {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.2);
}

.agent-item.status-busy .ag-name {
    color: #fca5a5;
    font-weight: 600;
}

.status-idle .status-dot { color: var(--status-idle); background: var(--status-idle); }
.status-busy .status-dot { 
    color: var(--status-busy); 
    background: var(--status-busy); 
    box-shadow: 0 0 10px #ef4444;
    animation: pulse 0.8s infinite alternate;
}

@keyframes pulse {
    from { opacity: 0.4; box-shadow: 0 0 4px #ef4444; }
    to { opacity: 1; box-shadow: 0 0 14px #ef4444; }
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

/* Topbar */
.topbar {
    height: 80px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.sys-info h1 {
    font-size: 20px;
    letter-spacing: 2px;
}
.sys-info #clock {
    font-family: 'Fira Code', monospace;
    color: var(--accent-cyan);
    font-size: 14px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}
.user-profile img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--accent-cyan);
}
.user-info {
    display: flex;
    flex-direction: column;
}
.user-info .name { font-weight: 600; font-size: 16px; }
.user-info .role { font-size: 12px; color: var(--accent-orange); }

/* Workflows */
.section-title {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.workflow-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.wf-card {
    padding: 15px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wf-card:hover {
    transform: translateY(-5px);
}

.wf-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
}

.wf-marketing::before { background: linear-gradient(90deg, #ec4899, #8b5cf6); }
.wf-sales::before { background: linear-gradient(90deg, #10b981, #06b6d4); }
.wf-ops::before { background: linear-gradient(90deg, #f59e0b, #ef4444); }

.wf-marketing:hover { box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2); }
.wf-sales:hover { box-shadow: 0 10px 30px rgba(6, 182, 212, 0.2); }
.wf-ops:hover { box-shadow: 0 10px 30px rgba(245, 158, 11, 0.2); }

.wf-icon {
    font-size: 20px;
    margin-bottom: 8px;
}
.wf-marketing .wf-icon { color: #d946ef; }
.wf-sales .wf-icon { color: #06b6d4; }
.wf-ops .wf-icon { color: #f59e0b; }

.wf-content h4 { font-size: 14px; margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wf-content p { font-size: 10px; color: var(--text-muted); margin-bottom: 12px; }

.btn-run {
    margin-top: auto;
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.wf-card:hover .btn-run { background: rgba(255,255,255,0.2); }

/* Split View cho Terminal & Preview */
.split-view {
    display: flex;
    gap: 20px;
    flex: 1;
    min-height: 0;
}

.left-col {
    flex: 1;
    width: calc(50% - 10px);
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    min-height: 0; /* Cho phép con (terminal) scroll */
}

/* Terminal */
.terminal-section {
    flex: 1;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.preview-section {
    flex: 1; /* Có thể tăng lên flex: 1.5 nếu muốn to hơn */
    width: calc(50% - 10px);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
}

.preview-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-main);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0 0 20px 20px;
}

.preview-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 15px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: block;
}

/* Markdown Styles inside Preview */
.preview-body h1, .preview-body h2, .preview-body h3 {
    color: var(--accent-cyan);
    margin-bottom: 15px;
    margin-top: 25px;
}
.preview-body h1 { font-size: 24px; }
.preview-body h2 { font-size: 20px; border-bottom: 1px solid var(--border-glass); padding-bottom: 8px;}
.preview-body p {
    margin-bottom: 15px;
}
.preview-body ul, .preview-body ol {
    margin-left: 25px;
    margin-bottom: 15px;
}
.preview-body strong {
    color: var(--accent-orange);
}
.preview-body pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-x: auto;
    background: rgba(0,0,0,0.3);
    padding: 10px;
    border-radius: 8px;
}

/* Image Placeholder Box */
.img-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(6, 182, 212, 0.05);
    border: 2px dashed rgba(6, 182, 212, 0.5);
    border-radius: 12px;
    padding: 30px 20px;
    margin: 20px 0;
    text-align: center;
    color: var(--accent-cyan);
    font-size: 14px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.2);
}
.img-placeholder i {
    font-size: 32px;
    margin-bottom: 12px;
    color: var(--accent-cyan);
}

/* Responsive for Mobile */
@media (max-width: 1024px) {
    body {
        overflow-y: auto;
        overflow-x: hidden;
        min-height: 100vh;
        width: 100vw;
    }
    .dashboard-layout {
        flex-direction: column;
        height: auto;
        overflow-y: visible;
        overflow-x: hidden;
        padding: 10px;
    }
    .sidebar {
        width: 100%;
        height: auto;
    }
    .split-view {
        flex-direction: column;
        height: auto;
    }
    .left-col {
        height: auto;
        flex: none;
        width: 100%; /* Ka phát hiện qua ảnh chụp mobile thật 17/07/2026: base
        rule width: calc(50% - 10px) (dành cho layout 2 cột desktop) không bao
        giờ được reset trên mobile dù .split-view đã chuyển flex-direction:
        column - khiến cả .left-col lẫn .preview-section chỉ chiếm nửa màn
        hình, nửa còn lại trống đen, chữ trông như bị "phóng to" bất thường. */
    }
    .workflows-section {
        margin-bottom: 0px;
    }
    .terminal-section {
        height: 400px; /* Fixed height for terminal on mobile */
        flex: none;
    }
    .preview-section {
        height: 600px; /* Fixed height for preview on mobile */
        flex: none;
        width: 100%; /* Xem ghi chú ở .left-col phía trên - lỗi tương tự. */
    }
    .workflow-cards {
        grid-template-columns: 1fr;
    }
    
    /* Strict Mobile Clamps */
    .terminal-input-wrapper {
        padding: 15px !important;
    }
    .prompt-symbol {
        font-size: 12px !important; /* Increased */
        margin-right: 0 !important;
    }
    #cmd-input {
        font-size: 14px !important;
        padding: 12px !important;
        min-height: 100px !important; /* Kept large on mobile */
    }
    #cmd-input::placeholder {
        font-size: 12px !important;
    }
    .topbar {
        padding: 0 15px;
    }
    .dashboard-layout {
        padding: 10px 5px;
    }
    /* terminal-header giờ có 3 icon (Lead/Kho Dữ Liệu/Tiến trình) thay vì 2 như
    trước - thu gọn padding để đỡ chật trên màn hình hẹp. */
    .terminal-header .btn-icon {
        padding: 8px !important;
    }
}

.terminal-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-glass);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.terminal-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.log {
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.log.system { color: #64748b; }
.log.user { color: #fff; }
.log.ai { color: var(--accent-cyan); }
.log.ai-agent { color: #10b981; }

.login-box {
    background: rgba(20, 20, 30, 0.7);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-glass);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
    text-align: center;
    width: 350px;
    max-width: 90%;
}

.terminal-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px 20px;
    border-top: 1px solid var(--border-glass);
    background: transparent;
    border-radius: 0 0 20px 20px;
}

.input-actions-row {
    display: flex;
    gap: 15px;
    align-items: stretch; /* Button and text area stretch together if needed */
}

.prompt-symbol {
    color: var(--accent-orange);
    font-family: 'Fira Code', monospace;
    font-weight: bold;
    font-size: 14px; /* Increased from 12px */
    letter-spacing: 0.5px;
}

#cmd-input {
    flex: 1;
    min-width: 0;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    color: white;
    font-family: 'Fira Code', monospace;
    font-size: 14px; /* Reduced back slightly for desktop */
    outline: none;
    resize: vertical;
    min-height: 60px; /* Reduced from 100px so it fits well on desktop */
    max-height: 200px;
    padding: 12px;
    line-height: 1.5;
    transition: border-color 0.3s;
}

#cmd-input:focus {
    border-color: var(--accent-cyan);
}

#cmd-input::placeholder { color: #475569; }

#btn-send {
    background: var(--accent-cyan);
    color: #0b0f19;
    border: none;
    width: 45px;
    height: auto; 
    min-height: 45px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.2s, filter 0.2s;
    align-self: flex-end;
}
#btn-send:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

#btn-mic, #btn-voice-toggle {
    background: transparent;
    color: #64748b;
    border: 1px solid var(--border-glass);
    width: 45px;
    height: auto;
    min-height: 45px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.2s, filter 0.2s, color 0.2s, border-color 0.2s;
    align-self: flex-end;
}
#btn-mic:hover, #btn-voice-toggle:hover {
    transform: scale(1.05);
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
}
#btn-mic.listening {
    background: #ef4444;
    color: #fff;
    border-color: #ef4444;
    animation: pulse-mic 1.2s infinite;
}
#btn-voice-toggle.active {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
}
@keyframes pulse-mic {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* --- Task Manager CSS --- */
.btn-icon {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-glass);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
    position: relative;
}
.btn-icon:hover { background: rgba(255, 255, 255, 0.2); }
.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-orange);
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    animation: pulse 1.5s infinite;
}
.badge.hidden { display: none; }
/* Quy tắc chung cho .hidden trên các phần tử khác - trước đây chỉ có .badge.hidden/
.tab-content.hidden/#publish-modal.hidden phạm vi hẹp, khiến các div "empty-state"
(file-empty-state, leads-empty-state) gắn class "hidden" nhưng KHÔNG có rule CSS
nào khớp nên luôn hiển thị dù JS đã toggle đúng class. */
.empty-state.hidden { display: none; }

.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex; justify-content: center; align-items: center;
    z-index: 1000;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s;
}
.modal-overlay:not(.hidden) {
    opacity: 1; pointer-events: auto;
}
.modal-content {
    width: 450px; max-width: 90%;
    background: rgba(20, 20, 30, 0.9);
    border-radius: 20px;
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s;
}
.modal-overlay:not(.hidden) .modal-content { transform: translateY(0); }

.modal-header {
    display: flex; justify-content: space-between; align-items: flex-start;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-glass);
    gap: 10px;
}
/* Ka gửi ảnh thật cho thấy nút Làm mới + Đóng bị trôi lệch xuống dưới, tách rời
khỏi tiêu đề khi tiêu đề dài (vd "Kho Dữ Liệu (File Explorer)") xuống dòng trên
màn hình hẹp - align-items:center của .modal-header căn nhóm nút theo GIỮA
tiêu đề 2 dòng thay vì theo dòng đầu. Đổi flex-start (đã sửa ở trên) + nhóm nút
thành 1 khối cố định luôn dính ở góc trên-phải, không bị lệch theo chiều cao
tiêu đề nữa. */
.modal-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.modal-header h2 { font-size: 16px; margin: 0; display: flex; gap: 10px; align-items: center; }
.btn-close { background: none; border: none; color: white; font-size: 18px; cursor: pointer; }

.modal-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-glass);
    background: rgba(0, 0, 0, 0.2);
}
.tab-btn {
    flex: 1; padding: 12px;
    background: none; border: none; color: var(--text-muted);
    cursor: pointer; font-weight: 600; font-size: 14px;
    transition: 0.3s;
}
.tab-btn.active { color: var(--accent-cyan); border-bottom: 2px solid var(--accent-cyan); }

/* overflow-x: auto - Leads/File Explorer dùng bảng nhiều cột (Tên File/Trạng
thái/Hành động...) rộng hơn màn hình di động; .modal-content có overflow:hidden
nên nếu .modal-body không tự cuộn ngang, các cột cuối (Hành động) sẽ bị cắt mất
hẳn thay vì cuộn được tới - phát hiện khi rà soát responsive di động. */
.modal-body { padding: 20px; min-height: 250px; max-height: 60vh; overflow-y: auto; overflow-x: auto; }
.tab-content.hidden { display: none; }

.task-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.task-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    padding: 12px 15px;
    border-radius: 12px;
    display: flex; justify-content: space-between; align-items: center;
}
.task-info { display: flex; flex-direction: column; gap: 5px; }
.task-name { font-weight: 600; font-size: 14px; color: white; }
.task-time { font-size: 11px; color: var(--text-muted); }
.task-status { font-size: 12px; font-weight: bold; padding: 4px 10px; border-radius: 6px; }
.status-running { background: rgba(6, 182, 212, 0.2); color: var(--accent-cyan); animation: pulse 2s infinite; }
.status-completed { background: rgba(16, 185, 129, 0.2); color: #10b981; }
.status-error { background: rgba(239, 68, 68, 0.2); color: #ef4444; }

.empty-state { text-align: center; color: var(--text-muted); padding: 40px 20px; font-size: 14px; }

/* --- File Explorer CSS --- */
.file-table {
    width: 100%;
    border-collapse: collapse;
    color: white;
    font-size: 14px;
}
.file-table th, .file-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-glass);
}
.file-table th {
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-muted);
    font-weight: 600;
}
.file-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}
.file-table .btn-icon {
    padding: 5px 8px;
    font-size: 12px;
}

/* Bảng File Explorer/Danh sách Lead có 5-7 cột, không thể hiện dạng bảng ngang
trên điện thoại dù đã cuộn được (overflow-x: auto phía trên) - Ka gửi ảnh chụp
màn hình thật cho thấy phải cuộn qua lại rất khó dùng/khó đọc. Chuyển sang dạng
"thẻ xếp dọc": mỗi dòng bảng thành 1 thẻ, mỗi ô tự hiện tên cột (data-label, xem
app.js fetchFiles()/fetchLeads()) thay vì phải cuộn ngang để đối chiếu cột. */
@media (max-width: 640px) {
    #leads-modal .modal-content,
    #file-modal .modal-content {
        width: 95vw !important;
        max-width: 95vw !important;
    }
    .file-table thead { display: none; }
    .file-table, .file-table tbody, .file-table tr, .file-table td {
        display: block;
        width: 100%;
    }
    .file-table tr {
        margin-bottom: 12px;
        border: 1px solid var(--border-glass);
        border-radius: 10px;
        padding: 8px 10px;
        background: rgba(255, 255, 255, 0.03);
    }
    .file-table td {
        border-bottom: none;
        padding: 6px 2px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        text-align: right;
    }
    .file-table td::before {
        content: attr(data-label);
        font-weight: 700;
        color: var(--text-muted);
        font-size: 11px;
        text-align: left;
        flex-shrink: 0;
        text-transform: uppercase;
    }
}

/* Custom Modal Styles */
#publish-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
#publish-modal.hidden {
    display: none !important;
}
/* Trước đây các khối bên dưới dùng tên class KHÔNG gắn scope (#publish-modal
.modal-content thay vì .modal-content trần) dù chỉ dành riêng cho Publish Modal
(cấu trúc h3/.modal-close riêng) - hậu quả là chúng ghi đè âm thầm lên
.modal-header/.modal-content của MỌI modal khác (Leads/File Explorer), ví dụ
align-items:center ở đây thắng thế so với flex-start đã sửa phía trên do đứng
sau trong file, khiến nút Làm mới/Đóng bị lệch xuống khi tiêu đề xuống dòng
trên di động - Ka phát hiện qua ảnh chụp màn hình thật. Đã gắn scope lại. */
#publish-modal .modal-content {
    background: var(--bg-main);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 30px;
    width: 450px;
    max-width: 90%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
#publish-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}
#publish-modal .modal-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}
.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.2s;
}
.modal-close:hover {
    color: white;
}
.modal-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.modal-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 5px;
}
.publish-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}
.publish-btn-web { background: var(--accent-blue); }
.publish-btn-web:hover { background: #2563eb; transform: translateY(-2px); }
.publish-btn-edu { background: var(--status-idle); }
.publish-btn-edu:hover { background: #059669; transform: translateY(-2px); }
.publish-btn-fb { background: #1877f2; }
.publish-btn-fb:hover { background: #166fe5; transform: translateY(-2px); }

