﻿.nen-seo-shell {
    max-width: 1120px;
    margin: 32px auto 56px;
    padding: 0 18px;
    color: #172033;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.nen-seo-app {
    display: grid;
    gap: 18px;
}

.nen-seo-hero {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: stretch;
    padding: 28px;
    border: 1px solid #dbe5f1;
    border-radius: 8px;
    background: linear-gradient(135deg, #f8fbff 0%, #eef7f4 100%);
}

.nen-seo-kicker {
    margin: 0 0 8px;
    color: #167055;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.nen-seo-hero h1,
.nen-seo-panel h2 {
    margin: 0;
    line-height: 1.2;
    color: #101828;
}

.nen-seo-hero h1 {
    font-size: clamp(28px, 4vw, 44px);
}

.nen-seo-hero p {
    max-width: 720px;
    margin: 12px 0 0;
    color: #536274;
    font-size: 16px;
    line-height: 1.7;
}

.nen-seo-credit-card,
.nen-seo-panel {
    border: 1px solid #dbe5f1;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(16, 24, 40, .06);
}

.nen-seo-credit-card {
    min-width: 168px;
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 20px;
}

.nen-seo-credit-card span,
.nen-seo-section-title span,
.nen-seo-muted,
.nen-seo-panel small {
    color: #667085;
}

.nen-seo-credit-card strong {
    color: #165dff;
    font-size: 42px;
    line-height: 1;
}

.nen-seo-featured-image {
    margin: 18px 0 22px;
}

.nen-seo-featured-image img,
.nen-seo-generated-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.nen-seo-form,
.nen-seo-two-col {
    display: grid;
    gap: 18px;
}

.nen-seo-two-col {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.nen-seo-panel {
    padding: 22px;
}

.nen-seo-section-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.nen-seo-section-title h2 {
    font-size: 20px;
}

.nen-seo-muted {
    margin: -6px 0 18px;
    line-height: 1.6;
}

.nen-seo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.nen-seo-panel label {
    display: grid;
    gap: 7px;
    margin: 0 0 16px;
    font-weight: 700;
}

.nen-seo-panel small {
    font-size: 12px;
    font-weight: 500;
}

.nen-seo-panel input,
.nen-seo-panel textarea,
.nen-seo-panel select {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 11px 12px;
    border: 1px solid #cad5e4;
    border-radius: 6px;
    background: #fff;
    color: #172033;
    font: inherit;
    outline: none;
}

.nen-seo-panel textarea {
    resize: vertical;
    line-height: 1.6;
}

.nen-seo-panel input:focus,
.nen-seo-panel textarea:focus,
.nen-seo-panel select:focus {
    border-color: #165dff;
    box-shadow: 0 0 0 3px rgba(22, 93, 255, .12);
}

.nen-seo-disabled {
    opacity: .58;
}

.nen-seo-disabled select,
.nen-seo-disabled input {
    cursor: not-allowed;
    background: #f5f7fb;
}

.nen-seo-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.nen-seo-actions button {
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 6px;
    background: #165dff;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.nen-seo-actions button[disabled] {
    opacity: .65;
    cursor: wait;
}

.nen-seo-table-wrap {
    overflow-x: auto;
}

.nen-seo-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.nen-seo-table th,
.nen-seo-table td {
    border-bottom: 1px solid #e7edf5;
    padding: 11px 9px;
    text-align: left;
    vertical-align: top;
}

.nen-seo-table th {
    color: #475467;
    font-weight: 800;
    background: #f8fafc;
}


.nen-seo-table .nen-seo-col-task_uuid {
    width: 92px;
    max-width: 92px;
    white-space: nowrap;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: #475467;
}

.nen-seo-table .nen-seo-col-status {
    width: 190px;
    min-width: 150px;
}

.nen-seo-table .nen-seo-col-actions {
    width: 82px;
    white-space: nowrap;
}

.nen-seo-status {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: #eef4ff;
    color: #165dff;
    font-weight: 700;
}

.nen-seo-empty {
    text-align: center;
    color: #667085;
}

@media (max-width: 820px) {
    .nen-seo-hero,
    .nen-seo-two-col,
    .nen-seo-grid {
        grid-template-columns: 1fr;
    }

    .nen-seo-hero {
        display: grid;
        padding: 22px;
    }
}
.nen-seo-secondary {
    background: #eef2f7 !important;
    color: #172033 !important;
    border: 1px solid #cfd7e6 !important;
}

.nen-seo-article-view {
    max-width: 860px;
    margin: 0 auto;
}

.nen-seo-article-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 18px;
    color: #667085;
    font-size: 14px;
}

.nen-seo-article-view h1 {
    margin: 0 0 18px;
    color: #101828;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
}

.nen-seo-excerpt {
    color: #536274;
    font-size: 18px;
    line-height: 1.7;
    border-left: 4px solid #165dff;
    padding-left: 16px;
}

.nen-seo-generated-content {
    color: #243044;
    line-height: 1.78;
    font-size: 16px;
}

.nen-seo-generated-content h2 {
    margin: 34px 0 12px;
    font-size: 28px;
}

.nen-seo-generated-content h3 {
    margin: 24px 0 10px;
    font-size: 21px;
}

.nen-seo-generated-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
}

.nen-seo-generated-content th,
.nen-seo-generated-content td {
    border: 1px solid #dbe5f1;
    padding: 10px;
    vertical-align: top;
}

.nen-seo-target-link {
    margin-top: 28px;
}
.nen-seo-article-fields {
    display: grid;
    gap: 12px;
    margin: 18px 0 22px;
}

.nen-seo-article-fields div {
    border: 1px solid #dbe5f1;
    border-radius: 8px;
    padding: 12px 14px;
    background: #f8fafc;
}

.nen-seo-article-fields strong {
    display: block;
    color: #172033;
    font-size: 13px;
    margin-bottom: 6px;
}

.nen-seo-article-fields p {
    margin: 0;
    color: #45556c;
    line-height: 1.65;
}

.nen-site-builder .nen-seo-two-col {
    align-items: start;
}

.nen-site-tree {
    max-height: 620px;
    overflow: auto;
}

.nen-site-tree-list,
.nen-site-tree-list ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.nen-site-tree-list ul {
    margin-left: 14px;
    padding-left: 14px;
    border-left: 1px solid #dbe5f1;
}

.nen-site-tree-list li {
    margin: 8px 0;
}

.nen-site-node {
    width: 100%;
    display: grid;
    gap: 3px;
    text-align: left;
    padding: 10px 12px;
    border: 1px solid #dbe5f1;
    border-radius: 6px;
    background: #fff;
    color: #172033;
    cursor: pointer;
}

.nen-site-node:hover,
.nen-site-node.is-active {
    border-color: #165dff;
    background: #f2f6ff;
}

.nen-site-node strong {
    font-size: 14px;
}

.nen-site-node span {
    color: #667085;
    font-size: 12px;
    word-break: break-all;
}

.nen-site-current {
    min-height: 132px;
    margin-bottom: 18px;
    padding: 14px;
    border: 1px solid #dbe5f1;
    border-radius: 8px;
    background: #f8fafc;
    color: #45556c;
    line-height: 1.65;
}

.nen-site-current p {
    margin: 0 0 10px;
}

.nen-site-output {
    width: 100%;
    box-sizing: border-box;
    min-height: 420px;
    padding: 14px;
    border: 1px solid #cad5e4;
    border-radius: 8px;
    background: #0f172a;
    color: #e5edf7;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    line-height: 1.55;
    resize: vertical;
}

.nen-seo-cancel {
    border: 1px solid #fecaca;
    background: #fff5f5;
    color: #b42318;
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 13px;
}

.nen-seo-cancel:hover {
    background: #fee2e2;
}

.nen-seo-cancel:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}


.nen-seo-profile-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
}

.nen-seo-profile-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.nen-seo-profile-actions span {
    color: #147a3d;
    font-size: 14px;
}

.nen-seo-danger {
    border-color: #fecaca !important;
    color: #b42318 !important;
    background: #fff5f5 !important;
}

@media (max-width: 820px) {
    .nen-seo-profile-row {
        grid-template-columns: 1fr;
    }
}
