/* 中文注释：文章CMS系统，CKEditor官网紫罗兰风格，下沉式宽屏编辑器版式 */

:root {
    /* 借鉴 CKEditor 及 Mosaic 底色，淡雅紫罗兰调 */
    --article-bg: #f9fafb;
    --article-surface: #ffffff;
    --article-surface-soft: #f8fafc;
    --article-border: #e2e8f0;
    --article-border-strong: #cbd5e1;
    --article-text: #0f172a;
    --article-muted: #64748b;
    
    /* 核心紫罗兰配色 */
    --article-primary: #8b5cf6; /* 紫色基调 */
    --article-primary-strong: #7c3aed;
    --article-primary-soft: #f3e8ff;
    --article-primary-border: #ddd6fe;

    --article-danger: #ef4444;
    --article-danger-soft: #fee2e2;
    --article-success: #10b981;
    --article-success-soft: #d1fae5;
    
    --article-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --article-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --article-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --article-radius: 12px;
}

/* Shared Base UI Classes */
.adp-header-intro { display: flex; flex-direction: column; gap: 4px; }
.adp-kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--article-primary); }
.adp-title { font-size: 28px; font-weight: 800; color: var(--article-text); margin: 0; line-height: 1.2; }
.adp-subtitle { font-size: 14px; color: var(--article-muted); margin: 0; }

.ua-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding: 9px 14px;
    border: 1px solid var(--article-borderstrong, var(--article-border));
    border-radius: 8px;
    background: #ffffff;
    color: var(--article-text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}
.ua-btn:hover {
    transform: translateY(-1px);
    border-color: var(--article-border-strong);
    background: var(--article-surface-soft);
}
.ua-btn .material-symbols-outlined { font-size: 18px; }
.ua-btn-primary {
    border-color: transparent !important;
    background: var(--article-primary) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 6px -1px rgba(124, 58, 237, 0.25);
}
.ua-btn-primary:hover {
    background: var(--article-primary-strong) !important;
    color: #ffffff !important;
}
.ua-btn-ghost {
    background: var(--article-primary-soft) !important;
    border-color: transparent !important;
    color: var(--article-primary-strong) !important;
}

.ua-field { display: flex; flex-direction: column; width: 100%; }
.ua-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--article-border-strong);
    border-radius: 8px;
    font-size: 14px;
    background: #ffffff;
    color: var(--article-text);
    transition: all 0.2s;
    outline: none;
    box-sizing: border-box;
}
.ua-input:focus {
    border-color: var(--article-primary);
    box-shadow: 0 0 0 3px var(--article-primary-soft);
}


/* 主容器排版 */
.article-page {
    min-height: calc(100vh - 68px);
    margin: 0;
    padding: 32px 32px 64px 32px;
    background: var(--article-bg);
    color: var(--article-text);
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: clip;
}

/* 顶部操作轴 - 悬浮 */
.article-header-sticky {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(249, 250, 251, 0.85);
    backdrop-filter: blur(12px);
    margin: 0;
    padding: 0 0 24px 0;
    border-bottom: 1px solid var(--article-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 复用基础按钮类并覆盖主题色 */
.article-btn-primary { 
    background: var(--article-primary) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25) !important;
}
.article-btn-primary:hover {
    background: var(--article-primary-strong) !important;
    transform: translateY(-1px);
}

/* 元数据版块：上方独立区 */
.article-meta-board {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 12px;
}

.article-meta-main {
    background: var(--article-surface);
    border-radius: var(--article-radius);
    border: 1px solid var(--article-border);
    box-shadow: var(--article-shadow-sm);
    padding: 24px;
}

.article-meta-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
        "cover cover"
        "seo publishing";
    gap: 24px;
    align-items: stretch;
}

.article-meta-card--cover {
    grid-area: cover;
    align-self: start;
}
.article-meta-card--seo { grid-area: seo; }
.article-meta-card--publishing { grid-area: publishing; }
.article-meta-card--seo,
.article-meta-card--publishing {
    height: 100%;
}

.article-meta-card {
    background: var(--article-surface);
    border-radius: var(--article-radius);
    border: 1px solid var(--article-border);
    box-shadow: var(--article-shadow-sm);
    padding: 22px;
    display: flex;
    flex-direction: column;
}

.article-card-head {
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--article-border);
}
.article-card-head--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 16px;
}

.article-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--article-text);
    margin: 0;
}
.article-card-title .material-symbols-outlined {
    font-size: 18px;
    color: var(--article-primary);
}
.article-card-note {
    margin: 12px 0 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--article-muted);
}
.article-card-head-copy {
    min-width: 0;
}
.article-head-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 26px;
    padding: 0 11px;
    border-radius: 999px;
    background: var(--article-primary-soft);
    color: var(--article-primary-strong);
    font-size: 10px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    flex-shrink: 0;
    margin-top: 4px;
}

/* 表单定制 */
.article-field-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--article-muted);
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}
.mt-4 { margin-top: 16px; }
.mt-3 { margin-top: 12px; }

.article-input-huge {
    font-size: 24px;
    font-weight: 700;
    height: auto;
    min-height: 56px;
    padding: 12px 18px;
    border: 1px solid var(--article-border-strong);
    border-radius: 12px;
}
.article-input-huge:focus {
    border-color: var(--article-primary);
    box-shadow: 0 0 0 4px var(--article-primary-soft);
}
.article-textarea-intro {
    font-size: 15px;
    line-height: 1.6;
    min-height: 84px;
}

/* 封面上传控件 */
.article-cover-label {
    display: block;
    width: 100%;
    height: 120px;
    border: 2px dashed var(--article-border-strong);
    border-radius: 14px;
    background: var(--article-surface-soft);
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: all 0.2s;
}
.article-cover-label:hover {
    border-color: var(--article-primary);
    background: var(--article-primary-soft);
}
.article-cover-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--article-muted);
    gap: 8px;
    font-weight: 600;
    font-size: 12px;
}
.article-cover-placeholder .material-symbols-outlined {
    font-size: 24px;
    color: var(--article-primary);
}
.article-cover-label img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.article-cover-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
}
.article-cover-file {
    min-width: 0;
    flex: 1 1 auto;
    font-size: 13px;
    color: var(--article-muted);
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.article-cover-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.article-cover-btn {
    min-height: 36px;
    padding: 7px 14px;
}

/* 出版与状态 */
.article-pub-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
}
.article-pub-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.article-pub-row--dual {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
    gap: 18px;
    align-items: start;
}
.article-pub-row--dual .ua-input,
.article-datetime,
.article-datetime-native,
.ua-pill--subtle {
    box-sizing: border-box;
}
.article-pub-field {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
    gap: 0;
}
.article-pub-field--time {
    gap: 0;
}
.article-pub-field > span {
    display: flex;
    align-items: center;
    height: 22px;
    margin-bottom: 10px;
}
.article-pub-control {
    position: relative;
    height: 48px;
    min-height: 48px;
    width: 100%;
}
.article-pub-control--text {
    display: flex;
    align-items: stretch;
}
.article-pub-input {
    height: 100% !important;
    min-height: 48px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2 !important;
}
.article-datetime-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 10px;
    height: 48px;
}
.article-datetime {
    position: relative;
    flex: 1 1 auto;
}
.article-datetime .material-symbols-outlined {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--article-muted);
    font-size: 18px;
    pointer-events: none;
}
.article-datetime-native {
    padding-left: 40px;
    padding-right: 14px;
    cursor: pointer;
}
.ua-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    min-height: 48px;
    min-width: 116px;
    padding: 8px 16px;
    border: 1px solid var(--article-primary-border);
    border-radius: 999px;
    background: var(--article-primary-soft);
    color: var(--article-primary-strong);
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.ua-pill--subtle {
    background: #f5f3ff;
    border-color: #ddd6fe;
}
.article-pub-now {
    height: 48px !important;
    min-height: 48px !important;
    align-self: stretch;
}
.ua-pill:hover {
    background: #ede9fe;
    border-color: #c4b5fd;
}
.compact-field span {
    font-size: 13px;
    font-weight: 700;
    color: var(--article-muted);
    margin-bottom: 10px;
    display: block;
}
.article-field--full {
    width: 100%;
}
.article-select {
    cursor: pointer;
    min-height: 48px;
    font-size: 14px;
    font-weight: 600;
    padding-right: 42px;
}
.article-stat-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: var(--article-surface-soft);
    border: 1px solid var(--article-border);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--article-muted);
}
.article-stat-pill--full {
    width: 100%;
}
.article-field-hint {
    margin-top: 8px;
    font-size: 11px;
    line-height: 1.5;
    color: var(--article-muted);
}
.article-field-hint--time {
    margin-top: 8px;
    padding-left: 2px;
}
.article-danger-zone {
    margin-top: 4px;
    padding-top: 16px;
    border-top: 1px solid var(--article-border);
}
.article-trash-action {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid #fecaca;
    background: #fff5f5;
    color: #dc2626;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}
.article-trash-action:hover {
    background: #fee2e2;
    border-color: #fca5a5;
}
.article-meta-card--publishing .compact-field > span,
.article-meta-card--seo .compact-field > span {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
    color: #64748b;
}

.article-meta-card--publishing .article-field-hint {
    margin-top: 6px;
    font-size: 11px;
}

/* ================================
   下方极具沉浸感的全屏编辑器区域 
   ================================ */

.article-editor-board {
    background: var(--article-surface);
    border: 1px solid var(--article-border);
    border-radius: 16px;
    box-shadow: var(--article-shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

.article-editor-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: var(--article-surface-soft);
    border-bottom: 1px solid var(--article-border);
}
.article-editor-head h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--article-primary-strong);
}
.article-editor-head h2 .material-symbols-outlined { font-size: 20px; }
.article-word-count {
    font-size: 13px;
    font-weight: 600;
    color: var(--article-muted);
    padding: 4px 10px;
    background: #ffffff;
    border: 1px solid var(--article-border);
    border-radius: 20px;
}

/* 覆盖 CKEditor 的默认外观，使其融入紫罗兰主题 */
.ck.ck-editor__main > .ck-editor__editable {
    min-height: 500px;
    border: none !important;
    box-shadow: none !important;
    padding: 40px 60px !important;
    outline: none !important;
    background: var(--article-surface) !important;
    font-size: 16px;
    line-height: 1.8;
}
.ck.ck-editor__main > .ck-editor__editable.ck-focused {
    box-shadow: none !important;
    border: none !important;
}

/* 中文注释：显式定义标题层级样式，避免 UI 重构后标题与段落视觉无差异。 */
.ck.ck-editor__main > .ck-editor__editable h1,
.ck-content h1 {
    font-size: 2.4rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: 0;
    color: var(--article-text);
    margin: 1.6rem 0 0.8rem;
}

.ck.ck-editor__main > .ck-editor__editable h2,
.ck-content h2 {
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 760;
    letter-spacing: 0;
    color: var(--article-text);
    margin: 1.45rem 0 0.75rem;
}

.ck.ck-editor__main > .ck-editor__editable h3,
.ck-content h3 {
    font-size: 1.6rem;
    line-height: 1.28;
    font-weight: 720;
    letter-spacing: 0;
    color: var(--article-text);
    margin: 1.3rem 0 0.65rem;
}

.ck.ck-editor__main > .ck-editor__editable h4,
.ck-content h4 {
    font-size: 1.28rem;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--article-text);
    margin: 1.1rem 0 0.55rem;
}

.ck.ck-editor__main > .ck-editor__editable p,
.ck-content p {
    margin: 0 0 1rem;
}

.ck.ck-editor__main > .ck-editor__editable blockquote,
.ck-content blockquote {
    margin: 1.25rem 0;
    padding: 0.9rem 1.15rem;
    border-left: 4px solid var(--article-primary);
    background: var(--article-primary-soft);
    color: #4338ca;
    border-radius: 0 10px 10px 0;
}

/* 定制 CKEditor 顶部工具条 */
.ck.ck-toolbar {
    background: var(--article-surface-soft) !important;
    border: none !important;
    border-bottom: 1px solid var(--article-border) !important;
    padding: 8px 16px !important;
}

/* 错误提示 */
small[data-error-for] {
    color: var(--article-danger);
    font-size: 12px;
    margin-top: 4px;
    display: block;
}
.is-error .ua-input {
    border-color: var(--article-danger);
    box-shadow: 0 0 0 3px var(--article-danger-soft);
}

@media (max-width: 1024px) {
    .article-meta-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "cover"
            "seo"
            "publishing";
    }
    .article-pub-row--dual {
        grid-template-columns: 1fr;
    }
    .article-datetime-control {
        grid-template-columns: 1fr;
    }
    .ua-pill { width: 100%; min-width: 0; }
    .article-cover-meta {
        grid-template-columns: 1fr;
        align-items: stretch;
    }
    .article-cover-actions {
        width: 100%;
    }
    .article-cover-actions .ua-btn,
    .article-cover-actions .article-cover-btn {
        flex: 1 1 0;
    }
}

/* 中文注释：文章页复用顶部横幅配置的 UTC 日期时间选择器风格。 */
.article-picker {
    position: absolute;
    min-width: 320px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #ede9fe;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
    padding: 14px;
    z-index: 90;
}

.article-picker[hidden] {
    display: none;
}

.article-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.article-picker-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--article-text);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.article-picker-title select {
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    padding: 4px 10px;
    font-size: 12px;
    background: #ffffff;
}

.article-picker-nav {
    display: flex;
    gap: 6px;
}

.article-picker-btn {
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.article-picker-week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    font-size: 11px;
    color: var(--article-muted);
    text-align: center;
    margin-bottom: 6px;
}

.article-picker-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 12px;
}

.article-picker-day {
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 8px 0;
    font-size: 12px;
    color: var(--article-text);
    text-align: center;
    cursor: pointer;
    background: transparent;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.article-picker-day:hover {
    border-color: var(--article-primary-border);
    box-shadow: 0 6px 14px rgba(139, 92, 246, 0.18);
    transform: translateY(-1px);
}

.article-picker-day.is-muted {
    color: #cbd5e1;
}

.article-picker-day.is-selected {
    background: var(--article-primary-soft);
    color: var(--article-primary-strong);
    font-weight: 700;
    border-color: var(--article-primary);
    box-shadow: 0 8px 16px rgba(139, 92, 246, 0.2);
}

.article-picker-time {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.article-picker-label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 11px;
    color: var(--article-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.article-picker-time select {
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    padding: 8px 10px;
    font-size: 13px;
    background: #ffffff;
}

.article-picker-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

/* List Page Overrides for Article */

.article-list-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.article-metrics-row {
    display: flex;
    gap: 16px;
}

.article-metric-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--article-surface);
    border: 1px solid var(--article-border);
    border-radius: var(--article-radius);
    box-shadow: var(--article-shadow-sm);
    min-width: 180px;
}

.article-metric-badge .material-symbols-outlined {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 24px;
}

.article-metric-badge div {
    display: flex;
    flex-direction: column;
}
.article-metric-badge strong { font-size: 20px; color: var(--article-text); line-height: 1; }
.article-metric-badge span { font-size: 13px; color: var(--article-muted); font-weight: 600; margin-top: 4px; }

/* The Glass Panel holding the table */
.article-glass-panel {
    background: var(--article-surface);
    border: 1px solid var(--article-border);
    border-radius: 16px;
    box-shadow: var(--article-shadow);
    overflow: hidden;
}

/* Toolbar */
.article-list-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid var(--article-border);
    background: var(--article-surface-soft);
    gap: 20px;
}
.article-search-form {
    position: relative;
    max-width: 360px;
    width: 100%;
}
.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--article-muted);
    font-size: 20px;
    pointer-events: none;
}
.article-search-input {
    width: 100%;
    padding-left: 44px;
    border-radius: 10px;
}

/* Base Table */
.article-table-wrapper { overflow-x: auto; }
.article-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.article-table th {
    padding: 14px 24px;
    font-size: 13px;
    font-weight: 700;
    color: var(--article-muted);
    background: var(--article-bg);
    border-bottom: 1px solid var(--article-border);
    letter-spacing: 0.05em;
}
.article-table td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--article-border);
    vertical-align: middle;
}
.article-row:last-child td { border-bottom: none; }
.article-row:hover { background: var(--article-surface-soft); }

/* Article Info Cell */
.article-teaser { display: flex; align-items: center; gap: 16px; }
.article-thumb {
    width: 64px;
    height: 48px;
    border-radius: 8px;
    background: var(--article-bg);
    border: 1px solid var(--article-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.article-thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-thumb .material-symbols-outlined { color: var(--article-border-strong); font-size: 24px; }
.article-teaser-title { font-size: 15px; font-weight: 700; color: var(--article-text); margin: 0 0 4px 0; line-height: 1.4; }
.article-teaser-snip { font-size: 12px; color: var(--article-muted); margin: 0; line-height: 1.4; }

/* Meta data cells */
.article-author-tag { display: inline-flex; padding: 4px 10px; background: var(--article-bg); border-radius: 6px; font-size: 12px; font-weight: 600; color: var(--article-muted); border: 1px solid var(--article-border); }
.article-view-count { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--article-muted); }
.article-view-count .material-symbols-outlined { font-size: 16px; }

/* Status Labels */
.article-status-label { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; border: 1px solid transparent; }
.is-published { background: var(--article-success-soft); color: var(--article-success); border-color: rgba(16, 185, 129, 0.2); }
.is-draft { background: var(--article-primary-soft); color: var(--article-primary-strong); border-color: rgba(124, 58, 237, 0.2); }
.is-deleted { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }

/* Dates Cell */
.article-dates-col { display: flex; flex-direction: column; gap: 2px; }
.date-main { font-size: 13px; font-weight: 600; color: var(--article-text); }
.date-sub { font-size: 11px; color: var(--article-muted); }

/* Actions Cell */
.article-row-actions { display: flex; justify-content: flex-end; gap: 8px; }
.article-action-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--article-bg); border: 1px solid var(--article-border); color: var(--article-muted); transition: all 0.2s; }
.article-action-btn:hover { background: var(--article-surface); border-color: var(--article-primary); color: var(--article-primary-strong); box-shadow: 0 2px 4px rgba(124, 58, 237, 0.05); }

/* Pagination Area */
.article-pagination-footer { padding: 18px 24px; border-top: 1px solid var(--article-border); display: flex; justify-content: space-between; align-items: center; background: var(--article-surface-soft); }
.page-context { font-size: 13px; color: var(--article-muted); }
.page-context strong { color: var(--article-text); font-weight: 700; }
.page-controls { display: flex; gap: 8px; }

/* Empty state */
.article-empty-desk { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px 24px; text-align: center; }
.empty-icon { font-size: 48px; color: var(--article-primary-border); margin-bottom: 20px; }
.article-empty-desk h3 { margin: 0 0 8px 0; font-size: 18px; color: var(--article-text); font-weight: 700; }
.article-empty-desk p { margin: 0 0 24px 0; font-size: 14px; color: var(--article-muted); max-width: 300px; }

/* Additional Fixes for Header Actions and Cover */
.article-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.article-cover-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.article-cover-label img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-cover-label em {
    font-style: normal;
    font-size: 14px;
    font-weight: 600;
    color: var(--article-muted);
    margin-top: 8px;
}
