.wmc-wrapper {
    max-width: 1300px;
}

.wmc-container {
    max-width: 960px;
}

.migration-checklist-article {
    color: #1f2937;
}

.migration-checklist-article h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.migration-checklist-article h2 {
    border-top: 1px solid #e5e7eb;
    padding-top: 1.1rem;
}

.migration-checklist-article h2:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.migration-checklist-article p,
.migration-checklist-article li {
    color: #374151;
}

.wmc-table-wrap {
    margin: 1.5rem 0 2rem;
    overflow-x: auto;
    border: 1px solid #dbe3ec;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 19, 39, 0.05);
}

.wmc-checklist-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0 -0.5rem;
    padding: 0.85rem 1rem;
    border: 1px solid #dbe3ec;
    border-radius: 10px;
    background: #f8fafc;
}

.wmc-checklist-progress {
    font-size: 0.9rem;
    color: #0f172a;
    font-weight: 600;
}

.wmc-checklist-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.wmc-btn {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #0f172a;
    padding: 0.3rem 0.6rem;
    border-radius: 7px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
}

.wmc-btn:hover {
    background: #f1f5f9;
}

.wmc-btn-danger {
    border-color: #fecaca;
    color: #991b1b;
}

.wmc-btn-danger:hover {
    background: #fef2f2;
}

.migration-checklist-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.migration-checklist-article th,
.migration-checklist-article td {
    padding: 0.8rem 0.85rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #edf2f7;
    font-size: 0.92rem;
}

.migration-checklist-article th {
    background: #f8fafc;
    color: #001327;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
}

.migration-checklist-article tr:last-child td {
    border-bottom: 0;
}

.wmc-master-table th {
    position: sticky;
    top: 0;
    z-index: 2;
}

.wmc-check-col {
    width: 64px;
    min-width: 64px;
    text-align: center !important;
}

.wmc-check-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #166534;
}

.wmc-row-complete td:nth-child(2) {
    text-decoration: line-through;
    color: #6b7280;
}

.wmc-phase-summary-table th,
.wmc-phase-summary-table td {
    width: 33.333%;
}

.migration-checklist-article code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    background: #f3f4f6;
    border-radius: 5px;
    padding: 0.15rem 0.35rem;
    font-size: 0.9em;
}

.wmc-note-callout,
.wmc-decision-callout {
    margin: 1.5rem 0;
    border-left: 4px solid #93c5fd;
    background: #eff6ff;
    border-radius: 8px;
    padding: 1rem 1.15rem;
}

.wmc-decision-callout {
    border-left-color: #22c55e;
    background: #f0fdf4;
}

.wmc-note-callout p,
.wmc-decision-callout p,
.wmc-note-callout li,
.wmc-decision-callout li {
    margin-bottom: 0.75rem;
}

.wmc-note-callout li:last-child,
.wmc-decision-callout li:last-child {
    margin-bottom: 0;
}

.wmc-badge {
    display: inline-block;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.2;
    border: 1px solid transparent;
}

.wmc-badge-critical {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fecaca;
}

.wmc-badge-high {
    background: #fff7ed;
    color: #9a3412;
    border-color: #fed7aa;
}

.wmc-badge-medium {
    background: #fffbeb;
    color: #92400e;
    border-color: #fde68a;
}

.wmc-badge-low {
    background: #f0fdf4;
    color: #166534;
    border-color: #bbf7d0;
}

.wmc-badge-normal,
.wmc-badge-excellent {
    background: #dcfce7;
    color: #166534;
    border-color: #bbf7d0;
}

.wmc-badge-investigate {
    background: #fef3c7;
    color: #92400e;
    border-color: #fcd34d;
}

.wmc-toc-sidebar {
    top: 6.5rem;
}

.wmc-toc-sidebar .toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wmc-toc-sidebar .toc li {
    margin-bottom: 0.35rem;
}

.wmc-toc-sidebar .toc a,
.wmc-toc-mobile a {
    text-decoration: none;
    color: #4b5563;
    font-size: 0.9rem;
}

.wmc-toc-sidebar .toc a:hover,
.wmc-toc-mobile a:hover {
    color: #001327;
}

.wmc-toc-mobile .toc-mobile-content.active {
    display: block;
}

@media (max-width: 968px) {
    .wmc-wrapper {
        padding-top: 5rem;
    }
}

@media (max-width: 768px) {
    .migration-checklist-article h1 {
        font-size: 2rem;
    }

    .migration-checklist-article th,
    .migration-checklist-article td {
        padding: 0.65rem 0.7rem;
        font-size: 0.85rem;
    }

    .wmc-checklist-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }
}
