/* =========================================================
   Arthena AI shared interface
   ========================================================= */

.arthena-ai {
    --ai-navy: #102a46;
    --ai-navy-dark: #0b2037;
    --ai-blue: #0878f9;
    --ai-blue-dark: #0564d3;
    --ai-cyan: #00a7d8;
    --ai-green: #22a866;
    --ai-orange: #f28b2d;
    --ai-red: #d94a4a;
    --ai-text: #14283d;
    --ai-muted: #687c8e;
    --ai-border: #dce7ef;
    --ai-soft: #f4f8fb;
    --ai-soft-blue: #edf6ff;
    --ai-white: #ffffff;
    --ai-shadow: 0 8px 28px rgba(20, 50, 75, .07);

    color: var(--ai-text);
    padding-bottom: 70px;
}

.arthena-ai *,
.arthena-ai *::before,
.arthena-ai *::after {
    box-sizing: border-box;
}

.arthena-ai a {
    text-decoration: none;
}

.ai-shell {
    max-width: 1180px;
    margin: 0 auto;
}

/* Breadcrumbs */

.ai-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin: 20px 0 16px;
    color: #7290a5;
    font-size: 13px;
}

.ai-breadcrumbs a {
    color: var(--ai-blue);
}

.ai-breadcrumbs span {
    color: #9babb7;
}

/* Buttons */

.ai-ui-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 17px;
    border: 1px solid transparent;
    border-radius: 7px;
    background: var(--ai-blue);
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition:
        transform .15s ease,
        background .15s ease,
        border-color .15s ease;
}

.ai-ui-button:hover {
    background: var(--ai-blue-dark);
    color: #fff !important;
    transform: translateY(-1px);
}

.ai-ui-button.secondary {
    background: #fff;
    color: var(--ai-blue) !important;
    border-color: #88bfff;
}

.ai-ui-button.secondary:hover {
    background: var(--ai-soft-blue);
}

.ai-ui-button.dark {
    background: var(--ai-navy);
}

.ai-ui-button.dark:hover {
    background: var(--ai-navy-dark);
}

.ai-ui-button.small {
    min-height: 36px;
    padding: 0 13px;
    font-size: 13px;
}

/* Hero */

.ai-home-hero {
    position: relative;
    overflow: hidden;
    min-height: 365px;
    margin: 20px 0 0;
    border: 1px solid var(--ai-border);
    border-radius: 10px 10px 0 0;
    background:
        radial-gradient(
            circle at 83% 28%,
            rgba(94, 181, 255, .25),
            transparent 31%
        ),
        linear-gradient(
            112deg,
            #f7fbff 0%,
            #e8f4ff 58%,
            #dbeeff 100%
        );
}

.ai-home-hero-inner {
    min-height: 365px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(330px, .95fr);
    align-items: center;
    gap: 40px;
    padding: 42px 48px;
}

.ai-home-hero-copy {
    position: relative;
    z-index: 2;
}

.ai-home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 11px;
    color: var(--ai-blue);
    font-size: 13px;
    font-weight: 800;
}

.ai-home-hero h1 {
    max-width: 560px;
    margin: 0 0 12px;
    color: var(--ai-navy);
    font-size: clamp(42px, 5.3vw, 65px);
    line-height: .98;
    letter-spacing: -.035em;
}

.ai-home-hero p {
    max-width: 610px;
    margin: 0;
    color: #355065;
    font-size: 18px;
    line-height: 1.6;
}

.ai-home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 24px;
}

/* CSS visual used instead of a stock photo */

.ai-hero-visual {
    position: relative;
    min-height: 275px;
}

.ai-hero-screen {
    position: absolute;
    width: 83%;
    right: 2%;
    top: 12px;
    border: 9px solid #17273a;
    border-radius: 14px;
    background: #fff;
    box-shadow:
        0 26px 50px rgba(27, 65, 95, .23),
        0 4px 12px rgba(27, 65, 95, .12);
    transform: rotate(2deg);
    overflow: hidden;
}

.ai-hero-screen-bar {
    height: 29px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 9px;
    background: var(--ai-navy);
}

.ai-hero-screen-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,.7);
}

.ai-hero-screen-body {
    padding: 17px;
}

.ai-hero-screen-title {
    width: 45%;
    height: 13px;
    background: var(--ai-navy);
    border-radius: 4px;
    margin-bottom: 12px;
}

.ai-hero-screen-line {
    height: 7px;
    border-radius: 4px;
    background: #dbe7ef;
    margin-bottom: 7px;
}

.ai-hero-screen-line.short {
    width: 63%;
}

.ai-hero-screen-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 15px;
}

.ai-hero-mini-card {
    height: 62px;
    border: 1px solid #dbe7ef;
    border-radius: 7px;
    background: #f8fbfd;
}

.ai-hero-screen-result {
    margin-top: 11px;
    padding: 11px;
    border-radius: 7px;
    background: var(--ai-soft-blue);
}

.ai-hero-screen-result-line {
    height: 6px;
    background: #8ebde7;
    border-radius: 3px;
    margin: 5px 0;
}

.ai-hero-screen-result-line:nth-child(2) {
    width: 84%;
}

.ai-hero-screen-result-line:nth-child(3) {
    width: 68%;
}

.ai-hero-base {
    position: absolute;
    width: 94%;
    right: -4%;
    bottom: 1px;
    height: 18px;
    border-radius: 2px 2px 16px 16px;
    background: linear-gradient(#9ba8b3, #dfe5e9);
    transform: skewX(-16deg);
    box-shadow: 0 12px 18px rgba(31, 56, 77, .16);
}

/* Feature strip */

.ai-benefit-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--ai-border);
    border-top: 0;
    border-radius: 0 0 10px 10px;
    background: #fff;
    margin-bottom: 30px;
}

.ai-benefit {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 14px;
    text-align: left;
    border-right: 1px solid #edf2f5;
}

.ai-benefit:last-child {
    border-right: 0;
}

.ai-benefit-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--ai-soft-blue);
    color: var(--ai-blue);
    font-size: 18px;
    font-weight: 800;
}

.ai-benefit strong {
    display: block;
    color: var(--ai-navy);
    font-size: 13px;
    line-height: 1.25;
}

/* Section header */

.ai-section-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
    flex-wrap: wrap;
    margin: 0 0 18px;
}

.ai-section-title h2 {
    margin: 0 0 5px;
    color: var(--ai-navy);
    font-size: 29px;
}

.ai-section-title p {
    margin: 0;
    color: var(--ai-muted);
    line-height: 1.5;
}

/* Account / credit summary */

.ai-credit-panel {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.ai-credit-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--ai-soft-blue);
    color: var(--ai-navy);
    font-weight: 700;
    font-size: 13px;
}

.ai-credit-pill strong {
    color: var(--ai-blue);
}

/* Category filters */

.ai-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 18px;
    padding: 5px;
    border: 1px solid var(--ai-border);
    border-radius: 8px;
    background: #fff;
}

.ai-category-button {
    border: 0;
    border-radius: 6px;
    padding: 8px 14px;
    background: transparent;
    color: #4e6475;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.ai-category-button:hover,
.ai-category-button.active {
    background: var(--ai-blue);
    color: #fff;
}

/* Tool grid */

.ai-tool-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.ai-tool-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 255px;
    padding: 23px 21px 20px;
    border: 1px solid var(--ai-border);
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 3px 14px rgba(20, 50, 75, .035);
    text-align: center;
    transition:
        transform .16s ease,
        box-shadow .16s ease,
        border-color .16s ease;
}

.ai-tool-card:hover {
    transform: translateY(-2px);
    border-color: #bdd8eb;
    box-shadow: var(--ai-shadow);
}

.ai-tool-icon {
    width: 46px;
    height: 46px;
    margin: 0 auto 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: var(--ai-soft-blue);
    color: var(--ai-blue);
}

.ai-tool-icon svg {
    width: 25px;
    height: 25px;
    display: block;
}

.ai-tool-card h3 {
    margin: 0 0 7px;
    color: var(--ai-navy);
    font-size: 18px;
}

.ai-tool-card p {
    flex-grow: 1;
    margin: 0 0 13px;
    color: var(--ai-muted);
    font-size: 14px;
    line-height: 1.52;
}

.ai-tool-credit {
    margin-bottom: 13px;
    color: var(--ai-navy);
    font-size: 13px;
    font-weight: 800;
}

.ai-tool-category {
    position: absolute;
    right: 10px;
    top: 10px;
    padding: 4px 7px;
    border-radius: 999px;
    background: #f2f6f8;
    color: #718494;
    font-size: 10px;
    font-weight: 700;
}

.ai-tool-card .ai-ui-button {
    width: 100%;
}

/* General panels */

.ai-panel {
    border: 1px solid var(--ai-border);
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 3px 14px rgba(20, 50, 75, .035);
}

.ai-panel-pad {
    padding: 24px;
}

/* How it works */

.ai-how-panel {
    margin-top: 30px;
    padding: 26px;
    border-radius: 9px;
    background:
        linear-gradient(
            105deg,
            #f8fbfe,
            #edf6ff
        );
    border: 1px solid #d8e9f7;
}

.ai-how-panel h2 {
    margin: 0 0 18px;
    color: var(--ai-navy);
    font-size: 24px;
}

.ai-how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.ai-how-step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.ai-how-number {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ai-blue);
    color: #fff;
    font-weight: 800;
}

.ai-how-step strong {
    display: block;
    color: var(--ai-navy);
    margin-bottom: 3px;
}

.ai-how-step p {
    margin: 0;
    color: var(--ai-muted);
    font-size: 13px;
    line-height: 1.45;
}

/* Form styles for later tool pages */

.ai-form-card {
    padding: 22px;
    border: 1px solid var(--ai-border);
    border-radius: 9px;
    background: #fff;
}

.ai-form-row {
    margin-bottom: 17px;
}

.ai-form-row:last-child {
    margin-bottom: 0;
}

.ai-form-row label {
    display: block;
    margin-bottom: 6px;
    color: var(--ai-navy);
    font-size: 13px;
    font-weight: 800;
}

.ai-form-row input,
.ai-form-row textarea,
.ai-form-row select {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #cad8e2;
    border-radius: 6px;
    background: #fff;
    color: var(--ai-text);
    font: inherit;
}

.ai-form-row input:focus,
.ai-form-row textarea:focus,
.ai-form-row select:focus {
    outline: 0;
    border-color: #70b1ef;
    box-shadow: 0 0 0 3px rgba(8,120,249,.09);
}

/* Notices */

.ai-notice {
    margin: 15px 0;
    padding: 13px 15px;
    border: 1px solid;
    border-radius: 7px;
    font-size: 14px;
}

.ai-notice.error {
    border-color: #f1c4c4;
    background: #fff1f1;
    color: #9a3030;
}

.ai-notice.success {
    border-color: #bfe3ca;
    background: #eef9f1;
    color: #28633a;
}

.ai-notice.info {
    border-color: #c9e1f5;
    background: #eff7fe;
    color: #315f83;
}

/* Responsive */

@media (max-width: 900px) {

    .ai-home-hero-inner {
        grid-template-columns: 1fr;
    }

    .ai-hero-visual {
        min-height: 240px;
        max-width: 550px;
        width: 100%;
        margin: 0 auto;
    }

    .ai-benefit-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .ai-benefit:nth-child(2) {
        border-right: 0;
    }

    .ai-benefit:nth-child(-n+2) {
        border-bottom: 1px solid #edf2f5;
    }

    .ai-tool-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ai-how-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {

    .arthena-ai {
        padding-bottom: 45px;
    }

    .ai-home-hero {
        margin-top: 12px;
    }

    .ai-home-hero-inner {
        min-height: auto;
        padding: 30px 22px;
        gap: 26px;
    }

    .ai-home-hero h1 {
        font-size: 43px;
    }

    .ai-home-hero p {
        font-size: 16px;
    }

    .ai-hero-visual {
        min-height: 200px;
    }

    .ai-benefit-strip {
        grid-template-columns: 1fr;
    }

    .ai-benefit {
        justify-content: flex-start;
        border-right: 0;
        border-bottom: 1px solid #edf2f5;
    }

    .ai-benefit:last-child {
        border-bottom: 0;
    }

    .ai-tool-grid {
        grid-template-columns: 1fr;
    }

    .ai-section-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .ai-credit-panel {
        width: 100%;
    }

    .ai-credit-panel .ai-ui-button {
        flex: 1;
    }

    .ai-category-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .ai-category-button {
        white-space: nowrap;
    }
}


/* Arthena AI tool page components */

.ai-tool-page {
    max-width: 1060px;
    margin: 0 auto;
    padding-bottom: 65px;
}

.ai-tool-page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 22px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.ai-tool-title-wrap {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.ai-tool-heading-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: var(--ai-soft-blue);
    color: var(--ai-blue);
}

.ai-tool-heading-icon svg {
    width: 27px;
    height: 27px;
}

.ai-tool-page-head h1 {
    margin: 0 0 5px;
    color: var(--ai-navy);
    font-size: 30px;
    line-height: 1.1;
}

.ai-tool-page-head p {
    margin: 0;
    max-width: 690px;
    color: var(--ai-muted);
    line-height: 1.55;
}

.ai-cost-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    margin-left: 8px;
    padding: 0 9px;
    border-radius: 999px;
    background: #e7f3ff;
    color: #086ccf;
    font-size: 11px;
    font-weight: 800;
    vertical-align: middle;
    white-space: nowrap;
}

.ai-tool-account {
    display: flex;
    gap: 9px;
    align-items: center;
    flex-wrap: wrap;
}

.ai-tool-form-card,
.ai-tool-results-card {
    margin-bottom: 22px;
    padding: 22px;
    border: 1px solid var(--ai-border);
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 3px 14px rgba(20,50,75,.035);
}

.ai-tool-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.ai-tool-field label {
    display: block;
    margin-bottom: 6px;
    color: var(--ai-navy);
    font-size: 13px;
    font-weight: 800;
}

.ai-tool-field input,
.ai-tool-field textarea,
.ai-tool-field select {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #cad8e2;
    border-radius: 6px;
    background: #fff;
    color: var(--ai-text);
    font: inherit;
}

.ai-tool-field input:focus,
.ai-tool-field textarea:focus,
.ai-tool-field select:focus {
    outline: none;
    border-color: #70b1ef;
    box-shadow: 0 0 0 3px rgba(8,120,249,.09);
}

.ai-tool-note {
    margin: 12px 0 0;
    color: #778995;
    font-size: 12px;
    line-height: 1.5;
}

.ai-results-heading {
    margin: -22px -22px 20px;
    padding: 15px 18px;
    border-radius: 9px 9px 0 0;
    background: linear-gradient(100deg,#f4f9fd,#edf6ff);
    border-bottom: 1px solid #dce8f1;
}

.ai-results-heading h2 {
    margin: 0;
    color: var(--ai-navy);
    font-size: 20px;
}

.ai-score-summary {
    display: flex;
    gap: 20px;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e8eef2;
}

.ai-score-ring {
    --score: 0;
    --score-colour: #22a866;
    position: relative;
    width: 94px;
    height: 94px;
    flex: 0 0 94px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        conic-gradient(
            var(--score-colour)
            calc(var(--score) * 1%),
            #e8eef2 0
        );
}

.ai-score-ring::before {
    content: "";
    position: absolute;
    inset: 7px;
    border-radius: 50%;
    background: #fff;
}

.ai-score-ring-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    line-height: 1;
}

.ai-score-ring strong {
    display: block;
    color: var(--ai-navy);
    font-size: 27px;
}

.ai-score-ring small {
    color: #6f8190;
    font-size: 10px;
}

.ai-score-copy h3 {
    margin: 0 0 5px;
    color: var(--ai-navy);
    font-size: 18px;
}

.ai-score-copy p {
    margin: 0;
    color: var(--ai-muted);
    line-height: 1.55;
}

.ai-copy-section {
    padding: 16px 0;
    border-bottom: 1px solid #e8eef2;
}

.ai-copy-section:last-child {
    border-bottom: 0;
}

.ai-copy-section h3 {
    margin: 0 0 8px;
    color: var(--ai-navy);
    font-size: 15px;
}

.ai-copy-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.ai-copy-value {
    flex: 1;
    padding: 11px 12px;
    border: 1px solid #dce6ec;
    border-radius: 6px;
    background: #f8fafb;
    color: #334d60;
    line-height: 1.5;
}

.ai-copy-button {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0 11px;
    border: 1px solid #bcd9f4;
    border-radius: 6px;
    background: #f5faff;
    color: #086ccf;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.ai-copy-button:hover {
    background: #eaf5ff;
}

.ai-recommendation-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 15px;
    margin-top: 18px;
}

.ai-recommendation-card {
    padding: 17px;
    border: 1px solid #e0e8ee;
    border-radius: 8px;
    background: #fbfcfd;
}

.ai-recommendation-card h3 {
    margin: 0 0 10px;
    color: var(--ai-navy);
    font-size: 15px;
}

.ai-recommendation-card ul {
    margin: 0;
    padding-left: 19px;
}

.ai-recommendation-card li {
    margin: 0 0 7px;
    color: #4c6272;
    line-height: 1.45;
}

.ai-recommendation-card li:last-child {
    margin-bottom: 0;
}

.ai-analysed-url {
    margin-top: 18px;
    padding-top: 13px;
    border-top: 1px solid #e8eef2;
    color: #7a8b97;
    font-size: 12px;
    word-break: break-all;
}

@media (max-width: 720px) {
    .ai-score-summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .ai-copy-row {
        flex-direction: column;
    }

    .ai-copy-button {
        align-self: flex-start;
    }

    .ai-recommendation-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   Arthena AI interface polish
   ========================================================= */

/* Dark header only inside the Arthena AI area */

body.arthena-ai-site .site-header {
    background: #102a46;
    border-bottom: 0;
    box-shadow: 0 2px 8px rgba(10, 31, 52, .18);
}

body.arthena-ai-site .site-header .header-inner {
    min-height: 58px;
}

body.arthena-ai-site .site-header .logo img {
    filter: brightness(0) invert(1);
}

body.arthena-ai-site .main-nav > a,
body.arthena-ai-site .nav-dropdown-toggle,
body.arthena-ai-site .nav-summary-link {
    color: #fff !important;
}

body.arthena-ai-site .main-nav > a:hover,
body.arthena-ai-site .nav-summary-link:hover,
body.arthena-ai-site .nav-dropdown-toggle:hover {
    color: #9ed0ff !important;
}

body.arthena-ai-site .main-nav .nav-button {
    background: #0878f9;
    color: #fff !important;
    border-color: #0878f9;
}

body.arthena-ai-site .nav-toggle {
    color: #fff;
    border-color: rgba(255,255,255,.35);
}

body.arthena-ai-site .nav-dropdown-menu {
    border: 1px solid #dce7ef;
    box-shadow: 0 12px 28px rgba(10, 31, 52, .16);
}

body.arthena-ai-site .nav-dropdown-menu a {
    color: #17324d !important;
}


/* Tighter tool-page composition */

.arthena-ai .ai-tool-page {
    max-width: 1040px;
}

.arthena-ai .ai-breadcrumbs {
    margin-top: 14px;
    margin-bottom: 10px;
}

.arthena-ai .ai-tool-page-head {
    margin-bottom: 17px;
}

.arthena-ai .ai-tool-title-wrap {
    gap: 13px;
}

.arthena-ai .ai-tool-heading-icon {
    width: 43px;
    height: 43px;
    flex-basis: 43px;
    border-radius: 11px;
}

.arthena-ai .ai-tool-heading-icon svg {
    width: 23px;
    height: 23px;
}

.arthena-ai .ai-tool-page-head h1 {
    font-size: 27px;
    letter-spacing: -.015em;
}

.arthena-ai .ai-tool-page-head p {
    max-width: 630px;
    font-size: 14px;
}

.arthena-ai .ai-tool-form-card {
    padding: 18px;
}

.arthena-ai .ai-tool-form-grid {
    gap: 13px;
}

.arthena-ai .ai-tool-field input,
.arthena-ai .ai-tool-field textarea,
.arthena-ai .ai-tool-field select {
    min-height: 42px;
}

.arthena-ai .ai-tool-results-card {
    padding: 20px;
}

.arthena-ai .ai-results-heading {
    margin: -20px -20px 18px;
}

.arthena-ai .ai-score-summary {
    padding: 3px 0 18px;
}

.arthena-ai .ai-score-ring {
    width: 82px;
    height: 82px;
    flex-basis: 82px;
}

.arthena-ai .ai-score-ring strong {
    font-size: 24px;
}

.arthena-ai .ai-copy-section {
    padding: 13px 0;
}

.arthena-ai .ai-recommendation-grid {
    gap: 12px;
}

.arthena-ai .ai-recommendation-card {
    padding: 15px;
}


/* Keep AI pages clean on smaller screens */

@media (max-width: 900px) {

    body.arthena-ai-site .site-header .logo img {
        filter: none;
    }

    body.arthena-ai-site .nav-toggle {
        background: #fff;
        color: #102a46;
    }
}

@media (max-width: 620px) {

    .arthena-ai .ai-tool-page-head {
        gap: 14px;
    }

    .arthena-ai .ai-tool-page-head h1 {
        font-size: 24px;
    }

    .arthena-ai .ai-cost-badge {
        display: table;
        margin: 7px 0 0;
    }

    .arthena-ai .ai-tool-account {
        width: 100%;
    }
}

/* Fix Arthena logo in dark AI header */
body.arthena-ai-site .site-header .logo img {
    filter: none !important;
}


/* =========================================================
   Arthena AI result tabs
   ========================================================= */

.ai-result-tabs {
    display: flex;
    gap: 3px;
    overflow-x: auto;
    margin: -20px -20px 18px;
    padding: 0 14px;
    border-bottom: 1px solid #dce7ef;
    background: #f4f9fd;
    border-radius: 9px 9px 0 0;
}

.ai-result-tab {
    flex: 0 0 auto;
    padding: 13px 14px;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: #607587;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.ai-result-tab:hover {
    color: #0878f9;
}

.ai-result-tab.active {
    color: #102a46;
    border-bottom-color: #0878f9;
    background: #fff;
}

.ai-result-tab-panel {
    display: none;
}

.ai-result-tab-panel.active {
    display: block;
}

.ai-product-output-title {
    margin: 0 0 14px;
    color: #102a46;
    font-size: 19px;
}

.ai-result-long {
    white-space: pre-wrap;
}

.ai-result-list {
    margin: 8px 0 0;
    padding-left: 20px;
}

.ai-result-list li {
    margin-bottom: 8px;
    color: #4c6272;
    line-height: 1.5;
}

@media (max-width: 620px) {
    .ai-result-tabs {
        padding: 0 8px;
    }

    .ai-result-tab {
        padding: 12px 10px;
        font-size: 12px;
    }
}


/* Arthena AI Website Health dashboard */

.ai-health-overall {
    display: grid;
    grid-template-columns: 128px 1fr;
    gap: 25px;
    align-items: center;
    padding: 5px 0 22px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e7edf2;
}

.ai-health-main-ring {
    --score: 0;
    --score-colour: #22a866;
    position: relative;
    width: 118px;
    height: 118px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        conic-gradient(
            var(--score-colour)
            calc(var(--score) * 1%),
            #e5edf2 0
        );
}

.ai-health-main-ring::before {
    content: "";
    position: absolute;
    inset: 9px;
    background: #fff;
    border-radius: 50%;
}

.ai-health-main-ring-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.ai-health-main-ring strong {
    display: block;
    color: #102a46;
    font-size: 32px;
    line-height: 1;
}

.ai-health-main-ring small {
    color: #718391;
    font-size: 11px;
}

.ai-health-summary h2 {
    margin: 0 0 7px;
    color: #102a46;
    font-size: 21px;
}

.ai-health-summary p {
    margin: 0;
    color: #526878;
    line-height: 1.6;
}

.ai-health-score-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0,1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.ai-health-score-card {
    padding: 15px 8px 13px;
    border: 1px solid #e1e9ef;
    border-radius: 8px;
    background: #fbfcfd;
    text-align: center;
}

.ai-health-small-ring {
    --score: 0;
    --score-colour: #22a866;
    position: relative;
    width: 66px;
    height: 66px;
    margin: 0 auto 8px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        conic-gradient(
            var(--score-colour)
            calc(var(--score) * 1%),
            #e5edf2 0
        );
}

.ai-health-small-ring::before {
    content: "";
    position: absolute;
    inset: 6px;
    background: #fff;
    border-radius: 50%;
}

.ai-health-small-ring strong {
    position: relative;
    z-index: 1;
    color: #102a46;
    font-size: 18px;
}

.ai-health-score-card span {
    color: #607587;
    font-size: 12px;
    font-weight: 700;
}

.ai-health-priority {
    margin: 0 0 18px;
    padding: 18px;
    border: 1px solid #f1d7b5;
    border-left: 4px solid #f28b2d;
    border-radius: 7px;
    background: #fffaf4;
}

.ai-health-priority h3 {
    margin: 0 0 10px;
    color: #102a46;
    font-size: 16px;
}

.ai-health-strengths {
    margin: 0 0 18px;
    padding: 18px;
    border: 1px solid #cfe7d9;
    border-left: 4px solid #22a866;
    border-radius: 7px;
    background: #f7fcf9;
}

.ai-health-strengths h3 {
    margin: 0 0 10px;
    color: #102a46;
    font-size: 16px;
}

.ai-health-report-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
}

.ai-health-report-card {
    padding: 17px;
    border: 1px solid #e0e8ee;
    border-radius: 8px;
    background: #fbfcfd;
}

.ai-health-report-card h3 {
    margin: 0 0 10px;
    color: #102a46;
    font-size: 15px;
}

.ai-health-report-card ul,
.ai-health-priority ul,
.ai-health-strengths ul {
    margin: 0;
    padding-left: 19px;
}

.ai-health-report-card li,
.ai-health-priority li,
.ai-health-strengths li {
    margin-bottom: 7px;
    color: #4c6272;
    line-height: 1.48;
}

.ai-health-pages {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e7edf2;
}

.ai-health-pages h3 {
    margin: 0 0 8px;
    color: #102a46;
    font-size: 14px;
}

.ai-health-pages ul {
    margin: 0;
    padding-left: 19px;
    color: #758693;
    font-size: 12px;
}

.ai-health-pages li {
    margin-bottom: 5px;
    word-break: break-all;
}

.ai-health-help {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-top: 20px;
    padding: 18px;
    border-radius: 8px;
    background: #eef6fd;
}

.ai-health-help h3 {
    margin: 0 0 4px;
    color: #102a46;
    font-size: 16px;
}

.ai-health-help p {
    margin: 0;
    color: #607587;
    font-size: 13px;
}

@media (max-width: 850px) {
    .ai-health-score-grid {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }
}

@media (max-width: 650px) {
    .ai-health-overall {
        grid-template-columns: 1fr;
    }

    .ai-health-score-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .ai-health-report-grid {
        grid-template-columns: 1fr;
    }

    .ai-health-help {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* Arthena AI account and credits */

.ai-account-page {
    max-width: 1080px;
    margin: 0 auto;
    padding-bottom: 65px;
}

.ai-account-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    flex-wrap: wrap;
    padding: 8px 0 24px;
}

.ai-account-hero h1 {
    margin: 0 0 6px;
    color: #102a46;
    font-size: 30px;
}

.ai-account-hero p {
    margin: 0;
    color: #607587;
}

.ai-account-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ai-account-stat-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 14px;
    margin-bottom: 22px;
}

.ai-account-stat {
    padding: 20px;
    border: 1px solid #dfe8ee;
    border-radius: 9px;
    background: #fff;
}

.ai-account-stat.primary {
    background:
        linear-gradient(
            120deg,
            #102a46,
            #17456f
        );
    border-color: #102a46;
}

.ai-account-stat-label {
    color: #718391;
    font-size: 12px;
    font-weight: 700;
}

.ai-account-stat.primary .ai-account-stat-label {
    color: #b9cee0;
}

.ai-account-stat-value {
    margin-top: 5px;
    color: #102a46;
    font-size: 27px;
    font-weight: 800;
}

.ai-account-stat.primary .ai-account-stat-value {
    color: #fff;
    font-size: 34px;
}

.ai-account-stat-note {
    margin-top: 4px;
    color: #81909b;
    font-size: 11px;
}

.ai-account-stat.primary .ai-account-stat-note {
    color: #c6d7e5;
}

.ai-account-panel {
    margin-bottom: 18px;
    padding: 20px;
    border: 1px solid #dfe8ee;
    border-radius: 9px;
    background: #fff;
}

.ai-account-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 13px;
}

.ai-account-panel h2 {
    margin: 0;
    color: #102a46;
    font-size: 18px;
}

.ai-account-table-wrap {
    overflow-x: auto;
}

.ai-account-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 620px;
}

.ai-account-table th,
.ai-account-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #edf1f4;
    text-align: left;
    vertical-align: middle;
    font-size: 13px;
}

.ai-account-table th {
    color: #657987;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.ai-account-table tbody tr:last-child td {
    border-bottom: 0;
}

.ai-credit-positive {
    color: #208153;
    font-weight: 800;
}

.ai-credit-negative {
    color: #b14747;
    font-weight: 800;
}

.ai-status-badge {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eef3f6;
    color: #586e7e;
    font-size: 11px;
    font-weight: 800;
    text-transform: capitalize;
}

.ai-status-badge.completed {
    background: #e8f7ef;
    color: #23754e;
}

.ai-status-badge.failed {
    background: #fff0f0;
    color: #a23f3f;
}

.ai-status-badge.running,
.ai-status-badge.pending {
    background: #fff6e8;
    color: #9a671d;
}

.ai-account-empty {
    margin: 0;
    color: #718391;
}


/* Buy credits */

.ai-credit-page {
    max-width: 1100px;
    margin: 0 auto;
    padding-bottom: 70px;
}

.ai-credit-page-head {
    text-align: center;
    padding: 14px 0 30px;
}

.ai-credit-page-head h1 {
    margin: 0 0 8px;
    color: #102a46;
    font-size: 31px;
}

.ai-credit-page-head p {
    max-width: 610px;
    margin: 0 auto;
    color: #607587;
    line-height: 1.55;
}

.ai-credit-current {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 14px;
    padding: 7px 12px;
    border: 1px solid #cfe0ee;
    border-radius: 999px;
    background: #f4f9fd;
    color: #17324d;
    font-size: 13px;
    font-weight: 700;
}

.ai-credit-current strong {
    color: #0878f9;
}

.ai-pack-grid-new {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 15px;
    margin-bottom: 24px;
}

.ai-pack-card-new {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 290px;
    padding: 22px;
    border: 1px solid #dce6ec;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(20,50,75,.04);
    transition:
        transform .15s ease,
        box-shadow .15s ease,
        border-color .15s ease;
}

.ai-pack-card-new:hover {
    transform: translateY(-2px);
    border-color: #a9cdeb;
    box-shadow: 0 9px 24px rgba(20,50,75,.08);
}

.ai-pack-card-new h2 {
    margin: 0 0 14px;
    color: #102a46;
    font-size: 18px;
}

.ai-pack-credit-count {
    color: #0878f9;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
}

.ai-pack-credit-count span {
    display: block;
    margin-top: 5px;
    color: #667b8b;
    font-size: 11px;
    font-weight: 700;
}

.ai-pack-price-new {
    margin: 17px 0 3px;
    color: #102a46;
    font-size: 26px;
    font-weight: 800;
}

.ai-pack-rate {
    color: #8695a0;
    font-size: 11px;
}

.ai-pack-description {
    flex-grow: 1;
    margin: 15px 0 18px;
    color: #607587;
    font-size: 13px;
    line-height: 1.5;
}

.ai-pack-card-new form {
    margin: 0;
}

.ai-pack-card-new button {
    width: 100%;
}

.ai-credit-how {
    margin-top: 28px;
    padding: 23px;
    border: 1px solid #dfe8ee;
    border-radius: 9px;
    background: #f8fbfd;
}

.ai-credit-how h2 {
    margin: 0 0 18px;
    text-align: center;
    color: #102a46;
    font-size: 20px;
}

.ai-credit-how-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 18px;
}

.ai-credit-step {
    text-align: center;
}

.ai-credit-step-number {
    width: 32px;
    height: 32px;
    margin: 0 auto 9px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #0878f9;
    color: #fff;
    font-weight: 800;
}

.ai-credit-step h3 {
    margin: 0 0 4px;
    color: #102a46;
    font-size: 14px;
}

.ai-credit-step p {
    margin: 0;
    color: #718391;
    font-size: 12px;
    line-height: 1.5;
}

.ai-credit-secure {
    margin-top: 18px;
    text-align: center;
    color: #718391;
    font-size: 12px;
}

@media (max-width: 900px) {
    .ai-account-stat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ai-account-stat.primary {
        grid-column: 1 / -1;
    }

    .ai-pack-grid-new {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 580px) {
    .ai-account-stat-grid,
    .ai-pack-grid-new,
    .ai-credit-how-grid {
        grid-template-columns: 1fr;
    }

    .ai-account-stat.primary {
        grid-column: auto;
    }

    .ai-account-hero {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* Arthena AI authentication */

.ai-auth-page {
    min-height: 620px;
    padding: 34px 0 70px;
    background:
        linear-gradient(
            180deg,
            #f3f8fc 0,
            #ffffff 320px
        );
}

.ai-auth-wrap {
    max-width: 540px;
    margin: 0 auto;
}

.ai-auth-brand {
    margin-bottom: 18px;
    text-align: center;
}

.ai-auth-brand-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 10px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #e6f2fd;
    color: #0878f9;
}

.ai-auth-brand-icon svg {
    width: 25px;
    height: 25px;
}

.ai-auth-brand h1 {
    margin: 0 0 7px;
    color: #102a46;
    font-size: 27px;
}

.ai-auth-brand p {
    margin: 0 auto;
    max-width: 460px;
    color: #607587;
    line-height: 1.55;
}

.ai-auth-card {
    padding: 26px;
    border: 1px solid #dce6ec;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(20,50,75,.07);
}

.ai-auth-field {
    margin-bottom: 16px;
}

.ai-auth-field label {
    display: block;
    margin-bottom: 6px;
    color: #102a46;
    font-size: 13px;
    font-weight: 800;
}

.ai-auth-field input {
    width: 100%;
    min-height: 44px;
    padding: 11px 12px;
    border: 1px solid #cad8e2;
    border-radius: 6px;
    background: #fff;
    color: #334d60;
    font: inherit;
}

.ai-auth-field input:focus {
    outline: none;
    border-color: #70b1ef;
    box-shadow: 0 0 0 3px rgba(8,120,249,.09);
}

.ai-auth-submit {
    width: 100%;
    min-height: 44px;
    margin-top: 3px;
}

.ai-auth-links {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e8eef2;
    text-align: center;
    color: #718391;
    font-size: 13px;
    line-height: 1.8;
}

.ai-auth-links a {
    color: #0878f9;
    font-weight: 700;
    text-decoration: none;
}

.ai-auth-links a:hover {
    text-decoration: underline;
}

.ai-auth-notice {
    margin-bottom: 17px;
    padding: 13px 14px;
    border-radius: 7px;
    font-size: 13px;
    line-height: 1.5;
}

.ai-auth-notice.error {
    border: 1px solid #efcaca;
    background: #fff2f2;
    color: #8b3030;
}

.ai-auth-notice.success {
    border: 1px solid #cfe7d9;
    background: #f1faf5;
    color: #28633a;
}

.ai-auth-status {
    text-align: center;
}

.ai-auth-status-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e9f7ef;
    color: #208153;
}

.ai-auth-status-icon.error {
    background: #fff0f0;
    color: #b14747;
}

.ai-auth-status-icon svg {
    width: 29px;
    height: 29px;
}

.ai-auth-status h1 {
    margin: 0 0 9px;
    color: #102a46;
    font-size: 25px;
}

.ai-auth-status p {
    margin: 0 0 18px;
    color: #607587;
    line-height: 1.6;
}

.ai-auth-help {
    margin-top: 14px;
    color: #7b8d99;
    font-size: 12px;
    line-height: 1.5;
}

@media (max-width: 620px) {
    .ai-auth-page {
        padding-top: 22px;
    }

    .ai-auth-card {
        padding: 20px;
    }

    .ai-auth-brand h1 {
        font-size: 24px;
    }
}

/* Search Console Opportunity Finder */
.gsc-metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
    margin: 22px 0 28px;
}

.gsc-metric-card {
    background: #f7f9fc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px;
}

.gsc-metric-card span {
    display: block;
    color: #718391;
    font-size: 0.86rem;
    margin-bottom: 7px;
}

.gsc-metric-card strong {
    display: block;
    color: #10253f;
    font-size: 1.45rem;
}

.gsc-action-section {
    margin: 30px 0;
}

.gsc-action-section > h3,
.gsc-table-section > h3 {
    margin-bottom: 16px;
}

.gsc-action-list {
    display: grid;
    gap: 14px;
}

.gsc-action-card {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 16px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.gsc-action-priority {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #10253f;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
}

.gsc-action-card h4 {
    margin: 0 0 8px;
    color: #10253f;
    font-size: 1.05rem;
}

.gsc-action-card p {
    margin: 5px 0;
}

.gsc-table-section {
    margin-top: 30px;
}

.gsc-table-wrap {
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
}

.gsc-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 820px;
}

.gsc-table th,
.gsc-table td {
    text-align: left;
    padding: 13px 14px;
    border-bottom: 1px solid #edf1f5;
    vertical-align: top;
}

.gsc-table th {
    background: #f7f9fc;
    color: #40556a;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.gsc-table tbody tr:last-child td {
    border-bottom: 0;
}

.gsc-table tbody tr:hover {
    background: #fafcff;
}

.gsc-dimension {
    max-width: 380px;
    overflow-wrap: anywhere;
    color: #10253f;
    font-weight: 600;
}

.ai-tool-field input[type="file"] {
    width: 100%;
    padding: 11px;
    background: #ffffff;
    border: 1px solid #d8e1e8;
    border-radius: 10px;
}

.ai-tool-field small {
    display: block;
    margin-top: 7px;
    color: #718391;
    line-height: 1.45;
}

@media (max-width: 700px) {
    .gsc-action-card {
        grid-template-columns: 1fr;
    }

    .gsc-action-priority {
        width: 38px;
        height: 38px;
    }
}


/* Search Console upload help */
.gsc-help-panel {
    margin: 22px 0 28px;
    padding: 22px;
    background: #f4f8ff;
    border: 1px solid #d7e6fb;
    border-radius: 14px;
}

.gsc-help-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 16px;
}

.gsc-help-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #1577e8;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.1rem;
}

.gsc-help-heading h3 {
    margin: 0 0 3px;
    color: #10253f;
}

.gsc-help-heading p {
    margin: 0;
    color: #64798d;
}

.gsc-help-steps {
    margin: 0 0 20px 20px;
    padding: 0;
}

.gsc-help-steps li {
    margin-bottom: 10px;
    padding-left: 5px;
    line-height: 1.55;
}

.gsc-help-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.gsc-help-link {
    font-weight: 700;
    text-decoration: none;
}

.gsc-help-tip {
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px solid #d7e6fb;
    color: #526b82;
}

@media (max-width: 700px) {
    .gsc-help-panel {
        padding: 18px;
    }

    .gsc-help-buttons {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* GSC report actions */
.gsc-report-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 4px 0 26px;
}

.gsc-print-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border: 1px solid #cfd9e3;
    border-radius: 9px;
    background: #ffffff;
    color: #10253f;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.gsc-print-button:hover {
    background: #f5f8fb;
}

.gsc-page-url {
    color: #10253f;
    text-decoration: none;
}

.gsc-page-url:hover {
    text-decoration: underline;
}

.gsc-page-actions {
    margin-top: 7px;
}

.gsc-page-actions a {
    color: #1577e8;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
}

.gsc-page-actions a:hover {
    text-decoration: underline;
}

@media print {
    .site-header,
    .site-footer,
    .ai-breadcrumbs,
    .ai-tool-page-head,
    .ai-tool-form-card,
    .gsc-report-actions,
    .gsc-page-actions {
        display: none !important;
    }
}

/* Stronger styling for GSC Print Report button */
.arthena-ai .gsc-print-button {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid #1577e8;
    border-radius: 8px;
    background: #ffffff;
    color: #1577e8;
    font: inherit;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.arthena-ai .gsc-print-button:hover {
    background: #1577e8;
    color: #ffffff;
}

/* Ecommerce Catalogue Auditor */
.catalogue-help-panel {
    margin: 22px 0 28px;
    padding: 22px;
    background: #f4f8ff;
    border: 1px solid #d7e6fb;
    border-radius: 14px;
}

.catalogue-help-panel h3 {
    margin-top: 0;
    color: #10253f;
}

.catalogue-help-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 18px;
    margin: 16px 0 18px;
}

.catalogue-help-grid div {
    color: #40556a;
    font-weight: 600;
}

.catalogue-score-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: center;
    margin: 10px 0 26px;
}

.catalogue-score-row h3 {
    margin: 0 0 8px;
    color: #10253f;
}

.catalogue-score-row p {
    margin: 0;
}

.catalogue-issue-section {
    margin-top: 30px;
}

.catalogue-issue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.catalogue-issue-card {
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}

.catalogue-issue-card strong {
    display: block;
    color: #10253f;
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.catalogue-issue-card span {
    color: #687d90;
    font-size: 0.88rem;
}

.catalogue-sku {
    margin-top: 5px;
    color: #718391;
    font-size: 0.82rem;
}

.catalogue-table-issues {
    margin: 0;
    padding-left: 18px;
}

.catalogue-table-issues li {
    margin-bottom: 4px;
}

@media (max-width: 700px) {
    .catalogue-help-grid {
        grid-template-columns: 1fr;
    }

    .catalogue-score-row {
        grid-template-columns: 1fr;
    }
}


/* Catalogue export instructions */
.catalogue-help-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 20px;
}

.catalogue-help-heading h3 {
    margin: 0 0 3px;
}

.catalogue-help-heading p {
    margin: 0;
    color: #64798d;
}

.catalogue-export-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.catalogue-export-card {
    padding: 20px;
    background: #ffffff;
    border: 1px solid #dce6ef;
    border-radius: 12px;
}

.catalogue-export-card h4 {
    margin: 0 0 13px;
    color: #10253f;
    font-size: 1.08rem;
}

.catalogue-export-card ol,
.catalogue-export-card ul {
    margin: 0 0 16px 20px;
    padding: 0;
}

.catalogue-export-card li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.catalogue-export-card p {
    line-height: 1.55;
}

.catalogue-export-note {
    margin-bottom: 0;
    color: #64798d;
    font-size: 0.9rem;
}

.catalogue-help-checks {
    margin-top: 6px;
    padding-top: 18px;
    border-top: 1px solid #d7e6fb;
}

.catalogue-help-checks h4 {
    margin: 0 0 14px;
    color: #10253f;
}

.catalogue-help-tip {
    margin: 16px 0 0;
    padding-top: 14px;
    border-top: 1px solid #d7e6fb;
    color: #526b82;
}

@media (max-width: 760px) {
    .catalogue-export-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 1050px) and (min-width: 761px) {
    .catalogue-export-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* Catalogue Product Writer hand-off */
.catalogue-product-actions {
    margin-top: 9px;
}

.catalogue-product-actions a {
    display: inline-block;
    color: #1577e8;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
}

.catalogue-product-actions a:hover {
    text-decoration: underline;
}

@media print {
    .catalogue-help-panel,
    .catalogue-product-actions {
        display: none !important;
    }
}
