:root {
    --wts-bg: #090909;
    --wts-surface: #111111;
    --wts-surface-2: #171717;
    --wts-border: #2a2a2a;
    --wts-text: #ffffff;
    --wts-muted: #a8a8a8;
    --wts-orange: #ff6b00;
    --wts-orange-hover: #e85f00;
    --wts-radius: 18px;
    --wts-pill: 999px;
    --wts-shadow: 0 20px 60px rgba(0,0,0,.22);
}

.wts-suite-embed {
    width: 100%;
    min-width: 0;
}

.wts-suite-notice {
    margin: 24px 0;
    padding: 16px 18px;
    border: 1px solid #3a3a3a;
    border-radius: 14px;
    background: #121212;
    color: #fff;
    font: 500 14px/1.55 Arial, sans-serif;
}
.wts-suite-notice code { color: #ff9a52; }
.wts-suite-error { border-color: #8d2e2e; }

/* Shared button system. High specificity intentionally overrides legacy inline styles. */
body.wts-tools-page :is(
    .wtseo-ai-v2,
    .wtseo-cms-tool,
    .wtsdecay-tool,
    .wtsctr-tool,
    .wtsilo-tool,
    .wtskc-tool,
    .wtseo-kd-tool,
    .wtseo-serp-wrap,
    .wtseo-mobile-simulator,
    .wtseo-page-audit,
    .wtseo-readability-tool,
    .wtseo-robots-tool,
    .wtseo-schema-tool,
    .wtseo-utm-tool,
    .wts-image-tool,
    .wtseo-word-counter-tool,
    .wtseo-text-counter,
    .wtseo-sitemap-tool
) button:not([disabled]),
body.wts-tools-page :is(
    .wtseo-ai-v2,
    .wtseo-cms-tool,
    .wtsdecay-tool,
    .wtsctr-tool,
    .wtsilo-tool,
    .wtskc-tool,
    .wtseo-kd-tool,
    .wtseo-serp-wrap,
    .wtseo-mobile-simulator,
    .wtseo-page-audit,
    .wtseo-readability-tool,
    .wtseo-robots-tool,
    .wtseo-schema-tool,
    .wtseo-utm-tool,
    .wts-image-tool,
    .wtseo-word-counter-tool,
    .wtseo-text-counter,
    .wtseo-sitemap-tool
) input[type="button"],
body.wts-tools-page :is(
    .wtseo-ai-v2,
    .wtseo-cms-tool,
    .wtsdecay-tool,
    .wtsctr-tool,
    .wtsilo-tool,
    .wtskc-tool,
    .wtseo-kd-tool,
    .wtseo-serp-wrap,
    .wtseo-mobile-simulator,
    .wtseo-page-audit,
    .wtseo-readability-tool,
    .wtseo-robots-tool,
    .wtseo-schema-tool,
    .wtseo-utm-tool,
    .wts-image-tool,
    .wtseo-word-counter-tool,
    .wtseo-text-counter,
    .wtseo-sitemap-tool
) input[type="submit"] {
    min-height: 46px !important;
    padding: 12px 22px !important;
    border: 1px solid var(--wts-orange) !important;
    border-radius: var(--wts-pill) !important;
    background: var(--wts-orange) !important;
    color: #fff !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(255,107,0,.22) !important;
    cursor: pointer !important;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}

body.wts-tools-page :is(
    .wtseo-ai-v2,
    .wtseo-cms-tool,
    .wtsdecay-tool,
    .wtsctr-tool,
    .wtsilo-tool,
    .wtskc-tool,
    .wtseo-kd-tool,
    .wtseo-serp-wrap,
    .wtseo-mobile-simulator,
    .wtseo-page-audit,
    .wtseo-readability-tool,
    .wtseo-robots-tool,
    .wtseo-schema-tool,
    .wtseo-utm-tool,
    .wts-image-tool,
    .wtseo-word-counter-tool,
    .wtseo-text-counter,
    .wtseo-sitemap-tool
) button:not([disabled]):hover,
body.wts-tools-page :is(
    .wtseo-ai-v2,
    .wtseo-cms-tool,
    .wtsdecay-tool,
    .wtsctr-tool,
    .wtsilo-tool,
    .wtskc-tool,
    .wtseo-kd-tool,
    .wtseo-serp-wrap,
    .wtseo-mobile-simulator,
    .wtseo-page-audit,
    .wtseo-readability-tool,
    .wtseo-robots-tool,
    .wtseo-schema-tool,
    .wtseo-utm-tool,
    .wts-image-tool,
    .wtseo-word-counter-tool,
    .wtseo-text-counter,
    .wtseo-sitemap-tool
) input[type="button"]:hover,
body.wts-tools-page :is(
    .wtseo-ai-v2,
    .wtseo-cms-tool,
    .wtsdecay-tool,
    .wtsctr-tool,
    .wtsilo-tool,
    .wtskc-tool,
    .wtseo-kd-tool,
    .wtseo-serp-wrap,
    .wtseo-mobile-simulator,
    .wtseo-page-audit,
    .wtseo-readability-tool,
    .wtseo-robots-tool,
    .wtseo-schema-tool,
    .wtseo-utm-tool,
    .wts-image-tool,
    .wtseo-word-counter-tool,
    .wtseo-text-counter,
    .wtseo-sitemap-tool
) input[type="submit"]:hover {
    background: var(--wts-orange-hover) !important;
    border-color: var(--wts-orange-hover) !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 12px 28px rgba(255,107,0,.3) !important;
}

body.wts-tools-page :is(
    .wtsdecay-tool,
    .wtsctr-tool,
    .wtsilo-tool,
    .wtskc-tool
) :is(.wtsdecay-secondary-button,.wtsctr-secondary-button,.wtsilo-secondary-button,.wtskc-secondary-button,.wtsdecay-text-button,.wtsctr-text-button,.wtsilo-text-button,.wtskc-text-button),
body.wts-tools-page :is(.wtseo-buttons,.wtseo-kd-actions,.wtseo-actions) button:last-child {
    background: #171717 !important;
    border-color: #343434 !important;
    color: #fff !important;
    box-shadow: none !important;
}

body.wts-tools-page :is(
    .wtseo-ai-v2,
    .wtseo-cms-tool,
    .wtsdecay-tool,
    .wtsctr-tool,
    .wtsilo-tool,
    .wtskc-tool,
    .wtseo-kd-tool,
    .wtseo-serp-wrap,
    .wtseo-mobile-simulator,
    .wtseo-page-audit,
    .wtseo-readability-tool,
    .wtseo-robots-tool,
    .wtseo-schema-tool,
    .wtseo-utm-tool,
    .wts-image-tool,
    .wtseo-word-counter-tool,
    .wtseo-text-counter,
    .wtseo-sitemap-tool
) button:focus-visible {
    outline: 3px solid rgba(255,107,0,.32) !important;
    outline-offset: 3px !important;
}

body.wts-tools-page :is(
    .wtseo-ai-v2,
    .wtseo-cms-tool,
    .wtsdecay-tool,
    .wtsctr-tool,
    .wtsilo-tool,
    .wtskc-tool,
    .wtseo-kd-tool,
    .wtseo-serp-wrap,
    .wtseo-mobile-simulator,
    .wtseo-page-audit,
    .wtseo-readability-tool,
    .wtseo-robots-tool,
    .wtseo-schema-tool,
    .wtseo-utm-tool,
    .wts-image-tool,
    .wtseo-word-counter-tool,
    .wtseo-text-counter,
    .wtseo-sitemap-tool
) :is(input,select,textarea):focus {
    border-color: var(--wts-orange) !important;
    box-shadow: 0 0 0 3px rgba(255,107,0,.12) !important;
    outline: none !important;
}

@media (max-width: 640px) {
    body.wts-tools-page :is(.wtseo-buttons,.wtseo-kd-actions,.wtseo-actions) button,
    body.wts-tools-page :is(.wtsdecay-tool,.wtsctr-tool,.wtsilo-tool,.wtskc-tool) button {
        min-height: 48px !important;
    }
}
