.whatsnew-app {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr) 320px;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f7f9fc;
    min-height: calc(100vh - 160px);
    box-sizing: border-box;
}

.wn-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wn-sidebar h2,
.wn-editor h2,
.wn-media h2 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f172a;
}

.wn-toggle-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.wn-toggle-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
}

.wn-toggle-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.wn-toggle-buttons button {
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #fff;
    padding: 0.45rem 0.8rem;
    cursor: pointer;
    transition: all 0.15s ease;
    font-weight: 600;
}

.wn-toggle-buttons button.is-active {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.25);
}

.wn-sidebar .wn-actions {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.wn-btn {
    border: none;
    border-radius: 12px;
    padding: 0.65rem 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wn-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.wn-btn.primary {
    background: linear-gradient(135deg, #16a34a, #22d3ee);
    color: #fff;
    box-shadow: 0 8px 20px rgba(34, 211, 238, 0.3);
}

.wn-btn.danger {
    background: #ef4444;
    color: #fff;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

.wn-editor .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.wn-editor__actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.wn-editor label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #475569;
}

.wn-editor input,
.wn-editor textarea {
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    padding: 0.75rem;
    font: inherit;
    width: 100%;
    box-sizing: border-box;
}

.wn-editor textarea {
    min-height: 80px;
    resize: vertical;
}

.pell-container {
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    overflow: hidden;
}

.pell-actionbar {
    border-bottom: 1px solid rgba(15, 23, 42, 0.12);
    background: #f8fafc;
}

.pell-content {
    min-height: 240px;
    padding: 1rem;
}

.wn-media .dropzone {
    border: 1.5px dashed rgba(15, 23, 42, 0.2);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    color: #64748b;
    transition: border-color 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

.wn-media .dropzone.is-active {
    border-color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
}

.wn-media .image-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.wn-media .image-card {
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    position: relative;
    cursor: grab;
}

.wn-media .image-card.dragging {
    opacity: 0.6;
}

.wn-media .image-card img {
    width: 100%;
    display: block;
    object-fit: cover;
    max-height: 140px;
}

.wn-media .image-card button {
    position: absolute;
    top: 6px;
    right: 6px;
    border: none;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border-radius: 999px;
    width: 28px;
    height: 28px;
    cursor: pointer;
}

.wn-media .image-card__caption {
    display: block;
    padding: 0.5rem;
    font-size: 0.8rem;
    text-align: center;
    color: #475569;
}

.wn-status-text {
    font-size: 0.85rem;
    color: #475569;
    margin-top: auto;
}

.wn-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #0f172a;
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(10px);
}

.wn-notification.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .whatsnew-app {
        grid-template-columns: 1fr;
    }
}
.wn-articles {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.wn-articles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wn-articles-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
}

.wn-btn.small {
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
}

#articleList {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.wn-article-item {
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    background: #fff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wn-article-item.is-active {
    border-color: #2563eb;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
}

.wn-article-item.dragging {
    opacity: 0.6;
}

.wn-article-item__meta {
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.wn-article-item__title {
    font-size: 0.9rem;
    color: #0f172a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wn-btn.secondary {
    background: #f3f4f6;
    color: #111827;
}

.wn-btn.secondary:hover {
    background: #e5e7eb;
}
