.aiseo-wrap {
    max-width: none;
}

.aiseo-header {
    align-items: center;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin: 18px 0 16px;
}

.aiseo-brand-lockup {
    align-items: center;
    display: flex;
    gap: 14px;
    min-width: 0;
}

.aiseo-brand-logo {
    background: #fff;
    border-radius: 10px;
    display: block;
    flex: 0 0 72px;
    height: 72px;
    object-fit: contain;
    width: 72px;
}

.aiseo-brand-title {
    color: #1d2327;
    font-size: 23px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 4px;
}

.aiseo-header p,
.aiseo-brand-byline {
    color: #50575e;
    font-size: 14px;
    margin: 0;
}

.aiseo-brand-byline a {
    font-weight: 600;
    text-decoration: none;
}

.aiseo-actions .button {
    align-items: center;
    display: inline-flex;
    gap: 6px;
}

.aiseo-table-toolbar {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    margin: 16px 0 8px;
    row-gap: 8px;
}

.aiseo-table-toolbar .button {
    align-items: center;
    display: inline-flex;
    gap: 6px;
    height: 40px;
    justify-content: center;
    line-height: 1.2;
    max-width: 100%;
    min-height: 38px;
    padding-bottom: 0;
    padding-top: 0;
    white-space: normal;
}

.aiseo-table-toolbar .button .dashicons {
    align-items: center;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 18px;
    height: 20px;
    justify-content: center;
    line-height: 1;
    margin: 0;
    min-width: 20px;
    position: static;
    text-align: center;
    transform: none;
    vertical-align: middle;
    width: 20px;
}

.aiseo-table-toolbar .button .dashicons:before {
    align-items: center;
    display: inline-flex;
    height: 20px;
    justify-content: center;
    line-height: 1;
    margin: 0;
    text-align: center;
    width: 20px;
}

.aiseo-table-toolbar .aiseo-bulk-label {
    overflow-wrap: anywhere;
    text-align: center;
}

.aiseo-queue-progress {
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    margin: 8px 0 12px;
    padding: 10px 12px;
}

.aiseo-queue-progress[hidden] {
    display: none;
}

.aiseo-queue-progress-meta {
    align-items: center;
    color: #50575e;
    display: flex;
    font-size: 12px;
    justify-content: space-between;
    margin-bottom: 8px;
}

.aiseo-queue-progress-label {
    font-weight: 600;
}

.aiseo-queue-progress-summary {
    align-items: center;
    display: inline-flex;
    gap: 12px;
    white-space: nowrap;
}

.aiseo-queue-progress-requests {
    color: #1d7f35;
    font-weight: 600;
}

.aiseo-queue-progress-track {
    background: #f0f0f1;
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
}

.aiseo-queue-progress-bar {
    background: #2271b1;
    border-radius: inherit;
    display: block;
    height: 100%;
    transition: width 180ms ease;
    width: 0;
}

.aiseo-queue-progress-note {
    color: #646970;
    font-size: 12px;
    line-height: 1.35;
    margin-top: 8px;
}

.aiseo-queue-progress-note[hidden] {
    display: none;
}

.aiseo-current-scan {
    align-items: center;
    background: #fff;
    border: 1px solid #c3c4c7;
    border-left: 4px solid #2271b1;
    border-radius: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 8px 0;
    min-height: 32px;
    padding: 8px 12px;
}

.aiseo-current-scan[hidden] {
    display: none;
}

.aiseo-current-scan-copy {
    align-items: baseline;
    display: inline-flex;
    flex: 1 1 260px;
    gap: 5px;
    min-width: 0;
}

.aiseo-current-scan-prefix {
    color: #50575e;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 600;
}

.aiseo-current-scan-title {
    color: #1d2327;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.aiseo-stats {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    margin: 16px 0;
}

.aiseo-stat {
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    padding: 14px;
}

.aiseo-stat > span {
    align-items: center;
    color: #646970;
    display: flex;
    font-size: 12px;
    gap: 5px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.aiseo-stat strong {
    color: #1d2327;
    font-size: 22px;
}

.aiseo-stat.is-warning strong {
    color: #b32d2e;
}

.aiseo-stat.is-ok strong {
    color: #008a20;
}

.aiseo-notice {
    margin: 12px 0;
}

.aiseo-buy-requests-panel {
    align-items: end;
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0;
    padding: 14px;
}

.aiseo-buy-requests-panel label {
    display: grid;
    gap: 5px;
}

.aiseo-buy-requests-panel label span,
.aiseo-buy-requests-rate {
    color: #50575e;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.aiseo-buy-requests-panel input[type="number"] {
    max-width: 140px;
}

.aiseo-buy-requests-panel .button {
    align-items: center;
    display: inline-flex;
    gap: 6px;
}

.aiseo-buy-requests-panel.is-disabled {
    opacity: 0.68;
}

.aiseo-buy-requests-panel.is-disabled input[type="number"] {
    background: #f6f7f7;
}

.aiseo-buy-requests-rate {
    align-self: center;
    margin-bottom: 8px;
}

.aiseo-buy-requests-disabled-message {
    align-self: center;
    color: #b32d2e;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.aiseo-settings-panel {
    align-items: end;
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    margin: 16px 0;
    padding: 14px;
}

.aiseo-settings-panel label {
    display: grid;
    gap: 5px;
}

.aiseo-settings-panel label span {
    align-items: center;
    color: #50575e;
    display: inline-flex;
    font-size: 12px;
    gap: 5px;
    font-weight: 700;
    text-transform: uppercase;
}

.aiseo-tooltip {
    align-items: center;
    appearance: none;
    background: transparent;
    border: 0;
    color: #2271b1;
    cursor: help;
    display: inline-flex;
    height: 16px;
    justify-content: center;
    margin: 0;
    padding: 0;
    position: relative;
    vertical-align: middle;
    width: 16px;
}

.aiseo-tooltip .dashicons {
    font-size: 15px;
    height: 15px;
    line-height: 15px;
    width: 15px;
}

.aiseo-tooltip .aiseo-tooltip-bubble {
    background: #1d2327;
    border-radius: 4px;
    bottom: calc(100% + 8px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
    color: #fff;
    display: block;
    font-size: 12px;
    font-weight: 400;
    left: 50%;
    line-height: 1.35;
    max-width: 280px;
    min-width: 220px;
    opacity: 0;
    padding: 8px 10px;
    pointer-events: none;
    position: absolute;
    text-align: left;
    text-transform: none;
    transform: translate(-50%, 4px);
    transition: opacity 0.14s ease, transform 0.14s ease;
    visibility: hidden;
    white-space: normal;
    z-index: 100000;
}

.aiseo-tooltip-bubble::after {
    border: 6px solid transparent;
    border-top-color: #1d2327;
    content: "";
    left: 50%;
    position: absolute;
    top: 100%;
    transform: translateX(-50%);
}

.aiseo-tooltip:hover .aiseo-tooltip-bubble,
.aiseo-tooltip:focus .aiseo-tooltip-bubble,
.aiseo-tooltip:focus-visible .aiseo-tooltip-bubble {
    opacity: 1;
    transform: translate(-50%, 0);
    visibility: visible;
}

.aiseo-settings-panel input,
.aiseo-settings-panel select,
.aiseo-settings-panel textarea {
    max-width: 100%;
    width: 100%;
}

.aiseo-settings-panel .aiseo-fixed-value {
    align-items: center;
    background: #e5e7eb;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    box-sizing: border-box;
    color: #50575e;
    display: flex;
    font-size: 14px;
    font-weight: 400;
    min-height: 30px;
    padding: 0 8px;
    text-transform: none;
    width: 100%;
}

.aiseo-settings-panel input[readonly],
.aiseo-settings-panel .aiseo-readonly-field {
    background: #e5e7eb;
    border-color: #c3c4c7;
    box-shadow: none;
    color: #50575e;
    cursor: default;
}

.aiseo-settings-panel textarea {
    min-height: 58px;
    resize: vertical;
}

.aiseo-strategy-panel {
    border-top: 1px solid #dcdcde;
    grid-column: 1 / -1;
    padding-top: 12px;
}

.aiseo-strategy-heading {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    margin-bottom: 10px;
}

.aiseo-strategy-heading h2,
.aiseo-strategy-group h3 {
    color: #1d2327;
    font-size: 14px;
    line-height: 1.3;
    margin: 0;
}

.aiseo-autofill-strategy {
    align-items: center !important;
    display: inline-flex !important;
    gap: 6px;
    height: 30px;
    line-height: 1 !important;
    padding-bottom: 0;
    padding-top: 0;
    vertical-align: middle;
}

.aiseo-autofill-strategy .dashicons {
    align-items: center;
    align-self: center;
    display: inline-flex;
    flex: 0 0 16px;
    font-size: 16px;
    height: 16px;
    justify-content: center;
    line-height: 16px !important;
    margin: 0;
    transform: translateY(1px);
    width: 16px;
}

.aiseo-autofill-strategy .dashicons:before {
    display: block;
    font-size: 16px;
    height: 16px;
    line-height: 16px;
    width: 16px;
}

.aiseo-autofill-strategy.is-working .dashicons {
    animation: aiseo-spin 800ms linear infinite;
}

.aiseo-autofill-status {
    color: #646970;
    margin: -2px 0 12px;
}

.aiseo-autofill-status:empty {
    display: none;
}

.aiseo-autofill-status.is-working {
    color: #2271b1;
}

.aiseo-autofill-status.is-success {
    color: #008a20;
}

.aiseo-autofill-status.is-error {
    color: #b32d2e;
}

.aiseo-strategy-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.aiseo-strategy-group {
    border-top: 1px solid #f0f0f1;
    margin-top: 12px;
    padding-top: 12px;
}

.aiseo-strategy-group h3 {
    margin-bottom: 10px;
}

.aiseo-layout {
    display: block;
}

.aiseo-table-panel,
.aiseo-detail-panel {
    min-width: 0;
}

.aiseo-table-panel {
    width: 100%;
}

.aiseo-table {
    table-layout: fixed;
    width: 100%;
}

.aiseo-table th:nth-child(3),
.aiseo-table td:nth-child(3) {
    width: 132px;
}

.aiseo-table th:nth-child(4),
.aiseo-table td:nth-child(4),
.aiseo-table th:nth-child(5),
.aiseo-table td:nth-child(5) {
    width: 110px;
}

.aiseo-table th:nth-child(6),
.aiseo-table td:nth-child(6) {
    width: 190px;
}

.aiseo-table .button-small {
    align-items: center;
    display: inline-flex;
    gap: 4px;
    margin: 1px;
}

.aiseo-table .dashicons {
    font-size: 15px;
    height: 15px;
    width: 15px;
}

.aiseo-stage-status {
    align-items: center;
    color: #2271b1;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    gap: 7px;
    line-height: 1;
    white-space: nowrap;
}

.aiseo-stage-ring {
    --aiseo-stage-progress: 0%;
    animation: aiseo-stage-pulse 1.05s ease-in-out infinite;
    background: conic-gradient(#2271b1 0 var(--aiseo-stage-progress), #dcdcde var(--aiseo-stage-progress) 100%);
    border-radius: 999px;
    display: inline-block;
    height: 22px;
    position: relative;
    transform-origin: center;
    width: 22px;
    will-change: box-shadow, transform;
}

.aiseo-stage-ring::after {
    background: #fff;
    border-radius: inherit;
    bottom: 4px;
    content: "";
    left: 4px;
    position: absolute;
    right: 4px;
    top: 4px;
}

@keyframes aiseo-stage-pulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(34, 113, 177, 0.32);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 0 5px rgba(34, 113, 177, 0);
        transform: scale(1.08);
    }
}

.aiseo-view-report.has-new-report,
.aiseo-view-selected-report.has-new-report,
.aiseo-report-select.has-new-report {
    animation: aiseo-report-pulse 1.15s ease-in-out infinite;
    border-color: #2271b1;
    box-shadow: 0 0 0 0 rgba(34, 113, 177, 0.36);
}

.aiseo-report-links {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 4px;
    max-width: 100%;
    min-width: 0;
}

.aiseo-report-dropdown {
    align-items: stretch;
    gap: 6px;
    max-width: 172px;
    width: 100%;
}

.aiseo-report-select {
    box-sizing: border-box;
    display: block;
    max-width: 100%;
    min-height: 30px;
    min-width: 0;
    width: 100%;
}

.aiseo-report-dropdown .button {
    justify-content: center;
    max-width: 100%;
    width: 100%;
}

@keyframes aiseo-report-pulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(34, 113, 177, 0.36);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(34, 113, 177, 0);
    }
}

.aiseo-table tr.is-scanning {
    background: #f0f6fc;
}

.aiseo-table-nav {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    margin: 8px 0;
}

.aiseo-table-nav .tablenav-pages {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    float: none;
    justify-content: flex-end;
    margin: 0;
    width: 100%;
}

.aiseo-table-nav .pagination-links {
    align-items: center;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: flex-end;
    margin-left: 0;
}

.aiseo-table-nav .page-numbers {
    border: 1px solid #c3c4c7;
    border-radius: 3px;
    display: inline-flex;
    min-height: 28px;
    min-width: 28px;
    padding: 0 8px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.aiseo-table-nav .page-numbers.current {
    background: #2271b1;
    border-color: #2271b1;
    color: #fff;
}

.aiseo-start-scan.is-scanning .dashicons,
.aiseo-scan-one.is-scanning .dashicons,
.aiseo-stop-scan.is-scanning .dashicons {
    animation: aiseo-spin 800ms linear infinite;
}

.aiseo-start-scan.is-scanning,
.aiseo-scan-one.is-scanning,
.aiseo-stop-scan.is-scanning {
    cursor: progress;
    opacity: 0.78;
}

@keyframes aiseo-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.aiseo-url-actions {
    color: #646970;
    margin-top: 5px;
}

.aiseo-score,
.aiseo-big-score {
    border-radius: 999px;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    min-width: 62px;
    padding: 5px 8px;
}

.aiseo-score.is-empty {
    background: #f0f0f1;
    color: #646970;
}

.aiseo-score.is-good,
.aiseo-big-score.is-good {
    background: #edfaef;
    color: #008a20;
}

.aiseo-score.is-mid,
.aiseo-big-score.is-mid {
    background: #fcf9e8;
    color: #996800;
}

.aiseo-score.is-low,
.aiseo-big-score.is-low {
    background: #fcf0f1;
    color: #b32d2e;
}

.aiseo-score.is-stopped {
    background: #fcf9e8;
    color: #996800;
}

.aiseo-pill {
    background: #f0f0f1;
    border-radius: 999px;
    color: #50575e;
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 9px;
}

.aiseo-pill.is-ok {
    background: #edfaef;
    color: #008a20;
}

.aiseo-pill.is-warning {
    background: #fcf9e8;
    color: #996800;
}

.aiseo-detail-panel {
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    box-sizing: border-box;
    min-height: 420px;
    padding: 18px;
}

.aiseo-report-modal[hidden] {
    display: none;
}

.aiseo-report-modal {
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 100100;
}

.aiseo-report-modal-backdrop {
    background: rgba(29, 35, 39, 0.58);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.aiseo-report-modal-dialog {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
    box-sizing: border-box;
    margin: 32px auto;
    max-height: calc(100vh - 64px);
    max-width: 980px;
    overflow: hidden;
    position: relative;
    width: calc(100% - 48px);
}

.aiseo-report-modal-close {
    color: #1d2327;
    line-height: 1;
    position: absolute;
    right: 12px;
    top: 10px;
    z-index: 2;
}

.aiseo-report-modal-close .dashicons {
    font-size: 24px;
    height: 24px;
    width: 24px;
}

.aiseo-report-modal .aiseo-detail-panel {
    border: 0;
    border-radius: 0;
    max-height: calc(100vh - 64px);
    min-height: 0;
    overflow: auto;
    padding: 22px;
}

body.aiseo-report-modal-open {
    overflow: hidden;
}

.aiseo-empty-detail {
    color: #646970;
    margin: 70px auto;
    max-width: 320px;
    text-align: center;
}

.aiseo-empty-detail .dashicons {
    color: #8c8f94;
    font-size: 34px;
    height: 34px;
    width: 34px;
}

.aiseo-empty-detail h2 {
    color: #1d2327;
}

.aiseo-report-head {
    align-items: flex-start;
    border-bottom: 1px solid #dcdcde;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 16px;
}

.aiseo-report-head h2 {
    line-height: 1.25;
    margin: 4px 0;
}

.aiseo-report-head a {
    overflow-wrap: anywhere;
}

.aiseo-kicker {
    color: #646970;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.aiseo-scan-context {
    align-items: center;
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    color: #50575e;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-bottom: 14px;
    padding: 9px 11px;
}

.aiseo-scan-context span {
    display: inline-flex;
    gap: 5px;
}

.aiseo-scan-context small {
    color: #996800;
    flex-basis: 100%;
}

.aiseo-big-score {
    flex: 0 0 auto;
    font-size: 18px;
    min-width: 76px;
}

.aiseo-inline-warning,
.aiseo-cache-notice,
.aiseo-error {
    background: #fcf9e8;
    border-left: 4px solid #dba617;
    margin-bottom: 14px;
    padding: 10px 12px;
}

.aiseo-error {
    background: #fcf0f1;
    border-left-color: #b32d2e;
}

.aiseo-cache-notice {
    background: #edfaef;
    border-left-color: #008a20;
}

.aiseo-cache-notice p {
    margin: 6px 0 0;
}

.aiseo-change-diff {
    display: grid;
    gap: 5px 8px;
    grid-template-columns: minmax(92px, max-content) minmax(0, 1fr);
    margin: 6px 0 0;
}

.aiseo-change-diff dt {
    color: #646970;
    font-weight: 700;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.aiseo-change-diff dd {
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
}

.aiseo-change-diff code {
    background: #f6f7f7;
    display: block;
    max-height: 120px;
    overflow: auto;
    overflow-wrap: anywhere;
    padding: 6px;
    white-space: pre-wrap;
    word-break: break-word;
}

.aiseo-change-diff em {
    color: #8c8f94;
}

.aiseo-section {
    border-top: 1px solid #dcdcde;
    margin-top: 18px;
    padding-top: 16px;
}

.aiseo-section h3 {
    font-size: 14px;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.aiseo-keyword-list {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.aiseo-keyword-card {
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    padding: 10px;
}

.aiseo-keyword-card > div {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 7px;
}

.aiseo-keyword-card strong {
    color: #1d2327;
}

.aiseo-keyword-card div span {
    color: #646970;
    font-size: 12px;
}

.aiseo-keyword-card p {
    color: #50575e;
    font-size: 12px;
    margin: 8px 0 0;
}

.aiseo-empty-keywords {
    color: #646970;
    margin: 0;
}

.aiseo-section-title-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
}

.aiseo-section-title-row h3 {
    margin-bottom: 0;
}

.aiseo-section-title-row span {
    background: #f0f6fc;
    border-radius: 999px;
    color: #2271b1;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
}

.aiseo-proposed-summary {
    color: #50575e;
    margin: 0 0 12px;
}

.aiseo-proposed-subsection {
    margin-top: 12px;
}

.aiseo-proposed-subsection h4 {
    color: #1d2327;
    font-size: 13px;
    margin: 0 0 8px;
}

.aiseo-proposed-grid,
.aiseo-proposed-list {
    display: grid;
    gap: 10px;
}

.aiseo-proposed-grid {
    grid-template-columns: 1fr;
}

.aiseo-proposed-card {
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    min-width: 0;
    padding: 10px;
}

.aiseo-proposed-card-head {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin-bottom: 8px;
}

.aiseo-proposed-card-head strong {
    color: #1d2327;
}

.aiseo-proposed-card-head small,
.aiseo-proposed-card p,
.aiseo-proposed-tags small,
.aiseo-proposed-image-url {
    color: #646970;
}

.aiseo-proposed-card p {
    font-size: 12px;
    margin: 8px 0 0;
}

.aiseo-proposed-text,
.aiseo-proposed-pre,
.aiseo-proposed-tags code,
.aiseo-proposed-values,
.aiseo-proposed-object {
    background: #f6f7f7;
}

.aiseo-proposed-text {
    display: block;
    overflow-wrap: anywhere;
    padding: 7px;
    white-space: normal;
}

.aiseo-proposed-pre {
    box-sizing: border-box;
    display: block;
    margin: 0;
    max-height: 240px;
    max-width: 100%;
    overflow: auto;
    padding: 8px;
    white-space: pre-wrap;
}

.aiseo-proposed-tags,
.aiseo-proposed-values {
    display: grid;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 8px;
}

.aiseo-proposed-tags li {
    display: grid;
    gap: 4px;
}

.aiseo-proposed-tags code {
    padding: 4px 6px;
    width: fit-content;
}

.aiseo-proposed-tags span,
.aiseo-proposed-values li,
.aiseo-proposed-object dd,
.aiseo-proposed-image-url {
    overflow-wrap: anywhere;
}

.aiseo-proposed-object {
    display: grid;
    gap: 6px 10px;
    grid-template-columns: 130px minmax(0, 1fr);
    margin: 0;
    padding: 8px;
}

.aiseo-proposed-object dt {
    color: #646970;
    font-weight: 700;
}

.aiseo-proposed-object dd {
    margin: 0;
}

.aiseo-proposed-diff {
    margin-top: 0;
}

.aiseo-proposed-image-url {
    display: block;
    font-size: 12px;
    margin-top: 8px;
}

.aiseo-proposed-warnings {
    background: #fcf9e8;
    border-left: 4px solid #dba617;
    margin-top: 12px;
    padding: 10px 12px;
}

.aiseo-proposed-warnings ul {
    margin-bottom: 0;
}

.aiseo-dl,
.aiseo-signal-grid {
    display: grid;
    gap: 8px 14px;
    grid-template-columns: 150px minmax(0, 1fr);
    margin: 0;
}

.aiseo-dl dt,
.aiseo-signal-grid dt {
    color: #646970;
    font-weight: 700;
}

.aiseo-dl dd,
.aiseo-signal-grid dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.aiseo-action-list,
.aiseo-checks {
    display: grid;
    gap: 10px;
}

.aiseo-action,
.aiseo-check {
    border: 1px solid #dcdcde;
    border-radius: 6px;
    padding: 12px;
}

.aiseo-action p,
.aiseo-action small,
.aiseo-check p {
    display: block;
    margin: 6px 0 0;
}

.aiseo-action small {
    color: #646970;
}

.aiseo-severity {
    border-radius: 999px;
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    margin-right: 6px;
    padding: 2px 7px;
    text-transform: uppercase;
}

.aiseo-severity.high {
    background: #fcf0f1;
    color: #b32d2e;
}

.aiseo-severity.medium {
    background: #fcf9e8;
    color: #996800;
}

.aiseo-severity.low {
    background: #f0f6fc;
    color: #2271b1;
}

.aiseo-scope,
.aiseo-status {
    border-radius: 999px;
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 6px 4px 0;
    padding: 2px 7px;
    text-transform: uppercase;
}

.aiseo-scope.local {
    background: #e7f5ff;
    color: #0969da;
}

.aiseo-scope.generic {
    background: #f0f0f1;
    color: #50575e;
}

.aiseo-scope.mixed {
    background: #f6f0ff;
    color: #674399;
}

.aiseo-status.pass {
    background: #edfaef;
    color: #008a20;
}

.aiseo-status.needs_work {
    background: #fcf9e8;
    color: #996800;
}

.aiseo-status.not_verified {
    background: #f0f0f1;
    color: #646970;
}

.aiseo-status.critical {
    background: #fcf0f1;
    color: #b32d2e;
}

.aiseo-check.pass {
    border-left: 4px solid #00a32a;
}

.aiseo-check.warning {
    border-left: 4px solid #dba617;
}

.aiseo-check.fail {
    border-left: 4px solid #b32d2e;
}

.aiseo-check span {
    color: #646970;
    display: block;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.aiseo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.aiseo-tags li {
    background: #f0f6fc;
    border-radius: 999px;
    color: #2271b1;
    font-weight: 600;
    padding: 5px 10px;
}

.aiseo-loading {
    color: #646970;
    padding: 30px;
    text-align: center;
}

@media (max-width: 1180px) {
    .aiseo-layout {
        display: block;
    }
}

@media (max-width: 782px) {
    .aiseo-header {
        align-items: stretch;
        flex-direction: column;
    }

    .aiseo-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .aiseo-settings-panel {
        grid-template-columns: 1fr;
    }

    .aiseo-dl,
    .aiseo-proposed-object,
    .aiseo-signal-grid {
        grid-template-columns: 1fr;
    }

    .aiseo-report-modal-dialog {
        margin: 18px auto;
        max-height: calc(100vh - 36px);
        width: calc(100% - 24px);
    }

    .aiseo-report-modal .aiseo-detail-panel {
        max-height: calc(100vh - 36px);
        padding: 18px 14px;
    }
}
