:root {
    --primary: #5b35c8;
    --primary-dark: #4523aa;
    --primary-soft: #f0ecff;
    --accent: #8f7cf0;
    --bg: #ffffff;
    --bg-alt: #f7f8fc;
    --surface: #ffffff;
    --text: #202635;
    --muted: #697386;
    --border: #e6e8f0;
    --success: #16824b;
    --star: #f59e0b;
    --footer-bg: #0d1426;
    --footer-text: #d7dceb;
    --shadow: 0 8px 30px rgba(25, 30, 55, .07);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --container: 1180px;
    --surface-soft: #fbfbfe;
    --purple-2: #7b5ce5;
    --dark: #141a2c;
    --shadow-lg: 0 18px 50px rgba(31,37,63,.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.aith-container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}
.header-inner { height: 70px; display: flex; align-items: center; gap: 28px; }
.site-brand { display: inline-flex; align-items: center; gap: 9px; min-width: 190px; }
.brand-icon {
    width: 36px; height: 36px; display: grid; place-items: center;
    background: var(--primary-soft); border-radius: 10px; font-size: 20px;
}
.site-brand strong { display: block; color: var(--primary); font-size: 18px; }
.site-brand small { display: block; font-size: 8px; color: var(--muted); }
.primary-nav { flex: 1; }
.nav-menu { display: flex; justify-content: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-menu a { font-size: 13px; font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.mobile-menu-toggle { border: 0; background: transparent; font-size: 20px; cursor: pointer; }
.mobile-menu-toggle { display: none; }
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 18px; border-radius: 8px; font-size: 13px;
    font-weight: 600; border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 5px 16px rgba(var(--primary-rgb),.22); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border-color: #cfd3df; background: #fff; }

.hero-section {
    padding: 70px 0;
    background: radial-gradient(circle at 65% 35%, #eeeaff 0, transparent 30%), linear-gradient(135deg, #fff 10%, #f5f4ff 100%);
    border-bottom: 1px solid var(--border);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; min-height: 360px; }
.eyebrow { color: var(--primary); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.hero-content h1 { font-size: clamp(38px, 5vw, 62px); line-height: 1.08; margin: 12px 0 18px; max-width: 720px; }
.hero-content h1 span { color: var(--primary); }
.hero-content p { color: var(--muted); max-width: 620px; font-size: 16px; }
.hero-search {
    display: flex; max-width: 650px; padding: 6px; margin-top: 28px;
    background: #fff; border: 1px solid var(--border); border-radius: 11px; box-shadow: var(--shadow);
}
.hero-search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 12px 14px; font: inherit; }
.popular-searches { margin-top: 15px; display: flex; gap: 9px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.popular-searches a { background: rgba(var(--primary-rgb),.07); padding: 4px 9px; border-radius: 6px; color: var(--primary); }

.hero-visual { position: relative; height: 330px; }
.robot-orb {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
    width: 190px; height: 190px; border-radius: 50%; display: grid; place-items: center;
    text-align: center; font-size: 60px; color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 30px 80px rgba(var(--primary-rgb),.28);
}
.robot-orb span { font-size: 34px; font-weight: 800; }
.floating-card {
    position: absolute; padding: 15px 20px; background: rgba(255,255,255,.88);
    border: 1px solid rgba(255,255,255,.8); box-shadow: var(--shadow); border-radius: 12px;
    color: var(--primary); font-size: 13px; font-weight: 700;
}
.card-one { left: 8%; top: 18%; transform: rotate(-8deg); }
.card-two { right: 5%; top: 20%; transform: rotate(7deg); }
.card-three { right: 15%; bottom: 15%; transform: rotate(-5deg); }

.section { padding: 70px 0; }
.section-alt { background: var(--bg-alt); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-heading h2 { margin: 5px 0 0; font-size: 28px; }
.text-link { color: var(--primary); font-size: 13px; font-weight: 700; }

.category-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.category-card {
    padding: 22px 10px; text-align: center; border: 1px solid var(--border);
    border-radius: var(--radius-md); background: var(--surface); transition: .2s ease;
}
.category-card:hover, .tool-card:hover, .prompt-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.category-icon { width: 44px; height: 44px; margin: 0 auto 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); border-radius: 12px; }
.category-card strong { display: block; font-size: 12px; }
.category-card small { color: var(--muted); font-size: 10px; }

.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tool-card, .prompt-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
    padding: 22px; transition: .2s ease;
}
.tool-card-top { display: flex; justify-content: space-between; align-items: start; }
.tool-logo {
    width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-size: 22px; font-weight: 800;
}
.bookmark { border: 0; background: transparent; font-size: 22px; color: var(--muted); cursor: pointer; }
.tool-card h3 { margin: 16px 0 7px; font-size: 17px; }
.badge { display: inline-block; background: var(--primary-soft); color: var(--primary); padding: 4px 8px; border-radius: 6px; font-size: 10px; font-weight: 700; }
.tool-card p { color: var(--muted); font-size: 12px; min-height: 55px; }
.tool-meta { display: flex; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 15px; font-size: 12px; }
.tool-meta strong { color: var(--success); }
.tool-meta span { color: var(--star); font-weight: 700; }

.prompt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.prompt-icon { color: var(--primary); font-size: 22px; }
.prompt-card h3 { font-size: 15px; margin: 12px 0 8px; }
.prompt-card p { color: var(--muted); font-size: 12px; }
.prompt-card a { color: var(--primary); font-size: 12px; font-weight: 700; }

.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 55px 0 20px; }
.site-footer .site-brand strong { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 40px; }
.footer-brand p { color: #98a1b8; font-size: 12px; max-width: 260px; }
.footer-column h4 { color: #fff; margin: 0 0 15px; font-size: 13px; }
.footer-column a { display: block; color: #aeb6ca; font-size: 12px; margin: 8px 0; }
.footer-bottom { border-top: 1px solid #263044; margin-top: 35px; padding-top: 20px; display: flex; justify-content: space-between; color: #8d96ab; font-size: 11px; }
.footer-bottom a { color: inherit; }


/* =========================================================
   AI Tools Host Theme - V0.1.1 Header & Global Refinement
   ========================================================= */

.site-header {
    height: 74px;
    display: flex;
    align-items: center;
}

.header-inner {
    height: 74px;
    width: min(var(--container), calc(100% - 48px));
}

.site-brand {
    min-width: 210px;
    gap: 10px;
}

.brand-mark {
    position: relative;
    width: 38px;
    height: 38px;
    display: inline-block;
    border-radius: 11px;
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
    box-shadow: 0 8px 20px rgba(91, 53, 200, .20);
    overflow: hidden;
}

.brand-mark::before,
.brand-mark::after {
    content: "";
    position: absolute;
    border: 2px solid rgba(255,255,255,.8);
    border-radius: 50%;
}

.brand-mark::before {
    width: 18px;
    height: 18px;
    left: 8px;
    top: 8px;
}

.brand-mark::after {
    width: 8px;
    height: 8px;
    left: 13px;
    top: 13px;
}

.brand-mark-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    top: 5px;
    right: 5px;
}

.brand-mark-line {
    position: absolute;
    width: 6px;
    height: 2px;
    border-radius: 5px;
    background: #fff;
    opacity: .9;
}

.brand-mark-line-1 { left: 4px; bottom: 7px; transform: rotate(35deg); }
.brand-mark-line-2 { right: 5px; bottom: 7px; transform: rotate(-35deg); }
.brand-mark-line-3 { left: 16px; bottom: 4px; }

.brand-text strong {
    color: #252b3b;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.brand-text small {
    margin-top: -1px;
    font-size: 8px;
    letter-spacing: .045em;
    color: #858ca0;
}

.primary-nav {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-menu {
    gap: 25px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: #4f5667;
    font-size: 13px;
    font-weight: 600;
    transition: color .2s ease;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a {
    color: var(--primary);
}

.header-actions {
    margin-left: auto;
    gap: 14px;
}

.header-login {
    color: #4b5261;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.header-login:hover {
    color: var(--primary);
}

.header-submit {
    min-height: 40px;
    padding: 10px 16px;
    border-radius: 9px;
    font-size: 12px;
}

.submit-plus {
    font-size: 18px;
    font-weight: 400;
    line-height: 0;
    margin-right: 5px;
}

.mobile-navigation {
    display: none;
}

.mobile-menu-toggle {
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 18px;
    height: 2px;
    background: #323849;
    border-radius: 5px;
    transition: .2s ease;
}

/* Better global focus states */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(var(--primary-rgb),.25);
    outline-offset: 2px;
}


/* =========================================================
   V0.1.2 Responsive Foundation
   Mobile-first safety and layout hardening
   ========================================================= */

img,
svg,
video,
iframe {
    max-width: 100%;
    height: auto;
}

button,
input,
textarea,
select {
    font: inherit;
}

body {
    overflow-x: hidden;
}

.site-main {
    min-width: 0;
}

.aith-container,
.hero-grid,
.section-heading,
.tool-grid,
.category-grid,
.prompt-grid,
.footer-grid {
    min-width: 0;
}

.btn,
.mobile-menu-toggle {
    min-height: 44px;
}

@media (max-width: 980px) {
    .header-actions {
        margin-left: auto;
    }

    .mobile-navigation {
        max-height: calc(100vh - 64px);
        overflow-y: auto;
    }

    .mobile-navigation .btn {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .site-header {
        height: 64px;
    }

    .header-inner {
        gap: 12px;
    }

    .section-heading h2 {
        font-size: clamp(23px, 7vw, 30px);
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 15px;
    }

    .popular-searches {
        gap: 7px;
    }
}

@media (max-width: 480px) {
    .category-grid,
    .tool-grid,
    .prompt-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        display: grid;
        grid-template-columns: 44px 1fr;
        align-items: center;
        column-gap: 13px;
        text-align: left;
        padding: 15px;
    }

    .category-card .category-icon {
        margin: 0;
        grid-row: span 2;
    }

    .category-card strong,
    .category-card small {
        align-self: end;
    }

    .category-card small {
        align-self: start;
    }

    .tool-card,
    .prompt-card {
        padding: 18px;
    }
}

@media (max-width: 360px) {
    .brand-text small {
        display: none;
    }

    .brand-text strong {
        font-size: 14px;
    }

    .brand-mark {
        width: 33px;
        height: 33px;
    }

    .mobile-menu-toggle {
        width: 40px;
    }
}


/* =========================================================
   V0.2.0 Homepage
   ========================================================= */
.hero-v2 { position:relative; overflow:hidden; padding:88px 0 78px; }
.hero-v2 .hero-grid { position:relative; z-index:2; min-height:460px; }
.hero-glow { position:absolute; border-radius:50%; filter:blur(15px); pointer-events:none; }
.hero-glow-one { width:420px; height:420px; right:7%; top:-160px; background:rgba(116,82,232,.11); }
.hero-glow-two { width:280px; height:280px; left:-140px; bottom:-140px; background:rgba(77,151,255,.07); }
.eyebrow-dot { width:7px; height:7px; border-radius:50%; background:var(--primary); display:inline-block; margin-right:7px; }
.compare-hub-page-hero .eyebrow{font-size:12px;color:var(--primary-dark)}
.hero-content { padding:10px 0; }
.hero-content h1 { letter-spacing:-.045em; max-width:680px; }
.hero-content p { max-width:620px; }
.search-icon { padding:0 5px 0 12px; color:#7b8498; font-size:25px; line-height:1; }
.hero-search { align-items:center; }
.hero-search .btn { white-space:nowrap; min-height:48px; }
.hero-stats { display:flex; gap:0; margin-top:30px; }
.hero-stats div { padding:0 28px; border-left:1px solid var(--border); display:flex; flex-direction:column; }
.hero-stats div:first-child { padding-left:0; border-left:0; }
.hero-stats strong { font-size:20px; line-height:1.2; color:var(--text); }
.hero-stats span { color:var(--muted); font-size:11px; margin-top:4px; }

.hero-visual { height:420px; }
.visual-ring { position:absolute; border:1px solid rgba(104,76,205,.12); border-radius:50%; left:50%; top:50%; transform:translate(-50%,-50%); }
.ring-one { width:330px; height:330px; }
.ring-two { width:440px; height:440px; border-style:dashed; }
.ai-core { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:190px; height:190px; border-radius:32px; background:linear-gradient(145deg,var(--primary),var(--primary-dark)); box-shadow:0 28px 70px rgba(77,48,175,.35); display:flex; flex-direction:column; align-items:center; justify-content:center; color:#fff; }
.ai-core:before { content:""; position:absolute; inset:12px; border:1px solid rgba(255,255,255,.17); border-radius:24px; }
.ai-core strong { font-size:54px; letter-spacing:.03em; z-index:1; line-height:1; }
.ai-core small { z-index:1; font-size:10px; letter-spacing:.3em; margin-top:8px; opacity:.85; }
.core-grid { position:absolute; inset:0; display:grid; grid-template-columns:1fr 1fr; align-items:center; justify-items:center; opacity:.25; font-size:20px; padding:15px; }
.floating-card { display:flex; align-items:center; gap:10px; color:var(--text); }
.floating-card strong { display:block; font-size:12px; }
.floating-card small { display:block; color:var(--muted); font-size:9px; margin-top:2px; }
.float-icon { width:34px; height:34px; display:grid; place-items:center; border-radius:9px; background:var(--primary-soft); color:var(--primary); font-size:16px; }
.card-one { left:0; top:18%; transform:rotate(-6deg); }
.card-two { right:0; top:20%; transform:rotate(6deg); }
.card-three { right:5%; bottom:13%; transform:rotate(-4deg); }
.orbit-dot { position:absolute; width:10px; height:10px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 7px rgba(140,108,240,.1); }
.dot-one { left:21%; top:64%; }.dot-two { right:16%; top:64%; }.dot-three { right:35%; top:7%; }

.ad-section { padding:26px 0; background:var(--bg); }
.ad-placeholder { min-height:88px; border:1px dashed #d9dce7; border-radius:10px; background:#fafbfe; display:flex; flex-direction:column; align-items:center; justify-content:center; color:#9ba3b4; }
.ad-placeholder span { font-size:8px; letter-spacing:.14em; font-weight:700; margin-bottom:5px; }
.ad-placeholder strong { font-size:11px; font-weight:500; }

.section-subtitle { margin:8px 0 0; color:var(--muted); font-size:13px; }
.category-grid-v2 { grid-template-columns:repeat(4,1fr); gap:16px; }
.category-card { position:relative; padding:22px 18px; text-align:left; }
.category-card .category-icon { margin:0 0 14px; }
.category-card strong { font-size:13px; }
.category-card small { font-size:11px; margin-top:4px; display:block; }
.category-arrow { position:absolute; right:17px; bottom:18px; color:var(--primary); opacity:.7; }

.tool-title-row { display:flex; align-items:center; gap:7px; }
.tool-title-row h3 { margin-bottom:7px; }
.verified { width:16px; height:16px; display:inline-grid; place-items:center; border-radius:50%; background:var(--primary); color:#fff; font-size:10px; }
.tool-logo-m { background:linear-gradient(135deg,#101010,#4a4a4a); }
.tool-logo-n { background:linear-gradient(135deg,#fff,#e7e7e7); color:#111; border:1px solid #e4e4e4; }
.tool-logo-s { background:linear-gradient(135deg,#2670f2,#8b4cff); }
.tool-card-link { margin-top:16px; display:flex; justify-content:space-between; align-items:center; color:var(--primary); font-size:12px; font-weight:700; }
.tool-card-link span { font-size:17px; }

.prompt-grid-v2 { grid-template-columns:repeat(4,1fr); }
.prompt-card-top { display:flex; justify-content:space-between; align-items:center; }
.prompt-category { color:var(--muted); font-size:10px; font-weight:700; }
.prompt-card h3 { line-height:1.5; min-height:70px; }
.prompt-footer { border-top:1px solid var(--border); padding-top:13px; display:flex; justify-content:space-between; align-items:center; }
.prompt-model { background:var(--primary-soft); color:var(--primary); padding:4px 8px; border-radius:5px; font-size:10px; font-weight:700; }
.prompt-footer a { font-size:11px; }

.guide-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.guide-card { border:1px solid var(--border); border-radius:var(--radius-md); background:var(--surface); overflow:hidden; transition:.2s ease; }
.guide-card:hover { transform:translateY(-4px); box-shadow:var(--shadow); }
.guide-image { height:155px; background:linear-gradient(135deg,var(--primary-soft),var(--primary-soft)); display:grid; place-items:center; font-size:42px; color:var(--primary); }
.guide-content { padding:20px; }
.guide-tag { font-size:9px; color:var(--primary); font-weight:800; letter-spacing:.1em; }
.guide-card h3 { font-size:16px; line-height:1.4; margin:9px 0; }
.guide-card p { color:var(--muted); font-size:12px; margin:0 0 15px; }
.guide-card a { color:var(--primary); font-size:12px; font-weight:700; }

.newsletter-section { padding-top:25px; }
.newsletter-box { padding:52px; border-radius:22px; background:linear-gradient(135deg,#f1eeff,#f9f8ff); text-align:center; border:1px solid #e7e1ff; }
.newsletter-content h2 { margin:8px auto 10px; font-size:30px; max-width:700px; letter-spacing:-.03em; }
.newsletter-content p { color:var(--muted); font-size:13px; max-width:600px; margin:0 auto 24px; }
.newsletter-form { display:flex; max-width:540px; margin:0 auto; padding:5px; border-radius:10px; background:#fff; border:1px solid var(--border); }
.newsletter-form input { min-width:0; flex:1; border:0; outline:0; padding:10px 14px; background:transparent; }
.newsletter-note { display:block; margin-top:10px; color:var(--muted); font-size:10px; }

.cta-section { padding-top:10px; }
.cta-box { background:linear-gradient(135deg,var(--primary),var(--primary-dark)); border-radius:22px; padding:48px 52px; color:#fff; display:flex; justify-content:space-between; align-items:center; gap:30px; }
.cta-box .eyebrow { color:#d7ceff; }
.cta-box h2 { margin:7px 0; font-size:30px; letter-spacing:-.03em; }
.cta-box p { margin:0; color:#ddd7ff; font-size:13px; max-width:650px; }
.btn-light { background:#fff; color:var(--primary); white-space:nowrap; }
.btn-light:hover { background:#f5f3ff; }

@media (max-width: 1050px) {
    .hero-v2 { padding:70px 0; }
    .hero-visual { transform:scale(.88); transform-origin:center right; }
    .category-grid-v2 { grid-template-columns:repeat(4,1fr); }
}

@media (max-width: 900px) {
    .hero-v2 .hero-grid { grid-template-columns:1fr; text-align:center; }
    .hero-content { display:flex; flex-direction:column; align-items:center; }
    .hero-content h1,.hero-content p { max-width:700px; }
    .hero-visual { display:block; height:360px; width:min(620px,100%); margin:20px auto 0; transform:none; }
    .hero-stats { justify-content:center; }
    .category-grid-v2 { grid-template-columns:repeat(2,1fr); }
    .guide-grid { grid-template-columns:repeat(2,1fr); }
    .guide-card:last-child { grid-column:span 2; }
    .cta-box { flex-direction:column; text-align:center; }
}

@media (max-width: 600px) {
    .hero-v2 { padding:54px 0 44px; }
    .hero-content h1 { font-size:40px; }
    .hero-search { width:100%; }
    .hero-search input { min-height:50px; }
    .hero-stats { width:100%; margin-top:24px; }
    .hero-stats div { padding:0 12px; flex:1; }
    .hero-stats strong { font-size:17px; }
    .hero-visual { height:300px; transform:scale(.78); margin-top:-5px; }
    .section-heading { margin-bottom:24px; }
    .section-subtitle { font-size:12px; }
    .category-grid-v2 { grid-template-columns:1fr 1fr; }
    .guide-grid { grid-template-columns:1fr; }
    .guide-card:last-child { grid-column:auto; }
    .newsletter-box { padding:35px 18px; }
    .newsletter-content h2,.cta-box h2 { font-size:25px; }
    .newsletter-form { flex-direction:column; background:transparent; border:0; padding:0; gap:9px; }
    .newsletter-form input { width:100%; background:#fff; border:1px solid var(--border); border-radius:8px; min-height:48px; }
    .newsletter-form .btn { width:100%; }
    .cta-box { padding:36px 22px; }
}

@media (max-width: 420px) {
    .hero-content h1 { font-size:34px; }
    .hero-stats { gap:0; }
    .hero-stats div { padding:0 7px; }
    .hero-stats strong { font-size:15px; }
    .hero-stats span { font-size:9px; }
    .hero-visual { transform:scale(.64); height:245px; margin-top:-28px; margin-bottom:-10px; }
    .category-grid-v2 { grid-template-columns:1fr; }
    .category-card { grid-template-columns:44px 1fr 20px; }
    .category-arrow { position:static; grid-column:3; grid-row:1 / span 2; align-self:center; }
}


/* =========================================================
   V0.3.0 Dynamic Directory & Content Architecture
   ========================================================= */
.archive-hero {
    padding:60px 0 52px;
    background:linear-gradient(135deg,#f8f7ff,#f1eeff);
    border-bottom:1px solid var(--border);
}
.archive-hero h1 { margin:8px 0 10px; letter-spacing:-.04em; font-size:clamp(38px,4.6vw,58px); }
.archive-hero p { color:var(--muted); max-width:640px; }
.archive-search { display:flex; max-width:620px; margin-top:25px; padding:5px; background:#fff; border:1px solid var(--border); border-radius:11px; }
.archive-search input { flex:1; min-width:0; border:0; outline:0; padding:10px 13px; background:transparent; }
.archive-layout { display:grid; grid-template-columns:230px minmax(0,1fr); gap:32px; align-items:start; }
.archive-sidebar { position:sticky; top:90px; }
.filter-box { border:1px solid var(--border); background:var(--surface); border-radius:14px; padding:18px; }
.filter-box h3 { font-size:14px; margin:0 0 12px; }
.filter-box a { display:flex; justify-content:space-between; padding:9px 8px; color:var(--muted); font-size:12px; border-radius:7px; }
.filter-box a:hover,.filter-box a.active { color:var(--primary); background:var(--primary-soft); }
.filter-box small { opacity:.65; }
.archive-toolbar { display:flex; justify-content:space-between; margin-bottom:18px; color:var(--muted); font-size:12px; }
.archive-tool-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.pagination-wrap { margin-top:32px; }
.pagination .nav-links { display:flex; gap:8px; flex-wrap:wrap; }
.pagination .page-numbers { padding:8px 12px; border:1px solid var(--border); border-radius:7px; font-size:12px; }
.pagination .current { background:var(--primary); color:#fff; border-color:var(--primary); }
.empty-state { padding:50px 25px; text-align:center; border:1px dashed var(--border); border-radius:14px; color:var(--muted); grid-column:1 / -1; }
.empty-state h2,.empty-state h3 { color:var(--text); }
.empty-state-inline { padding:28px; width:100%; }
.dynamic-tool-card .tool-thumbnail { overflow:hidden; background:#fff; padding:0; }
.dynamic-tool-card .tool-thumbnail img { width:100%; height:100%; object-fit:cover; }

.breadcrumb-link { display:inline-block; color:var(--primary); font-size:12px; font-weight:700; margin-bottom:25px; }
.single-tool-head { display:grid; grid-template-columns:100px minmax(0,1fr) auto; align-items:center; gap:24px; }
.single-tool-logo { width:100px; height:100px; border-radius:20px; background:linear-gradient(135deg,var(--primary),var(--primary-dark)); color:#fff; display:grid; place-items:center; font-size:38px; font-weight:800; overflow:hidden; }
.single-tool-logo img { width:100%; height:100%; object-fit:cover; }
.single-tool-head h1 { font-size:38px; }
.single-tool-head p { color:var(--muted); margin:0; }
.single-tool-tags { margin-top:10px; font-size:12px; }
.single-tool-tags a { color:var(--primary); }
.visit-tool-btn { white-space:nowrap; }
.single-tool-layout { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:42px; align-items:start; }
.tool-content { line-height:1.8; }
.tool-content h2 { margin-top:0; }
.tool-info-card { border:1px solid var(--border); background:var(--surface); border-radius:15px; padding:22px; position:sticky; top:90px; }
.tool-info-card h3 { margin:0 0 12px; }
.tool-info-card div { padding:13px 0; border-top:1px solid var(--border); display:flex; justify-content:space-between; gap:12px; font-size:12px; }
.tool-info-card span { color:var(--muted); }

@media (max-width:900px) {
    .archive-layout { grid-template-columns:1fr; }
    .archive-sidebar { position:static; }
    .filter-box { display:flex; gap:8px; overflow-x:auto; white-space:nowrap; }
    .filter-box h3 { display:none; }
    .filter-box a { flex:0 0 auto; }
    .single-tool-layout { grid-template-columns:1fr; }
    .tool-info-card { position:static; }
}

@media (max-width:650px) {
    .archive-hero { padding:50px 0 42px; }
    .archive-search { flex-direction:column; border:0; background:transparent; padding:0; gap:9px; }
    .archive-search input { background:#fff; border:1px solid var(--border); border-radius:9px; min-height:48px; }
    .archive-search .btn { width:100%; }
    .archive-tool-grid { grid-template-columns:1fr; }
    .single-tool-head { grid-template-columns:70px minmax(0,1fr); gap:15px; }
    .single-tool-logo { width:70px; height:70px; border-radius:15px; font-size:28px; }
    .single-tool-head h1 { font-size:28px; }
    .single-tool-head .eyebrow { font-size:9px; }
    .visit-tool-btn { grid-column:1 / -1; width:100%; justify-content:center; }
}


/* =========================================================
   V0.4.0 Advanced AI Tools Directory
   ========================================================= */
.directory-hero {
    padding: 60px 0 52px;
    background:
        radial-gradient(circle at 82% 10%, rgba(111,72,226,.13), transparent 24%),
        linear-gradient(135deg, #fbfbff 0%, #f4f2ff 52%, #fbfbff 100%);
    border-bottom: 1px solid var(--border);
}
.directory-hero-copy { max-width: 700px; }
.directory-hero h1 { margin: 9px 0 12px; font-size: clamp(38px,4.6vw,58px); letter-spacing:-.045em; }
.directory-hero h1 .taxonomy-heading-highlight, .submit-page-hero h1 span { color: var(--primary); }
.directory-hero p { max-width: 670px; color: var(--muted); margin: 0; }
.directory-search {
    margin-top: 26px; max-width: 760px; display:flex; align-items:center; gap:10px;
    padding: 7px 7px 7px 17px; background:#fff; border:1px solid var(--border);
    border-radius: 13px; box-shadow: 0 8px 28px rgba(30,32,70,.06);
}
.directory-search-icon { font-size:22px; color:var(--muted); }
.directory-search input { flex:1; min-width:0; border:0; outline:0; padding:10px 3px; font:inherit; color:var(--text); background:transparent; }
.directory-popular { display:flex; gap:9px; align-items:center; flex-wrap:wrap; margin-top:16px; font-size:12px; }
.directory-popular span { color:var(--muted); font-weight:700; }
.directory-popular a { background:rgba(var(--primary-rgb),.08); color:var(--primary); padding:5px 10px; border-radius:999px; font-weight:600; }

.compact-heading { margin-bottom:18px; }
.compact-heading h2 { margin:3px 0 0; font-size:25px; }
.text-link { color:var(--primary); font-size:12px; font-weight:700; }
.category-directory-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.category-directory-card {
    min-height:86px; display:flex; align-items:center; gap:12px; padding:13px;
    border:1px solid var(--border); border-radius:13px; background:var(--surface);
    transition:.2s ease; box-shadow:0 5px 18px rgba(20,25,55,.03);
}
.category-directory-card:hover { transform:translateY(-3px); border-color:rgba(var(--primary-rgb),.35); box-shadow:var(--shadow); }
.category-directory-icon { width:42px; height:42px; flex:0 0 42px; display:grid; place-items:center; background:var(--primary-soft); color:var(--primary); border-radius:11px; font-weight:800; }
.category-directory-content { min-width:0; flex:1; display:flex; flex-direction:column; }
.category-directory-content strong { font-size:13px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.category-directory-content small { color:var(--muted); font-size:10px; margin-top:2px; }
.category-directory-arrow { color:var(--primary); font-weight:800; }

.directory-sponsored-wrap { padding:12px 0 20px; }
.section-kicker-row { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:10px; font-size:10px; letter-spacing:.09em; font-weight:800; color:var(--primary); }
.section-kicker-row > div { min-width:0; }
.section-kicker-row small { color:var(--muted); letter-spacing:0; font-weight:500; margin-left:8px; }
.directory-promo-view-all { display:inline-flex; align-items:center; gap:5px; flex:0 0 auto; font-size:11px; line-height:1.2; letter-spacing:0; font-weight:800; color:var(--primary); text-decoration:none; white-space:nowrap; }
.directory-promo-view-all:hover { text-decoration:underline; }
.directory-promo-view-all span { font-size:14px; line-height:1; }
.sponsored-tool-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.sponsored-tool-mini { position:relative; padding:18px; border:1px solid rgba(var(--primary-rgb),.18); border-radius:14px; background:linear-gradient(135deg,var(--surface),var(--primary-soft)); overflow:hidden; }
.sponsored-label { position:absolute; right:12px; top:10px; color:var(--primary); font-size:9px; font-weight:800; text-transform:uppercase; }
.sponsored-tool-row { display:flex; align-items:center; gap:14px; }
.sponsored-mini-logo { width:54px; height:54px; border-radius:13px; overflow:hidden; flex:0 0 54px; background:var(--primary); color:#fff; display:grid; place-items:center; font-weight:800; }
.sponsored-mini-logo img { width:100%; height:100%; object-fit:cover; }
.sponsored-tool-mini h3 { margin:0 0 2px; font-size:14px; }
.sponsored-tool-mini p { margin:0; color:var(--muted); font-size:11px; line-height:1.5; }
.sponsored-tool-mini a { display:inline-block; margin-top:6px; color:var(--primary); font-size:11px; font-weight:800; }

.directory-main-section { padding-top:34px; }
.archive-layout-v4 { display:grid; grid-template-columns:240px minmax(0,1fr); gap:28px; align-items:start; }
.directory-sidebar {
    border:1px solid var(--border); border-radius:14px; background:var(--surface);
    padding:17px; position:sticky; top:88px;
}
.filter-sidebar-head { display:flex; align-items:center; justify-content:space-between; padding-bottom:13px; border-bottom:1px solid var(--border); }
.filter-sidebar-head h3 { margin:0; font-size:15px; }
.filter-sidebar-head a { color:var(--primary); font-size:11px; font-weight:700; }
.filter-group { padding:15px 0; border-bottom:1px solid var(--border); }
.filter-group h4, .filter-categories h4 { margin:0 0 9px; font-size:12px; }
.filter-group label { display:flex; align-items:center; gap:8px; padding:6px 0; font-size:11px; color:var(--muted); cursor:pointer; }
.filter-group input { accent-color:var(--primary); }
.filter-switch span { color:var(--text); }
.filter-submit { width:100%; margin:15px 0 5px; justify-content:center; }
.filter-categories { padding-top:15px; }
.filter-categories a { display:flex; justify-content:space-between; align-items:center; padding:7px 8px; margin:1px -8px; border-radius:7px; color:var(--muted); font-size:11px; }
.filter-categories a:hover, .filter-categories a.active { color:var(--primary); background:var(--primary-soft); font-weight:700; }
.filter-categories small { opacity:.7; }

.archive-content-v4 { min-width:0; }
.directory-toolbar { display:flex; justify-content:space-between; align-items:center; gap:15px; margin-bottom:18px; }
.toolbar-results { display:flex; align-items:center; gap:12px; font-size:12px; color:var(--muted); }
.toolbar-results strong { color:var(--text); }
.toolbar-actions { display:flex; align-items:center; gap:8px; }
.sort-form select { height:37px; padding:0 28px 0 11px; border:1px solid var(--border); border-radius:8px; background:var(--surface); font:inherit; font-size:11px; color:var(--text); outline:0; }
.view-toggle { display:flex; border:1px solid var(--border); border-radius:8px; overflow:hidden; }
.view-toggle button { width:36px; height:35px; border:0; background:var(--surface); color:var(--muted); cursor:pointer; }
.view-toggle button + button { border-left:1px solid var(--border); }
.view-toggle button.active { background:var(--primary-soft); color:var(--primary); }
.mobile-filter-trigger { display:none; border:1px solid var(--border); background:var(--surface); color:var(--text); border-radius:8px; padding:8px 10px; font:inherit; font-size:11px; cursor:pointer; }
.mobile-filter-trigger b { display:inline-grid; place-items:center; width:16px; height:16px; border-radius:50%; background:var(--primary); color:#fff; font-size:9px; }

.archive-tool-grid-v4 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.archive-tool-grid-v4.directory-list-view { grid-template-columns:1fr; }
.archive-tool-grid-v4.directory-list-view .dynamic-tool-card { display:grid; grid-template-columns:68px minmax(0,1fr) auto; gap:0 16px; align-items:center; }
.archive-tool-grid-v4.directory-list-view .tool-card-top { grid-row:1 / span 4; }
.archive-tool-grid-v4.directory-list-view .tool-card-top .bookmark { display:none; }
.archive-tool-grid-v4.directory-list-view .tool-card-top .tool-logo { width:58px; height:58px; }
.archive-tool-grid-v4.directory-list-view .tool-card-top .tool-thumbnail img { width:100%; height:100%; }
.archive-tool-grid-v4.directory-list-view .tool-title-row { margin-bottom:3px; }
.archive-tool-grid-v4.directory-list-view .tool-card-link { grid-column:3; grid-row:1 / span 4; padding:8px 11px; border:1px solid var(--border); border-radius:8px; white-space:nowrap; }
.archive-tool-grid-v4.directory-list-view .tool-card-link span { display:none; }
.directory-empty > span { width:54px; height:54px; display:grid; place-items:center; margin:0 auto 8px; border-radius:50%; background:var(--primary-soft); color:var(--primary); font-size:24px; }
.directory-empty .btn { display:inline-flex; margin-top:8px; }

.submit-page-hero { padding:60px 0 52px; text-align:center; background:linear-gradient(135deg,#faf9ff,#f1edff); border-bottom:1px solid var(--border); }
.narrow-container { width:min(760px, calc(100% - 40px)); margin:0 auto; }
.submit-page-hero h1 { margin:10px auto 12px; max-width:720px; font-size:clamp(38px,4.6vw,58px); letter-spacing:-.045em; }
.submit-page-hero p { color:var(--muted); max-width:620px; margin:0 auto; }
.submit-form-section { padding-top:42px; padding-bottom:72px; }
.submit-tool-form { border:1px solid var(--border); border-radius:18px; padding:30px; background:var(--surface); box-shadow:var(--shadow); }
.form-section-title h2 { margin:0; font-size:22px; }
.form-section-title p { margin:5px 0 24px; color:var(--muted); font-size:13px; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-field { display:flex; flex-direction:column; gap:7px; }
.form-field-full { grid-column:1 / -1; }
.form-field label { font-size:12px; font-weight:700; }
.form-field label b { color:#d14545; }
.form-field input, .form-field select, .form-field textarea { width:100%; border:1px solid var(--border); border-radius:9px; padding:11px 12px; font:inherit; font-size:13px; outline:none; background:var(--surface); color:var(--text); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color:var(--primary); box-shadow:0 0 0 3px rgba(var(--primary-rgb),.09); }
.form-note { margin:18px 0; padding:12px; border-radius:9px; background:var(--bg-alt); color:var(--muted); font-size:11px; }
.btn-large { min-height:46px; padding:0 22px; }
.form-error { padding:11px 13px; margin-bottom:18px; background:#fff2f2; color:#b33636; border:1px solid #f2c6c6; border-radius:8px; font-size:12px; }
.submission-success { text-align:center; padding:58px 25px; border:1px solid var(--border); border-radius:18px; background:var(--surface); box-shadow:var(--shadow); }
.submission-success > span { width:58px; height:58px; display:grid; place-items:center; margin:0 auto 13px; border-radius:50%; background:#e8f8ee; color:var(--success); font-size:28px; font-weight:800; }
.submission-success h2 { margin:0 0 5px; }
.submission-success p { color:var(--muted); margin:0 0 18px; }

@media (max-width:1100px) {
    .archive-tool-grid-v4 { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .category-directory-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:900px) {
    .archive-layout-v4 { grid-template-columns:1fr; }
    .directory-sidebar {
        display:none; position:fixed; z-index:1000; top:0; left:0; width:min(340px,88vw);
        height:100vh; overflow:auto; border-radius:0; box-shadow:0 15px 60px rgba(0,0,0,.2); padding:20px;
    }
    .directory-sidebar.is-open { display:block; }
    body.directory-filter-open:after { content:""; position:fixed; inset:0; z-index:999; background:rgba(15,17,30,.35); }
    .mobile-filter-trigger { display:inline-flex; align-items:center; gap:6px; }
    .directory-sidebar { top:0; }
}
@media (max-width:650px) {
    .directory-hero { padding:52px 0 40px; }
    .directory-search { padding:6px; gap:5px; }
    .directory-search-icon { display:none; }
    .directory-search input { padding-left:10px; font-size:13px; }
    .directory-search .btn { padding:0 13px; min-height:40px; }
    .category-directory-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
    .category-directory-card { min-height:72px; padding:10px; gap:9px; }
    .category-directory-icon { width:34px; height:34px; flex-basis:34px; border-radius:9px; }
    .category-directory-content strong { font-size:11px; }
    .sponsored-tool-grid { grid-template-columns:1fr; }
    .section-kicker-row { align-items:flex-start; }
    .section-kicker-row small { display:block; margin:3px 0 0; }
    .directory-promo-view-all { margin-top:1px; }
    .directory-toolbar { align-items:flex-start; flex-direction:column; }
    .toolbar-actions { width:100%; justify-content:space-between; }
    .sort-form { flex:1; }
    .sort-form select { width:100%; }
    .archive-tool-grid-v4 { grid-template-columns:1fr; }
    .archive-tool-grid-v4.directory-list-view .dynamic-tool-card { grid-template-columns:58px minmax(0,1fr); }
    .archive-tool-grid-v4.directory-list-view .tool-card-link { display:none; }
    .form-grid { grid-template-columns:1fr; }
    .form-field-full { grid-column:auto; }
    .submit-tool-form { padding:20px; }
}
/* =========================================================
   V0.5.0 — Production UI system, homepage + tool pages
   ========================================================= */
.section-subtitle{color:var(--muted);font-size:14px;margin:8px 0 0;max-width:620px}
.hero-v5{padding:74px 0 68px;background:radial-gradient(circle at 78% 38%,rgba(122,91,229,.16),transparent 27%),linear-gradient(120deg,#fff 0%,#faf9ff 55%,#f1efff 100%)}
.hero-v5 .hero-grid{min-height:380px}.hero-v5 .hero-content h1{font-size:clamp(42px,5vw,66px);letter-spacing:-.045em}.hero-v5 .hero-search{max-width:700px}.hero-v5 .popular-searches{align-items:center}.hero-v5 .popular-searches a{padding:6px 11px;border-radius:8px}
.category-grid-v5{grid-template-columns:repeat(4,1fr);gap:14px}.category-directory-card{min-height:94px;display:flex;align-items:center;gap:13px;padding:17px;border:1px solid var(--border);border-radius:14px;background:#fff;transition:.2s}.category-directory-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#d9d2fa}.category-directory-icon{width:42px;height:42px;border-radius:12px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center;font-weight:800}.category-directory-content{min-width:0;display:flex;flex-direction:column;gap:2px}.category-directory-content strong{font-size:13px;white-space:normal}.category-directory-content small{font-size:11px;color:var(--muted)}.category-directory-arrow{margin-left:auto;color:var(--primary);font-weight:700}
.homepage-tool-section .tool-card{min-height:278px;display:flex;flex-direction:column}.home-tool-grid{grid-template-columns:repeat(4,1fr)}.homepage-tool-section .tool-card-link{margin-top:14px}.tool-title-row{display:flex;align-items:center;gap:6px}.verified{display:inline-grid;place-items:center;width:16px;height:16px;border-radius:50%;background:var(--primary);color:#fff;font-size:10px}.tool-card .tool-thumbnail{overflow:hidden;background:#fff}.tool-card .tool-thumbnail img{width:100%;height:100%;object-fit:cover}.tool-card p{flex:1;line-height:1.65}.tool-card-link{display:flex;justify-content:space-between;color:var(--primary);font-size:12px;font-weight:800;padding-top:13px;border-top:1px solid var(--border)}
.newsletter-section{padding-top:50px;padding-bottom:50px}.newsletter-box{position:relative;overflow:hidden;padding:42px 48px;border-radius:20px;background:linear-gradient(115deg,var(--primary-dark),var(--primary));color:#fff;box-shadow:0 20px 50px rgba(76,42,172,.18);display:grid;grid-template-columns:1fr auto;gap:25px;align-items:center}.newsletter-box:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;right:-70px;top:-130px;background:rgba(255,255,255,.08)}.newsletter-content,.newsletter-form,.newsletter-note{position:relative;z-index:1}.newsletter-content .eyebrow{color:#ddd4ff}.newsletter-content h2{margin:6px 0;font-size:28px}.newsletter-content p{margin:0;color:#eeeaff}.newsletter-form{display:flex;min-width:390px;background:#fff;border-radius:10px;padding:5px}.newsletter-form input{flex:1;border:0;outline:0;padding:11px 12px;font:inherit}.newsletter-note{grid-column:1/-1;color:#e8e1ff;font-size:11px;margin-top:-15px}.cta-section{padding-top:30px}.cta-box{padding:42px 48px;border-radius:18px;background:#11182a;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:25px}.cta-box h2{margin:7px 0}.cta-box p{color:#b9c1d3;margin:0}.btn-light{background:#fff;color:var(--primary);white-space:nowrap}

/* Premium single tool page */
.single-tool-v5{padding:44px 0 44px;background:linear-gradient(120deg,#fff,#f7f5ff);border-bottom:1px solid var(--border)}.tool-breadcrumb{display:flex;gap:9px;align-items:center;font-size:12px;color:var(--muted);margin-bottom:28px}.tool-breadcrumb a:hover{color:var(--primary)}.premium-tool-head{grid-template-columns:108px minmax(0,1fr) auto}.tool-head-content{min-width:0}.tool-title-line{display:flex;align-items:center;gap:10px}.tool-title-line h1{margin:0;font-size:clamp(34px,4.2vw,50px)}.tool-rating-line{display:flex;align-items:center;gap:9px;margin:8px 0;color:var(--muted);font-size:12px}.tool-rating-line strong{color:var(--text)}.tool-rating-line strong span{color:var(--star)}.sponsored-chip{background:#fff2d9;color:#9b6100;padding:3px 8px;border-radius:999px;font-weight:700}.tool-head-actions{display:flex;flex-direction:column;gap:9px}.favorite-btn{border:1px solid var(--border);background:#fff;padding:9px 14px;border-radius:8px;color:#5f6678;font-weight:600}.tool-page-section{padding:0 0 72px}.single-tool-layout-v5{grid-template-columns:minmax(0,1fr) 330px;gap:34px}.tool-content-v5{padding-top:24px}.tool-anchor-nav{display:flex;gap:4px;overflow:auto;border-bottom:1px solid var(--border);position:sticky;top:74px;background:#fff;z-index:5;padding:0 0 8px}.tool-anchor-nav a{white-space:nowrap;font-size:12px;font-weight:700;padding:9px 12px;border-radius:7px;color:var(--muted)}.tool-anchor-nav a:hover{background:var(--primary-soft);color:var(--primary)}.tool-block{padding:36px 0;border-bottom:1px solid var(--border)}.tool-block h2{font-size:25px;margin:0 0 18px;letter-spacing:-.02em}.entry-content{color:#465064}.entry-content p:first-child{margin-top:0}.feature-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.feature-item{padding:18px;border:1px solid var(--border);border-radius:13px;background:#fff;display:flex;gap:13px}.feature-item>span{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:10px;background:var(--primary-soft);color:var(--primary)}.feature-item h3{font-size:14px;margin:0 0 5px}.feature-item p{font-size:12px;color:var(--muted);margin:0}.check-list{list-style:none;padding:0;margin:0;display:grid;gap:11px}.check-list li:before{content:"✓";display:inline-grid;place-items:center;width:19px;height:19px;margin-right:9px;border-radius:50%;background:#eaf8ef;color:#19824a;font-size:11px;font-weight:800}.pros-cons-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.pros-box,.cons-box{padding:20px;border-radius:14px}.pros-box{background:#f1faf4;border:1px solid #d7f0df}.cons-box{background:#fff8ed;border:1px solid #f6e4c3}.pros-box h3,.cons-box h3{margin:0 0 10px;font-size:15px}.pros-cons-grid ul{margin:0;padding-left:18px;color:#596274;font-size:13px}.pros-cons-grid li{margin:7px 0}.block-heading-row{display:flex;align-items:center;justify-content:space-between}.block-heading-row a{font-size:12px;color:var(--primary);font-weight:700}.related-tool-list{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.related-tool-list .tool-card{padding:16px}.related-tool-list .tool-card p{min-height:auto}.related-tool-list .tool-logo{width:46px;height:46px;font-size:18px}.related-tool-list .tool-card h3{font-size:15px;margin-top:11px}
.single-tool-sidebar{padding-top:24px}.rating-summary-card,.share-tool-card,.submit-mini-cta{border:1px solid var(--border);border-radius:15px;background:#fff;padding:20px;margin-bottom:16px}.rating-summary-card{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.rating-summary-card>strong{font-size:34px}.rating-summary-card div{display:flex;flex-direction:column}.stars{letter-spacing:2px;color:var(--star);font-size:13px}.rating-summary-card small{color:var(--muted);font-size:11px}.rating-summary-card .btn{width:100%;margin-top:4px}.tool-info-card{margin-bottom:16px}.tool-info-card div{align-items:flex-start}.tool-info-card strong{text-align:right;max-width:58%}.share-tool-card h3{font-size:14px;margin:0 0 12px}.share-tool-card div{display:flex;gap:9px}.share-tool-card button{width:36px;height:36px;border:1px solid var(--border);border-radius:50%;background:#fff;color:var(--primary);font-weight:800}.submit-mini-cta{background:linear-gradient(145deg,var(--primary-dark),var(--primary));color:#fff;border:0}.submit-mini-cta>span{font-size:9px;letter-spacing:.12em;font-weight:800;color:#ddd4ff}.submit-mini-cta h3{margin:8px 0 18px;font-size:19px}.submit-mini-cta .btn{padding:9px 14px}

/* Directory polish */
.directory-page .dynamic-tool-card,.archive-tool-grid-v4 .dynamic-tool-card{min-height:260px}.filter-toggle-mobile{border:1px solid var(--border);background:#fff;border-radius:8px;padding:9px 13px;font-size:12px;font-weight:700}.filter-sidebar{box-shadow:0 8px 28px rgba(28,34,57,.04)}

/* =========================================================
   V0.5.1 — Responsive Production Polish
   ========================================================= */
.homepage-tool-section .tool-card p,
.related-tool-list .tool-card p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.homepage-tool-section .tool-card p { -webkit-line-clamp: 3; }
.related-tool-list .tool-card p { -webkit-line-clamp: 2; }

/* Prevent visual emptiness when a tool has short content */
.tool-content-v5 .tool-block:first-of-type { padding-top: 30px; }
.entry-content { max-width: 820px; }
.entry-content > :last-child { margin-bottom: 0; }

/* Mobile CTA is intentionally hidden outside small screens */
.mobile-visit-cta { display: none; }

@media (max-width: 600px) {
    .aith-container { width: min(100% - 24px, var(--container)); }

    /* Hero: tighter but still premium */
    .hero-v5 { padding: 42px 0 36px; }
    .hero-v5 .hero-grid { min-height: 0; }
    .hero-v5 .hero-content h1 { font-size: clamp(34px, 10vw, 42px); line-height: 1.1; margin: 10px 0 14px; }
    .hero-v5 .hero-content p { line-height: 1.55; margin-bottom: 0; }
    .hero-v5 .hero-search { margin-top: 22px; }
    .hero-v5 .hero-search input { font-size: 12px; min-width: 0; }
    .hero-v5 .hero-search button { padding: 11px 14px; font-size: 12px; }

    /* Section rhythm: remove unnecessary page length */
    .section { padding: 38px 0; }
    .homepage-tool-section { padding: 34px 0; }
    .section-heading { gap: 7px; margin-bottom: 18px; }
    .section-heading h2 { font-size: 23px; line-height: 1.2; }
    .section-subtitle { font-size: 12px; line-height: 1.45; }
    .text-link { font-size: 11px; }

    /* Compact category grid */
    .category-grid-v5 { gap: 8px; }
    .category-directory-card { min-height: 70px; padding: 10px; border-radius: 11px; gap: 7px; }
    .category-directory-icon { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 9px; }
    .category-directory-content strong { font-size: 10px; }
    .category-directory-content small { font-size: 8px; }

    /* Two-column cards: dramatically reduces mobile scroll length */
    .home-tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .homepage-tool-section .tool-card { min-height: 222px; padding: 13px; border-radius: 12px; }
    .homepage-tool-section .tool-card-top { gap: 8px; }
    .homepage-tool-section .tool-logo { width: 40px; height: 40px; border-radius: 11px; font-size: 17px; }
    .homepage-tool-section .bookmark { font-size: 17px; line-height: 1; }
    .homepage-tool-section .tool-card h3 { font-size: 13px; margin: 10px 0 5px; line-height: 1.25; }
    .homepage-tool-section .verified { width: 13px; height: 13px; font-size: 8px; }
    .homepage-tool-section .badge { padding: 3px 6px; font-size: 8px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .homepage-tool-section .tool-card p { font-size: 10px; line-height: 1.5; min-height: 45px; margin: 8px 0; -webkit-line-clamp: 3; }
    .homepage-tool-section .tool-meta { padding-top: 9px; font-size: 9px; gap: 5px; flex-wrap: wrap; }
    .homepage-tool-section .tool-card-link { margin-top: 8px; padding-top: 9px; font-size: 10px; }
    .homepage-tool-section .tool-card-link span { font-size: 14px; }

    /* Prompt cards stay dense on mobile */
    .prompt-grid { gap: 10px; }
    .prompt-card { padding: 13px; min-height: 175px; }
    .prompt-card h3 { font-size: 12px; line-height: 1.35; }
    .prompt-card p { font-size: 10px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

    /* CTA blocks */
    .newsletter-section { padding-top: 34px; padding-bottom: 34px; }
    .newsletter-box { padding: 24px 18px; border-radius: 15px; gap: 16px; }
    .newsletter-content h2 { font-size: 22px; line-height: 1.25; }
    .newsletter-content p { font-size: 12px; }
    .cta-section { padding-top: 0; }
    .cta-box { padding: 26px 18px; border-radius: 15px; }
    .cta-box h2 { font-size: 23px; }
    .cta-box p { font-size: 12px; }

    /* Tool page hero */
    .single-tool-v5 { padding: 24px 0 26px; }
    .tool-breadcrumb { font-size: 11px; margin-bottom: 18px; }
    .premium-tool-head { grid-template-columns: 64px minmax(0, 1fr); gap: 13px; align-items: start; }
    .single-tool-logo { width: 64px; height: 64px; border-radius: 16px; font-size: 26px; }
    .tool-title-line { gap: 7px; }
    .tool-title-line h1 { font-size: 27px; line-height: 1.1; }
    .single-tool-tags { margin-top: 6px; }
    .tool-rating-line { margin: 6px 0; gap: 6px; flex-wrap: wrap; }
    .tool-head-content p { font-size: 14px; line-height: 1.55; margin-top: 8px; }
    .tool-head-actions { grid-column: 1 / -1; flex-direction: row; gap: 8px; margin-top: 4px; }
    .tool-head-actions .btn, .favorite-btn { width: auto; flex: 1; padding: 10px 8px; font-size: 12px; }

    /* Anchor navigation remains usable without wasting vertical space */
    .tool-page-section { padding-bottom: 32px; }
    .tool-content-v5 { padding-top: 16px; }
    .tool-anchor-nav { top: 63px; padding: 0 0 6px; }
    .tool-anchor-nav a { font-size: 11px; padding: 8px 9px; }
    .tool-block { padding: 27px 0; }
    .tool-block h2 { font-size: 22px; margin-bottom: 14px; }
    .entry-content { font-size: 14px; line-height: 1.7; }

    /* Sidebar becomes a compact information stack */
    .single-tool-sidebar { margin-top: 0; }
    .rating-summary-card { padding: 15px; margin-bottom: 12px; gap: 10px; }
    .rating-summary-card > strong { font-size: 28px; }
    .rating-summary-card .sidebar-visit-btn { display: none; }
    .tool-info-card { padding: 18px; margin-bottom: 12px; }
    .tool-info-card h3 { font-size: 17px; margin-bottom: 7px; }
    .tool-info-card div { padding: 10px 0; font-size: 11px; }
    .share-tool-card { padding: 16px; margin-bottom: 12px; }
    .submit-mini-cta { padding: 20px; margin-bottom: 0; }
    .submit-mini-cta h3 { font-size: 18px; margin: 7px 0 14px; }

    /* Related tools are compact and don't dominate the page */
    .related-tool-list { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
    .related-tool-list .tool-card { padding: 12px; min-height: 0; }
    .related-tool-list .tool-logo { width: 38px; height: 38px; border-radius: 10px; font-size: 15px; }
    .related-tool-list .tool-card h3 { font-size: 12px; margin: 9px 0 4px; }
    .related-tool-list .tool-card p { font-size: 9px; line-height: 1.45; }

    /* Persistent mobile conversion CTA */
    .mobile-visit-cta {
        display: block;
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 10px;
        z-index: 120;
        padding: 7px;
        background: rgba(255,255,255,.94);
        border: 1px solid var(--border);
        border-radius: 12px;
        box-shadow: 0 12px 32px rgba(18,22,40,.18);
        backdrop-filter: blur(10px);
    }
    .mobile-visit-cta .btn { width: 100%; padding: 12px 16px; }
    body.single-ai_tool .site-footer { padding-bottom: 84px; }

    /* Persistent mobile download CTA — same treatment as the tool page's floating Visit button */
    body.single-ai_prompt .prompt-print-button {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 10px;
        z-index: 120;
        width: auto;
        box-shadow: 0 12px 32px rgba(18,22,40,.18);
    }
    body.single-ai_prompt .prompt-download-note { display: none; }
    body.single-ai_prompt .site-footer { padding-bottom: 84px; }
    body.single-ai_prompt .prompt-hero-actions { margin-top: 0; }
    body.single-ai_prompt .prompt-single-hero { padding-bottom: 20px; }
    body.single-ai_prompt .prompt-single-hero .prompt-single-wrap { padding-bottom: 20px; }
}

@media (max-width: 380px) {
    .home-tool-grid { grid-template-columns: 1fr; }
    .homepage-tool-section .tool-card { min-height: 0; }
    .related-tool-list { grid-template-columns: 1fr; }
}


/* V0.5.2 Ad slots */
.aith-ad-slot{position:relative;min-height:90px;border:1px solid var(--aith-border,#e6e8ef);border-radius:14px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;margin:0 auto;color:#64748b}.aith-ad-slot:empty{display:none}.aith-ad-slot ins,.aith-ad-slot iframe{max-width:100%}.aith-ad-label{position:absolute;top:8px;left:50%;transform:translateX(-50%);font-size:9px;letter-spacing:.12em;color:#94a3b8;text-transform:uppercase;z-index:2;pointer-events:none}.aith-ad-slot>*:not(.aith-ad-label){max-width:100%}.ad-section:has(.aith-ad-slot:not(:empty)){padding:22px 0}.ad-section-compact{padding:10px 0}.aith-ad-tool-content{margin:26px 0}.aith-ad-tool-sidebar{margin:0 0 18px;min-height:120px}.aith-ad-tool-sidebar .aith-ad-label{top:7px}.prompt-single-ad{margin:24px 0 28px}.prompt-single-ad .aith-container{max-width:100%}.prompt-single-ad .aith-ad-slot{min-height:110px}
/* V0.6.0 Tool FAQs */
.tool-faq-list{display:grid;gap:10px}.tool-faq-list details{border:1px solid var(--aith-border,#e7e7ef);border-radius:12px;padding:14px 16px;background:#fff}.tool-faq-list summary{cursor:pointer;font-weight:700;list-style:none}.tool-faq-list summary::-webkit-details-marker{display:none}.tool-faq-list summary:before{content:"";display:inline-block;flex:0 0 auto;width:0;height:0;border-style:solid;border-width:4px 0 4px 6px;border-color:transparent transparent transparent var(--muted);margin-right:10px;vertical-align:middle;transition:transform .15s ease}.tool-faq-list details[open] summary:before{transform:rotate(90deg)}.tool-faq-list p{margin:10px 0 0;color:#64748b;line-height:1.7}


/* =========================================================
   V0.7.0 Advanced Search & Discovery
   ========================================================= */
.directory-search{position:relative}
.directory-search input[type="search"]::-webkit-search-cancel-button{cursor:pointer}
.filter-platform-group select{width:100%;border:1px solid var(--border);border-radius:8px;padding:9px 10px;background:var(--surface);color:var(--text);font:inherit;font-size:11px}
.filter-tag-list{display:flex;flex-wrap:wrap;gap:7px}.filter-tag-option{padding:0!important}.filter-tag-option input{position:absolute;opacity:0;pointer-events:none}.filter-tag-option span{display:inline-flex;padding:6px 9px;border:1px solid var(--border);border-radius:999px;background:var(--surface);font-size:10px;color:var(--muted);transition:.2s}.filter-tag-option input:checked+span{background:var(--primary-soft);color:var(--primary);border-color:rgba(var(--primary-rgb),.3)}
.archive-tool-grid-v4{transition:opacity .2s}.archive-tool-grid-v4.is-loading{opacity:.42;pointer-events:none}.archive-tool-grid-v4.is-loading:after{content:"Searching tools…";grid-column:1/-1;text-align:center;padding:20px;color:var(--primary);font-weight:700}
.aith-ajax-pages{display:flex;align-items:center;justify-content:center;gap:6px}.aith-ajax-pages button{min-width:34px;height:34px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);cursor:pointer;font-weight:700}.aith-ajax-pages button:hover,.aith-ajax-pages button.current{background:var(--primary);color:#fff;border-color:var(--primary)}.aith-ajax-pages span{padding:0 4px;color:var(--muted)}
.directory-empty-ajax{grid-column:1/-1;width:100%}
.directory-toolbar .toolbar-results strong{color:var(--primary)}
@media(max-width:650px){.filter-tag-list{gap:6px}.filter-tag-option span{font-size:9px;padding:5px 7px}.aith-ajax-pages{gap:4px}.aith-ajax-pages button{min-width:30px;height:30px;font-size:11px}}
/* V0.8.1 Visual Asset Management */
.tool-logo img,.sponsored-mini-logo img{width:100%;height:100%;object-fit:contain;display:block}.aith-logo-fallback{display:grid;place-items:center;width:100%;height:100%}.category-directory-icon{overflow:hidden}.category-directory-icon img{width:72%;height:72%;object-fit:contain;display:block}.aith-category-fallback{font-size:18px}.tool-featured-visual{border:1px solid var(--border);border-radius:16px;overflow:hidden;background:#fafafa;margin-bottom:14px}.tool-featured-visual img{width:100%;height:auto;display:block}.tool-gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.tool-gallery-grid img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:12px;border:1px solid var(--border);display:block}@media(max-width:700px){.tool-gallery-grid{grid-template-columns:repeat(2,1fr);gap:9px}}

/* =========================================================
   V0.8.7 — Homepage grid + fallback visual fixes
   ========================================================= */
/* Keep every homepage grid on the same 4-column geometry. */
.categories-section .category-grid-v5,
.homepage-tool-section .home-tool-grid,
.prompt-grid {
    width:100%;
    grid-auto-flow:row;
    align-items:stretch;
}
.category-grid-v5{grid-template-columns:repeat(4,minmax(0,1fr));}
.category-directory-card{
    width:100%;
    min-width:0;
    box-sizing:border-box;
}
.category-directory-icon{flex:0 0 42px;}
.category-directory-content{min-width:0;max-width:calc(100% - 68px);overflow:hidden;}
.category-directory-content strong{
    display:block;
    width:100%;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.category-directory-content small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.category-directory-arrow{flex:0 0 auto;margin-left:auto;}

/* Letter fallback was invisible because thumbnail cards intentionally use white backgrounds. */
.tool-logo .aith-logo-fallback,
.sponsored-mini-logo .aith-logo-fallback{
    width:100%;height:100%;
    display:grid;place-items:center;
    border-radius:inherit;
    background:linear-gradient(135deg,var(--primary),var(--accent));
    color:#fff;
    font-weight:800;
    line-height:1;
}
/* Category fallbacks are always centered and visible even without uploaded media. */
.category-directory-icon .aith-category-fallback{
    width:100%;height:100%;
    display:grid;place-items:center;
    font-size:18px;
    line-height:1;
    font-weight:800;
}

/* Normalize card internals so one long title/excerpt cannot alter the row rhythm. */
.homepage-tool-section .tool-card{height:100%;}
.homepage-tool-section .tool-card h3{
    min-height:40px;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
}
.homepage-tool-section .tool-card p{
    min-height:58px;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
    overflow:hidden;
}
.prompt-grid .prompt-card{height:100%;}
.prompt-grid .prompt-card h3{
    min-height:44px;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
}

/* =========================================================
   V0.8.8 — Compact taxonomy badges + card alignment audit
   ========================================================= */
/* Tool cards are flex columns; prevent the taxonomy badge from stretching
   across the card's cross-axis. The badge should always hug its content. */
.dynamic-tool-card > .badge,
.tool-card > .badge,
.homepage-tool-section .tool-card > .badge,
.archive-tool-grid-v4 .tool-card > .badge,
.related-tool-list .tool-card > .badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    justify-self: start;
    width: -moz-fit-content;
    width: fit-content;
    max-width: 100%;
    flex: 0 0 auto;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Keep the visual gap below a compact badge consistent in every tool card. */
.homepage-tool-section .tool-card > .badge,
.archive-tool-grid-v4 .tool-card > .badge {
    margin-bottom: 0;
}

/* Defensive grid constraints: no card child is allowed to widen a grid track. */
.home-tool-grid > *,
.category-grid-v5 > *,
.prompt-grid > * {
    min-width: 0;
}
.homepage-tool-section .tool-card,
.homepage-tool-section .tool-card > * {
    min-width: 0;
}

@media (max-width: 900px) {
    .sponsored-tool-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 650px) {
    .homepage-tool-section .tool-card > .badge {
        display: inline-flex;
        align-self: flex-start;
        width: fit-content;
        max-width: 100%;
        flex: 0 0 auto;
    }
}

/* V0.8.9 Discovery taxonomy system */
.discovery-title-icon{margin:0 0 14px}.aith-discovery-icon{width:44px;height:44px;border-radius:14px;background:var(--primary-soft);color:var(--primary);display:inline-flex;align-items:center;justify-content:center;font-size:20px;overflow:hidden;flex:0 0 auto}.aith-discovery-icon img{width:100%;height:100%;object-fit:contain;padding:7px}.discovery-hero-icon{width:56px;height:56px;border-radius:18px;font-size:25px}.discovery-grid .category-card{min-width:0}.discovery-card .category-card-content{min-width:0}.discovery-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.discovery-card .aith-discovery-icon{margin-right:12px}.discovery-hub-section{padding-top:28px;padding-bottom:28px}.discovery-hub-section+.discovery-hub-section{border-top:1px solid var(--border)}

/* =========================================================
   V0.8.13 — Directory & Category Archive Polish
   ========================================================= */
.directory-hero-stats{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.directory-hero-stats>div{min-width:128px;padding:10px 14px;border:1px solid rgba(var(--primary-rgb),.13);border-radius:11px;background:rgba(255,255,255,.64);display:flex;flex-direction:column;gap:2px}
.directory-hero-stats strong{font-size:14px;color:var(--text)}.directory-hero-stats span{font-size:10px;color:var(--muted)}
.directory-context-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:18px;font-size:11px;color:var(--muted)}
.directory-context-row strong{color:var(--primary);background:rgba(var(--primary-rgb),.08);padding:5px 9px;border-radius:999px}.directory-context-count{padding-left:2px}
.filter-head-actions{display:flex;align-items:center;gap:10px}.filter-close{display:none;width:28px;height:28px;border:1px solid var(--border);border-radius:8px;background:var(--surface);font-size:20px;line-height:1;color:var(--muted);cursor:pointer}
.filter-platform-group select{width:100%;height:38px;padding:0 10px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);font:inherit;font-size:11px}
.filter-tag-list{display:flex;flex-wrap:wrap;gap:7px}.filter-tag-option{padding:0!important}.filter-tag-option input{position:absolute;opacity:0;pointer-events:none}.filter-tag-option span{display:block;padding:6px 9px;border:1px solid var(--border);border-radius:999px;background:var(--surface);font-size:10px;color:var(--muted);transition:.18s ease}.filter-tag-option input:checked+span{border-color:rgba(var(--primary-rgb),.35);background:var(--primary-soft);color:var(--primary);font-weight:700}
.directory-active-filters{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:-5px 0 16px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:rgba(var(--primary-rgb),.025);font-size:10px}.directory-active-filters>span{color:var(--muted);font-weight:700}.directory-active-filters a{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:999px;background:#fff;border:1px solid var(--border);color:var(--text);font-weight:600}.directory-active-filters a b{font-size:13px;line-height:1;color:var(--primary)}.directory-active-filters a.clear{margin-left:auto;border:0;background:transparent;color:var(--primary);padding-right:0}
.directory-filter-backdrop{display:none}
.archive-tool-grid-v4 .dynamic-tool-card{transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.archive-tool-grid-v4 .dynamic-tool-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(30,35,65,.08)}
.aith-ajax-pages{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:26px}.aith-ajax-pages button{min-width:34px;height:34px;padding:0 9px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--muted);font:inherit;font-size:11px;cursor:pointer}.aith-ajax-pages button.current{background:var(--primary);border-color:var(--primary);color:#fff;font-weight:700}
@media(max-width:900px){
  .directory-filter-backdrop{position:fixed;inset:0;background:rgba(12,15,28,.34);z-index:998;opacity:0;pointer-events:none;transition:.2s ease}.directory-filter-backdrop.is-open{display:block;opacity:1;pointer-events:auto}
  .directory-sidebar{position:fixed!important;z-index:999;left:14px;right:14px;top:68px!important;bottom:14px;overflow:auto;display:block!important;transform:translateY(18px);opacity:0;pointer-events:none;transition:.22s ease;box-shadow:0 18px 60px rgba(12,15,30,.18)}
  .directory-sidebar.is-open{transform:none;opacity:1;pointer-events:auto}.filter-close{display:inline-grid;place-items:center}.directory-sidebar .filter-categories{padding-bottom:8px}.mobile-filter-trigger{display:inline-flex;align-items:center;gap:6px}
}
@media(max-width:650px){.directory-hero-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.directory-hero-stats>div{min-width:0;padding:9px}.directory-hero-stats strong{font-size:12px}.directory-hero-stats span{font-size:9px;line-height:1.3}.directory-active-filters{margin-top:0}.directory-active-filters a.clear{margin-left:0}.directory-context-row{margin-top:14px}.archive-tool-grid-v4 .dynamic-tool-card:hover{transform:none}}

/* =========================================================
   V0.8.13 — Mobile filter interaction fix
   The legacy body pseudo-overlay could stack above the fixed
   filter drawer and intercept taps/scrolling on touch devices.
   ========================================================= */
@media (max-width:900px){
  body.directory-filter-open:after{display:none!important;content:none!important}
  .directory-filter-backdrop{
    display:block!important;
    z-index:1000!important;
    -webkit-tap-highlight-color:transparent;
  }
  .directory-filter-backdrop:not(.is-open){opacity:0!important;pointer-events:none!important}
  .directory-filter-backdrop.is-open{opacity:1!important;pointer-events:auto!important}
  .directory-sidebar{
    z-index:1001!important;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    touch-action:pan-y;
    isolation:isolate;
  }
  .directory-sidebar.is-open{pointer-events:auto!important}
  .directory-sidebar .filter-close,
  .directory-sidebar input,
  .directory-sidebar select,
  .directory-sidebar label,
  .directory-sidebar button,
  .directory-sidebar a{touch-action:manipulation}
  body.directory-filter-open{overflow:hidden;touch-action:none}
}


/* V0.8.14 Active filter chips: removable without page reload */
.directory-active-filters .directory-filter-chip,.directory-active-filters button.clear{font:inherit;cursor:pointer}
.directory-active-filters .directory-filter-chip{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:999px;background:#fff;border:1px solid var(--border);color:var(--text);font-weight:600;line-height:1.2}
.directory-active-filters .directory-filter-chip:hover{border-color:var(--primary);color:var(--primary);background:var(--primary-soft)}
.directory-active-filters .directory-filter-chip b{font-size:15px;line-height:1;color:var(--primary);font-weight:800;margin-top:-1px}
.directory-active-filters button.clear{margin-left:auto;border:0;background:transparent;color:var(--primary);padding:5px 0;font-weight:700}
@media(max-width:650px){.directory-active-filters{padding:9px 10px;gap:6px}.directory-active-filters>span{width:100%;margin-bottom:1px}.directory-active-filters .directory-filter-chip{font-size:10px;padding:5px 8px}.directory-active-filters button.clear{margin-left:0;width:auto}}

/* V0.8.15 — AI Search / GEO optimization UI */
.tool-quick-answer{background:linear-gradient(135deg,#faf8ff,var(--primary-soft));border:1px solid #e7defd;border-radius:16px;padding:24px;margin-top:24px}
.tool-quick-answer h2{margin-bottom:10px}.tool-quick-answer p{font-size:16px;line-height:1.75;color:#3f4860;margin:0 0 12px}.tool-quick-answer small{display:block;color:var(--muted);font-size:11px}
.quick-answer-label{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;background:var(--primary-soft);color:var(--primary);font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin-bottom:12px}
.entity-groups{display:grid;gap:14px}.entity-group{display:grid;grid-template-columns:120px minmax(0,1fr);gap:14px;align-items:start}.entity-group>strong{font-size:12px;color:var(--muted);padding-top:6px}.entity-group>div{display:flex;flex-wrap:wrap;gap:8px}.entity-group a{display:inline-flex;padding:6px 10px;border:1px solid var(--border);border-radius:999px;background:#fff;color:var(--text);font-size:12px;font-weight:600}.entity-group a:hover{border-color:var(--primary);color:var(--primary);background:var(--primary-soft)}
.tool-sources-card{border:1px solid var(--border);border-radius:15px;background:#fff;padding:20px;margin-bottom:16px}.tool-sources-card h3{font-size:14px;margin:0 0 7px}.tool-sources-card p{font-size:12px;color:var(--muted);margin:0 0 12px}.tool-sources-card ul{list-style:none;padding:0;margin:0;display:grid;gap:8px}.tool-sources-card li a{font-size:12px;font-weight:700;color:var(--primary)}.tool-sources-card small{display:block;border-top:1px solid var(--border);padding-top:10px;margin-top:12px;font-size:10px;color:var(--muted)}
@media(max-width:700px){.tool-quick-answer{padding:18px;margin-top:18px}.tool-quick-answer p{font-size:14px;line-height:1.65}.entity-group{grid-template-columns:1fr;gap:7px}.entity-group>strong{padding-top:0}.entity-group a{font-size:11px}.tool-sources-card{padding:17px}}
/* V0.8.16 Comparison & Alternatives */
.compare-page{background:#f8fafc}.compare-hero{padding:44px 0 44px;background:linear-gradient(135deg,#f5f3ff,#fff)}.compare-hero-content{display:grid;grid-template-columns:64px minmax(0,1fr);gap:20px;align-items:start;margin-top:14px}.compare-hero-icon{width:64px;height:64px;border-radius:18px;background:linear-gradient(135deg,var(--primary),var(--primary-dark));color:#fff;display:grid;place-items:center;font-size:25px;box-shadow:0 12px 26px color-mix(in srgb, var(--primary) 20%, transparent)}.compare-hero-copy{min-width:0}.compare-kicker{font-size:12px;font-weight:800;letter-spacing:.12em;color:var(--primary-dark)}.compare-hero h1{font-size:clamp(34px,4.2vw,50px);margin:10px 0}.compare-hero p{max-width:760px;color:#64748b;font-size:17px}.compare-hero-tools{display:flex;align-items:center;gap:24px;margin-top:28px}.compare-hero-tools>a{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:14px 18px;display:flex;align-items:center;gap:10px;min-width:220px;color:#0f172a}.compare-hero-tools>a strong{font-size:15px}.compare-hero-tools img{width:42px;height:42px;object-fit:contain}.compare-hero-tools>span{font-weight:800;color:var(--primary)}.compare-vs{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:26px;height:26px;border-radius:50%;background:#f1f5f9;color:#64748b;font-weight:800;font-size:10px}.compare-content{padding:42px 0 70px}.compare-quick-verdict,.compare-detail-card,.compare-choice-grid>div{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:24px;margin-bottom:24px}.compare-quick-verdict{border-left:3px solid var(--primary)}.compare-quick-verdict h2{font-size:20px;margin:0 0 9px}.compare-quick-verdict p{font-size:15px;line-height:1.6;margin:0}.compare-choice-grid p{font-size:15px;line-height:1.6;margin:0 0 14px}.compare-detail-card li{font-size:14px;line-height:1.6}.compare-table-wrap{overflow:auto;background:#fff;border:1px solid #e5e7eb;border-radius:18px;margin-bottom:24px}.compare-table{width:100%;border-collapse:collapse;min-width:700px}.compare-table th,.compare-table td{padding:17px;border-bottom:1px solid #eef2f7;text-align:left}.compare-table thead th{background:#fafafa}.compare-table tbody th{width:25%;color:#475569}.compare-table tbody tr:nth-child(even){background:#fbfbfd}.compare-table tbody tr:hover{background:var(--primary-soft)}.compare-table tbody tr:last-child td,.compare-table tbody tr:last-child th{border-bottom:0}.compare-check{display:inline-flex;align-items:center;justify-content:center;flex:0 0 16px;width:16px;height:16px;border-radius:50%;background:var(--primary-soft);color:var(--primary);font-size:9px;font-weight:800;margin-top:2px}.compare-detail-card li:has(.compare-check){list-style:none;display:flex;align-items:flex-start;gap:8px}.compare-detail-grid,.compare-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.compare-detail-card h2,.compare-choice-grid h2{font-size:20px;margin-top:0}.compare-detail-card ul:has(.compare-check){padding-left:0}
.compare-detail-card ul{padding-left:18px;margin:0}.compare-detail-card li{margin:10px 0;color:#475569}.compare-detail-card li>div{display:flex;flex-direction:column;gap:2px;min-width:0}.compare-detail-card li strong{font-weight:750;color:#1e293b;font-size:14px}.compare-detail-card li>div>span{font-size:12px;color:var(--muted);line-height:1.5}.compare-choice-grid>div{margin:0}.compare-hub-hero{text-align:center;padding:60px 0 52px}.compare-hub-hero span{font-size:12px;font-weight:800;color:var(--primary-dark);letter-spacing:.12em}.compare-hub-hero h1{font-size:clamp(38px,4.6vw,58px);margin:8px 0}.compare-hub-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding-bottom:60px}.compare-pair-card{display:flex;flex-direction:column;gap:7px;padding:20px;border:1px solid #e5e7eb;border-radius:16px;background:#fff;color:#0f172a;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.compare-pair-card:hover{transform:translateY(-3px);border-color:rgba(var(--primary-rgb),.35);box-shadow:var(--shadow)}.compare-pair-tools{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px;align-items:center;margin:4px 0 2px}.compare-pair-tool{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;min-width:0}.compare-pair-tool img,.compare-pair-tool .aith-logo-fallback{display:block;width:34px;height:34px;flex:0 0 34px;object-fit:contain;border-radius:9px}.compare-pair-tool .aith-logo-fallback{display:grid;place-items:center;background:linear-gradient(135deg,var(--primary),var(--accent));color:#fff;font-weight:800;font-size:14px;line-height:1}.compare-pair-tool strong{font-size:12px;font-weight:700;color:#0f172a;line-height:1.25;overflow-wrap:anywhere}.compare-pair-category{align-self:flex-start;font-size:10px;font-weight:700;color:var(--primary);background:var(--primary-soft);padding:4px 10px;border-radius:999px}.compare-pair-card b{margin-top:8px;color:#334155;font-size:14px;font-weight:600;transition:color .15s ease}.compare-pair-card:hover b{color:var(--primary-dark)}
@media(max-width:1050px){.compare-hub-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){.compare-hero-icon{width:54px;height:54px;border-radius:15px;font-size:21px}}
@media(max-width:650px){.compare-hero-content{grid-template-columns:1fr}.compare-hero-icon{width:48px;height:48px;border-radius:14px;font-size:19px}}
@media(max-width:768px){.compare-hero{padding:35px 0}.compare-hero-tools{gap:10px}.compare-hero-tools>a{min-width:0;flex:1;padding:10px;font-size:13px}.compare-hero-tools img{width:32px;height:32px}.compare-detail-grid,.compare-choice-grid{grid-template-columns:1fr}.compare-hub-grid{grid-template-columns:1fr}.compare-content{padding-top:24px}}

/* V0.8.17 – Comparison page responsive refinement */
.compare-mobile-specs{display:none}
.compare-section-heading{margin:34px 0 16px}
.compare-section-heading>span{display:block;font-size:12px;font-weight:800;letter-spacing:.12em;color:var(--primary-dark);margin-bottom:5px}
.compare-section-heading h2{margin:0;font-size:24px;color:#1e293b}
.compare-detail-grid:has(.compare-detail-card:only-child){grid-template-columns:minmax(0,1fr)}
.compare-hero-tools>a strong{line-height:1.3;word-break:normal;overflow-wrap:break-word}
.compare-choice-grid .btn{white-space:normal}

@media(max-width:768px){
    .compare-page{overflow:hidden}
    .compare-hero{padding:28px 0 24px}
    .compare-hero h1{line-height:1.22;margin:8px 0 12px}
    .compare-hero p{font-size:14px;line-height:1.65;margin:0}
    .compare-hero-tools{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px;margin-top:22px;align-items:center}
    .compare-hero-tools>a{width:100%;min-width:0;padding:10px 8px;border-radius:12px;justify-content:center;gap:7px;font-size:11px;text-align:center}
    .compare-hero-tools>a strong{min-width:0;overflow-wrap:anywhere}
    .compare-hero-tools img{width:28px;height:28px;flex:0 0 28px}
    .compare-vs{font-size:11px;white-space:nowrap}

    .compare-content{padding:20px 0 48px}
    .compare-quick-verdict{padding:18px;border-radius:14px;margin-bottom:16px}
    .compare-quick-verdict h2{font-size:18px;margin:0 0 9px}
    .compare-quick-verdict p{font-size:13px;line-height:1.65;margin:0}

    .compare-table-wrap{display:none}
    .compare-mobile-specs{display:grid;gap:10px;margin-bottom:28px}
    .compare-mobile-spec{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:14px 15px}
    .compare-mobile-spec h3{font-size:13px;margin:0 0 10px;color:#334155}
    .compare-mobile-spec>div{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:9px 0;border-top:1px solid #f0f2f5}
    .compare-mobile-spec>div:first-of-type{border-top:0}
    .compare-mobile-tool-name{font-size:12px;color:#64748b;max-width:48%}
    .compare-mobile-spec strong{font-size:12px;color:#1e293b;text-align:right;max-width:52%;overflow-wrap:anywhere}

    .compare-section-heading{margin:28px 0 12px}
    
    .compare-section-heading h2{font-size:20px}
    .compare-detail-grid,.compare-choice-grid{display:grid;grid-template-columns:1fr;gap:12px}
    .compare-detail-card,.compare-choice-grid>div{padding:17px;border-radius:14px;margin:0}
    .compare-detail-card h2,.compare-choice-grid h2{font-size:16px;line-height:1.4;margin-bottom:12px}
    .compare-detail-card ul{padding-left:17px}
    .compare-detail-card li{font-size:13px;line-height:1.5;margin:8px 0}
    .compare-choice-grid p{font-size:13px;line-height:1.6;margin:0 0 14px}
    .compare-choice-grid .btn{display:inline-flex;max-width:100%;font-size:12px;padding:10px 13px}
}


/* V0.8.18 – Editorial URL architecture content types */
.editorial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.editorial-card{border:1px solid var(--border);border-radius:16px;background:var(--surface);overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}
.editorial-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(31,41,55,.08)}
.editorial-card a{display:block;color:inherit;text-decoration:none;height:100%}
.editorial-card img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}
.editorial-card-body{padding:20px}
.editorial-card h2{font-size:20px;line-height:1.35;margin:8px 0 10px}
.editorial-card p{margin:0 0 16px;color:var(--muted);line-height:1.65}
.editorial-single-hero{padding-bottom:42px}
.editorial-content{max-width:860px}
.editorial-content>*{max-width:100%}
.editorial-content h2,.editorial-content h3{margin-top:1.6em}
.editorial-content p,.editorial-content li{line-height:1.8}
.editorial-featured-image{margin:0 0 28px;border-radius:16px;overflow:hidden}
.editorial-featured-image img{display:block;width:100%;height:auto}
@media(max-width:900px){.editorial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.editorial-grid{grid-template-columns:1fr;gap:16px}.editorial-card-body{padding:16px}.editorial-card h2{font-size:18px}}

/* v0.8.19 architecture hubs */
.category-hub-hero .directory-hero-copy{max-width:760px}
.category-hub-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.compare-hub-page-section{padding-top:0}
.compare-hub-page-section .aith-compare-hub{padding-top:0}
@media (max-width:900px){.category-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.category-hub-grid{grid-template-columns:1fr}.category-hub-hero .directory-hero-stats{grid-template-columns:repeat(3,1fr)}}


/* =========================================================
   V0.8.20 — Single Tool Page UI Polish
   Faster scanning, stronger hierarchy and clearer decision cues.
   ========================================================= */
.single-ai_tool .single-tool-hero{position:relative;overflow:hidden}
.single-ai_tool .single-tool-hero:after{content:"";position:absolute;width:520px;height:520px;right:-220px;top:-350px;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb, var(--primary) 10%, transparent),transparent 68%);pointer-events:none}
.single-ai_tool .single-tool-hero .aith-container{position:relative;z-index:1}
.single-ai_tool .tool-glance-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:28px;padding-top:22px;border-top:1px solid rgba(94,44,237,.10)}
.single-ai_tool .tool-glance-item{display:flex;align-items:center;gap:10px;min-width:0;padding:12px 14px;border:1px solid var(--border);border-radius:12px;background:rgba(255,255,255,.76);box-shadow:0 6px 18px rgba(28,33,62,.035)}
.single-ai_tool .tool-glance-icon{width:32px;height:32px;flex:0 0 32px;display:grid;place-items:center;border-radius:9px;background:var(--primary-soft);color:var(--primary);font-weight:800}
.single-ai_tool .tool-glance-item div{min-width:0;display:grid;gap:2px}
.single-ai_tool .tool-glance-item small{font-size:10px;text-transform:uppercase;letter-spacing:.055em;color:var(--muted);font-weight:700}
.single-ai_tool .tool-glance-item strong{font-size:12px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.single-ai_tool .tool-anchor-nav{scrollbar-width:none;box-shadow:0 7px 14px rgba(30,35,65,.018)}
.single-ai_tool .tool-anchor-nav::-webkit-scrollbar{display:none}
.single-ai_tool .tool-anchor-nav a{transition:background .18s ease,color .18s ease,transform .18s ease}
.single-ai_tool .tool-anchor-nav a:hover{transform:translateY(-1px)}
.single-ai_tool .tool-block h2{position:relative;padding-bottom:10px}
.single-ai_tool .tool-block h2:after{content:"";position:absolute;left:0;bottom:0;width:34px;height:3px;border-radius:99px;background:linear-gradient(90deg,var(--primary),var(--accent))}
.single-ai_tool .tool-quick-answer{box-shadow:0 14px 34px rgba(94,44,237,.055)}
.single-ai_tool .quick-answer-label{font-size:10px;font-weight:800;letter-spacing:.11em;color:var(--primary);margin-bottom:9px}
.single-ai_tool .quick-answer-fit{margin:16px 0 14px;padding-top:14px;border-top:1px solid rgba(94,44,237,.12);display:flex;align-items:flex-start;gap:12px}
.single-ai_tool .quick-answer-fit>strong{font-size:11px;white-space:nowrap;padding-top:5px;color:#4d5670}
.single-ai_tool .quick-answer-fit>div{display:flex;flex-wrap:wrap;gap:7px}
.single-ai_tool .quick-answer-fit span{font-size:10px;line-height:1.35;padding:5px 8px;border:1px solid #e4dcfa;border-radius:999px;background:#fff;color:#5a4d88}
.single-ai_tool .feature-item{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.single-ai_tool .feature-item:hover{transform:translateY(-2px);border-color:#d8ccfb;box-shadow:0 10px 24px rgba(46,38,87,.07)}
.single-ai_tool .feature-item h3{font-weight:750}
.single-ai_tool .check-list li{display:flex;align-items:flex-start;line-height:1.55}
.single-ai_tool .check-list li:before{flex:0 0 19px;margin-top:1px}
.single-ai_tool .pros-box,.single-ai_tool .cons-box{box-shadow:0 8px 20px rgba(30,35,65,.025)}
.single-ai_tool .pros-cons-grid li::marker{color:#7b6bb4}
.single-ai_tool .tool-info-card,.single-ai_tool .tool-sources-card,.single-ai_tool .share-tool-card{transition:box-shadow .2s ease,border-color .2s ease}
.single-ai_tool .tool-info-card:hover,.single-ai_tool .tool-sources-card:hover,.single-ai_tool .share-tool-card:hover{border-color:#e2daf7;box-shadow:0 10px 26px rgba(30,35,65,.055)}
.single-ai_tool .rating-summary-card{border-color:#e4dcfa;background:linear-gradient(145deg,#fff,var(--surface))}
.single-ai_tool .stars{font-size:12px;letter-spacing:1px}
.single-ai_tool .tool-sources-card li{padding:8px 10px;border-radius:8px;background:#faf9fd;border:1px solid #f0edf7}
.single-ai_tool .tool-sources-card li a{display:flex;justify-content:space-between;gap:8px}
.single-ai_tool .share-tool-card button{transition:transform .16s ease,background .16s ease,color .16s ease}
.single-ai_tool .share-tool-card button:hover{transform:translateY(-2px);background:var(--primary);color:#fff}
.single-ai_tool .submit-mini-cta{position:relative;overflow:hidden}
.single-ai_tool .submit-mini-cta:after{content:"";position:absolute;width:140px;height:140px;right:-55px;bottom:-65px;border-radius:50%;background:rgba(255,255,255,.10)}
.single-ai_tool .submit-mini-cta>*{position:relative;z-index:1}
.single-ai_tool .related-tools-layout{border-top:1px solid var(--border);margin-top:8px}
.single-ai_tool .related-tool-list .tool-card{transition:transform .18s ease,box-shadow .18s ease}
.single-ai_tool .related-tool-list .tool-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(28,33,62,.07)}
@media(max-width:1050px){.single-ai_tool .tool-glance-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
 .single-ai_tool .tool-glance-strip{gap:8px;margin-top:20px;padding-top:16px}
 .single-ai_tool .tool-glance-item{padding:10px;gap:8px;border-radius:10px}
 .single-ai_tool .tool-glance-icon{width:28px;height:28px;flex-basis:28px;font-size:11px}
 .single-ai_tool .tool-glance-item small{font-size:8px}.single-ai_tool .tool-glance-item strong{font-size:10px}
 .single-ai_tool .tool-block h2{padding-bottom:8px}.single-ai_tool .tool-block h2:after{width:28px;height:2px}
 .single-ai_tool .quick-answer-fit{display:block}.single-ai_tool .quick-answer-fit>strong{display:block;margin-bottom:8px;padding-top:0}
 .single-ai_tool .feature-item:hover{transform:none}
}

/* =========================================================
   V0.8.25 — Task & Role Discovery Archive Redesign
   ========================================================= */
.taxonomy-premium-hero{padding:60px 0 52px}
.taxonomy-hero-shell{display:flex;align-items:flex-start;gap:18px;max-width:880px}
.taxonomy-hero-icon-wrap{padding-top:18px;flex:0 0 auto}
.taxonomy-hero-copy{min-width:0}.taxonomy-hero-copy .eyebrow{margin-bottom:8px}
.taxonomy-hero-copy h1{margin:0 0 10px}.taxonomy-hero-copy p{font-size:15px;line-height:1.75;max-width:760px}
.taxonomy-hero-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:18px}
.taxonomy-hero-meta span,.taxonomy-hero-meta a{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border:1px solid rgba(var(--primary-rgb),.12);border-radius:999px;background:rgba(255,255,255,.62);font-size:11px;color:var(--muted)}
.taxonomy-hero-meta span strong{color:var(--primary);margin-right:4px}.taxonomy-hero-meta a{color:var(--primary);font-weight:800;background:var(--primary-soft)}
.taxonomy-discovery-main{padding-top:34px;padding-bottom:64px}.taxonomy-archive-layout{gap:32px}
.taxonomy-explorer-sidebar{padding:0;overflow:hidden;box-shadow:0 10px 30px rgba(28,32,60,.035)}
.taxonomy-explorer-sidebar .filter-sidebar-head{padding:17px 17px 14px}.taxonomy-explorer-sidebar .filter-sidebar-head>div{min-width:0}
.sidebar-kicker,.toolbar-kicker,.taxonomy-info-kicker{display:block;font-size:9px;letter-spacing:.12em;font-weight:800;color:var(--primary);margin-bottom:5px}
.taxonomy-explorer-sidebar .filter-sidebar-head h3{margin:0;font-size:14px}.taxonomy-explorer-sidebar .filter-sidebar-head>a{font-size:10px;white-space:nowrap}
.taxonomy-side-search{display:flex;align-items:center;gap:7px;margin:13px 14px 10px;padding:0 10px;height:36px;border:1px solid var(--border);border-radius:9px;background:var(--surface-soft);color:var(--muted)}
.taxonomy-side-search span{font-size:16px;line-height:1}.taxonomy-side-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--text);font:inherit;font-size:11px}
.taxonomy-term-list{max-height:390px;overflow:auto;padding:0 9px 9px}.taxonomy-term-list a{padding:9px 9px}.taxonomy-term-list a small{min-width:21px;height:20px;display:inline-grid;place-items:center;border-radius:999px;background:rgba(var(--primary-rgb),.06);font-size:9px}
.taxonomy-term-list a.active{box-shadow:none;border:1px solid rgba(var(--primary-rgb),.10)}
.taxonomy-sidebar-all{display:flex;align-items:center;justify-content:space-between;padding:13px 17px;border-top:1px solid var(--border);font-size:11px;font-weight:800;color:var(--primary);background:linear-gradient(90deg,rgba(var(--primary-rgb),.035),transparent)}
.taxonomy-sidebar-all span{font-size:15px}.taxonomy-toolbar{padding:0 0 16px;margin-bottom:20px;border-bottom:1px solid var(--border)}
.taxonomy-toolbar .toolbar-results h2{margin:0;font-size:20px;letter-spacing:-.025em}.taxonomy-toolbar .toolbar-results h2 strong{color:var(--primary)}
.taxonomy-toolbar-note{padding:7px 10px;border-radius:999px;background:var(--primary-soft);color:var(--primary);font-size:10px;font-weight:700;white-space:nowrap}
.taxonomy-tool-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}.taxonomy-info-block{margin-top:48px;padding:28px;border:1px solid var(--border);border-radius:18px;background:linear-gradient(135deg,#fff,#faf9ff);box-shadow:0 10px 35px rgba(27,32,65,.035)}
.taxonomy-info-block h2,.taxonomy-related-block h2{margin:0 0 10px;font-size:24px;letter-spacing:-.025em}.taxonomy-info-block>p{max-width:780px;color:var(--muted);line-height:1.75;margin:0}
.taxonomy-usecase-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:22px}.taxonomy-usecase-grid>div{padding:15px;border:1px solid var(--border);border-radius:13px;background:rgba(255,255,255,.78);display:grid;grid-template-columns:32px 1fr;column-gap:10px;align-items:start}.taxonomy-usecase-grid span{grid-row:1/3;width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:var(--primary-soft);color:var(--primary);font-weight:800;font-size:13px}.taxonomy-usecase-grid strong{font-size:12px}.taxonomy-usecase-grid small{font-size:10px;line-height:1.5;color:var(--muted);margin-top:3px}
.taxonomy-related-block{margin-top:38px;padding-top:30px;border-top:1px solid var(--border)}.taxonomy-related-block .block-heading-row{align-items:flex-end;margin-bottom:15px}.taxonomy-related-block .block-heading-row h2{margin-bottom:0}.taxonomy-related-chips{display:flex;flex-wrap:wrap;gap:9px}.taxonomy-related-chips a{display:inline-flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid var(--border);border-radius:10px;background:var(--surface);font-size:11px;font-weight:700;color:var(--text);transition:.18s ease}.taxonomy-related-chips a:hover{color:var(--primary);border-color:rgba(var(--primary-rgb),.3);background:var(--primary-soft);transform:translateY(-1px)}.taxonomy-related-chips small{display:inline-grid;place-items:center;min-width:18px;height:18px;border-radius:999px;background:rgba(var(--primary-rgb),.08);color:var(--primary);font-size:9px}
@media(max-width:1050px){.taxonomy-archive-layout{grid-template-columns:220px minmax(0,1fr);gap:22px}.taxonomy-usecase-grid{grid-template-columns:1fr 1fr}.taxonomy-usecase-grid>div:last-child{grid-column:1/-1}.taxonomy-hero-copy h1{font-size:clamp(34px,5vw,48px)}}
@media(max-width:900px){.taxonomy-explorer-sidebar{position:static!important;transform:none!important;opacity:1!important;pointer-events:auto!important;box-shadow:none}.taxonomy-archive-layout{grid-template-columns:1fr}.taxonomy-term-list{display:flex;gap:7px;max-height:none;overflow-x:auto;padding:0 14px 12px}.taxonomy-term-list a{flex:0 0 auto;white-space:nowrap}.taxonomy-side-search{margin-bottom:10px}.taxonomy-sidebar-all{display:none}.taxonomy-toolbar{margin-top:4px}.taxonomy-info-block{margin-top:38px}}
@media(max-width:650px){.taxonomy-premium-hero{padding:38px 0 34px}.taxonomy-hero-shell{gap:12px}.taxonomy-hero-icon-wrap{padding-top:10px}.taxonomy-hero-icon-wrap .aith-discovery-icon{width:46px;height:46px;border-radius:14px;font-size:20px}.taxonomy-hero-copy .eyebrow{font-size:9px}.taxonomy-hero-copy h1{font-size:32px;line-height:1.1}.taxonomy-hero-copy p{font-size:13px;line-height:1.65}.taxonomy-hero-meta{gap:6px;margin-top:13px}.taxonomy-hero-meta span,.taxonomy-hero-meta a{font-size:9px;min-height:27px;padding:0 8px}.taxonomy-discovery-main{padding-top:22px;padding-bottom:45px}.taxonomy-explorer-sidebar .filter-sidebar-head{padding:14px}.taxonomy-side-search{height:34px;margin:10px 12px 8px}.taxonomy-toolbar{flex-direction:column;align-items:flex-start;gap:10px;margin-bottom:16px}.taxonomy-toolbar .toolbar-results h2{font-size:17px}.taxonomy-toolbar-note{font-size:9px}.taxonomy-info-block{padding:20px;border-radius:15px}.taxonomy-info-block h2,.taxonomy-related-block h2{font-size:20px}.taxonomy-info-block>p{font-size:12px}.taxonomy-usecase-grid{grid-template-columns:1fr;gap:9px;margin-top:16px}.taxonomy-usecase-grid>div:last-child{grid-column:auto}.taxonomy-related-block{margin-top:30px;padding-top:24px}.taxonomy-related-block .block-heading-row{align-items:flex-start;gap:10px}.taxonomy-related-block .block-heading-row>a{font-size:10px;white-space:nowrap}.taxonomy-related-chips{gap:7px}.taxonomy-related-chips a{font-size:10px;padding:7px 9px}}

/* =========================================================
   V0.8.26 — Industry, Platform, Integration & Model Archives
   ========================================================= */
.taxonomy-industry-hero .taxonomy-hero-shell,.taxonomy-platform-hero .taxonomy-hero-shell,.taxonomy-integration-hero .taxonomy-hero-shell,.taxonomy-model-hero .taxonomy-hero-shell{max-width:980px}
.taxonomy-industry-hero .taxonomy-hero-copy p,.taxonomy-platform-hero .taxonomy-hero-copy p,.taxonomy-integration-hero .taxonomy-hero-copy p,.taxonomy-model-hero .taxonomy-hero-copy p{max-width:820px}
.taxonomy-model-hero .taxonomy-hero-copy h1{max-width:850px}
.taxonomy-integration-hero .taxonomy-hero-meta span:nth-child(2){background:#f7fbff;border-color:#dbe9f8}
.taxonomy-platform-hero .taxonomy-hero-meta span:nth-child(2){background:#f8f8ff}
.taxonomy-industry-hero .taxonomy-info-block{background:linear-gradient(135deg,#fff,#fbfbff)}
.taxonomy-integration-hero .taxonomy-info-block{background:linear-gradient(135deg,#fff,#f9fcff)}
.taxonomy-model-hero .taxonomy-info-block{background:linear-gradient(135deg,#fff,#fbf9ff)}
@media(max-width:900px){.taxonomy-industry-hero .taxonomy-hero-shell,.taxonomy-platform-hero .taxonomy-hero-shell,.taxonomy-integration-hero .taxonomy-hero-shell,.taxonomy-model-hero .taxonomy-hero-shell{max-width:none}}
@media(max-width:650px){.taxonomy-model-hero .taxonomy-hero-copy h1{font-size:29px}.taxonomy-integration-hero .taxonomy-hero-copy h1{font-size:30px}.taxonomy-term-list a{min-height:34px;align-items:center}.taxonomy-hero-meta{align-items:stretch}.taxonomy-hero-meta span,.taxonomy-hero-meta a{justify-content:center}}
/* Footer navigation: supports both assigned WP menus and theme fallbacks. */
.footer-menu,
.footer-menu ul { margin: 0; padding: 0; list-style: none; }
.footer-menu li { margin: 0; padding: 0; }
.footer-menu a { display: block; color: #aeb6ca; font-size: 12px; margin: 8px 0; text-decoration: none; }
.footer-menu a:hover,
.footer-menu a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* V0.8.44 centralized ad architecture */
.aith-ad-infeed{grid-column:1/-1;width:100%;margin:10px 0 18px}.aith-ad-infeed .aith-ad-slot{min-height:110px}.aith-editorial-ad{margin:28px 0}.compare-content>.ad-section{padding-left:0;padding-right:0}.compare-content .ad-section .aith-container{max-width:100%;padding-left:0;padding-right:0}.editorial-content>.ad-section{width:100%}@media(max-width:700px){.aith-ad-infeed .aith-ad-slot{min-height:90px}.aith-ad-infeed{margin:4px 0 12px}.aith-editorial-ad{margin:20px 0}}

.taxonomy-heading-before,.taxonomy-heading-highlight,.taxonomy-heading-after{display:inline}.taxonomy-heading-highlight{color:var(--primary)}


/* =========================================================
   V0.8.57 — TAXONOMY UI HARDENING
   Fixes layout regressions when cached/older base CSS or WP
   editor/page styles affect taxonomy landing/archive templates.
   ========================================================= */
.taxonomy-premium-hero,
.taxonomy-directory-premium{box-sizing:border-box;width:100%;overflow:hidden}
.taxonomy-premium-hero .aith-container,
.taxonomy-directory-premium .aith-container,
.taxonomy-discovery-main .aith-container{width:min(var(--container),calc(100% - 40px));margin-left:auto;margin-right:auto}

/* Breadcrumbs: never allow adjacent breadcrumb labels to collapse. */
.taxonomy-breadcrumbs,
.directory-breadcrumbs{display:flex!important;align-items:center;flex-wrap:wrap;gap:8px!important;line-height:1.5;white-space:normal}
.taxonomy-breadcrumbs a,
.taxonomy-breadcrumbs span,
.taxonomy-breadcrumbs strong,
.directory-breadcrumbs a,
.directory-breadcrumbs span,
.directory-breadcrumbs strong{display:inline-flex;align-items:center}
.taxonomy-breadcrumbs>span,
.directory-breadcrumbs>span{flex:0 0 auto}

/* Hero copy must be allowed to shrink without overflowing. */
.taxonomy-hero-shell,
.directory-premium-shell{min-width:0}
.taxonomy-hero-copy,
.directory-premium-copy{min-width:0}
.taxonomy-hero-copy h1,
.directory-premium-copy h1{overflow-wrap:anywhere}
.taxonomy-hero-copy p,
.directory-premium-copy>p{overflow-wrap:break-word}

/* Hero search: input/button stay on one controlled row. */
.taxonomy-hero-search,
.directory-premium-search{display:flex!important;align-items:center!important;width:100%;box-sizing:border-box}
.taxonomy-hero-search>span,
.directory-premium-search>span{flex:0 0 auto}
.taxonomy-hero-search input,
.directory-premium-search input{display:block!important;min-width:0!important;width:auto!important;flex:1 1 auto!important;box-sizing:border-box}
.taxonomy-hero-search .btn,
.directory-premium-search button{flex:0 0 auto!important;white-space:nowrap!important}

/* Hero metadata / quick links must wrap cleanly. */
.taxonomy-hero-meta,
.taxonomy-stat-pills,
.taxonomy-quick-links,
.directory-trust-row{display:flex!important;align-items:center;flex-wrap:wrap!important;gap:9px!important}
.taxonomy-hero-meta>* ,
.taxonomy-stat-pills>*{max-width:100%;box-sizing:border-box}

/* Landing-page stats should never concatenate. */
.directory-trust-row span{display:inline-flex!important;align-items:center;gap:4px;white-space:normal}

/* Taxonomy landing sections */
.taxonomy-directory-premium .directory-premium-shell{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,360px);gap:56px;align-items:center}
.taxonomy-featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.taxonomy-directory-premium-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.taxonomy-featured-card,
.taxonomy-directory-premium-card{box-sizing:border-box;min-width:0}
.taxonomy-featured-card .featured-card-body,
.taxonomy-directory-premium-card .directory-card-copy{min-width:0}
.taxonomy-featured-card h3,
.taxonomy-directory-premium-card h3{overflow-wrap:anywhere}
.taxonomy-featured-card p,
.taxonomy-directory-premium-card p{overflow-wrap:break-word}

/* Archive main layout */
.taxonomy-archive-layout{display:grid;grid-template-columns:minmax(220px,260px) minmax(0,1fr);align-items:start}
.taxonomy-explorer-sidebar{min-width:0;box-sizing:border-box}
.archive-content-v4{min-width:0;width:100%}
.taxonomy-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;min-width:0}
.taxonomy-toolbar .toolbar-results{min-width:0}
.taxonomy-toolbar .toolbar-results h2{overflow-wrap:anywhere}
.taxonomy-tool-grid{display:grid;min-width:0}
.taxonomy-info-block,
.taxonomy-related-block{min-width:0;box-sizing:border-box}
.taxonomy-usecase-grid{display:grid}
.taxonomy-related-chips{display:flex;flex-wrap:wrap;gap:9px}
.taxonomy-related-chips a{max-width:100%;box-sizing:border-box}

/* Remove accidental inline/WordPress list styling from discovery links. */
.taxonomy-quick-links a,
.taxonomy-related-chips a,
.taxonomy-directory-premium a{text-decoration:none}
.taxonomy-term-list{list-style:none;margin:0}

@media(max-width:1050px){
  .taxonomy-directory-premium .directory-premium-shell{grid-template-columns:1fr;gap:28px}
  .directory-premium-visual{height:230px;max-width:430px;margin:0 auto}
  .taxonomy-archive-layout{grid-template-columns:220px minmax(0,1fr)}
  .taxonomy-featured-grid,
  .taxonomy-directory-premium-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  .taxonomy-archive-layout{grid-template-columns:1fr}
  .taxonomy-explorer-sidebar{position:static!important;width:100%}
}
@media(max-width:760px){
  .taxonomy-premium-hero .aith-container,
  .taxonomy-directory-premium .aith-container,
  .taxonomy-discovery-main .aith-container{width:min(var(--container),calc(100% - 24px))}
  .taxonomy-hero-shell{display:flex;align-items:flex-start;gap:14px}
  .taxonomy-hero-copy h1{font-size:clamp(32px,9vw,42px);line-height:1.08}
  .taxonomy-hero-search,
  .directory-premium-search{gap:8px!important;padding-left:12px!important}
  .taxonomy-hero-search .btn,
  .directory-premium-search button{padding-left:14px!important;padding-right:14px!important}
  .taxonomy-featured-grid,
  .taxonomy-directory-premium-grid{grid-template-columns:1fr}
  .taxonomy-toolbar{align-items:flex-start;flex-direction:column}
  .taxonomy-related-chips{gap:7px}
}
@media(max-width:480px){
  .taxonomy-hero-search,
  .directory-premium-search{padding-right:7px!important}
  .taxonomy-hero-search .btn,
  .directory-premium-search button{font-size:11px;padding-left:11px!important;padding-right:11px!important}
  .taxonomy-breadcrumbs,
  .directory-breadcrumbs{gap:6px!important;font-size:11px}
}

/* =========================================================
   V0.8.57 — COMPLETE TAXONOMY DIRECTORY UI
   Restores the full visual system for taxonomy landing pages
   and strengthens individual taxonomy archive layouts.
   ========================================================= */

/* Shared taxonomy page background / container */
.taxonomy-directory-premium,
.taxonomy-premium-hero{
  position:relative;
  background:linear-gradient(135deg,#fff 0%,var(--surface) 52%,#f2efff 100%);
}
.taxonomy-directory-premium:before,
.taxonomy-premium-hero:before{
  content:"";
  position:absolute;
  width:420px;height:420px;
  right:-180px;top:-190px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(116,79,224,.13),rgba(116,79,224,0) 68%);
  pointer-events:none;
}
.taxonomy-directory-premium > .aith-container,
.taxonomy-premium-hero > .aith-container{position:relative;z-index:1}

/* Breadcrumbs */
.directory-breadcrumbs,
.taxonomy-breadcrumbs{
  padding-top:26px;
  margin-bottom:24px;
  color:#64748b;
  font-size:12px;
}
.directory-breadcrumbs a,
.taxonomy-breadcrumbs a{color:#64748b}
.directory-breadcrumbs span,
.taxonomy-breadcrumbs span{color:#94a3b8}
.directory-breadcrumbs strong,
.taxonomy-breadcrumbs strong{color:var(--text)}

/* Taxonomy landing hero */
.taxonomy-directory-premium{padding-bottom:58px}
.directory-premium-shell{
  position:relative;
  min-height:350px;
}
.directory-premium-copy{padding:18px 0 8px}
.directory-premium-copy .eyebrow,
.taxonomy-premium-hero .eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:10px;
  letter-spacing:.14em;
  font-weight:800;
  color:var(--primary);
}
.directory-premium-copy .eyebrow i{
  width:7px;height:7px;border-radius:50%;
  background:var(--primary);display:inline-block;
}
.directory-premium-copy h1{
  margin:12px 0 14px;
  max-width:820px;
  font-size:clamp(42px,5vw,62px);
  line-height:1.04;
  letter-spacing:-.055em;
  color:var(--text);
}
.directory-premium-copy h1 .taxonomy-heading-highlight{color:var(--primary)}
.directory-premium-copy > p{
  margin:0;
  max-width:720px;
  color:var(--muted);
  font-size:16px;
  line-height:1.75;
}

/* Landing hero search */
.directory-premium-search{
  max-width:720px;
  margin-top:27px;
  padding:6px 7px 6px 16px;
  min-height:48px;
  border:1px solid #e2def2;
  border-radius:13px;
  background:#fff;
  box-shadow:0 12px 30px rgba(38,31,75,.07);
  gap:9px;
}
.directory-premium-search > span{font-size:19px;color:#64748b;line-height:1}
.directory-premium-search input{
  border:0!important;
  outline:0!important;
  background:transparent!important;
  padding:9px 2px!important;
  font-size:13px!important;
  color:var(--text)!important;
}
.directory-premium-search button{
  border:0;
  border-radius:9px;
  min-height:38px;
  padding:0 23px;
  background:var(--primary);
  color:#fff;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 7px 17px rgba(var(--primary-rgb),.22);
}
.directory-premium-search button:hover{background:var(--primary-dark)}

/* Landing hero stats */
.directory-trust-row{
  margin-top:18px;
  gap:9px!important;
}
.directory-trust-row span{
  min-height:31px;
  padding:0 11px;
  border:1px solid rgba(var(--primary-rgb),.11);
  border-radius:999px;
  background:rgba(255,255,255,.68);
  color:var(--muted);
  font-size:10px;
}
.directory-trust-row span b{color:var(--primary);font-size:12px}

/* Decorative visual at right of landing hero */
.directory-premium-visual{
  position:relative;
  min-height:300px;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
}
.directory-orbit{
  position:absolute;
  border:1px solid rgba(var(--primary-rgb),.12);
  border-radius:50%;
}
.directory-orbit.orbit-one{width:230px;height:230px}
.directory-orbit.orbit-two{width:155px;height:155px}
.directory-visual-center{
  position:relative;
  z-index:2;
  width:70px;height:70px;
  display:grid;place-items:center;
  border-radius:22px;
  background:linear-gradient(145deg,var(--primary),var(--accent));
  color:#fff;
  font-size:25px;
  box-shadow:0 20px 45px rgba(var(--primary-rgb),.24);
}
.directory-floating-chip{
  position:absolute;
  z-index:3;
  max-width:145px;
  padding:9px 13px;
  border:1px solid rgba(var(--primary-rgb),.13);
  border-radius:999px;
  background:rgba(255,255,255,.92);
  color:#4b5568;
  font-size:10px;
  font-weight:700;
  box-shadow:0 8px 25px rgba(28,31,61,.07);
  white-space:nowrap;
  overflow:hidden;text-overflow:ellipsis;
}
.directory-floating-chip:nth-of-type(1){top:15%;left:7%}
.directory-floating-chip:nth-of-type(2){top:22%;right:4%}
.directory-floating-chip:nth-of-type(3){bottom:21%;left:2%}
.directory-floating-chip:nth-of-type(4){bottom:12%;right:8%}

/* Section heading */
.premium-section-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:25px;
  margin-bottom:22px;
}
.premium-section-heading > div{min-width:0}
.premium-section-heading .eyebrow{display:block;margin-bottom:6px}
.premium-section-heading h2{
  margin:0;
  font-size:27px;
  letter-spacing:-.035em;
}
.premium-section-heading p{
  margin:7px 0 0;
  max-width:650px;
  color:var(--muted);
  font-size:13px;
  line-height:1.65;
}
.premium-section-heading > a,
.directory-view-meta a{
  flex:0 0 auto;
  color:var(--primary);
  font-size:11px;
  font-weight:800;
  text-decoration:none;
}
.premium-section-heading > a span{margin-left:5px}

/* Featured taxonomy cards */
.taxonomy-featured-section{padding-top:55px;padding-bottom:48px}
.taxonomy-featured-grid{margin:0}
.taxonomy-featured-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:255px;
  padding:19px;
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 25px rgba(26,30,58,.035);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.taxonomy-featured-card:hover{
  transform:translateY(-4px);
  border-color:#d8cdfb;
  box-shadow:0 15px 35px rgba(38,31,75,.09);
}
.featured-card-top{display:flex;align-items:center;justify-content:space-between;min-height:43px}
.featured-number{font-size:11px;color:#a1a7b5;font-weight:800;letter-spacing:.05em}
.featured-term-icon,
.directory-term-icon{display:grid;place-items:center}
.featured-term-icon{
  width:43px;height:43px;border-radius:12px;
  background:var(--primary-soft);color:var(--primary);
}
.featured-card-body{padding-top:17px;flex:1}
.featured-card-body h3{
  margin:0 0 8px;
  font-size:17px;
  letter-spacing:-.02em;
}
.featured-card-body p{
  margin:0;
  color:var(--muted);
  font-size:11px;
  line-height:1.7;
}
.featured-card-footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-top:17px;
  padding-top:13px;
  border-top:1px solid var(--border);
  color:var(--muted);
  font-size:10px;
}
.featured-card-footer b{color:var(--primary);font-size:10px}
.featured-card-footer i{font-style:normal;margin-left:5px}

/* All taxonomy collections */
.taxonomy-all-directory-section{
  padding-top:55px;
  padding-bottom:65px;
  background:#fbfbfe;
  border-top:1px solid #f0edf7;
}
.directory-all-heading{align-items:flex-end}
.directory-view-meta{display:flex;align-items:center;gap:18px;color:var(--muted);font-size:10px;white-space:nowrap}
.taxonomy-directory-premium-grid{margin-top:2px}
.taxonomy-directory-premium-card{
  display:grid;
  grid-template-columns:43px minmax(0,1fr) auto;
  align-items:center;
  gap:13px;
  min-height:105px;
  padding:16px;
  border:1px solid var(--border);
  border-radius:14px;
  background:#fff;
  box-shadow:0 5px 18px rgba(24,29,55,.025);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.taxonomy-directory-premium-card:hover{
  transform:translateY(-2px);
  border-color:#d9d0f9;
  box-shadow:0 12px 28px rgba(32,29,65,.07);
}
.directory-card-icon{
  width:43px;height:43px;border-radius:12px;
  background:var(--primary-soft);color:var(--primary);
  display:grid;place-items:center;
}
.directory-card-copy h3{margin:0 0 4px;font-size:13px}
.directory-card-copy p{margin:0;color:var(--muted);font-size:10px;line-height:1.5}
.directory-card-meta{display:flex;flex-direction:column;align-items:flex-end;gap:7px;white-space:nowrap}
.directory-card-meta span{font-size:9px;color:var(--muted)}
.directory-card-meta b{color:var(--primary);font-size:15px}
.directory-no-results{
  margin-top:18px;
  padding:25px;
  border:1px dashed #d9d2ee;
  border-radius:13px;
  background:#fff;
  text-align:center;
}
.directory-no-results strong{display:block;font-size:13px}
.directory-no-results span{display:block;margin-top:5px;color:var(--muted);font-size:11px}

/* Bottom CTA */
.taxonomy-directory-bottom-cta{padding:48px 0;background:#10172a;color:#fff}
.taxonomy-directory-bottom-cta .aith-container{
  display:flex;align-items:center;justify-content:space-between;gap:30px;
}
.taxonomy-directory-bottom-cta .eyebrow{color:#cfc5ff}
.taxonomy-directory-bottom-cta h2{margin:6px 0 5px;font-size:25px}
.taxonomy-directory-bottom-cta p{margin:0;color:#b7bfd1;font-size:12px}
.taxonomy-directory-bottom-cta .btn{white-space:nowrap}

/* Individual taxonomy term archive */

.taxonomy-premium-hero .taxonomy-breadcrumbs{padding-top:26px;margin-bottom:26px}
.taxonomy-premium-hero .taxonomy-hero-shell{max-width:1000px;display:flex;gap:19px;align-items:flex-start}
.taxonomy-hero-icon-wrap{padding-top:9px}
.discovery-hero-icon{
  width:58px;height:58px;
  display:grid;place-items:center;
  border-radius:16px;
  background:linear-gradient(145deg,var(--primary),var(--primary-dark));
  color:#fff;
  box-shadow:0 10px 25px rgba(var(--primary-rgb),.18);
}
.taxonomy-premium-hero .taxonomy-hero-copy h1{
  margin:8px 0 10px;
  font-size:clamp(38px,4.6vw,58px);
  line-height:1.05;
  letter-spacing:-.05em;
}
.taxonomy-premium-hero .taxonomy-hero-copy > p{margin:0;max-width:780px;color:var(--muted);font-size:14px;line-height:1.7}
.taxonomy-hero-search{max-width:760px;margin:25px 0 0;padding:6px 7px 6px 15px;min-height:48px;border:1px solid #e2def2;border-radius:13px;background:#fff;box-shadow:0 10px 25px rgba(38,31,75,.05);gap:9px}
.taxonomy-hero-search > span{font-size:19px;color:#64748b}
.taxonomy-hero-search input{border:0!important;outline:0!important;background:transparent!important;padding:9px 2px!important;font-size:13px!important}
.taxonomy-hero-search .btn{border:0;min-height:36px;padding:0 22px;border-radius:9px;font-size:11px}
.taxonomy-quick-links{margin-top:13px}
.taxonomy-quick-links > span{font-size:10px;color:var(--muted);font-weight:700}
.taxonomy-quick-links a{display:inline-flex;padding:5px 9px;border:1px solid #e5e0f4;border-radius:999px;background:#fff;color:var(--primary);font-size:9px;font-weight:700}

/* Term archive result area */
.taxonomy-discovery-main{background:#fff}
.taxonomy-explorer-sidebar{border:1px solid var(--border);border-radius:14px;background:#fff}
.taxonomy-explorer-sidebar .filter-sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--border)}
.taxonomy-side-search{background:#faf9fd}
.taxonomy-toolbar{padding-bottom:15px}
.taxonomy-tool-grid{gap:18px}
.taxonomy-empty-state{padding:45px 25px;border:1px dashed var(--border);border-radius:15px;background:#fff;text-align:center}


/* Responsive */
@media(max-width:1050px){
  .taxonomy-directory-premium .directory-premium-shell{grid-template-columns:minmax(0,1fr) minmax(230px,.75fr);gap:25px}
  .directory-premium-copy h1{font-size:clamp(40px,5vw,54px)}
  .taxonomy-featured-grid,.taxonomy-directory-premium-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  .taxonomy-directory-premium .directory-premium-shell{grid-template-columns:1fr}
  .directory-premium-visual{display:none}
  .taxonomy-featured-grid,.taxonomy-directory-premium-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .taxonomy-directory-bottom-cta .aith-container{align-items:flex-start;flex-direction:column}
}
@media(max-width:650px){
  .directory-breadcrumbs,.taxonomy-breadcrumbs{padding-top:18px;margin-bottom:17px;font-size:10px}
  .taxonomy-directory-premium{padding-bottom:38px}
  .directory-premium-shell{min-height:0}
  .directory-premium-copy{padding-top:7px}
  .directory-premium-copy h1{font-size:36px;line-height:1.07}
  .directory-premium-copy > p{font-size:13px;line-height:1.65}
  .directory-premium-search{margin-top:19px;min-height:45px;padding-left:11px}
  .directory-premium-search button{min-height:35px;padding:0 14px}
  .directory-trust-row{gap:6px!important}
  .directory-trust-row span{font-size:9px;padding:0 8px}
  .premium-section-heading{align-items:flex-start;flex-direction:column;gap:10px}
  .premium-section-heading h2{font-size:22px}
  .premium-section-heading p{font-size:11px}
  .taxonomy-featured-section,.taxonomy-all-directory-section{padding-top:38px;padding-bottom:42px}
  .taxonomy-featured-grid,.taxonomy-directory-premium-grid{grid-template-columns:1fr}
  .taxonomy-featured-card{min-height:220px}
  .taxonomy-directory-premium-card{grid-template-columns:39px minmax(0,1fr) auto;padding:13px}
  .directory-card-icon{width:39px;height:39px}
  .directory-view-meta{gap:9px;font-size:9px;white-space:normal}
  .taxonomy-directory-bottom-cta{padding:38px 0}
  .taxonomy-directory-bottom-cta h2{font-size:22px}
  .taxonomy-directory-bottom-cta .btn{width:100%;text-align:center}
  .taxonomy-premium-hero{padding-bottom:35px}
  .taxonomy-premium-hero .taxonomy-hero-shell{gap:12px}
  .discovery-hero-icon{width:46px;height:46px;border-radius:13px}
  .taxonomy-premium-hero .taxonomy-hero-copy h1{font-size:32px}
  .taxonomy-premium-hero .taxonomy-hero-copy > p{font-size:12px}
  .taxonomy-hero-search{margin-top:18px}
  .taxonomy-quick-links{line-height:1.8}
}

/* v0.8.58 Prompt experience */
.prompt-single-wrap{padding:56px 0 80px}.prompt-breadcrumbs{display:flex;gap:10px;align-items:center;flex-wrap:wrap;color:#64748b;font-size:14px;margin-bottom:28px}.prompt-breadcrumbs a{color:#64748b;text-decoration:none}.prompt-single-hero{padding:44px 0;border-bottom:1px solid #e5e7eb}.prompt-single-hero .eyebrow{font-size:11px;letter-spacing:.14em;font-weight:800;color:var(--primary)}.prompt-single-hero>p{max-width:760px;font-size:18px;line-height:1.7;color:#64748b}.prompt-single-meta{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.prompt-single-meta span{border:1px solid #e5e7eb;border-radius:10px;padding:12px 16px;background:#fff;display:flex;gap:8px}.prompt-single-meta strong{font-weight:700}.prompt-single-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;margin-top:34px}.prompt-copy-box,.prompt-side-card,.prompt-how-to,.prompt-output-media{border:1px solid #e5e7eb;border-radius:14px;background:#fff;padding:24px}.prompt-copy-head{display:flex;justify-content:space-between;gap:16px;align-items:center}.prompt-copy-head h2,.prompt-how-to h2,.prompt-output-media h2{margin-top:0}.prompt-content{margin-top:18px;background:var(--primary-soft);border:1px solid #e3defe;border-radius:12px;padding:22px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.7;white-space:pre-wrap}.prompt-side-card p{padding:14px 0;border-bottom:1px solid #eef0f4;margin:0}.prompt-side-card p:last-child{border-bottom:0}.prompt-side-card small{display:block;color:#64748b;margin-bottom:5px}.prompt-side-card strong{display:block}.prompt-how-to{margin-top:24px}.prompt-how-to li{margin:9px 0;color:#475569}.prompt-output-media{margin-top:24px}.prompt-output-media>p{color:#64748b}.prompt-output-media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.prompt-output-media-grid figure{margin:0;border:1px solid #e5e7eb;border-radius:10px;overflow:hidden;background:#f8fafc}.prompt-output-media-grid img,.prompt-output-media-grid video{display:block;width:100%;height:auto;max-height:520px;object-fit:contain}.prompt-output-media-grid a{display:block}.prompt-card p{color:#64748b;line-height:1.6}.prompt-card .prompt-category{display:inline-flex}
@media(max-width:800px){.prompt-featured-output-wrap{padding:24px 0 0}.prompt-output-heading{align-items:flex-start;flex-direction:column}.prompt-featured-output .prompt-output-media-grid{grid-template-columns:1fr}.prompt-featured-output .prompt-output-media-grid figure:first-child{grid-column:auto}}
@media(max-width:800px){.prompt-single-grid{grid-template-columns:1fr}.prompt-single-hero h1{font-size:36px}.prompt-output-media-grid{grid-template-columns:1fr}}


/* v0.8.60 — Prompt detail UI refinement */
.single-prompt-page{background:#fff}
.prompt-single-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#faf9ff 0%,var(--primary-soft) 52%,var(--surface) 100%);border-bottom:1px solid #e8e4f4}
.prompt-single-hero:after{content:"";position:absolute;width:420px;height:420px;border-radius:50%;right:-170px;top:-210px;background:color-mix(in srgb, var(--primary) 8%, transparent);pointer-events:none}
.prompt-single-wrap{width:min(var(--container),calc(100% - 40px));margin:0 auto}
.prompt-single-hero .prompt-single-wrap{padding:28px 0 42px}
.prompt-breadcrumbs{display:flex;gap:9px;align-items:center;flex-wrap:wrap;color:#748099;font-size:13px;margin:0 0 30px;position:relative;z-index:1}
.prompt-breadcrumbs a{color:#68748d;text-decoration:none}.prompt-breadcrumbs a:hover{color:var(--primary)}.prompt-breadcrumbs strong{color:#273047;font-weight:700}
.prompt-hero-content{display:grid;grid-template-columns:64px minmax(0,1fr);gap:20px;align-items:start;position:relative;z-index:1}
.prompt-hero-icon{width:64px;height:64px;border-radius:18px;background:linear-gradient(135deg,var(--primary),var(--primary-dark));color:#fff;display:grid;place-items:center;font-size:25px;box-shadow:0 12px 26px color-mix(in srgb, var(--primary) 20%, transparent)}
.prompt-hero-copy{min-width:0}.prompt-single-hero .eyebrow{font-size:11px;letter-spacing:.15em;font-weight:800;color:var(--primary)}.prompt-single-hero h1{font-size:clamp(34px,4.2vw,50px);line-height:1.06;letter-spacing:-.035em;margin:10px 0 15px;color:#1d263b}.prompt-single-hero>p{max-width:800px;font-size:18px;line-height:1.7;color:#65728c;margin:0}
.prompt-single-meta{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.prompt-single-meta span{display:flex;flex-direction:column;gap:4px;min-width:120px;border:1px solid #e2def1;border-radius:12px;padding:10px 14px;background:rgba(255,255,255,.78);box-shadow:0 6px 18px rgba(40,28,95,.04)}.prompt-single-meta small{font-size:9px;letter-spacing:.1em;color:#7a8194;font-weight:800}.prompt-single-meta strong{font-size:12px;color:#29324a}
.prompt-featured-output-wrap{padding:34px 0 0}.prompt-featured-output{margin:0!important;padding:28px!important;border:1px solid #e4e5ef!important;border-radius:18px!important;background:#fff!important;box-shadow:0 12px 32px rgba(31,35,61,.05)!important}.prompt-output-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:18px}.prompt-output-heading h2{margin:0!important;color:#1e273c;font-size:28px;line-height:1.2}.prompt-output-heading p{margin:7px 0 0;color:#66728a;line-height:1.6}.prompt-output-count{display:inline-flex;align-items:center;white-space:nowrap;border:1px solid #e4defb;background:#f7f4ff;color:var(--primary);border-radius:999px;padding:7px 11px;font-size:11px;font-weight:700}.prompt-featured-output .prompt-output-media-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.prompt-featured-output .prompt-output-media-grid figure{background:#f8f9fc;border-radius:14px}.prompt-featured-output .prompt-output-media-grid img,.prompt-featured-output .prompt-output-media-grid video{max-height:620px;object-fit:contain}.prompt-featured-output .prompt-output-media-grid figure:first-child{grid-column:span 2}.prompt-featured-output .prompt-output-media-grid figure:first-child img,.prompt-featured-output .prompt-output-media-grid figure:first-child video{max-height:680px}.prompt-featured-output-count-1 .prompt-output-media-grid{grid-template-columns:minmax(0,1fr)}.prompt-featured-output-count-1 .prompt-output-media-grid figure{max-width:860px;margin:0 auto;width:100%}.prompt-featured-output-count-2 .prompt-output-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.prompt-featured-output-count-2 .prompt-output-media-grid figure:first-child{grid-column:auto}.prompt-single-body{padding:34px 0 80px}.prompt-single-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:start}.prompt-main-content{min-width:0}
.prompt-copy-box,.prompt-side-card,.prompt-how-to,.prompt-output-media{border:1px solid #e4e5ef;border-radius:16px;background:#fff;box-shadow:0 10px 30px rgba(31,35,61,.04);padding:26px}
.prompt-copy-head{display:flex;justify-content:space-between;gap:18px;align-items:center}.prompt-copy-head>div{min-width:0}.prompt-section-kicker{display:block;font-size:9px;letter-spacing:.15em;font-weight:800;color:var(--primary);margin-bottom:7px}.prompt-copy-head h2,.prompt-how-to h2,.prompt-output-media h2{margin:0;color:#1e273c;font-size:24px;line-height:1.25}.prompt-copy-button{white-space:nowrap;min-height:42px;padding:0 18px;border-radius:10px}
.prompt-content{margin-top:20px;background:var(--primary-soft);border:1px solid #e3defc;border-radius:13px;padding:23px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:14px;line-height:1.75;color:#27304a;white-space:pre-wrap;overflow:auto}.prompt-content p{margin:0 0 1em}.prompt-content p:last-child{margin-bottom:0}.prompt-copy-note{display:flex;align-items:flex-start;gap:8px;margin-top:14px;color:#6d7890;font-size:12px;line-height:1.6}.prompt-copy-note span{color:#16a36b;font-weight:800}
.prompt-side-card{position:sticky;top:24px}.prompt-side-card h3{font-size:20px;margin:0 0 14px;color:#202a3f}.prompt-side-card p{padding:13px 0;border-bottom:1px solid #edf0f5;margin:0}.prompt-side-card p:last-of-type{border-bottom:0}.prompt-side-card small,.prompt-side-tags>small{display:block;color:#7a8498;font-size:10px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:5px}.prompt-side-card strong{display:block;color:#293249;font-size:13px;line-height:1.45}.prompt-side-tags{padding-top:14px}.prompt-side-tags>div{display:flex;gap:6px;flex-wrap:wrap}.prompt-side-tags span{font-size:10px;color:var(--primary);background:var(--primary-soft);border:1px solid #e5ddff;border-radius:999px;padding:5px 8px}
.prompt-side-cta{margin-top:16px;border-radius:16px;padding:20px;background:linear-gradient(145deg,var(--primary),var(--primary-dark));color:#fff;box-shadow:0 14px 30px color-mix(in srgb, var(--primary) 18%, transparent)}.prompt-side-cta strong{font-size:16px}.prompt-side-cta p{font-size:12px;line-height:1.6;color:rgba(255,255,255,.8);margin:7px 0 15px}.prompt-side-cta .btn{background:#fff;color:var(--primary);border:0;box-shadow:none}.prompt-how-to{margin-top:24px}.prompt-how-to ol{margin:16px 0 0;padding-left:22px}.prompt-how-to li{margin:10px 0;color:#4e5b73;line-height:1.6}.prompt-how-to code{background:var(--primary-soft);color:var(--primary);border-radius:5px;padding:2px 5px}
.prompt-output-media{margin-top:24px}.prompt-output-media>p{color:#66728a;line-height:1.6}.prompt-output-media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.prompt-output-media-grid figure{margin:0;border:1px solid #e4e5ef;border-radius:12px;overflow:hidden;background:#f8f9fc}.prompt-output-media-grid img,.prompt-output-media-grid video{display:block;width:100%;height:auto;max-height:520px;object-fit:contain}.prompt-output-media-grid a{display:block}
@media(max-width:900px){.prompt-single-grid{grid-template-columns:1fr}.prompt-side-card{position:static}.prompt-single-sidebar{display:grid;grid-template-columns:1fr;gap:16px}.prompt-side-cta{margin-top:0}.prompt-hero-content{grid-template-columns:54px minmax(0,1fr)}.prompt-hero-icon{width:54px;height:54px;border-radius:15px}}
@media(max-width:650px){.prompt-single-wrap{width:min(var(--container),calc(100% - 24px))}.prompt-single-hero .prompt-single-wrap{padding:20px 0 32px}.prompt-breadcrumbs{font-size:11px;margin-bottom:22px}.prompt-hero-content{grid-template-columns:1fr}.prompt-hero-icon{width:48px;height:48px;border-radius:14px}.prompt-single-hero h1{font-size:34px}.prompt-single-hero .prompt-hero-copy>p{font-size:14px;line-height:1.65}.prompt-single-meta{gap:7px}.prompt-single-meta span{min-width:0;flex:1;padding:9px 11px}.prompt-single-body{padding:22px 0 52px}.prompt-single-sidebar{grid-template-columns:1fr}.prompt-copy-box,.prompt-side-card,.prompt-how-to,.prompt-output-media{padding:19px;border-radius:14px}.prompt-copy-head{align-items:flex-start;flex-direction:column}.prompt-copy-button{width:100%}.prompt-content{font-size:12px;padding:17px}.prompt-output-media-grid{grid-template-columns:1fr}}

/* v0.8.62 — Browser print / Save as PDF for prompt pages */
.prompt-hero-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:22px;position:relative;z-index:2}
.prompt-print-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 19px;border-radius:10px;box-shadow:0 10px 22px rgba(88,54,204,.18);cursor:pointer}
.prompt-print-button span{font-size:18px;line-height:1;transform:translateY(-1px)}
.prompt-download-note{font-size:12px;color:#727d92}
@media(max-width:650px){.prompt-hero-actions{align-items:stretch;flex-direction:column}.prompt-print-button{width:100%}.prompt-download-note{font-size:11px}}

/* =========================================================
   V0.8.63 — Prompt library visual refresh + reliable print document
   ========================================================= */
.prompt-library-hero{padding:60px 0 52px;background:linear-gradient(135deg,#faf9ff 0%,var(--primary-soft) 52%,var(--surface) 100%);border-bottom:1px solid #e8e4f4}
.prompt-library-hero-copy{max-width:920px;margin:0 auto;text-align:center}
.prompt-library-hero h1{font-size:clamp(38px,4.6vw,58px);line-height:1.06;letter-spacing:-.04em;margin:9px 0 14px;color:#1d263b}
.prompt-library-hero p{max-width:720px;margin:0 auto;color:#65728c;font-size:16px;line-height:1.7}
.prompt-library-search{max-width:780px;margin:26px auto 0;display:flex;align-items:center;gap:10px;padding:7px 8px 7px 17px;background:#fff;border:1px solid #dddff0;border-radius:15px;box-shadow:0 14px 34px rgba(47,35,108,.08);text-align:left}
.prompt-library-search>span{font-size:22px;color:var(--primary)}.prompt-library-search input[type=search]{min-width:0;flex:1;border:0!important;outline:0;background:transparent!important;padding:11px 0!important;font-size:14px}.prompt-library-search .btn{min-height:44px;padding:0 22px}
.prompt-library-filters{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:17px}.prompt-library-filters a{padding:7px 11px;border:1px solid #dddff0;border-radius:999px;background:#fff;color:var(--primary);text-decoration:none;font-size:11px;font-weight:700}.prompt-library-filters a:hover,.prompt-library-filters a.is-active{background:#eee9ff;border-color:#d6ccfa;color:var(--primary)}
.prompt-library-stats{display:flex;justify-content:center;gap:24px;flex-wrap:wrap;margin-top:18px;color:#778199;font-size:11px}.prompt-library-stats strong{color:var(--primary-dark);margin-right:4px}.prompt-library-section{padding-top:48px}.prompt-library-heading{align-items:end}.prompt-library-result-note{padding:8px 12px;border:1px solid #e2def5;border-radius:999px;background:var(--surface);color:var(--primary);font-size:11px;font-weight:700}
.prompt-library-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.prompt-card-rich{padding:0!important;overflow:hidden;display:flex;flex-direction:column;height:100%;min-width:0}.prompt-card-media{position:relative;display:block;aspect-ratio:16/9;background:linear-gradient(135deg,#f0ebff,#e7e0ff);overflow:hidden;text-decoration:none}.prompt-card-media.has-media{aspect-ratio:auto;height:auto}.prompt-card-media img,.prompt-card-media video{display:block;width:100%;height:auto;max-width:100%;object-fit:contain}.prompt-card-media-fallback{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(135deg,var(--primary-soft),#e8e1ff);color:var(--primary);font-size:42px}.prompt-card-media-type{position:absolute;left:10px;bottom:10px;padding:5px 8px;border-radius:6px;background:rgba(20,20,30,.78);color:#fff;font-size:9px;font-weight:800;letter-spacing:.08em}.prompt-card-body{display:flex;flex-direction:column;flex:1;padding:18px 19px 17px;min-width:0}.prompt-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:22px}.prompt-category{display:inline-flex;max-width:68%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--primary);background:var(--primary-soft);border:1px solid #e5ddff;border-radius:999px;padding:5px 8px;font-size:9px;font-weight:800}.prompt-card-model{color:#748096;font-size:10px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.prompt-card-rich h3{margin:12px 0 7px;font-size:18px;line-height:1.3;min-height:47px}.prompt-card-rich h3 a{color:#20293d;text-decoration:none}.prompt-card-rich h3 a:hover{color:var(--primary)}.prompt-card-rich p{margin:0;color:#69758c;font-size:12px;line-height:1.65;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;min-height:79px}.prompt-card-rich .prompt-card-footer{margin-top:auto}.prompt-action-label{color:#78839a;font-size:10px;font-weight:700}

.prompt-print-document{display:none}

@media(max-width:1050px){.prompt-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.prompt-card-media.has-media{height:auto;aspect-ratio:auto}.prompt-card-media.has-media img,.prompt-card-media.has-media video{width:100%;height:auto;max-height:none;object-fit:contain}}
@media(max-width:650px){.prompt-library-hero{padding:38px 0 34px}.prompt-library-hero h1{font-size:35px}.prompt-library-hero p{font-size:14px}.prompt-library-search{border-radius:12px}.prompt-library-search .btn{padding:0 15px}.prompt-library-filters{justify-content:flex-start;overflow:auto;flex-wrap:nowrap;padding-bottom:3px}.prompt-library-filters a{white-space:nowrap}.prompt-library-section{padding-top:34px}.prompt-library-heading{align-items:flex-start;gap:10px}.prompt-library-result-note{display:none}.prompt-library-grid{grid-template-columns:1fr;gap:14px}.prompt-card-rich h3{min-height:0}.prompt-card-rich p{min-height:0}}

@media print{
  @page{size:A4 portrait;margin:14mm 14mm 16mm}

  /* Keep the page itself printable. The print document lives inside .site-main,
     so the ancestor must NOT be display:none. */
  html,body{background:#fff!important;color:#20283b!important;margin:0!important;padding:0!important}
  body.single-ai_prompt .site-header,
  body.single-ai_prompt .site-footer,
  body.single-ai_prompt .mobile-navigation,
  body.single-ai_prompt #wpadminbar,
  body.single-ai_prompt .prompt-single-page,
  body.single-ai_prompt .prompt-library-hero,
  body.single-ai_prompt .aith-ad-slot,
  body.single-ai_prompt .ad-container,
  body.single-ai_prompt [class*="ad-"],
  body.single-ai_prompt [id*="ad-"]{display:none!important}

  /* Remove the normal screen layout from the print flow completely.
     IMPORTANT: visibility:hidden still reserves layout space, which caused
     the print document to begin on page 4 in Chrome. Use display:none on the
     screen-only siblings so the dedicated print document starts on page 1. */
  body.single-ai_prompt .single-prompt-page > :not(.prompt-print-document){display:none!important}
  body.single-ai_prompt .single-prompt-page{display:block!important;width:100%!important;max-width:none!important;min-height:0!important;margin:0!important;padding:0!important;background:#fff!important}
  body.single-ai_prompt .prompt-print-document{display:block!important;position:relative!important;width:100%!important;max-width:none!important;min-height:0!important;margin:0!important;padding:0!important;background:#fff!important;color:#20283b!important;visibility:visible!important}
  body.single-ai_prompt .prompt-print-document *{visibility:visible!important}
  body.single-ai_prompt .prompt-print-inner{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:#fff!important}
  body.single-ai_prompt .prompt-print-document .container{max-width:none!important;width:100%!important;margin:0!important;padding:0!important}

  .prompt-print-header{display:flex!important;justify-content:space-between!important;align-items:center!important;padding:0 0 8px!important;border-bottom:1px solid #dfe3ea!important;margin:0 0 18px!important}
  .prompt-print-brand{font-size:14px!important;font-weight:800!important;color:var(--primary)!important}
  .prompt-print-type{font-size:9px!important;letter-spacing:.15em!important;font-weight:800!important;color:#6b7488!important}

  .prompt-print-document h1{font-size:27px!important;line-height:1.15!important;margin:0 0 9px!important;color:#182238!important}
  .prompt-print-description{font-size:11.5px!important;line-height:1.6!important;color:#5f6b81!important;margin:0 0 17px!important}

  .prompt-print-meta{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;border:1px solid #dfe3ea!important;border-radius:7px!important;margin:0 0 20px!important;overflow:hidden!important}
  .prompt-print-meta>div{padding:9px 11px!important;border-right:1px solid #dfe3ea!important;border-bottom:1px solid #dfe3ea!important}
  .prompt-print-meta>div:nth-child(2n){border-right:0!important}
  .prompt-print-meta>div:last-child,.prompt-print-meta>div:nth-last-child(2):nth-child(odd){border-bottom:0!important}
  .prompt-print-meta small{display:block!important;font-size:7.5px!important;text-transform:uppercase!important;letter-spacing:.08em!important;color:#7a8497!important;margin-bottom:3px!important}
  .prompt-print-meta strong{display:block!important;font-size:10px!important;color:#283248!important}

  .prompt-print-section{display:block!important;margin:0 0 20px!important;break-inside:auto!important;page-break-inside:auto!important}
  .prompt-print-section h2{font-size:16px!important;line-height:1.25!important;margin:0 0 8px!important;padding-bottom:6px!important;border-bottom:1px solid #e1e4ea!important;color:#263047!important}
  .prompt-print-content{display:block!important;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace!important;font-size:9.5px!important;line-height:1.65!important;color:#293249!important;white-space:normal!important;border:1px solid #e1e4ea!important;border-radius:7px!important;padding:12px!important;background:#fafbfc!important;overflow:visible!important}
  .prompt-print-content p{margin:0 0 8px!important;orphans:3;widows:3}
  .prompt-print-content p:last-child{margin-bottom:0!important}
  .prompt-print-tags p{font-size:10px!important;color:#59667d!important}

  .prompt-print-media-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .prompt-print-media-grid img{display:block!important;width:100%!important;max-width:100%!important;max-height:115mm!important;height:auto!important;object-fit:contain!important;border:1px solid #e1e4ea!important;border-radius:6px!important;break-inside:avoid!important;page-break-inside:avoid!important}
  .prompt-print-video-note{display:block!important;padding:12px!important;border:1px dashed #ccd2dc!important;border-radius:6px!important;font-size:9px!important;color:#68748a!important}

  .prompt-print-section ol{margin:8px 0 0 17px!important;padding:0!important}
  .prompt-print-section li{font-size:10px!important;line-height:1.55!important;margin:5px 0!important;color:#4f5c72!important}
  .prompt-print-section code{font-family:ui-monospace,SFMono-Regular,monospace!important;background:#f0edff!important;color:var(--primary)!important;padding:1px 3px!important;border-radius:3px!important}
  .prompt-print-footer{display:block!important;border-top:1px solid #dfe3ea!important;padding-top:8px!important;margin-top:25px!important;font-size:8px!important;color:#8a93a3!important}
  body.single-ai_prompt a{color:#1f2937!important;text-decoration:none!important}
}


/* =========================================================
   V0.8.69 — Prompt Gallery: consistent site CTA + single View Prompt action
   ========================================================= */
.prompt-gallery-dark{
    background:
        radial-gradient(circle at 10% 8%,rgba(var(--primary-rgb),.07),transparent 28%),
        radial-gradient(circle at 92% 12%,rgba(122,91,229,.06),transparent 26%),
        linear-gradient(180deg,#ffffff 0%,var(--surface) 100%);
    color:var(--text);
    border-bottom:1px solid var(--border);
}
.prompt-gallery-dark .prompt-library-hero-copy{max-width:1050px}
.prompt-gallery-dark .eyebrow{color:var(--primary)}
.prompt-gallery-dark h1{color:var(--text);max-width:850px;margin-left:auto;margin-right:auto}
.prompt-gallery-dark p{color:var(--muted)}
.prompt-gallery-search{
    border-color:var(--border)!important;
    background:#fff!important;
    box-shadow:0 12px 34px rgba(31,37,63,.08)!important;
}
.prompt-gallery-search>span{color:var(--primary)}
.prompt-gallery-search input[type=search]{color:var(--text)!important}
.prompt-gallery-search input[type=search]::placeholder{color:#9299a8}
.prompt-gallery-controls{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:14px}
.prompt-gallery-select-wrap{
    display:flex;align-items:center;gap:7px;padding:5px 8px 5px 11px;
    border:1px solid var(--border);background:#fff;border-radius:10px;
    color:var(--muted);font-size:10px;font-weight:700;
    box-shadow:0 4px 14px rgba(31,37,63,.04);
}
.prompt-gallery-select-wrap select{border:0;background:#fff;color:var(--text);outline:0;font:inherit;min-width:130px}
.prompt-gallery-type-links{
    display:flex;gap:5px;padding:4px;border:1px solid var(--border);
    background:#fff;border-radius:10px;box-shadow:0 4px 14px rgba(31,37,63,.04)
}
.prompt-gallery-type-links a{padding:7px 11px;border-radius:7px;color:var(--muted);text-decoration:none;font-size:10px;font-weight:800}
.prompt-gallery-type-links a:hover,.prompt-gallery-type-links a.is-active{background:var(--primary-soft);color:var(--primary)}
.prompt-gallery-tags{margin-top:15px!important;justify-content:center}
.prompt-gallery-tags .prompt-filter-label{color:var(--muted);font-size:10px;font-weight:800;align-self:center}
.prompt-gallery-tags a{background:#fff;border-color:var(--border);color:var(--muted)}
.prompt-gallery-tags a:hover,.prompt-gallery-tags a.is-active{background:var(--primary);border-color:var(--primary);color:#fff}
.prompt-gallery-stats{color:var(--muted)}
.prompt-gallery-stats strong{color:var(--text)}

.prompt-gallery-section{
    background:linear-gradient(180deg,var(--surface) 0%,#ffffff 100%);
    padding-top:54px;padding-bottom:80px;color:var(--text)
}
.prompt-gallery-section .prompt-library-heading h2{color:var(--text)}
.prompt-gallery-section .section-subtitle{color:var(--muted)}
.prompt-gallery-section .eyebrow{color:var(--primary)}
.prompt-gallery-section .prompt-library-result-note{
    background:var(--primary-soft);border-color:#ddd5fb;color:var(--primary)
}

.prompt-gallery-grid{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px;align-items:start
}
.prompt-gallery-grid .prompt-card-rich{
    background:#fff;border:1px solid var(--border);border-radius:17px;
    box-shadow:0 10px 30px rgba(31,37,63,.07);
    overflow:hidden;display:block;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease
}
.prompt-gallery-grid .prompt-card-rich:hover{
    transform:translateY(-5px);border-color:#d9d0f8;
    box-shadow:0 18px 42px rgba(31,37,63,.11)
}
.prompt-card-visual{position:relative;background:var(--primary-soft)}
.prompt-gallery-grid .prompt-card-media{aspect-ratio:auto;background:var(--primary-soft)}
.prompt-gallery-grid .prompt-card-media img,.prompt-gallery-grid .prompt-card-media video{
    width:100%;height:100%;display:block;object-fit:cover
}
.prompt-gallery-grid .prompt-card-media img{transition:transform .35s ease}
.prompt-gallery-grid .prompt-card-rich:hover .prompt-card-media img{transform:scale(1.025)}
.prompt-card-media-badges{
    position:absolute;top:11px;left:11px;right:11px;
    padding-right:36px;box-sizing:border-box;
    display:flex;align-items:center;gap:6px;flex-wrap:wrap;pointer-events:none
}
.prompt-card-type,.prompt-card-model-badge{
    display:inline-flex;align-items:center;min-height:25px;padding:0 9px;
    border-radius:8px;background:rgba(255,255,255,.94);
    border:1px solid rgba(255,255,255,.9);color:var(--text);
    font-size:10px;font-weight:800;box-shadow:0 3px 12px rgba(31,37,63,.08);
    backdrop-filter:blur(8px)
}
.prompt-card-model-badge{
    background:linear-gradient(135deg,var(--primary),var(--accent));
    border-color:transparent;color:#fff
}
.prompt-card-bookmark{
    position:absolute;right:10px;top:10px;width:30px;height:30px;border-radius:50%;
    display:grid;place-items:center;background:rgba(255,255,255,.95);
    border:1px solid var(--border);color:var(--text);font-size:17px;z-index:2;
    box-shadow:0 4px 12px rgba(31,37,63,.08)
}
.prompt-gallery-grid .prompt-card-body{padding:15px 16px 14px;background:#fff}
.prompt-card-category-row{margin-bottom:9px}
.prompt-gallery-grid .prompt-category{
    background:var(--primary-soft);border-color:#ded6fb;color:var(--primary);
    font-size:9px;padding:5px 8px
}
.prompt-gallery-grid .prompt-card-rich h3{
    margin:0 0 8px;min-height:0;font-size:17px;line-height:1.3
}
.prompt-gallery-grid .prompt-card-rich h3 a{color:var(--text)}
.prompt-gallery-grid .prompt-card-rich h3 a:hover{color:var(--primary)}
.prompt-gallery-grid .prompt-card-rich p{
    color:var(--muted);font-size:11px;line-height:1.6;min-height:0;
    -webkit-line-clamp:4;margin-bottom:12px
}
.prompt-card-tags{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:13px}
.prompt-card-tags span{
    border:1px solid var(--border);background:#fff;color:var(--muted);
    border-radius:999px;padding:4px 7px;font-size:9px;line-height:1
}
.prompt-card-footer{
    display:flex;align-items:center;justify-content:space-between;gap:10px;
    padding-top:13px;margin-top:11px;border-top:1px solid var(--border);
    color:#7c8494;font-size:9px
}
.prompt-card-footer .prompt-card-view{
    display:inline-flex;align-items:center;justify-content:center;gap:6px;
    min-height:34px;padding:0 14px;margin:0;
    border-radius:8px;font-size:10px;font-weight:700;
    text-decoration:none;color:#fff!important;
}
.prompt-card-footer .prompt-card-view:hover{color:#fff!important}
.prompt-gallery-grid .aith-ad-grid-item{background:#fff;border-color:var(--border);color:var(--text)}

@media(max-width:1050px){.prompt-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){
    .prompt-gallery-dark{padding:40px 0 38px}
    .prompt-gallery-dark h1{font-size:34px}
    .prompt-gallery-controls{justify-content:stretch}
    .prompt-gallery-select-wrap,.prompt-gallery-type-links{flex:1}
    .prompt-gallery-select-wrap select{min-width:0;width:100%}
    .prompt-gallery-tags{justify-content:flex-start;overflow:auto;flex-wrap:nowrap!important;padding-bottom:4px}
    .prompt-gallery-tags a{white-space:nowrap}
    .prompt-gallery-grid{grid-template-columns:1fr;gap:16px}
    .prompt-gallery-grid .prompt-card-media{aspect-ratio:auto}
    .prompt-gallery-section{padding-top:38px;padding-bottom:55px}
}
.prompt-gallery-grid .prompt-card-media{aspect-ratio:auto;height:auto;min-height:210px}
.prompt-gallery-grid .prompt-card-media img{height:auto;min-height:210px;max-height:640px;object-fit:cover}
.prompt-gallery-grid .prompt-card-media video{min-height:210px;max-height:640px;object-fit:cover}
@media(max-width:650px){
    .prompt-gallery-grid .prompt-card-media{aspect-ratio:auto}
    .prompt-gallery-grid .prompt-card-media img,.prompt-gallery-grid .prompt-card-media video{max-height:none}
}



/* =========================================================
   V0.8.72 — Align featured output with prompt content container
   ========================================================= */
.prompt-featured-output-wrap{
    width:min(var(--container),calc(100% - 40px));
    margin-left:auto;
    margin-right:auto;
}
@media(max-width:650px){
    .prompt-featured-output-wrap{
        width:min(var(--container),calc(100% - 24px));
    }
}

/* =========================================================
   V0.8.71 — Prompt output showcase image refinement
   ========================================================= */
.prompt-featured-output .prompt-output-media-grid{
    align-items:start;
}
.prompt-featured-output .prompt-output-media-grid figure{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:0;
    padding:0;
    border:1px solid #e3e5ee;
    background:linear-gradient(145deg,#f8f9fd 0%,var(--primary-soft) 100%);
    box-shadow:0 10px 28px rgba(35,31,72,.06);
}
.prompt-featured-output .prompt-output-media-grid figure > a{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    min-width:0;
}
.prompt-featured-output .prompt-output-media-grid img,
.prompt-featured-output .prompt-output-media-grid video{
    display:block;
    width:auto;
    max-width:100%;
    height:auto;
    max-height:680px;
    object-fit:contain;
    margin:0 auto;
    border-radius:0;
}
/* A single output should wrap closely around the actual image rather than
   creating a very wide white box with large empty side areas. */
.prompt-featured-output-count-1 .prompt-output-media-grid{
    display:flex;
    justify-content:center;
    align-items:flex-start;
}
.prompt-featured-output-count-1 .prompt-output-media-grid figure{
    width:fit-content;
    max-width:100%;
    margin:0 auto;
    overflow:hidden;
    border-radius:16px;
}
.prompt-featured-output-count-1 .prompt-output-media-grid figure > a{
    width:auto;
    max-width:100%;
}
.prompt-featured-output-count-1 .prompt-output-media-grid img,
.prompt-featured-output-count-1 .prompt-output-media-grid video{
    max-width:min(100%,860px);
    max-height:720px;
}
.prompt-featured-output-count-2 .prompt-output-media-grid figure,
.prompt-featured-output:not(.prompt-featured-output-count-1) .prompt-output-media-grid figure{
    width:100%;
}
.prompt-featured-output .prompt-output-media-grid figure:hover{
    box-shadow:0 16px 34px rgba(35,31,72,.10);
}
@media(max-width:800px){
    .prompt-featured-output-count-1 .prompt-output-media-grid figure{
        width:auto;
        max-width:100%;
    }
    .prompt-featured-output-count-1 .prompt-output-media-grid img,
    .prompt-featured-output-count-1 .prompt-output-media-grid video{
        max-height:620px;
    }
}
@media(max-width:650px){
    .prompt-featured-output{
        padding:20px!important;
    }
    .prompt-featured-output-count-1 .prompt-output-media-grid figure{
        width:100%;
        border-radius:13px;
    }
    .prompt-featured-output-count-1 .prompt-output-media-grid img,
    .prompt-featured-output-count-1 .prompt-output-media-grid video{
        width:auto;
        max-width:100%;
        max-height:620px;
    }
}

/* =========================================================
   V0.8.73 — Prompt Gallery Responsive Hardening
   Align the gallery breakpoints with the mobile navigation,
   prevent compressed two-column cards on tablet/mobile,
   and keep media previews visually consistent.
   ========================================================= */
.prompt-gallery-section,
.prompt-gallery-dark,
.prompt-library-section,
.prompt-library-hero,
.prompt-gallery-grid,
.prompt-gallery-grid .prompt-card-rich{
    min-width:0;
    max-width:100%;
}

.prompt-gallery-grid .prompt-card-rich{
    width:100%;
}

/* Keep gallery previews consistent instead of allowing portrait
   source images to make individual cards excessively tall. */
.prompt-gallery-grid .prompt-card-media{
    aspect-ratio:16/10;
    height:auto;
    min-height:0;
    width:100%;
    overflow:hidden;
    background:var(--primary-soft);
}
.prompt-gallery-grid .prompt-card-media img,
.prompt-gallery-grid .prompt-card-media video{
    display:block;
    width:100%;
    height:100%;
    min-height:0;
    max-height:none;
    object-fit:cover;
}

@media (max-width: 800px){
    .prompt-gallery-dark .aith-container,
    .prompt-gallery-section .aith-container{
        width:min(var(--container),calc(100% - 24px));
    }

    /* The header is already in mobile mode by this width, so the
       prompt gallery should also switch to a single readable column. */
    .prompt-gallery-grid{
        grid-template-columns:minmax(0,1fr)!important;
        gap:16px;
    }

    .prompt-gallery-grid .prompt-card-rich{
        min-width:0;
    }

    .prompt-gallery-grid .prompt-card-media{
        aspect-ratio:16/10;
    }

    .prompt-gallery-dark h1{
        font-size:clamp(32px,7vw,42px);
    }

    .prompt-gallery-controls{
        width:100%;
        align-items:stretch;
    }

    .prompt-gallery-select-wrap,
    .prompt-gallery-type-links{
        min-width:0;
    }

    .prompt-gallery-select-wrap select{
        min-width:0;
        max-width:100%;
    }

    .prompt-gallery-tags{
        max-width:100%;
        overflow-x:auto;
        scrollbar-width:none;
    }
    .prompt-gallery-tags::-webkit-scrollbar{display:none}
}

@media (max-width: 560px){
    .prompt-gallery-dark{
        padding:34px 0 30px;
    }

    .prompt-gallery-dark h1{
        font-size:clamp(30px,8.5vw,36px);
        line-height:1.08;
    }

    .prompt-gallery-dark p{
        font-size:13px;
        line-height:1.6;
    }

    .prompt-gallery-search{
        width:100%;
    }

    .prompt-gallery-search input[type=search]{
        min-width:0;
        width:100%;
    }

    .prompt-gallery-controls{
        flex-direction:column;
        gap:8px;
    }

    .prompt-gallery-select-wrap,
    .prompt-gallery-type-links{
        width:100%;
        flex:0 0 auto;
    }

    .prompt-gallery-select-wrap{
        justify-content:space-between;
    }

    .prompt-gallery-type-links{
        justify-content:space-between;
    }

    .prompt-gallery-type-links a{
        flex:1;
        text-align:center;
    }

    .prompt-gallery-tags{
        justify-content:flex-start;
        margin-left:-1px!important;
        margin-right:-1px!important;
    }

    .prompt-gallery-section{
        padding-top:30px;
        padding-bottom:48px;
    }

    .prompt-gallery-section .section-heading{
        display:block;
    }

    .prompt-gallery-section .section-subtitle{
        max-width:100%;
    }

    .prompt-gallery-grid .prompt-card-body{
        padding:14px;
    }

    .prompt-gallery-grid .prompt-card-rich h3{
        font-size:16px;
    }

    .prompt-gallery-grid .prompt-card-rich p{
        font-size:11px;
        line-height:1.55;
    }

    .prompt-card-footer{
        gap:8px;
    }

    .prompt-card-footer .prompt-card-view{
        min-height:36px;
        padding:0 12px;
        white-space:nowrap;
    }
}

@media (max-width: 380px){
    .prompt-gallery-dark .aith-container,
    .prompt-gallery-section .aith-container{
        width:calc(100% - 20px);
    }

    .prompt-gallery-grid{
        gap:12px;
    }

    .prompt-gallery-grid .prompt-card-media-badges{
        top:8px;
        left:8px;
        right:8px;
        padding-right:32px;
        box-sizing:border-box;
    }

    .prompt-card-type,
    .prompt-card-model-badge{
        min-height:23px;
        padding:0 7px;
        font-size:9px;
    }

    .prompt-card-bookmark{
        top:8px;
        right:8px;
        width:28px;
        height:28px;
        font-size:16px;
    }
}

/* Footer follows the same responsive rhythm as the rest of the site. */
@media (max-width: 800px){
    .footer-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:28px 24px;
    }
    .footer-brand{
        grid-column:1/-1;
    }
}

@media (max-width: 560px){
    .footer-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:24px 18px;
    }
    .footer-column h4{font-size:12px}
    .footer-column a{font-size:11px;margin:7px 0}
    .footer-bottom{
        display:flex;
        flex-direction:column;
        align-items:flex-start;
        gap:7px;
        margin-top:28px;
        padding-top:16px;
    }
}

/* =========================================================
   V0.8.82 — Official site logo
   ========================================================= */
.brand-logo{
    width:38px;
    height:38px;
    flex:0 0 38px;
    display:block;
    object-fit:contain;
    border-radius:0;
    background:transparent;
    box-shadow:none;
}
.brand-logo-footer{
    width:36px;
    height:36px;
    flex:0 0 36px;
}
@media(max-width:650px){
    .brand-logo{
        width:35px;
        height:35px;
        flex-basis:35px;
    }
    .brand-logo-footer{
        width:34px;
        height:34px;
        flex-basis:34px;
    }
}

/* =========================================================
   V0.8.74 — Show complete prompt gallery media without cropping
   ========================================================= */
.prompt-gallery-grid .prompt-card-media.has-media{
    aspect-ratio:auto!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
}
.prompt-gallery-grid .prompt-card-media.has-media img,
.prompt-gallery-grid .prompt-card-media.has-media video{
    display:block;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    object-fit:contain!important;
}

@media(max-width:800px){
    .prompt-gallery-grid .prompt-card-media.has-media{
        aspect-ratio:auto!important;
        height:auto!important;
    }
    .prompt-gallery-grid .prompt-card-media.has-media img,
    .prompt-gallery-grid .prompt-card-media.has-media video{
        height:auto!important;
        max-height:none!important;
        object-fit:contain!important;
    }
}

/* V0.9.18 — standard WordPress/content templates */
.standard-page .entry-content,.standard-single .entry-content,.site-index .entry-content{max-width:860px;margin:0 auto}.page-header{margin-bottom:32px}.page-header h1{margin:8px 0 12px}.post-meta,.archive-description{color:var(--muted);font-size:.92rem}.blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.blog-card{border:1px solid var(--border);border-radius:18px;padding:24px;background:var(--surface)}.blog-card h2{margin:8px 0 12px;font-size:1.25rem}.blog-card h2 a{text-decoration:none;color:var(--text)}.text-link{font-weight:700;text-decoration:none}.aith-search-form{display:flex;gap:10px;max-width:720px}.aith-search-form input{flex:1;min-width:0}.empty-state{text-align:center;padding:64px 20px}.error-actions{display:flex;justify-content:center;gap:12px;margin-top:24px}@media(max-width:800px){.blog-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.blog-grid{grid-template-columns:1fr}.aith-search-form{flex-direction:column}.aith-search-form .btn{width:100%}}

/* =========================================================
   V0.9.18 — UX/UI & Navigation Refinement
   Focused navigation, stronger interaction states and consistent discovery UI.
   ========================================================= */
.skip-link {
    position: fixed;
    left: 16px;
    top: 10px;
    z-index: 10000;
    transform: translateY(-160%);
    padding: 10px 14px;
    border-radius: 9px;
    background: var(--dark);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    box-shadow: var(--shadow-lg);
    transition: transform .18s ease;
}
.skip-link:focus { transform: translateY(0); }

.header-search-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 8px 10px;
    border-radius: 9px;
    color: #596173;
    font-size: 12px;
    font-weight: 700;
    transition: background .18s ease, color .18s ease;
}
.header-search-link:hover { background: var(--primary-soft); color: var(--primary); }
.header-search-link > span:first-child { font-size: 20px; line-height: 1; }

.nav-menu > li > a,
.nav-menu > li > .aith-nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 44px;
}
.aith-nav-dropdown-toggle {
    appearance: none;
    border: 0;
    background: transparent;
    color: #4f5667;
    padding: 0;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}
.aith-nav-dropdown-toggle span { font-size: 14px; transition: transform .18s ease; }
.aith-explore-menu:hover > .aith-nav-dropdown-toggle,
.aith-explore-menu:focus-within > .aith-nav-dropdown-toggle { color: var(--primary); }
.aith-explore-menu.is-open > .aith-nav-dropdown-toggle span { transform: rotate(180deg); }
.aith-explore-menu > .sub-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    transform: translate(-50%, -5px);
    width: 220px;
    padding: 8px;
    margin: 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 13px;
    box-shadow: 0 18px 45px rgba(24,30,54,.13);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.aith-explore-menu:hover > .sub-menu,
.aith-explore-menu:focus-within > .sub-menu,
.aith-explore-menu.is-open > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}
.aith-explore-menu .sub-menu li { margin: 0; }
.aith-explore-menu .sub-menu a {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 11px;
    border-radius: 8px;
    color: #50586a;
    font-size: 12px;
    font-weight: 600;
}
.aith-explore-menu .sub-menu a:hover,
.aith-explore-menu .sub-menu a:focus-visible { background: var(--primary-soft); color: var(--primary); }

.mobile-nav-menu .menu-item-has-children > a { display: inline-flex; width: calc(100% - 42px); }
.mobile-nav-menu .aith-nav-dropdown-toggle {
    width: 38px;
    min-height: 48px;
    justify-content: center;
    color: var(--muted);
}
.mobile-nav-menu .aith-nav-dropdown-toggle span { transition: transform .18s ease; }
.mobile-nav-menu .aith-explore-menu.is-open > .aith-nav-dropdown-toggle span { transform: rotate(180deg); }
.mobile-nav-menu .aith-explore-menu > .sub-menu {
    display: none;
    position: static;
    width: auto;
    padding: 0 0 8px 14px;
    margin: 0;
    list-style: none;
    box-shadow: none;
    border: 0;
    background: transparent;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.mobile-nav-menu .aith-explore-menu.is-open > .sub-menu { display: block; }
.mobile-nav-menu .aith-explore-menu .sub-menu a { min-height: 42px; padding: 9px 8px; font-size: 13px; }

.mobile-nav-actions { display: grid; grid-template-columns: 1fr 1fr; }
.mobile-nav-actions .btn { width: 100%; }

.trending-tools-section .tool-card { border-color: #e1dff0; }
.trending-tools-section .tool-card:hover { border-color: #d4ccef; }

@media (max-width: 1180px) and (min-width: 981px) {
    .header-inner { gap: 18px; }
    .site-brand { min-width: 190px; }
    .nav-menu { gap: 13px; }
    .header-search-label { display: none; }
    .header-search-link { padding-inline: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.aith-explore-menu .sub-menu .sub-menu-featured { margin-top: 5px; padding-top: 5px; border-top: 1px solid var(--border); }
.aith-explore-menu .sub-menu .sub-menu-featured a { color: var(--primary); font-weight: 800; }
.mobile-navigation.is-open { animation: aith-menu-in .16s ease both; }
@keyframes aith-menu-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .mobile-navigation.is-open { animation: none; } }
body.aith-mobile-nav-open { overflow: hidden; }
@media (min-width: 981px) { body.aith-mobile-nav-open { overflow: auto; } }

/* V0.9.19 — Comparison experience redesign */
.compare-hub-page{background:#f7f8fc;min-height:60vh}.compare-hub-hero{position:relative;overflow:hidden;padding:72px 0 54px;background:radial-gradient(circle at 85% 20%,rgba(94,44,237,.10),transparent 32%),linear-gradient(135deg,#f5f3ff 0%,#fff 55%,#f8fafc 100%)}.compare-hub-hero:after{content:"";position:absolute;width:420px;height:420px;border:1px solid rgba(94,44,237,.10);border-radius:50%;right:-180px;top:-210px;pointer-events:none}.compare-hub-hero-copy{max-width:760px}.compare-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:850;letter-spacing:.14em;color:var(--primary-dark)}.compare-eyebrow:before{content:"";width:22px;height:2px;background:var(--primary);border-radius:99px}.compare-hub-hero h1{font-size:clamp(40px,5vw,64px);line-height:1.04;letter-spacing:-.045em;margin:14px 0 16px;color:#0f172a}.compare-hub-hero h1 span{color:var(--primary)}.compare-hub-hero-copy p{max-width:680px;font-size:17px;line-height:1.7;color:#64748b;margin:0}.compare-builder{position:relative;z-index:2;margin-top:36px;padding:26px;border:1px solid #e4e7ef;border-radius:22px;background:rgba(255,255,255,.94);box-shadow:0 18px 55px rgba(15,23,42,.09);backdrop-filter:blur(10px)}.compare-builder-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px}.compare-builder-kicker{display:block;font-size:10px;font-weight:850;letter-spacing:.13em;color:var(--primary-dark);margin-bottom:5px}.compare-builder h2{font-size:21px;line-height:1.3;margin:0;color:#172033}.compare-builder-step{font-size:10px;font-weight:800;letter-spacing:.08em;color:#94a3b8;background:#f8fafc;border:1px solid #edf0f4;border-radius:999px;padding:7px 10px;white-space:nowrap}.compare-select-grid{display:grid;grid-template-columns:minmax(0,1fr) 52px minmax(0,1fr);gap:14px;align-items:center}.compare-select-card{position:relative;display:flex;flex-direction:column;gap:8px;padding:17px 18px 16px;border:1px solid #e1e5ed;border-radius:16px;background:#fbfcfe;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}.compare-select-card:focus-within{border-color:var(--primary);background:#fff;box-shadow:0 0 0 4px rgba(94,44,237,.09)}.compare-select-number{position:absolute;right:14px;top:13px;font-size:10px;font-weight:850;color:#a1a9b7}.compare-select-label{font-size:11px;font-weight:800;color:#64748b;text-transform:uppercase;letter-spacing:.08em}.compare-select-card select{width:100%;border:0;outline:0;background:transparent;color:#0f172a;font-size:15px;font-weight:750;padding:3px 24px 3px 0;appearance:auto}.compare-builder-vs{display:grid;place-items:center}.compare-builder-vs span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#fff;border:1px solid #e1e5ed;color:var(--primary-dark);font-size:10px;font-weight:900;box-shadow:0 8px 18px rgba(15,23,42,.06)}.compare-builder-submit{display:flex;justify-content:center;align-items:center;gap:9px;width:100%;margin-top:16px;padding:13px 18px}.compare-builder-submit:disabled{opacity:.48;cursor:not-allowed;transform:none;box-shadow:none}.compare-builder-note{text-align:center;color:#94a3b8;font-size:11px;margin:11px 0 0}.compare-hub-content{padding:36px 0 76px}.compare-value-strip{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #e5e8ef;background:#fff;border-radius:18px;overflow:hidden;margin-bottom:50px}.compare-value-strip>div{display:grid;grid-template-columns:34px 1fr;column-gap:10px;align-items:center;padding:17px 19px;border-right:1px solid #edf0f4}.compare-value-strip>div:last-child{border-right:0}.compare-value-strip>div>span{grid-row:span 2;display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:var(--primary-soft);color:var(--primary);font-weight:850}.compare-value-strip strong{font-size:13px;color:#1e293b}.compare-value-strip small{font-size:10px;color:#94a3b8;margin-top:2px}.compare-hub-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:0 0 20px}.compare-hub-section-head>div>span,.compare-section-heading>div>span{display:block;font-size:10px;font-weight:850;letter-spacing:.13em;color:var(--primary-dark);margin-bottom:6px}.compare-hub-section-head h2{font-size:26px;line-height:1.25;margin:0;color:#172033}.compare-text-link{font-size:12px;font-weight:800;color:var(--primary);white-space:nowrap}.compare-pair-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.compare-pair-card{display:flex;flex-direction:column;min-height:190px;padding:19px;border:1px solid #e4e7ee;border-radius:18px;background:#fff;color:#0f172a;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.compare-pair-card:hover{transform:translateY(-3px);border-color:rgba(94,44,237,.30);box-shadow:0 14px 32px rgba(15,23,42,.08)}.compare-pair-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.compare-pair-index{font-size:9px;font-weight:850;letter-spacing:.12em;color:#a1a9b7}.compare-pair-category{font-size:9px;font-weight:750;color:var(--primary);background:var(--primary-soft);padding:4px 8px;border-radius:999px}.compare-pair-tools{display:grid;grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr);gap:7px;align-items:center;flex:1;margin:12px 0}.compare-pair-tool{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;min-width:0}.compare-pair-tool img,.compare-pair-tool .aith-logo-fallback{display:block;width:42px;height:42px;flex:0 0 42px;object-fit:contain;border-radius:11px}.compare-pair-tool .aith-logo-fallback{display:grid;place-items:center;background:linear-gradient(135deg,var(--primary),var(--accent));color:#fff;font-weight:800}.compare-pair-tool strong{font-size:12px;line-height:1.3;overflow-wrap:anywhere}.compare-pair-card .compare-vs{width:30px;height:30px;justify-self:center;background:#f8fafc;border:1px solid #e8ebf1;color:#64748b}.compare-pair-action{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eef1f5;padding-top:12px;color:var(--primary);font-size:11px;font-weight:800}.compare-empty{padding:34px;border:1px dashed #dfe3ea;border-radius:18px;background:#fff;text-align:center}.compare-empty h2{margin:0 0 7px;font-size:18px}.compare-empty p{margin:0;color:#64748b;font-size:13px}
/* Comparison detail */
.compare-page{background:#f7f8fc;overflow:hidden}.compare-detail-hero{padding:26px 0 34px;background:linear-gradient(135deg,#f5f3ff,#fff 58%,#f8fafc);border-bottom:1px solid #e8ebf1}.compare-breadcrumb{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:11px;color:#94a3b8;margin-bottom:34px}.compare-breadcrumb a{color:#64748b}.compare-breadcrumb strong{font-weight:700;color:#475569}.compare-detail-heading{display:flex;align-items:end;justify-content:space-between;gap:30px}.compare-detail-title-block{max-width:850px}.compare-detail-title-block h1{font-size:clamp(36px,4.6vw,58px);line-height:1.08;letter-spacing:-.04em;margin:12px 0 12px;color:#0f172a}.compare-detail-title-block h1 span{color:#94a3b8;font-weight:600}.compare-detail-title-block p{font-size:15px;line-height:1.65;color:#64748b;margin:0}.compare-change-link{display:inline-flex;align-items:center;gap:8px;padding:10px 13px;border:1px solid #e1e5ed;border-radius:11px;background:#fff;color:#475569;font-size:11px;font-weight:800;white-space:nowrap}.compare-change-link span{color:var(--primary);font-size:16px}.compare-tool-pair{display:grid;grid-template-columns:minmax(0,1fr) 60px minmax(0,1fr);align-items:center;gap:14px;margin-top:30px}.compare-tool-identity{display:grid;grid-template-columns:54px minmax(0,1fr) 24px;align-items:center;gap:13px;padding:14px 16px;border:1px solid #e2e6ee;border-radius:16px;background:#fff;color:#0f172a;transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}.compare-tool-identity:hover{border-color:rgba(94,44,237,.32);transform:translateY(-2px);box-shadow:0 10px 25px rgba(15,23,42,.06)}.compare-tool-logo{display:grid;place-items:center;width:54px;height:54px;border-radius:13px;background:#f8fafc;border:1px solid #eef1f5}.compare-tool-logo img{width:38px;height:38px;object-fit:contain}.compare-tool-identity small{display:block;font-size:9px;font-weight:850;letter-spacing:.11em;color:#a1a9b7;margin-bottom:3px}.compare-tool-identity strong{display:block;font-size:16px;line-height:1.25}.compare-tool-arrow{justify-self:end;color:var(--primary);font-size:17px}.compare-vs-badge{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#fff;border:1px solid #dfe4ed;color:var(--primary-dark);font-size:11px;font-weight:900;box-shadow:0 9px 22px rgba(15,23,42,.07)}.compare-content{padding:42px 0 76px}.compare-summary-card{display:grid;grid-template-columns:46px minmax(0,1fr);gap:16px;align-items:start;padding:22px;border:1px solid #e4e7ee;border-radius:18px;background:#fff;box-shadow:0 8px 25px rgba(15,23,42,.03)}.compare-summary-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:var(--primary-soft);color:var(--primary);font-weight:900}.compare-summary-label{font-size:9px;font-weight:850;letter-spacing:.13em;color:var(--primary-dark)}.compare-summary-card h2{font-size:21px;margin:5px 0 7px}.compare-summary-card p{font-size:13px;line-height:1.65;color:#64748b;margin:0;max-width:850px}.compare-section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:38px 0 16px}.compare-section-heading h2{font-size:25px;line-height:1.25;margin:0;color:#172033}.compare-section-heading p{max-width:390px;font-size:12px;line-height:1.55;color:#94a3b8;text-align:right;margin:0}.compare-first-section{margin-top:34px}.compare-table-wrap{overflow:auto;border:1px solid #e1e5ec;border-radius:18px;background:#fff;box-shadow:0 5px 20px rgba(15,23,42,.025)}.compare-table{width:100%;min-width:720px;border-collapse:separate;border-spacing:0}.compare-table th,.compare-table td{padding:16px 18px;border-bottom:1px solid #edf0f4;text-align:left;vertical-align:middle}.compare-table thead th{background:#fafbfc;font-size:11px;color:#475569;font-weight:800}.compare-table thead th:first-child{width:28%;border-top-left-radius:18px}.compare-table thead th:last-child{border-top-right-radius:18px}.compare-table tbody th{font-size:12px;color:#64748b;font-weight:700}.compare-table tbody td{font-size:13px;color:#1e293b;font-weight:650}.compare-table tbody tr:nth-child(even){background:#fcfcfd}.compare-table tbody tr:last-child th,.compare-table tbody tr:last-child td{border-bottom:0}.compare-table-tool{display:flex;align-items:center;gap:9px}.compare-table-tool>span{display:grid;place-items:center;width:30px;height:30px;border:1px solid #e8ebf0;border-radius:8px;background:#fff}.compare-table-tool img{width:22px;height:22px;object-fit:contain}.compare-detail-card,.compare-choice-card{background:#fff;border:1px solid #e3e7ee;border-radius:18px;padding:21px;box-shadow:0 5px 20px rgba(15,23,42,.025)}.compare-feature-card{min-height:100%}.compare-card-tool-head{display:flex;align-items:center;gap:11px;margin-bottom:17px}.compare-card-tool-head img{width:36px;height:36px;object-fit:contain;border-radius:9px}.compare-card-tool-head h2{font-size:17px;line-height:1.3;margin:0;color:#172033}.compare-detail-card ul{margin:0;padding-left:0}.compare-detail-card li{font-size:13px;line-height:1.5;margin:0;padding:11px 0;border-top:1px solid #f0f2f5;color:#475569}.compare-detail-card li:first-child{border-top:0;padding-top:0}.compare-detail-card li:last-child{padding-bottom:0}.compare-detail-card li:has(.compare-check){list-style:none;display:flex;align-items:flex-start;gap:9px}.compare-check{width:17px;height:17px;margin-top:1px;background:var(--primary-soft);color:var(--primary);border-radius:50%;font-size:9px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 17px}.compare-detail-card li>div{display:flex;flex-direction:column;gap:2px}.compare-detail-card li strong{font-size:13px;color:#1e293b}.compare-detail-card li>div>span{font-size:11px;color:#94a3b8;line-height:1.5}.compare-use-list li{display:flex;gap:9px;align-items:flex-start}.compare-use-list li>span{color:var(--primary);font-weight:850}.compare-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.compare-choice-card{position:relative;overflow:hidden;padding:23px}.compare-choice-number{position:absolute;right:18px;top:16px;font-size:30px;line-height:1;font-weight:900;color:#f0f2f7}.compare-choice-card .compare-card-tool-head{position:relative}.compare-choice-card p{font-size:13px;line-height:1.65;color:#64748b;min-height:44px;margin:0 0 17px}.compare-choice-card .btn{display:inline-flex;align-items:center;gap:7px}.compare-final-cta{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:42px;padding:23px;border:1px solid #e2e6ee;border-radius:18px;background:#fff}.compare-final-cta>div>span{font-size:9px;font-weight:850;letter-spacing:.13em;color:var(--primary-dark)}.compare-final-cta h2{font-size:19px;margin:4px 0}.compare-final-cta p{font-size:12px;color:#94a3b8;margin:0}.compare-error{padding:100px 20px;text-align:center}.compare-error>div{max-width:520px;margin:0 auto}.compare-error span{font-size:11px;font-weight:850;letter-spacing:.15em;color:var(--primary)}.compare-error h1{font-size:36px;margin:10px 0}.compare-error p{color:#64748b;margin-bottom:20px}
@media(max-width:1050px){.compare-pair-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.compare-value-strip{grid-template-columns:repeat(2,1fr)}.compare-value-strip>div:nth-child(2){border-right:0}.compare-value-strip>div:nth-child(-n+2){border-bottom:1px solid #edf0f4}}
@media(max-width:768px){.compare-hub-hero{padding:44px 0 32px}.compare-hub-hero h1{font-size:40px}.compare-hub-hero-copy p{font-size:14px}.compare-builder{margin-top:28px;padding:18px;border-radius:17px}.compare-builder-header{margin-bottom:16px}.compare-builder h2{font-size:18px}.compare-select-grid{grid-template-columns:1fr;gap:9px}.compare-builder-vs{height:30px}.compare-builder-vs span{width:30px;height:30px;font-size:8px}.compare-value-strip{grid-template-columns:1fr;margin-bottom:36px}.compare-value-strip>div{border-right:0!important;border-bottom:1px solid #edf0f4!important}.compare-value-strip>div:last-child{border-bottom:0!important}.compare-hub-section-head{align-items:flex-start;flex-direction:column;gap:10px}.compare-hub-section-head h2{font-size:22px}.compare-pair-grid{grid-template-columns:1fr}.compare-hub-content{padding:25px 0 55px}.compare-detail-hero{padding:18px 0 25px}.compare-breadcrumb{margin-bottom:25px;font-size:10px}.compare-detail-heading{align-items:flex-start;flex-direction:column;gap:17px}.compare-detail-title-block h1{font-size:36px}.compare-detail-title-block p{font-size:13px}.compare-tool-pair{grid-template-columns:1fr;gap:8px;margin-top:22px}.compare-vs-badge{width:34px;height:34px;font-size:9px;justify-self:center}.compare-tool-identity{grid-template-columns:46px minmax(0,1fr) 20px;padding:12px}.compare-tool-logo{width:46px;height:46px}.compare-tool-logo img{width:32px;height:32px}.compare-tool-identity strong{font-size:14px}.compare-content{padding:25px 0 55px}.compare-summary-card{grid-template-columns:38px minmax(0,1fr);padding:17px;gap:12px}.compare-summary-icon{width:38px;height:38px;border-radius:11px}.compare-summary-card h2{font-size:18px}.compare-section-heading{align-items:flex-start;flex-direction:column;gap:6px;margin:28px 0 13px}.compare-section-heading h2{font-size:21px}.compare-section-heading p{text-align:left;font-size:11px}.compare-table-wrap{display:none}.compare-mobile-specs{display:grid;gap:9px;margin-bottom:25px}.compare-mobile-spec{background:#fff;border:1px solid #e3e7ee;border-radius:14px;padding:13px 14px}.compare-mobile-spec h3{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#64748b;margin:0 0 8px}.compare-mobile-spec>div{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:8px 0;border-top:1px solid #f0f2f5}.compare-mobile-spec>div:first-of-type{border-top:0}.compare-mobile-tool-name{font-size:11px;color:#94a3b8;max-width:45%}.compare-mobile-spec strong{font-size:11px;color:#1e293b;text-align:right;max-width:55%;overflow-wrap:anywhere}.compare-detail-grid,.compare-choice-grid{grid-template-columns:1fr;gap:11px}.compare-detail-card,.compare-choice-card{padding:17px;border-radius:15px}.compare-card-tool-head{margin-bottom:14px}.compare-card-tool-head h2{font-size:15px}.compare-final-cta{align-items:flex-start;flex-direction:column;padding:18px;margin-top:30px}.compare-final-cta .btn{width:100%;justify-content:center}.compare-detail-card li{font-size:12px}}
@media(min-width:769px){.compare-mobile-specs{display:none}}
@media(prefers-reduced-motion:reduce){.compare-pair-card,.compare-tool-identity,.compare-select-card{transition:none}}


/* V0.9.23 — Guest Favorites */
.header-favorites-link{position:relative;display:inline-flex;align-items:center;gap:6px;color:#4b5261;font-size:12px;font-weight:700;white-space:nowrap;text-decoration:none;padding:8px 7px;border-radius:8px}
.header-favorites-link:hover{color:var(--primary);background:var(--primary-soft)}
.header-favorites-link>span:first-child{font-size:19px;line-height:1;font-weight:400}
.header-favorites-link b{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--primary-soft);color:var(--primary);font-size:9px;font-weight:850}
.header-favorites-link b:empty{display:none}
.header-favorites-link b[data-count="0"]{display:none}
.bookmark{width:34px;height:34px;display:grid;place-items:center;padding:0;border:1px solid transparent;border-radius:50%;background:transparent;color:var(--muted);font-size:21px;line-height:1;cursor:pointer;transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease}
.bookmark:hover{background:var(--primary-soft);color:var(--primary);border-color:#ddd6fb}
.bookmark.is-favorited{background:var(--primary-soft);color:var(--primary);border-color:#ddd6fb}
.bookmark:active,.favorite-btn:active{transform:scale(.97)}
.favorite-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px}
.favorite-btn.is-favorited{background:var(--primary-soft);color:var(--primary);border-color:#d9d0fa}
.favorite-btn span[aria-hidden="true"]{font-size:17px;line-height:1}
.mobile-favorites-link b{font-size:10px;margin-left:2px}

.favorites-page{min-height:65vh;background:var(--bg-alt);padding:58px 0 78px}
.favorites-hero{text-align:center;max-width:760px;margin:0 auto 30px}
.favorites-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:10px;font-weight:850;letter-spacing:.14em;color:var(--primary-dark)}
.favorites-eyebrow:before,.favorites-eyebrow:after{content:"";width:20px;height:2px;background:var(--primary);border-radius:99px}
.favorites-hero h1{font-size:clamp(34px,5vw,54px);line-height:1.08;letter-spacing:-.04em;margin:11px 0 12px;color:#101827}
.favorites-hero p{max-width:650px;margin:0 auto;color:#697386;font-size:14px;line-height:1.7}
.favorites-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;max-width:1100px;margin:0 auto 18px;padding:12px 15px;border:1px solid var(--border);border-radius:12px;background:#fff}
.favorites-toolbar strong{font-size:13px;color:var(--text)}
.favorites-clear{border:1px solid var(--border);background:#fff;color:#697386;border-radius:8px;padding:8px 11px;font-size:11px;font-weight:750;cursor:pointer}
.favorites-clear:hover{color:#b42318;border-color:#f0c8c5;background:#fffafa}
.favorites-grid{max-width:1100px;margin:0 auto;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.favorites-grid .tool-card{min-height:260px}
.favorites-loading{display:flex;align-items:center;justify-content:center;gap:9px;min-height:180px;color:var(--muted);font-size:12px}
.favorites-spinner{width:18px;height:18px;border:2px solid var(--border);border-top-color:var(--primary);border-radius:50%;animation:aith-favorite-spin .7s linear infinite}
@keyframes aith-favorite-spin{to{transform:rotate(360deg)}}
.favorites-empty{max-width:560px;margin:35px auto 0;padding:38px 25px;text-align:center;border:1px solid var(--border);border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(30,35,65,.04)}
.favorites-empty-icon{width:58px;height:58px;display:grid;place-items:center;margin:0 auto 14px;border-radius:18px;background:var(--primary-soft);color:var(--primary);font-size:31px}
.favorites-empty h2{font-size:22px;margin:0 0 8px;color:var(--text)}
.favorites-empty p{font-size:12px;line-height:1.7;color:var(--muted);margin:0 auto 18px;max-width:430px}
.favorites-note{max-width:700px;margin:25px auto 0;text-align:center;color:#98a1b2;font-size:10px;line-height:1.6}
@media(max-width:1180px) and (min-width:981px){.header-favorites-label{display:none}.header-favorites-link{padding-inline:5px}.favorites-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.favorites-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.header-favorites-label{display:none}.favorites-page{padding:40px 0 58px}.favorites-hero{margin-bottom:24px}.favorites-hero h1{font-size:38px}.favorites-hero p{font-size:13px}.favorites-toolbar{margin-bottom:13px}.favorites-grid{grid-template-columns:1fr;gap:12px}.favorites-grid .tool-card{min-height:0}.favorites-empty{margin-top:22px;padding:30px 18px}.favorites-note{margin-top:20px}.mobile-nav-actions{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.favorites-spinner{animation:none}.bookmark,.favorite-btn{transition:none}}

/* =========================================================
   V0.9.26 — Guest Favorites extended to AI Prompts
   ========================================================= */
.prompt-card-bookmark{
    appearance:none;
    -webkit-appearance:none;
    padding:0;
    margin:0;
    cursor:pointer;
    font-family:inherit;
    line-height:1;
    transition:transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.prompt-card-bookmark:hover{transform:translateY(-1px);color:var(--primary);border-color:#d8cff8}
.prompt-card-bookmark:focus-visible{outline:3px solid color-mix(in srgb,var(--primary) 25%,transparent);outline-offset:2px}
.prompt-card-bookmark.is-favorited{background:var(--primary-soft);color:var(--primary);border-color:#d8cff8}
.prompt-save-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;border-radius:10px;white-space:nowrap}
.prompt-save-button.is-favorited{background:var(--primary-soft);color:var(--primary);border-color:#d8cff8}
.prompt-save-button span[aria-hidden="true"]{font-size:18px;line-height:1}
.favorites-tabs{max-width:1100px;margin:0 auto 22px;display:flex;justify-content:center;gap:7px;flex-wrap:wrap}
.favorites-tab{appearance:none;border:1px solid var(--border);background:#fff;color:#687386;border-radius:999px;padding:9px 14px;font:700 11px/1 inherit;cursor:pointer;transition:.15s ease}
.favorites-tab b{margin-left:4px;font-size:10px;color:#9aa3b2}
.favorites-tab:hover{border-color:#d6ccfa;color:var(--primary)}
.favorites-tab.is-active{background:var(--primary-soft);border-color:#d8cff8;color:var(--primary)}
.favorites-tab.is-active b{color:var(--primary)}
.favorites-result-group{max-width:1100px;margin:0 auto 34px}
.favorites-result-group[hidden]{display:none}
.favorites-group-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 13px}
.favorites-group-heading h2{margin:0;font-size:20px;line-height:1.25;color:var(--text)}
.favorites-group-heading>span{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:var(--primary-soft);color:var(--primary);font-size:10px;font-weight:800}
.favorites-result-group .favorites-grid{max-width:none;margin:0}
.favorites-result-group .prompt-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.favorites-result-group .prompt-card{min-width:0}
.favorites-empty-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
@media(max-width:900px){
    .favorites-result-group .prompt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
    .favorites-tabs{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding:0 1px 3px;margin-bottom:18px}
    .favorites-tab{white-space:nowrap}
    .favorites-result-group{margin-bottom:26px}
    .favorites-group-heading h2{font-size:18px}
    .favorites-result-group .favorites-grid,
    .favorites-result-group .prompt-grid{grid-template-columns:1fr;gap:12px}
    .favorites-empty-actions{flex-direction:column}
    .favorites-empty-actions .btn{width:100%}
    .prompt-save-button{width:100%}
}


/* V0.9.30 — Favorites tab counts align to the far right on desktop and mobile. */
.favorites-tab b{margin-left:auto}

/* =========================================================
   V0.9.28 — Favorites visual refinement
   Replaces generic pill controls/cards with a clean saved-items workspace.
   ========================================================= */
.favorites-toolbar{padding:14px 18px;border-radius:14px;box-shadow:0 4px 18px rgba(20,30,50,.035)}
.favorites-total-label{display:flex;align-items:center;gap:10px;min-width:0}
.favorites-toolbar-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:#eefaf5;color:#0a9664;font-size:17px;line-height:1}
.favorites-clear{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;color:#e05252;border-radius:8px;padding:7px 4px;font-size:11px;font-weight:800}
.favorites-clear:hover{background:#fff2f1;color:#c83f3f;border-color:transparent}
.favorites-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:4px;border:1px solid var(--border);border-radius:14px;background:#fff;box-shadow:0 4px 18px rgba(20,30,50,.025);overflow:hidden}
.favorites-tab{display:flex;align-items:center;justify-content:flex-start;gap:9px;min-height:44px;border:0;border-radius:10px;background:transparent;color:#5f6b7f;padding:10px 14px;font-size:12px;font-weight:800;text-align:left}
.favorites-tab + .favorites-tab{border-left:1px solid #edf0f4;border-radius:0}
.favorites-tab-icon{font-size:15px;line-height:1;color:#697386}
.favorites-tab b{display:inline-grid;place-items:center;min-width:23px;height:23px;padding:0 6px;margin:0 0 0 auto;border-radius:999px;background:#edf8f3;color:#0a9664;font-size:10px;flex:0 0 auto}
.favorites-tab:hover{background:#f7fbf9;color:#087b55}
.favorites-tab.is-active{background:#effaf5;color:#087b55;box-shadow:inset 0 -2px 0 #0a9664}
.favorites-tab.is-active .favorites-tab-icon{color:#0a9664}
.favorites-group-heading{margin-bottom:14px}
.favorites-group-heading>div{display:flex;align-items:center;gap:9px}
.favorites-group-heading>div>span{display:inline-grid;place-items:center;min-width:23px;height:23px;padding:0 6px;border-radius:999px;background:#edf8f3;color:#0a9664;font-size:10px;font-weight:800}
.favorites-group-heading>a{font-size:11px;color:#0a9664;font-weight:800;text-decoration:none;white-space:nowrap}
.favorites-group-heading>a:hover{text-decoration:underline}
.favorites-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.favorite-item-card{position:relative;min-width:0;padding:20px;border:1px solid #e2e7ec;border-radius:16px;background:#fff;box-shadow:0 5px 20px rgba(20,30,50,.035);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.favorite-item-card:hover{transform:translateY(-2px);border-color:#d7e4df;box-shadow:0 10px 28px rgba(20,30,50,.07)}
.favorite-item-top,.favorite-prompt-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.favorite-item-logo,.favorite-prompt-icon{width:52px;height:52px;flex:0 0 52px;display:grid;place-items:center;border-radius:13px;background:#0ba36d;color:#fff;text-decoration:none;overflow:hidden;font-size:20px;font-weight:800}
.favorite-item-logo img{display:block;width:100%;height:100%;object-fit:cover}
.favorite-remove{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border:1px solid #dbe5e1;border-radius:50%;background:#fff;color:#078b5d;cursor:pointer;font-size:18px;line-height:1;transition:.15s ease}
.favorite-remove:hover{background:#effaf5;border-color:#bfe4d4;transform:scale(1.04)}
.favorite-item-card h3{margin:0 0 8px;font-size:17px;line-height:1.3;letter-spacing:-.015em;overflow-wrap:anywhere}
.favorite-item-card h3 a{color:#182236;text-decoration:none}
.favorite-item-card h3 a:hover{color:var(--primary)}
.favorite-item-category{display:inline-flex;align-items:center;max-width:100%;padding:5px 9px;border-radius:999px;background:#edf8f3;color:#0a9664;font-size:9px;font-weight:800;line-height:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.favorite-item-card p{margin:12px 0 18px;color:#69758a;font-size:12px;line-height:1.65;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;min-height:79px}
.favorite-item-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:13px;border-top:1px solid #edf0f3;color:#667286;font-size:10px;min-width:0}
.favorite-rating{color:#566276;white-space:nowrap}.favorite-rating>span{color:#f3ad24}
.favorite-pricing,.favorite-uses{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right}
.favorite-prompt-card .favorite-prompt-icon{background:linear-gradient(145deg,#7652df,#5530c7)}
.favorite-prompt-card:nth-child(2n) .favorite-prompt-icon{background:linear-gradient(145deg,#0ba36d,#07865b)}
.favorite-prompt-card p{min-height:59px;-webkit-line-clamp:3}
.favorite-prompt-card .favorite-item-footer{margin-top:auto}

@media(max-width:900px){.favorites-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
    .favorites-toolbar{padding:12px 14px}
    .favorites-tabs{grid-template-columns:1fr;padding:4px;gap:3px}
    .favorites-tab{justify-content:flex-start;padding:11px 13px;min-height:42px;border-radius:9px}
    .favorites-tab + .favorites-tab{border-left:0;border-top:1px solid #edf0f4;border-radius:9px}
    .favorites-tab.is-active{box-shadow:inset 3px 0 0 #0a9664}
    .favorites-group-heading{align-items:flex-start}
    .favorites-group-heading>a{display:none}
    .favorites-grid{grid-template-columns:1fr!important;gap:12px}
    .favorite-item-card{padding:16px;border-radius:15px}
    .favorite-item-card h3{font-size:16px}
    .favorite-item-card p{font-size:11px;line-height:1.6;min-height:0}
    .favorite-item-footer{align-items:flex-start;flex-wrap:wrap}
    .favorite-pricing,.favorite-uses{max-width:55%}
}
@media(max-width:360px){
    .favorites-toolbar{gap:8px}.favorites-total-label{gap:7px}.favorites-toolbar strong{font-size:12px}
    .favorites-clear{font-size:10px}.favorite-item-card{padding:14px}.favorite-item-logo,.favorite-prompt-icon{width:48px;height:48px;flex-basis:48px}
}

/* =========================================================
   V0.9.29 — Favorites toolbar + hero alignment refinement
   ========================================================= */
.favorites-hero-icon{width:46px;height:46px;margin:0 auto 14px;display:grid;place-items:center;border:1px solid #d7ebe3;border-radius:50%;background:#fff;color:#0a9664;box-shadow:0 6px 18px rgba(20,30,50,.04)}
.favorites-hero-icon svg{width:22px;height:22px;display:block}
.favorites-toolbar{align-items:center}
.favorites-total-label{flex:1;min-width:0}
.favorites-toolbar-icon{width:32px;height:32px;border-radius:9px}
.favorites-toolbar-icon svg{width:17px;height:17px;display:block}
.favorites-clear{flex:0 0 auto;min-height:34px;padding:0 2px 0 16px;border-left:1px solid #e7ece9;border-radius:0;white-space:nowrap}
.favorites-clear svg{width:16px;height:16px;display:block}
.favorites-clear span{display:inline-block}
.favorites-clear:hover{background:transparent;color:#c83f3f;text-decoration:underline;text-underline-offset:3px}
@media(max-width:600px){
    .favorites-hero-icon{width:42px;height:42px;margin-bottom:12px}
    .favorites-hero-icon svg{width:20px;height:20px}
    .favorites-toolbar{flex-direction:row!important;align-items:center!important;gap:10px!important;padding:12px 13px!important}
    .favorites-total-label{flex:1 1 auto;min-width:0}
    .favorites-clear{width:auto!important;flex:0 0 auto!important;min-height:34px;padding:0 2px 0 13px!important;border-left:1px solid #e7ece9!important}
}
@media(max-width:360px){
    .favorites-toolbar{gap:7px!important;padding:11px 12px!important}
    .favorites-toolbar strong{font-size:12px}
    .favorites-clear{font-size:10px;padding-left:10px!important}
    .favorites-toolbar-icon{width:30px;height:30px}
}


/* =========================================================
   V0.9.32 — Favorites search width alignment
   Keep the search field on the same content axis/width as the
   saved-items toolbar and filter tabs on desktop and mobile.
   ========================================================= */
.favorites-toolbar,
.favorites-search,
.favorites-tabs{
    width:100%;
    max-width:1100px;
    margin-left:auto;
    margin-right:auto;
    box-sizing:border-box;
}

/* =========================================================
   V0.9.31 — Saved Prompts UX + Favorites search
   ========================================================= */
.favorites-search{display:flex;align-items:center;gap:10px;margin:0 0 16px;padding:0 10px 0 14px;min-height:46px;border:1px solid #dfe6e3;border-radius:14px;background:#fff;box-shadow:0 4px 18px rgba(20,30,50,.025)}
.favorites-search:focus-within{border-color:#9ed8c1;box-shadow:0 0 0 3px rgba(10,150,100,.08)}
.favorites-search-icon{display:grid;place-items:center;flex:0 0 20px;color:#758195}.favorites-search-icon svg{width:18px;height:18px;display:block}
.favorites-search input{min-width:0;flex:1;border:0!important;outline:0!important;background:transparent!important;padding:12px 0!important;color:#263247;font-size:13px}
.favorites-search input::placeholder{color:#8993a5}
.favorites-search-clear{display:grid;place-items:center;width:28px;height:28px;border:0;border-radius:50%;background:#f0f7f4;color:#078b5d;font-size:18px;line-height:1;cursor:pointer}
.favorites-search-clear:hover{background:#e4f4ed}
.favorites-search-empty{padding:34px 20px;margin-top:4px;border:1px dashed #d8e5df;border-radius:16px;background:#fbfefd;text-align:center}.favorites-search-empty[hidden]{display:none!important}
.favorites-search-empty h2{margin:10px 0 6px;font-size:20px;color:#263247}.favorites-search-empty p{margin:0;color:#758195;font-size:12px}
.favorite-prompt-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 13px;min-width:0}
.favorite-copy-prompt{display:inline-flex;align-items:center;gap:6px;min-width:0;padding:7px 9px;border:1px solid #dce8e3;border-radius:9px;background:#f8fcfa;color:#087b55;font-size:10px;font-weight:800;cursor:pointer}.favorite-copy-prompt svg{width:14px;height:14px;display:block;flex:0 0 auto}.favorite-copy-prompt:hover,.favorite-copy-prompt.is-copied{background:#effaf5;border-color:#bfe4d4}
.favorite-open-prompt{font-size:10px;font-weight:800;color:#0a9664;text-decoration:none;white-space:nowrap}.favorite-open-prompt:hover{text-decoration:underline;text-underline-offset:3px}
.favorite-item-card[hidden]{display:none!important}
@media(max-width:600px){.favorites-search{margin-bottom:12px;min-height:44px;padding-left:12px}.favorites-search input{font-size:12px}.favorite-prompt-actions{gap:8px}.favorite-copy-prompt{padding:7px 8px;font-size:9px}.favorite-open-prompt{font-size:9px}}
@media(max-width:360px){.favorites-search{min-height:42px}.favorite-copy-prompt span{display:none}.favorite-copy-prompt{width:31px;height:31px;justify-content:center;padding:0}.favorite-open-prompt{font-size:9px}}

/* =========================================================
   V0.9.35 — Favorites controls shared alignment axis
   ========================================================= */
.favorites-controls{width:100%;max-width:1100px;margin:0 auto;}
.favorites-controls .favorites-toolbar,
.favorites-controls .favorites-search,
.favorites-controls .favorites-tabs{width:100%;max-width:none;margin-left:0;margin-right:0;box-sizing:border-box;}
@media(max-width:600px){.favorites-controls{width:100%;max-width:100%;}.favorites-controls .favorites-toolbar,.favorites-controls .favorites-search,.favorites-controls .favorites-tabs{width:100%;}}

/* =========================================================
   V0.9.35 — Community Reviews & Ratings
   ========================================================= */
.aith-reviews-section{margin-top:30px}.aith-reviews-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:20px}.aith-review-kicker{display:block;font-size:10px;letter-spacing:.15em;font-weight:850;color:#078b5d;margin-bottom:7px}.aith-reviews-heading h2{margin:0 0 6px;color:#202a3f}.aith-reviews-heading p{margin:0;color:#758195;font-size:12px;line-height:1.6}.aith-review-summary{display:grid;grid-template-columns:220px minmax(0,1fr);gap:26px;padding:22px;border:1px solid #e2e8e5;border-radius:16px;background:#fff;box-shadow:0 10px 28px rgba(20,30,50,.035)}.aith-review-score{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.aith-review-score>strong{font-size:40px;line-height:1;letter-spacing:-.04em;color:#172235}.aith-review-score>span:last-child{font-size:11px;color:#778195}.aith-review-stars{display:inline-flex;gap:2px;line-height:1;color:#dfe5e2}.aith-review-stars span.is-filled{color:#f2ad24}.aith-review-summary-stars{font-size:17px}.aith-review-breakdown{display:flex;flex-direction:column;justify-content:center;gap:8px}.aith-review-bar{display:grid;grid-template-columns:38px minmax(0,1fr) 24px;align-items:center;gap:9px;font-size:10px;color:#697386}.aith-review-bar i{display:block;height:7px;border-radius:99px;background:#edf2ef;overflow:hidden}.aith-review-bar i b{display:block;height:100%;border-radius:99px;background:#1aa36e}.aith-review-bar small{text-align:right;font-size:10px;color:#8b95a5}.aith-review-form-wrap{margin-top:16px}.aith-review-form-wrap[hidden]{display:none!important}.aith-review-form{padding:22px;border:1px solid #dfe8e3;border-radius:16px;background:#fbfefd}.aith-review-form-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:15px}.aith-review-form-head strong{display:block;color:#202a3f;font-size:17px}.aith-review-form-head span{display:block;margin-top:4px;color:#778195;font-size:11px}.aith-review-close{width:30px;height:30px;border:1px solid #dfe7e3;border-radius:50%;background:#fff;color:#697386;font-size:20px;line-height:1;cursor:pointer}.aith-review-stars-input{display:flex;gap:4px;margin:4px 0 18px}.aith-review-stars-input button{width:38px;height:38px;padding:0;border:1px solid #dfe6e3;border-radius:10px;background:#fff;color:#d7dedb;font-size:22px;cursor:pointer;transition:.16s ease}.aith-review-stars-input button:hover,.aith-review-stars-input button.is-selected{color:#f2ad24;border-color:#f1d18a;background:#fffaf0}.aith-review-field{display:block;margin:0 0 13px}.aith-review-field>span{display:block;margin-bottom:6px;color:#364154;font-size:11px;font-weight:800}.aith-review-field em{font-style:normal;color:#98a1b0;font-weight:500}.aith-review-field textarea,.aith-review-field input{display:block;width:100%;box-sizing:border-box;border:1px solid #dfe6e3;border-radius:10px;background:#fff;padding:11px 12px;color:#263247;font:inherit;font-size:12px;outline:none}.aith-review-field textarea{resize:vertical;min-height:110px}.aith-review-field textarea:focus,.aith-review-field input:focus{border-color:#8ccfb2;box-shadow:0 0 0 3px rgba(10,150,100,.07)}.aith-review-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important}.aith-review-form-status{min-height:18px;margin:5px 0 10px;font-size:11px;line-height:1.5}.aith-review-form-status.is-error{color:#b42318}.aith-review-form-status.is-success{color:#087b55}.aith-review-list{margin-top:18px;display:grid;gap:12px}.aith-review-item{padding:18px 20px;border:1px solid #e3e8e5;border-radius:14px;background:#fff}.aith-review-item-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.aith-review-item-head>div{display:flex;align-items:center;gap:11px;min-width:0}.aith-review-item-head strong{font-size:12px;color:#293249}.aith-review-item-head time{font-size:10px;color:#98a1b0;white-space:nowrap}.aith-review-item p{margin:10px 0 0;color:#59657a;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.aith-review-empty{text-align:center;padding:28px 20px;border:1px dashed #d9e5df;border-radius:14px;background:#fbfefd}.aith-review-empty>span{display:grid;place-items:center;width:44px;height:44px;margin:0 auto 10px;border-radius:14px;background:#edf8f3;color:#e7a51e}.aith-review-empty strong{display:block;color:#293249;font-size:14px}.aith-review-empty p{margin:5px 0 14px;color:#7b8597;font-size:11px}.aith-review-empty .btn{font-size:11px}
@media(max-width:700px){.aith-reviews-heading{align-items:flex-start;flex-direction:column}.aith-reviews-heading .btn{width:100%}.aith-review-summary{grid-template-columns:1fr;gap:20px;padding:18px}.aith-review-score{align-items:center;text-align:center}.aith-review-bar{grid-template-columns:34px minmax(0,1fr) 22px}.aith-review-form{padding:18px}.aith-review-stars-input button{width:42px;height:42px}.aith-review-item{padding:16px}.aith-review-item-head{align-items:flex-start;flex-direction:column}.aith-review-item-head time{white-space:normal}.aith-review-item-head>div{width:100%;justify-content:space-between}.aith-review-item-head>div strong{margin-left:auto}}
@media(max-width:380px){.aith-review-summary{padding:15px}.aith-review-stars-input{gap:3px}.aith-review-stars-input button{width:38px;height:38px}.aith-review-form,.aith-review-item{padding:14px}}
.aith-review-summary-empty{display:flex;flex-direction:column;gap:5px;padding:3px 0}.aith-review-summary-empty strong{font-size:15px;color:#293249}.aith-review-summary-empty small{font-size:10px;color:#7a8498}

/* =========================================================
   v0.9.36 — PAID TOOL SUBMISSION EXPERIENCE
   SuperProfile-powered manual payment verification workflow.
   ========================================================= */
.aith-submit-hero{position:relative;overflow:hidden;padding:68px 0 56px;text-align:center;background:radial-gradient(circle at 80% 5%,rgba(116,76,223,.14),transparent 28%),linear-gradient(135deg,#fbfaff 0%,#f4f0ff 55%,#fbfaff 100%);border-bottom:1px solid #e7e2f2}.aith-submit-hero .aith-container{position:relative;z-index:1}.aith-submit-hero .eyebrow,.aith-submit-kicker{display:inline-flex;color:#6346bd;font-size:10px;font-weight:800;letter-spacing:.16em}.aith-submit-hero h1{margin:11px auto 13px;font-size:clamp(40px,5vw,64px);line-height:1.03;letter-spacing:-.05em;color:#20293d}.aith-submit-hero h1 span{color:var(--primary)}.aith-submit-hero p{max-width:700px;margin:0 auto;color:#69748a;font-size:16px;line-height:1.7}.aith-submit-trust{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:23px}.aith-submit-trust span{padding:8px 12px;border:1px solid #e1dcef;border-radius:999px;background:rgba(255,255,255,.8);color:#667189;font-size:11px;font-weight:700}.aith-submit-page{padding:45px 0 80px;background:#fff}.aith-submit-intro{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}.aith-submit-intro h2,.aith-submit-form-head h2,.aith-payment-main h2,.aith-payment-proof-form h2{margin:7px 0 8px;color:#253047;font-size:30px;letter-spacing:-.025em}.aith-submit-intro p,.aith-submit-form-head p,.aith-payment-main>p,.aith-payment-proof-form>div>p{margin:0;color:#707b90;line-height:1.65;font-size:13px}.aith-plans-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}.aith-plan-card{position:relative;overflow:hidden;border:1px solid #e2e5ed;border-radius:20px;background:#fff;box-shadow:0 12px 35px rgba(31,38,64,.06);transition:transform .2s ease,box-shadow .2s ease}.aith-plan-card:hover{transform:translateY(-4px);box-shadow:0 22px 48px rgba(31,38,64,.11)}.aith-plan-discount{position:absolute;z-index:2;right:14px;top:14px;background:#ff4e78;color:#fff;border-radius:7px;padding:6px 9px;font-size:10px;font-weight:900;letter-spacing:.03em}.aith-plan-cover{aspect-ratio:16/9;overflow:hidden;background:#f3f1fa}.aith-plan-cover img{display:block;width:100%;height:100%;object-fit:cover}.aith-plan-card-body{padding:22px}.aith-plan-card-body h2{margin:0 0 9px;color:#172137;font-size:22px;letter-spacing:-.025em}.aith-plan-price{display:flex;align-items:baseline;gap:8px;min-height:40px}.aith-plan-price del{color:#7b8495;font-size:15px}.aith-plan-price strong{font-size:34px;line-height:1;color:var(--primary)}.aith-plan-onetime{display:block;margin-top:6px;color:#69748a;font-size:11px}.aith-plan-card-body>p{min-height:66px;margin:15px 0;color:#5f6b82;font-size:13px;line-height:1.65}.aith-plan-card-body ul{display:grid;gap:8px;list-style:none;padding:15px;margin:0 0 18px;border-radius:13px;background:#f8f9fb}.aith-plan-card-body li{position:relative;padding-left:23px;color:#455168;font-size:12px;line-height:1.4}.aith-plan-card-body li:before{content:'✓';position:absolute;left:0;color:#13a36e;font-weight:900}.aith-plan-featured .aith-plan-price strong{color:#1677c8}.aith-plan-sponsored .aith-plan-price strong{color:#6d28d9}.aith-plan-featured .aith-plan-card-body li:before{color:#1677c8}.aith-plan-sponsored .aith-plan-card-body li:before{color:#6d28d9}.aith-plan-select{width:100%;min-height:50px;border-radius:10px}.aith-plan-secure{display:block;text-align:center;margin-top:11px;color:#7a8495;font-size:10px}.aith-submit-policy{margin:20px 0 0;padding:15px 17px;border:1px solid #e5e0f1;border-radius:12px;background:#faf9ff;color:#68738a;font-size:11px;line-height:1.65}.aith-submit-policy strong{color:#4e3a98}.aith-submit-form-shell{margin-top:34px;border:1px solid #e1e4ec;border-radius:20px;background:#fff;box-shadow:0 15px 40px rgba(29,36,60,.06);overflow:hidden}.aith-submit-form-shell[hidden]{display:none}.aith-submit-form-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:26px 28px;border-bottom:1px solid #edf0f4;background:#fcfcfe}.aith-submit-back{border:0;background:transparent;color:#5b43a7;font-size:12px;font-weight:700;cursor:pointer;padding:8px 0}.aith-selected-plan{align-self:center;border:1px solid #ddd6f4;background:#f5f1ff;color:#5d42ad;border-radius:999px;padding:8px 11px;font-size:11px;font-weight:800;white-space:nowrap}.aith-submit-tool-form{padding:28px}.aith-submit-section-title{display:flex;gap:13px;align-items:flex-start;margin:3px 0 18px}.aith-submit-section-title>span{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:#f0ecff;color:#6045b1;font-size:10px;font-weight:900}.aith-submit-section-title h3{margin:0;color:#29334a;font-size:17px}.aith-submit-section-title p{margin:4px 0 0;color:#7a8496;font-size:11px}.aith-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:30px}.aith-form-grid label{display:block;color:#3e495f;font-size:12px;font-weight:700}.aith-form-grid label b{color:#d43f5c}.aith-form-grid input,.aith-form-grid textarea,.aith-form-grid select{display:block;width:100%;margin-top:7px;border:1px solid #dfe3eb;border-radius:10px;background:#fff;color:#273249;padding:12px 13px;box-shadow:none;font:inherit;font-weight:400;box-sizing:border-box}.aith-form-grid textarea{resize:vertical;line-height:1.55}.aith-form-grid input:focus,.aith-form-grid textarea:focus,.aith-form-grid select:focus{outline:0;border-color:#9a85df;box-shadow:0 0 0 3px rgba(91,53,200,.08)}.aith-field-full{grid-column:1/-1}.aith-form-grid label small{display:block;margin-top:6px;color:#7d8797;font-weight:400}.aith-form-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}.aith-submit-consent{display:flex;align-items:flex-start;gap:9px;margin:0 0 19px;color:#69748a;font-size:11px;line-height:1.55}.aith-submit-consent input{margin-top:2px}.aith-submit-alert{margin:0 0 20px;padding:13px 15px;border-radius:10px;font-size:12px;line-height:1.55}.aith-submit-error{background:#fff1f3;border:1px solid #f4d5dc;color:#a43c52}.aith-submit-success{background:#ecfaf3;border:1px solid #cceedd;color:#14754f}.aith-payment-shell{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px;align-items:start}.aith-payment-main,.aith-payment-proof-card,.aith-payment-proof-form{border:1px solid #e1e4ec;border-radius:18px;background:#fff;box-shadow:0 12px 32px rgba(31,38,64,.05)}.aith-payment-main{padding:30px}.aith-submission-id{display:flex;align-items:center;gap:10px;margin:22px 0;padding:14px 15px;border:1px dashed #d7d1eb;border-radius:12px;background:#faf9ff}.aith-submission-id small{font-size:9px;letter-spacing:.1em;font-weight:800;color:#7b8497}.aith-submission-id strong{color:#49368f;font-size:13px;letter-spacing:.04em}.aith-submission-id button{margin-left:auto;border:1px solid #ddd8ea;background:#fff;border-radius:7px;padding:6px 9px;color:#5b43a6;font-size:10px;font-weight:700;cursor:pointer}.aith-payment-plan{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:18px;border:1px solid #e7e8ee;border-radius:13px;margin-bottom:18px}.aith-payment-plan>div{display:flex;flex-direction:column;gap:4px}.aith-payment-plan span{color:#7c8596;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.aith-payment-plan strong{color:#263047;font-size:15px}.aith-payment-amount{text-align:right}.aith-payment-amount strong{font-size:25px;color:var(--primary)}.aith-payment-amount del{font-size:11px;color:#8a91a0;margin-left:6px}.aith-superprofile-pay{width:100%;text-align:center}.aith-payment-note{font-size:11px!important;margin-top:10px!important;color:#7a8495!important}.aith-payment-proof-card{padding:24px}.aith-payment-proof-card .aith-proof-number{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:#f0ecff;color:#6045b1;font-size:10px;font-weight:900}.aith-payment-proof-card h3{margin:8px 0 4px;color:#283249;font-size:15px}.aith-payment-proof-card p{margin:0 0 20px;color:#747e91;font-size:11px;line-height:1.55}.aith-i-paid{width:100%;margin-top:2px}.aith-payment-proof-form{display:grid;grid-template-columns:.8fr 1.2fr;gap:28px;margin-top:24px;padding:28px}.aith-payment-proof-form form{min-width:0}.aith-payment-proof-form:not(.is-visible){display:none}.aith-payment-complete{max-width:720px;margin:20px auto;text-align:center;border:1px solid #e1e5ec;border-radius:22px;padding:54px 30px;background:#fff;box-shadow:0 15px 45px rgba(31,38,64,.07)}.aith-complete-icon{width:66px;height:66px;display:grid;place-items:center;margin:0 auto 20px;border-radius:50%;background:#eaf9f1;color:#0a9a64;font-size:28px;font-weight:900}.aith-payment-complete h1{margin:9px 0 12px;color:#202a40;font-size:36px}.aith-payment-complete>p{max-width:580px;margin:0 auto 20px;color:#6e788c;line-height:1.7}.aith-payment-complete .aith-submission-id{justify-content:center;max-width:360px;margin:20px auto}.aith-payment-complete .aith-submission-id button{display:none}
@media(max-width:1050px){.aith-plans-grid{grid-template-columns:1fr;max-width:620px;margin:0 auto}.aith-plan-card-body>p{min-height:0}.aith-payment-shell{grid-template-columns:1fr}.aith-payment-proof-card{display:grid;grid-template-columns:28px 1fr;column-gap:10px;align-items:start}.aith-payment-proof-card p{margin-bottom:10px}.aith-payment-proof-card .aith-i-paid{grid-column:1/-1;margin-top:10px}.aith-payment-proof-form{grid-template-columns:1fr}}
@media(max-width:700px){.aith-submit-hero{padding:45px 0 38px}.aith-submit-hero h1{font-size:42px}.aith-submit-hero p{font-size:14px}.aith-submit-trust{gap:7px}.aith-submit-trust span{font-size:10px;padding:7px 9px}.aith-submit-page{padding-top:30px}.aith-submit-intro h2{font-size:24px}.aith-submit-form-head{display:block;padding:21px}.aith-selected-plan{display:inline-flex;margin-top:12px}.aith-submit-tool-form{padding:21px}.aith-form-grid{grid-template-columns:1fr;gap:13px;margin-bottom:24px}.aith-field-full{grid-column:auto}.aith-payment-main,.aith-payment-proof-form{padding:21px}.aith-payment-plan{align-items:flex-start;flex-direction:column}.aith-payment-amount{text-align:left}.aith-payment-complete{padding:42px 20px}.aith-payment-complete h1{font-size:30px}}

/* v0.9.37 — submission policy terms are editable from Submission Plans admin */
.aith-submit-policy ul{margin:8px 0 0 18px;padding:0}.aith-submit-policy li{margin:5px 0;color:inherit}
.aith-payment-complete-confirmation-form{margin-top:20px;padding:17px;border:1px solid #e3e5ec;border-radius:13px;background:#fafbfe}.aith-payment-complete-confirmation-form .aith-submit-consent{margin-bottom:14px}.aith-payment-email-reminder{margin-top:16px;padding:12px 14px;border:1px solid #dce9ff;background:#f4f8ff;border-radius:10px;color:#536078;font-size:11px;line-height:1.55}.aith-payment-email-reminder strong{color:#263b65}

/* v0.9.42 — Complete customer submission form aligned to the AI Tool editor */
.aith-submit-form-progress{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:0 0 28px;padding:11px 12px;border:1px solid #e8e4f4;border-radius:12px;background:#fbfaff}.aith-submit-form-progress span{padding:7px 10px;border-radius:999px;color:#7a8497;background:#f3f4f7;font-size:10px;font-weight:800}.aith-submit-form-progress span.is-active{color:#5c43a8;background:#eee8ff}.aith-form-grid label small{font-size:10px}.aith-submit-tool-form .aith-submit-section-title{scroll-margin-top:20px}.aith-submit-tool-form input[type="url"]{font-size:12px}.aith-submit-tool-form textarea{min-height:86px}.aith-submit-tool-form .aith-field-full textarea[name="tool_description"]{min-height:170px}.aith-submit-tool-form .aith-submit-consent{padding:8px 0}.aith-submit-tool-form .aith-submit-consent + .aith-submit-consent{border-top:1px solid #f0f1f4}.aith-submit-tool-form .aith-submit-create{margin-top:8px;min-width:230px}.aith-detail-field a{overflow-wrap:anywhere}.aith-detail-review-preview{margin-top:24px}
@media(max-width:700px){.aith-submit-form-progress{gap:5px}.aith-submit-form-progress span{font-size:9px;padding:6px 8px}.aith-submit-tool-form .aith-submit-create{width:100%;min-width:0}.aith-submit-tool-form .aith-field-full textarea[name="tool_description"]{min-height:145px}}

/* v0.9.43 taxonomy-backed submission selectors */
.aith-taxonomy-field{display:block;min-width:0}.aith-taxonomy-field>label:first-child{font-weight:700}.aith-taxonomy-help{display:block;margin-top:4px;color:#7b8597;font-size:10px;font-weight:400;line-height:1.45}.aith-taxonomy-search{margin-top:7px!important;margin-bottom:7px!important}.aith-taxonomy-field select[multiple]{min-height:132px;padding:7px 8px;line-height:1.5}.aith-taxonomy-field select[multiple] option{padding:6px 8px;border-radius:6px}.aith-taxonomy-selection-note{display:block;margin-top:6px;color:#7d8797;font-size:10px;font-weight:400}.aith-taxonomy-suggestion{display:block;margin-top:10px!important;padding-top:10px;border-top:1px dashed #e7e9ef;font-weight:600!important}.aith-taxonomy-empty{margin-top:7px;padding:10px 12px;border:1px dashed #dfe3eb;border-radius:9px;background:#fafbfc;color:#7a8496;font-size:11px;font-weight:400}.aith-taxonomy-suggestion-admin{padding:10px 12px;border:1px dashed #dfe3eb;border-radius:10px;background:#fafbfc}.aith-taxonomy-suggestion-admin small{display:block;margin-top:7px;color:#7a8496;font-size:10px;line-height:1.5;font-weight:400}

/* V0.9.44 — submission form UX and responsive polish */
.aith-submit-page{background:linear-gradient(180deg,#fff 0%,#fbfcfe 100%)}
.aith-submit-form-shell{max-width:1120px;margin-left:auto;margin-right:auto;border-radius:24px;box-shadow:0 18px 55px rgba(29,36,60,.08)}
.aith-submit-form-head{padding:24px 30px;background:linear-gradient(180deg,#ffffff 0%,#fbfaff 100%);position:relative}
.aith-submit-form-head>div{flex:1;min-width:0;text-align:center}
.aith-submit-form-head .aith-submit-back{position:absolute;left:30px;top:28px}
.aith-selected-plan{position:absolute;right:30px;top:28px}
.aith-submit-tool-form{padding:30px}
.aith-submit-form-progress{position:sticky;top:72px;z-index:8;display:flex;justify-content:center;gap:6px;margin:0 -4px 30px;padding:10px;border:1px solid #e7e3f3;border-radius:14px;background:rgba(251,250,255,.94);box-shadow:0 8px 24px rgba(41,34,80,.05);backdrop-filter:blur(10px)}
.aith-submit-form-progress span{padding:8px 12px;font-size:10px;white-space:nowrap}
.aith-submit-form-progress span.is-active{box-shadow:inset 0 0 0 1px #ddd3f7}
.aith-submit-section-title{margin:34px 0 16px;padding:0 0 13px;border-bottom:1px solid #edf0f5;align-items:center}
.aith-submit-section-title:first-of-type{margin-top:0}
.aith-submit-section-title>span{width:34px;height:34px;border-radius:10px;box-shadow:0 3px 10px rgba(96,69,177,.10)}
.aith-submit-section-title h3{font-size:18px;letter-spacing:-.015em}
.aith-submit-section-title p{font-size:11px}
.aith-form-grid{gap:18px 20px;margin-bottom:34px}
.aith-form-grid label{font-size:12px}
.aith-form-grid input,.aith-form-grid textarea,.aith-form-grid select{min-height:46px;border-color:#dce1ea;border-radius:11px;padding:12px 13px;transition:border-color .15s,box-shadow .15s,background .15s}
.aith-form-grid textarea{min-height:110px}
.aith-form-grid label small{font-size:10px;line-height:1.5}
.aith-form-grid label:focus-within{color:#4d3a91}
.aith-form-grid input:focus,.aith-form-grid textarea:focus,.aith-form-grid select:focus{border-color:#8c76d4;box-shadow:0 0 0 4px rgba(91,53,200,.08)}
.aith-taxonomy-field{min-width:0}
.aith-taxonomy-label-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.aith-taxonomy-label-row label{margin:0!important;color:#3e495f;font-size:12px;font-weight:700}
.aith-taxonomy-count{flex:0 0 auto;padding:4px 8px;border-radius:999px;background:#f1effa;color:#6045b1;font-size:9px;font-weight:800}
.aith-taxonomy-help{display:block;margin:5px 0 8px;color:#7b8596;font-size:10px;line-height:1.45;font-weight:400}
.aith-taxonomy-picker{border:1px solid #dfe3eb;border-radius:12px;background:#fff;overflow:hidden}
.aith-taxonomy-search-wrap{display:flex;align-items:center;gap:7px;padding:8px 10px;border-bottom:1px solid #edf0f4;background:#fafbfc;color:#8b93a2}
.aith-taxonomy-search-wrap>span{font-size:17px;line-height:1}
.aith-taxonomy-search{width:100%;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;margin:0!important;min-height:34px!important;padding:5px 2px!important;font-size:11px!important}
.aith-taxonomy-options{display:grid;grid-template-columns:1fr 1fr;max-height:180px;overflow:auto;padding:7px}
.aith-taxonomy-option{display:flex;align-items:center;gap:8px;padding:8px 9px;border-radius:8px;color:#4a556a!important;font-size:11px!important;font-weight:500!important;cursor:pointer;transition:background .12s}
.aith-taxonomy-option:hover{background:#f7f5fd}
.aith-taxonomy-option input{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;min-height:1px!important;margin:0!important}
.aith-taxonomy-check{width:16px;height:16px;flex:0 0 16px;display:grid;place-items:center;border:1px solid #cbd1dc;border-radius:5px;background:#fff;color:transparent;font-size:10px;font-weight:900}
.aith-taxonomy-option input:checked + .aith-taxonomy-check{background:#6045b1;border-color:#6045b1;color:#fff}
.aith-taxonomy-option input:focus-visible + .aith-taxonomy-check{box-shadow:0 0 0 3px rgba(96,69,177,.15)}
.aith-taxonomy-option-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.aith-taxonomy-picker-foot{padding:7px 10px;border-top:1px solid #edf0f4;color:#8992a1;font-size:9px;background:#fafbfc}
.aith-taxonomy-empty-filter{padding:16px 10px;text-align:center;color:#7e8798;font-size:10px}
.aith-taxonomy-suggestion{display:block;margin-top:9px!important;padding:10px 11px;border:1px dashed #ddd8eb;border-radius:10px;background:#fbfaff;color:#5f4b98!important;font-size:10px!important;font-weight:700!important}
.aith-taxonomy-suggestion .aith-taxonomy-help{margin:2px 0 6px;color:#858e9f}
.aith-taxonomy-suggestion input{background:#fff!important;min-height:40px!important;font-size:11px!important}
.aith-submit-consent{padding:9px 10px!important;border:1px solid #edf0f4;border-radius:10px;background:#fbfcfd;margin-bottom:10px!important}
.aith-submit-tool-form .aith-submit-create{display:block;width:100%;max-width:340px;margin:18px auto 0;min-height:50px;border-radius:11px}
@media (max-width:900px){
  .aith-submit-form-head{padding:22px 22px 62px}
  .aith-submit-form-head>div{text-align:left}
  .aith-submit-form-head .aith-submit-back{left:22px;top:18px}
  .aith-submit-form-head>div{padding-top:28px}
  .aith-selected-plan{right:22px;bottom:20px;top:auto}
  .aith-submit-tool-form{padding:22px}
  .aith-submit-form-progress{top:64px;justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}
  .aith-submit-form-progress::-webkit-scrollbar{display:none}
  .aith-form-grid{gap:15px;margin-bottom:28px}
}
@media (max-width:640px){
  .aith-submit-hero{padding:38px 0 32px}
  .aith-submit-hero h1{font-size:34px}
  .aith-submit-hero p{font-size:13px;line-height:1.6}
  .aith-submit-trust{justify-content:flex-start}
  .aith-submit-trust span{font-size:9px}
  .aith-submit-page{padding:24px 0 55px}
  .aith-submit-intro{margin-bottom:16px}
  .aith-submit-intro h2{font-size:22px}
  .aith-plans-grid{grid-template-columns:1fr;gap:14px}
  .aith-plan-card{border-radius:16px}
  .aith-plan-card-body{padding:17px}
  .aith-plan-card-body h2{font-size:19px}
  .aith-plan-price strong{font-size:29px}
  .aith-submit-policy{font-size:10px;margin-top:14px}
  .aith-submit-form-shell{margin-top:22px;border-radius:16px}
  .aith-submit-form-head{padding:18px 17px 60px}
  .aith-submit-form-head .aith-submit-back{left:17px;top:15px;font-size:11px}
  .aith-submit-form-head>div{padding-top:26px}
  .aith-submit-form-head h2{font-size:22px}
  .aith-submit-form-head p{font-size:11px}
  .aith-selected-plan{right:17px;bottom:17px;font-size:9px;padding:7px 9px}
  .aith-submit-tool-form{padding:17px}
  .aith-submit-form-progress{top:58px;margin:0 -2px 23px;padding:8px}
  .aith-submit-form-progress span{font-size:9px;padding:7px 9px}
  .aith-submit-section-title{margin:28px 0 13px;padding-bottom:11px}
  .aith-submit-section-title>span{width:30px;height:30px}
  .aith-submit-section-title h3{font-size:16px}
  .aith-submit-section-title p{font-size:10px}
  .aith-form-grid{grid-template-columns:1fr;gap:12px;margin-bottom:22px}
  .aith-form-grid input,.aith-form-grid textarea,.aith-form-grid select{font-size:13px;min-height:45px}
  .aith-form-grid textarea{min-height:100px}
  .aith-taxonomy-options{grid-template-columns:1fr;max-height:210px}
  .aith-taxonomy-option{padding:9px 8px}
  .aith-submit-consent{font-size:10px;line-height:1.5}
  .aith-submit-tool-form .aith-submit-create{max-width:none}
}

/* V0.9.45 — single-page submission UX: collapsible sections, progress states, draft save and final review */
.aith-submit-collapsible{margin:0 0 10px;border:1px solid #e7e9ef;border-radius:15px;background:#fff;overflow:hidden;scroll-margin-top:115px}
.aith-submit-collapsible.is-open{border-color:#ddd7ef;box-shadow:0 8px 24px rgba(45,37,79,.04)}
.aith-submit-collapsible .aith-submit-section-title{display:grid;grid-template-columns:34px minmax(0,1fr) auto 18px;gap:12px;width:100%;margin:0;padding:16px 17px;border:0;border-bottom:1px solid transparent;background:#fff;text-align:left;cursor:pointer;align-items:center;color:inherit}
.aith-submit-collapsible.is-open .aith-submit-section-title{border-bottom-color:#edf0f5;background:#fcfbff}
.aith-submit-collapsible .aith-submit-section-title>div{min-width:0}
.aith-submit-collapsible .aith-submit-section-title>span:first-child{width:34px;height:34px;margin:0}
.aith-submit-collapsible .aith-submit-section-title h3{margin:0;font-size:16px}
.aith-submit-collapsible .aith-submit-section-title p{margin:3px 0 0}
.aith-submit-collapsible .aith-submit-section-title:focus-visible{outline:3px solid rgba(91,53,200,.16);outline-offset:-3px}
.aith-section-state{justify-self:end;padding:5px 9px;border-radius:999px;background:#f1f3f6;color:#7b8494;font-size:9px;font-weight:800;white-space:nowrap}
.aith-section-state.is-complete{background:#eaf9f2;color:#11825a}
.aith-section-state.is-pending{background:#fff6e8;color:#9a6814}
.aith-section-state.is-optional{background:#f3f4f7;color:#737c8d}
.aith-section-chevron{color:#7e8796;font-size:15px;line-height:1;transition:transform .18s ease}
.aith-submit-collapsible:not(.is-open) .aith-section-chevron{transform:rotate(180deg)}
.aith-submit-collapsible:not(.is-open)>.aith-form-grid{display:none}
.aith-submit-collapsible>.aith-form-grid{padding:20px 18px 4px;margin-bottom:0}
.aith-submit-form-progress button{appearance:none;border:0;cursor:pointer;font:inherit;padding:8px 12px;border-radius:999px;color:#7a8497;background:#f3f4f7;font-size:10px;font-weight:800;white-space:nowrap}
.aith-submit-form-progress button:hover{background:#eceef3;color:#514a68}
.aith-submit-form-progress button.is-active{color:#5c43a8;background:#eee8ff;box-shadow:inset 0 0 0 1px #ddd3f7}
.aith-submit-form-progress button:focus-visible{outline:3px solid rgba(91,53,200,.14);outline-offset:2px}
.aith-submit-action-bar{position:sticky;bottom:14px;z-index:9;display:flex;align-items:center;justify-content:space-between;gap:18px;margin:20px -2px 0;padding:12px 14px;border:1px solid #ddd9ea;border-radius:14px;background:rgba(255,255,255,.96);box-shadow:0 14px 35px rgba(28,32,55,.12);backdrop-filter:blur(10px)}
.aith-submit-action-bar>div{display:flex;flex-direction:column;gap:3px;min-width:0}.aith-submit-action-bar strong{color:#35405a;font-size:11px}.aith-submit-action-bar span{color:#7a8496;font-size:9px}.aith-submit-action-bar .aith-submit-create{width:auto;max-width:none;min-width:205px;margin:0}
.aith-submit-review-panel{margin-top:20px;padding:20px;border:1px solid #dcd7ed;border-radius:16px;background:linear-gradient(180deg,#fcfbff 0%,#fff 100%);scroll-margin-top:115px}.aith-submit-review-panel[hidden]{display:none}
.aith-review-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding-bottom:14px;border-bottom:1px solid #eceaf3}.aith-review-panel-head h3{margin:4px 0 3px;color:#283249;font-size:18px}.aith-review-panel-head p{margin:0;color:#778195;font-size:10px;line-height:1.5}.aith-review-edit{border:1px solid #ddd8ea;border-radius:9px;background:#fff;color:#5b43a7;padding:8px 11px;font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap}.aith-review-edit:hover{background:#f8f5ff}
.aith-review-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:14px}.aith-review-summary-item{padding:11px 12px;border:1px solid #e8e8ef;border-radius:10px;background:#fff;min-width:0}.aith-review-summary-item.is-wide{grid-column:1/-1}.aith-review-summary-item span{display:block;margin-bottom:4px;color:#8a92a1;font-size:8px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.aith-review-summary-item strong{display:block;color:#3e485e;font-size:10px;line-height:1.5;font-weight:600;overflow-wrap:anywhere}.aith-review-panel-note{margin:14px 0;padding:10px 12px;border-radius:10px;background:#f5f7fb;color:#69748a;font-size:10px;line-height:1.55}.aith-submit-confirm{display:block;width:100%;max-width:340px;margin:16px auto 0;min-height:50px}
@media(max-width:700px){
  .aith-submit-collapsible{border-radius:13px;margin-bottom:8px;scroll-margin-top:105px}
  .aith-submit-collapsible .aith-submit-section-title{grid-template-columns:30px minmax(0,1fr) 16px;gap:9px;padding:13px 12px}
  .aith-submit-collapsible .aith-submit-section-title>span:first-child{width:30px;height:30px}
  .aith-submit-collapsible .aith-submit-section-title h3{font-size:14px}.aith-submit-collapsible .aith-submit-section-title p{font-size:9px}
  .aith-section-state{grid-column:2;justify-self:start;margin-top:2px;padding:4px 7px;font-size:8px}.aith-section-chevron{grid-column:3;grid-row:1/3}
  .aith-submit-collapsible>.aith-form-grid{padding:15px 12px 2px}
  .aith-submit-action-bar{bottom:8px;gap:10px;padding:10px;border-radius:12px}.aith-submit-action-bar>div{display:none}.aith-submit-action-bar .aith-submit-create{width:100%;min-width:0;max-width:none}
  .aith-submit-review-panel{padding:15px;border-radius:13px;scroll-margin-top:105px}.aith-review-panel-head{align-items:center}.aith-review-panel-head h3{font-size:16px}.aith-review-panel-head p{font-size:9px}.aith-review-edit{font-size:9px;padding:7px 8px}.aith-review-summary-grid{grid-template-columns:1fr;gap:8px}.aith-review-summary-item.is-wide{grid-column:auto}.aith-submit-confirm{max-width:none}
}

/* =========================================================
   V0.9.46 — Submit Tool responsive hardening
   Final UI pass for desktop, tablet and mobile.
   ========================================================= */
.aith-submit-page,
.aith-submit-page *{box-sizing:border-box}
.aith-submit-page .aith-container{width:min(1180px,calc(100% - 40px));max-width:1180px}
.aith-submit-form-shell,.aith-submit-form-shell *{min-width:0}
.aith-plans-grid{grid-template-columns:repeat(3,minmax(0,1fr));width:100%}
.aith-plan-card{min-width:0}
.aith-plan-card-body h2,.aith-plan-card-body p,.aith-plan-card-body li{overflow-wrap:anywhere}
.aith-submit-form-head{min-width:0}
.aith-submit-form-head>div{min-width:0}
.aith-selected-plan{max-width:100%;overflow:hidden;text-overflow:ellipsis}
.aith-submit-form-progress{max-width:100%;overflow-x:auto;overflow-y:hidden}
.aith-submit-form-progress button{flex:0 0 auto}
.aith-submit-collapsible{min-width:0}
.aith-submit-collapsible .aith-submit-section-title{min-width:0}
.aith-submit-collapsible .aith-submit-section-title>div{overflow:hidden}
.aith-submit-collapsible .aith-submit-section-title h3,
.aith-submit-collapsible .aith-submit-section-title p{overflow-wrap:anywhere}
.aith-form-grid{min-width:0}
.aith-form-grid>label{min-width:0}
.aith-form-grid input,
.aith-form-grid textarea,
.aith-form-grid select{max-width:100%;min-width:0}
.aith-taxonomy-picker{min-width:0;max-width:100%}
.aith-taxonomy-options{min-width:0}
.aith-taxonomy-option{min-width:0}
.aith-taxonomy-option-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.aith-taxonomy-suggestion{min-width:0}
.aith-taxonomy-suggestion input{max-width:100%}
.aith-submit-consent{min-width:0}
.aith-submit-consent span{min-width:0;overflow-wrap:anywhere}
.aith-submit-action-bar{width:100%;max-width:100%;min-width:0}
.aith-submit-action-bar>div{overflow:hidden}
.aith-submit-action-bar strong,.aith-submit-action-bar span{overflow-wrap:anywhere}
.aith-review-panel-head{min-width:0}
.aith-review-panel-head>div{min-width:0}
.aith-review-summary-grid{min-width:0}
.aith-review-summary-item strong{word-break:break-word}
.aith-payment-shell{width:100%;min-width:0}
.aith-payment-main,.aith-payment-proof-card{min-width:0}
.aith-payment-plan{min-width:0}
.aith-payment-plan>div{min-width:0}
.aith-payment-plan strong{overflow-wrap:anywhere}
.aith-payment-email-reminder{overflow-wrap:anywhere}

@media (max-width:1100px){
  .aith-submit-page .aith-container{width:min(100% - 32px,1000px)}
  .aith-plans-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .aith-submit-form-head{padding-left:24px;padding-right:24px}
  .aith-submit-form-head .aith-submit-back{left:24px}
  .aith-submit-tool-form{padding:24px}
}

@media (max-width:900px){
  .aith-submit-page .aith-container{width:min(100% - 28px,760px)}
  .aith-submit-intro{align-items:flex-start}
  .aith-submit-form-head{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:14px;padding:20px 22px}
  .aith-submit-form-head .aith-submit-back{position:static;grid-column:1/-1;grid-row:1;width:max-content;padding:0 0 2px}
  .aith-submit-form-head>div{grid-column:1/-1;grid-row:2;text-align:left;padding:0}
  .aith-selected-plan{grid-column:1/-1;grid-row:3;justify-self:start;align-self:start;margin:0;position:static;white-space:normal}
  .aith-submit-form-progress{top:64px}
  .aith-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .aith-payment-shell{grid-template-columns:1fr}
}

@media (max-width:640px){
  .aith-submit-page .aith-container{width:calc(100% - 24px)}
  .aith-submit-hero .aith-container{width:calc(100% - 24px)}
  .aith-submit-hero h1{font-size:clamp(31px,9vw,38px);line-height:1.06}
  .aith-submit-hero p{max-width:620px}
  .aith-submit-trust{justify-content:center}
  .aith-submit-trust span{text-align:center}
  .aith-submit-intro{display:block}
  .aith-submit-intro h2{line-height:1.2}
  .aith-plans-grid{grid-template-columns:1fr;gap:14px}
  .aith-plan-card-body{padding:18px}
  .aith-plan-card-body>p{min-height:0}
  .aith-plan-card-body ul{padding:13px}
  .aith-submit-form-shell{margin-top:18px;border-radius:15px}
  .aith-submit-form-head{grid-template-columns:1fr;padding:16px 15px;gap:10px}
  .aith-submit-form-head .aith-submit-back{font-size:11px}
  .aith-submit-form-head>div{grid-column:1;grid-row:auto}
  .aith-submit-form-head h2{font-size:21px;line-height:1.2}
  .aith-submit-form-head p{font-size:11px;line-height:1.55}
  .aith-selected-plan{grid-column:1;grid-row:auto;max-width:100%;font-size:9px}
  .aith-submit-tool-form{padding:12px}
  .aith-submit-form-progress{position:sticky;top:54px;margin:0 0 12px;padding:7px;border-radius:11px;justify-content:flex-start;gap:5px}
  .aith-submit-form-progress button{padding:7px 9px;font-size:9px}
  .aith-submit-collapsible{border-radius:12px;margin-bottom:8px}
  .aith-submit-collapsible .aith-submit-section-title{grid-template-columns:30px minmax(0,1fr) 16px;gap:8px;padding:12px 11px}
  .aith-submit-collapsible .aith-submit-section-title>span:first-child{width:30px;height:30px}
  .aith-submit-collapsible .aith-submit-section-title h3{font-size:14px;line-height:1.25}
  .aith-submit-collapsible .aith-submit-section-title p{font-size:9px;line-height:1.4}
  .aith-section-state{grid-column:2;justify-self:start;margin-top:3px;padding:4px 7px;font-size:8px}
  .aith-section-chevron{grid-column:3;grid-row:1/3}
  .aith-submit-collapsible>.aith-form-grid{padding:14px 11px 2px}
  .aith-form-grid{grid-template-columns:1fr;gap:12px;margin-bottom:16px}
  .aith-form-grid input,.aith-form-grid textarea,.aith-form-grid select{width:100%;font-size:16px;min-height:46px;padding:11px 12px}
  .aith-form-grid textarea{min-height:105px}
  .aith-form-grid .aith-field-full textarea[name="tool_description"]{min-height:150px}
  .aith-taxonomy-options{grid-template-columns:1fr;max-height:230px}
  .aith-taxonomy-option{padding:9px 8px}
  .aith-taxonomy-search-wrap{padding:7px 9px}
  .aith-taxonomy-search{font-size:16px!important;min-height:35px!important}
  .aith-taxonomy-suggestion input{font-size:16px!important}
  .aith-submit-consent{font-size:10px;padding:9px 8px!important;gap:8px}
  .aith-submit-consent input{flex:0 0 auto}
  .aith-submit-action-bar{position:sticky;bottom:8px;margin:14px 0 0;padding:8px;gap:8px;border-radius:11px}
  .aith-submit-action-bar .aith-submit-create{min-height:48px;font-size:13px}
  .aith-submit-review-panel{padding:13px;margin-top:14px}
  .aith-review-panel-head{display:flex;align-items:flex-start;gap:8px}
  .aith-review-panel-head>div{min-width:0}
  .aith-review-panel-head h3{font-size:15px}
  .aith-review-edit{flex:0 0 auto}
  .aith-review-summary-grid{grid-template-columns:1fr}
  .aith-submit-confirm{max-width:none;min-height:48px;font-size:13px}
  .aith-payment-main{padding:17px}
  .aith-payment-proof-card{padding:17px}
  .aith-payment-main h2{font-size:23px;line-height:1.2}
  .aith-payment-main>p{font-size:11px}
  .aith-submission-id{flex-wrap:wrap;gap:7px;padding:12px}
  .aith-submission-id strong{font-size:12px;overflow-wrap:anywhere}
  .aith-submission-id button{margin-left:0}
  .aith-payment-plan{padding:14px;gap:12px}
  .aith-payment-amount{text-align:left}
  .aith-payment-amount strong{font-size:23px}
  .aith-superprofile-pay{min-height:48px;font-size:13px}
  .aith-payment-complete{padding:34px 16px}
  .aith-payment-complete h1{font-size:28px;line-height:1.15}
}

@media (max-width:380px){
  .aith-submit-page .aith-container,.aith-submit-hero .aith-container{width:calc(100% - 18px)}
  .aith-submit-tool-form{padding:9px}
  .aith-submit-collapsible .aith-submit-section-title{grid-template-columns:28px minmax(0,1fr) 14px;gap:7px;padding:11px 9px}
  .aith-submit-collapsible .aith-submit-section-title>span:first-child{width:28px;height:28px;font-size:9px}
  .aith-submit-collapsible .aith-submit-section-title h3{font-size:13px}
  .aith-submit-collapsible>.aith-form-grid{padding:12px 9px 1px}
  .aith-taxonomy-option{font-size:10px!important}
  .aith-submit-consent{font-size:9.5px}
}

/* V0.9.47 — Submission section status/chevron alignment fix
   The generic section-title span styling was unintentionally giving the
   status badge and chevron a fixed icon width. Keep only the numbered
   section marker at a fixed size. */
.aith-submit-collapsible .aith-submit-section-title > .aith-section-state{
  width:auto;
  min-width:0;
  max-width:100%;
  height:auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 1 auto;
  margin:0;
  padding:5px 9px;
  border-radius:999px;
  box-shadow:none;
  background:#f1f3f6;
  color:#7b8494;
  font-size:9px;
  line-height:1.2;
  font-weight:800;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.aith-submit-collapsible .aith-submit-section-title > .aith-section-state.is-complete{background:#eaf9f2;color:#11825a}
.aith-submit-collapsible .aith-submit-section-title > .aith-section-state.is-pending{background:#fff6e8;color:#9a6814}
.aith-submit-collapsible .aith-submit-section-title > .aith-section-state.is-optional{background:#f3f4f7;color:#737c8d}
.aith-submit-collapsible .aith-submit-section-title > .aith-section-chevron{
  width:28px;
  height:28px;
  min-width:28px;
  display:grid;
  place-items:center;
  margin:0;
  padding:0;
  border-radius:9px;
  box-shadow:none;
  background:#f0ecff;
  color:#6045b1;
  font-size:12px;
  line-height:1;
  flex:0 0 28px;
}
@media(max-width:700px){
  .aith-submit-collapsible .aith-submit-section-title > .aith-section-state{
    width:max-content;
    max-width:calc(100vw - 150px);
    padding:4px 7px;
    font-size:8px;
  }
  .aith-submit-collapsible .aith-submit-section-title > .aith-section-chevron{
    width:26px;
    height:26px;
    min-width:26px;
    flex-basis:26px;
    border-radius:8px;
    font-size:11px;
  }
}
@media(max-width:380px){
  .aith-submit-collapsible .aith-submit-section-title > .aith-section-state{
    max-width:calc(100vw - 130px);
  }
  .aith-submit-collapsible .aith-submit-section-title > .aith-section-chevron{
    width:24px;
    height:24px;
    min-width:24px;
    flex-basis:24px;
  }
}

/* =========================================================
   V0.9.49 — Tool status badges/card layout hardening
   Keep status badges in their own flow row so they never overlap
   the logo, title, favorite control, or card edge.
   ========================================================= */
.tool-card-top-actions{display:flex;align-items:flex-start;justify-content:flex-end;min-width:42px;}
.tool-card-top-actions .bookmark{margin:0;}
.aith-card-status-row{display:flex;align-items:flex-start;min-width:0;margin:10px 0 0;}
.aith-status-badges{display:flex;align-items:center;justify-content:flex-start;gap:5px;flex-wrap:wrap;min-width:0;max-width:100%;}
.aith-status-badges-card{justify-content:flex-start;}
.aith-status-badge{display:inline-flex;align-items:center;justify-content:center;min-height:22px;padding:4px 8px;border-radius:999px;font-size:9px;line-height:1;font-weight:800;letter-spacing:.01em;white-space:nowrap;box-sizing:border-box;max-width:100%;}
.aith-badge-claim{background:#faf8ff;border:1px solid #d9d0f7;color:#6650b4;}
.aith-badge-claimed{background:#edf9f2;border:1px solid #ccebd8;color:#187447;}
.aith-badge-featured{background:#eef4ff;border:1px solid #cfe0ff;color:#2566c7;}
.aith-badge-sponsored{background:#fff5e5;border:1px solid #f0d6a5;color:#986100;}
.tool-title-row .aith-status-badge{display:none;}
.aith-status-badges-single{margin-bottom:10px;justify-content:flex-start;}
.aith-status-badges-single .aith-status-badge{min-height:25px;padding:5px 10px;font-size:10px;}
@media(max-width:760px){
  .aith-card-status-row{margin-top:8px;}
  .aith-status-badges-card{gap:4px;}
  .aith-status-badges-card .aith-status-badge{font-size:8px;padding:4px 7px;min-height:20px;}
  .aith-status-badges-single{margin-bottom:8px;}
}
@media(max-width:420px){
  .aith-status-badges-card .aith-status-badge{font-size:8px;padding-left:6px;padding-right:6px;}
  .aith-status-badges-card .aith-badge-claim{max-width:100%;overflow:hidden;text-overflow:ellipsis;}
}

/* V0.9.50 — Paid Claim Tool */
.aith-status-badge.aith-badge-claim{display:inline-flex;align-items:center;text-decoration:none;cursor:pointer}
.aith-status-badge.aith-badge-claim:hover{text-decoration:none;transform:translateY(-1px)}
.aith-claim-page{padding:52px 20px 80px;background:linear-gradient(180deg,#fbfaff 0%,#fff 42%)}
.aith-claim-shell{max-width:980px;margin:0 auto}
.aith-submit-kicker{display:inline-block;font-size:11px;letter-spacing:.15em;font-weight:800;color:#6555d9;margin-bottom:10px}
.aith-claim-hero{text-align:center;max-width:760px;margin:0 auto 26px}.aith-claim-hero h1{font-size:clamp(30px,4vw,48px);line-height:1.08;margin:0 0 12px}.aith-claim-hero p{font-size:16px;line-height:1.7;color:#667085;margin:0}
.aith-claim-plan{display:flex;justify-content:space-between;align-items:center;gap:24px;background:#fff;border:1px solid #e5e7ef;border-radius:18px;padding:22px 24px;margin-bottom:20px;box-shadow:0 10px 30px rgba(33,24,70,.06)}.aith-claim-plan>div:first-child span{font-size:10px;font-weight:800;letter-spacing:.12em;color:#6555d9}.aith-claim-plan h2{margin:5px 0 4px;font-size:20px}.aith-claim-plan p{margin:0;color:#667085}.aith-claim-price{text-align:right;min-width:150px}.aith-claim-price del{display:inline-block;color:#98a2b3;margin-right:8px}.aith-claim-price span{display:inline-block;background:#fff0f0;color:#d14343;font-size:11px;font-weight:800;border-radius:999px;padding:4px 7px}.aith-claim-price strong{display:block;font-size:30px;line-height:1.1;margin-top:6px;color:#0c2d27}
.aith-claim-form{background:#fff;border:1px solid #e5e7ef;border-radius:18px;padding:26px;box-shadow:0 10px 30px rgba(33,24,70,.06)}.aith-claim-section{padding:0 0 25px;margin:0 0 24px;border-bottom:1px solid #eef0f5}.aith-claim-section h2{font-size:19px;margin:0 0 15px}.aith-claim-tool{display:flex;justify-content:space-between;gap:18px;align-items:center;background:#f8f8fc;border:1px solid #e8e6f3;border-radius:12px;padding:15px}.aith-claim-tool strong{display:block;font-size:16px}.aith-claim-tool a{display:inline-block;font-size:12px;margin-top:5px}.aith-claim-tool>span{font-size:12px;color:#667085;text-align:right}.aith-claim-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.aith-claim-form label{display:block;font-size:13px;font-weight:700;color:#344054}.aith-claim-form input,.aith-claim-form select,.aith-claim-form textarea{width:100%;margin-top:7px;border:1px solid #d8dce7;border-radius:10px;padding:12px 13px;background:#fff;font:inherit;font-size:14px;box-sizing:border-box}.aith-claim-form textarea{resize:vertical}.aith-claim-form label:has(textarea){margin-top:16px}.aith-claim-form .aith-submit-consent input[type="checkbox"]{width:17px!important;min-width:17px!important;max-width:17px!important;height:17px!important;min-height:17px!important;padding:0!important;margin:2px 0 0!important;flex:0 0 17px!important;display:block!important;box-sizing:border-box!important;appearance:auto!important;-webkit-appearance:checkbox!important}.aith-claim-policy{background:#faf9ff;border:1px solid #e7e2ff;border-radius:14px;padding:18px}.aith-claim-policy div{font-size:13px;line-height:1.6;color:#596579;margin:8px 0}.aith-claim-check{display:flex!important;gap:10px;align-items:flex-start;font-weight:500!important;margin:13px 0}.aith-claim-check input{width:17px!important;height:17px;margin:1px 0 0!important;flex:0 0 17px}.aith-claim-primary,.aith-claim-secondary{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;padding:13px 20px;font-weight:800;text-decoration:none;cursor:pointer;font-size:14px}.aith-claim-primary{background:#087f62;color:#fff;width:100%;margin-top:14px}.aith-claim-primary:hover{color:#fff;filter:brightness(.96)}.aith-claim-secondary{background:#eef1f7;color:#243047}.aith-claim-id-box{background:#f7f6ff;border:1px solid #ded8ff;border-radius:14px;padding:18px;text-align:center;margin:22px 0}.aith-claim-id-box small{display:block;color:#667085;text-transform:uppercase;letter-spacing:.1em;font-size:10px;font-weight:800}.aith-claim-id-box strong{display:block;font-size:25px;letter-spacing:.05em;margin:7px 0}.aith-claim-id-box p{margin:0;color:#667085}.aith-claim-after-payment{margin-top:22px;padding:20px;border-radius:14px;background:#f8fafc;border:1px solid #e4e7ec}.aith-claim-after-payment h2{margin:0 0 8px;font-size:18px}.aith-claim-after-payment p{color:#596579;line-height:1.6}.aith-claim-success{background:#fff;border:1px solid #e5e7ef;border-radius:20px;padding:42px;text-align:center;box-shadow:0 10px 35px rgba(33,24,70,.07)}.aith-claim-success-icon{display:flex;width:52px;height:52px;border-radius:50%;align-items:center;justify-content:center;margin:0 auto 15px;background:#e9f8f2;color:#087f62;font-size:25px;font-weight:900}.aith-claim-success h1{font-size:32px;margin:0 0 10px}.aith-claim-success>p{max-width:680px;margin:0 auto 20px;color:#667085;line-height:1.7}.aith-claim-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:24px 0;text-align:left}.aith-claim-summary div{background:#f8f9fc;border:1px solid #eaecf0;border-radius:10px;padding:12px}.aith-claim-summary span{display:block;font-size:10px;text-transform:uppercase;color:#667085;font-weight:700;margin-bottom:4px}.aith-claim-summary strong{font-size:13px}.aith-claim-note{font-size:12px!important}.aith-claim-alert{padding:14px 16px;border-radius:12px;margin-bottom:18px}.aith-claim-alert.error{background:#fff1f1;border:1px solid #ffd3d3;color:#a33a3a}.aith-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}
@media(max-width:760px){.aith-claim-page{padding:28px 14px 60px}.aith-claim-plan{align-items:flex-start;flex-direction:column}.aith-claim-price{text-align:left}.aith-claim-fields{grid-template-columns:1fr}.aith-claim-tool{align-items:flex-start;flex-direction:column}.aith-claim-tool>span{text-align:left}.aith-claim-summary{grid-template-columns:1fr 1fr}.aith-claim-form,.aith-claim-success{padding:20px}}
@media(max-width:420px){.aith-claim-summary{grid-template-columns:1fr}.aith-claim-hero h1{font-size:30px}.aith-claim-plan h2{font-size:18px}.aith-claim-price strong{font-size:27px}}


/* V0.9.51 — Claim Tool synced with Submit Tool payment UX */
.aith-claim-submit-hero h1 span{color:var(--primary)}
.aith-claim-submit-page{padding-top:45px}
.aith-claim-intro{margin-bottom:18px}
.aith-claim-plan{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 0 20px;padding:22px 24px;overflow:hidden}
.aith-claim-plan-copy{min-width:0}.aith-claim-plan-copy>span{font-size:10px;font-weight:800;letter-spacing:.12em;color:#6555d9}.aith-claim-plan-copy h2{margin:5px 0 5px;font-size:22px;color:#172137}.aith-claim-plan-copy p{margin:0;color:#69748a;font-size:13px;line-height:1.6}.aith-claim-mini-trust{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.aith-claim-mini-trust span{padding:6px 9px;border:1px solid #e3e0f0;border-radius:999px;background:#faf9ff;color:#667189;font-size:10px;font-weight:700}.aith-claim-price-wrap{text-align:right;flex:0 0 auto}.aith-claim-price-wrap>small{display:block;color:#7a8495;font-size:10px;margin-top:5px}.aith-claim-price{display:flex;align-items:baseline;justify-content:flex-end;gap:8px;flex-wrap:wrap}.aith-claim-price del{color:#7b8495;font-size:15px}.aith-claim-price span{background:#ffedf1;color:#d14361;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:900}.aith-claim-price strong{font-size:34px;line-height:1;color:var(--primary)}
.aith-claim-form{padding:28px}.aith-claim-collapsible{border:1px solid #e1e4ec;border-radius:16px;background:#fff;overflow:hidden;margin:0 0 14px}.aith-claim-collapsible .aith-submit-section-title{display:grid;grid-template-columns:32px minmax(0,1fr) auto 20px;gap:12px;align-items:center;margin:0;padding:16px 18px;background:#fcfcfe;border-bottom:1px solid #edf0f4;cursor:default}.aith-claim-collapsible .aith-submit-section-title>span:first-child{width:32px;height:32px}.aith-claim-collapsible .aith-submit-section-title h3{font-size:16px}.aith-claim-collapsible .aith-submit-section-title p{font-size:11px}.aith-claim-collapsible .aith-form-grid{padding:18px 18px 4px;margin-bottom:0}.aith-claim-collapsible .aith-section-state{justify-self:end;display:inline-flex;align-items:center;min-height:24px;padding:4px 9px;border-radius:999px;background:#f3f4f7;color:#737c8d;font-size:10px;font-weight:800;white-space:nowrap}.aith-claim-collapsible .aith-section-state.is-complete{background:#eaf9f2;color:#11825a}.aith-claim-collapsible .aith-section-chevron{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:#f0ecff;color:#6045b1;font-size:12px}.aith-claim-form .aith-submit-policy{margin:0 0 4px}.aith-claim-form .aith-submit-policy ul{margin:8px 0 0;padding-left:18px}.aith-claim-form .aith-submit-policy li{margin:5px 0}.aith-claim-form .aith-submit-action-bar{margin-top:18px}
.aith-claim-tool{display:flex;justify-content:space-between;gap:18px;align-items:center;width:100%;padding:15px;border:1px solid #e8e6f3;border-radius:12px;background:#f8f8fc;box-sizing:border-box}.aith-claim-tool strong{display:block;font-size:16px;color:#253047}.aith-claim-tool a{display:inline-block;margin-top:5px;font-size:12px}.aith-claim-tool>span{font-size:11px;color:#667085;text-align:right;max-width:280px}.aith-claim-complete-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;max-width:620px;margin:20px auto}.aith-claim-complete-summary div{background:#f8f9fc;border:1px solid #eaecf0;border-radius:10px;padding:12px;text-align:left}.aith-claim-complete-summary span{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.06em;color:#667085;font-weight:700;margin-bottom:4px}.aith-claim-complete-summary strong{font-size:13px;color:#263047;overflow-wrap:anywhere}
.aith-claim-payment-shell .aith-payment-proof-card{min-height:0}
@media(max-width:1050px){.aith-claim-plan{align-items:flex-start}.aith-claim-payment-shell{grid-template-columns:1fr}}
@media(max-width:700px){.aith-claim-submit-page{padding-top:30px}.aith-claim-plan{flex-direction:column;align-items:flex-start;padding:19px}.aith-claim-price-wrap{text-align:left}.aith-claim-price{justify-content:flex-start}.aith-claim-form{padding:18px}.aith-claim-collapsible .aith-submit-section-title{grid-template-columns:30px minmax(0,1fr) auto 20px;gap:9px;padding:13px 12px}.aith-claim-collapsible .aith-submit-section-title h3{font-size:14px}.aith-claim-collapsible .aith-submit-section-title p{font-size:10px}.aith-claim-collapsible .aith-section-state{font-size:9px;padding:4px 7px}.aith-claim-collapsible .aith-form-grid{padding:14px 12px 2px}.aith-claim-tool{align-items:flex-start;flex-direction:column}.aith-claim-tool>span{text-align:left;max-width:none}.aith-claim-complete-summary{grid-template-columns:1fr 1fr}.aith-payment-main,.aith-payment-proof-card{padding:21px}}
@media(max-width:420px){.aith-claim-submit-hero h1{font-size:32px}.aith-claim-price strong{font-size:29px}.aith-claim-complete-summary{grid-template-columns:1fr}.aith-claim-collapsible .aith-submit-section-title{grid-template-columns:28px minmax(0,1fr) 18px;gap:7px;padding:11px 9px}.aith-claim-collapsible .aith-section-state{grid-column:2;grid-row:2;justify-self:start;margin-top:-3px}.aith-claim-collapsible .aith-section-chevron{grid-column:3;grid-row:1}.aith-claim-collapsible .aith-submit-section-title>span:first-child{width:28px;height:28px;font-size:9px}.aith-claim-form{padding:12px}}


/* V0.9.52 — Claim Tool functional hardening */
.aith-claim-collapsible .aith-submit-section-title{cursor:pointer;user-select:none}
.aith-claim-collapsible .aith-form-grid{display:none}
.aith-claim-collapsible.is-open .aith-form-grid{display:grid}
.aith-claim-collapsible .aith-section-chevron{transition:transform .18s ease}
.aith-claim-form-completion{display:block;margin:14px 0 8px;font-size:12px;font-weight:700;color:#667085}
.aith-claim-form .aith-submit-action-bar{display:flex;flex-direction:column;align-items:stretch}
.aith-claim-form .aith-submit-action-bar .aith-submit-create{width:100%}
@media(max-width:700px){.aith-claim-form-completion{font-size:11px;line-height:1.5}.aith-claim-collapsible .aith-submit-section-title{cursor:pointer}}
.aith-claim-form .aith-submit-consent{align-items:flex-start!important;justify-content:flex-start!important;text-align:left!important}.aith-claim-form .aith-submit-consent span{flex:1 1 auto;min-width:0}


/* V0.9.53 — Claim Tool page composition synced with Submit Tool
   Claim Tool is rendered directly from the page content now, so the shortcode
   hero/payment stages use the same full-width composition and container sizing
   as Submit Tool. Keep only a small compatibility reset for old page wrappers. */
body.page-template-default .aith-claim-submit-hero + .aith-claim-submit-page{
  width:100%;
  max-width:none;
  margin-left:0;
  margin-right:0;
}
.aith-claim-submit-page .aith-container{
  width:min(100% - 40px,1100px);
  max-width:1100px;
  margin-left:auto;
  margin-right:auto;
}
.aith-claim-submit-page .aith-payment-shell{
  width:100%;
  max-width:none;
}
@media(max-width:1100px){
  .aith-claim-submit-page .aith-container{width:min(100% - 32px,1000px);}
}
@media(max-width:640px){
  .aith-claim-submit-page .aith-container{width:calc(100% - 24px);}
}
@media(max-width:380px){
  .aith-claim-submit-page .aith-container{width:calc(100% - 18px);}
}

/* =========================================================
   V0.9.54 — Status-aware AI Tool Card accents
   Officially Verified = green, Featured = purple, Sponsored = gold.
   Verified takes precedence when a tool has multiple promotional states.
   ========================================================= */
.archive-tool-grid-v4 .dynamic-tool-card,
.directory-page .dynamic-tool-card {
  --aith-card-accent: var(--border);
  --aith-card-accent-soft: rgba(12, 145, 104, .035);
  --aith-card-cta: var(--primary);
  border-color: var(--aith-card-accent);
  background: linear-gradient(180deg, #fff 0%, var(--aith-card-accent-soft) 100%);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.archive-tool-grid-v4 .dynamic-tool-card:hover,
.directory-page .dynamic-tool-card:hover {
  border-color: var(--aith-card-accent);
  box-shadow: 0 14px 34px rgba(30,35,65,.10), 0 0 0 1px var(--aith-card-accent);
}

.archive-tool-grid-v4 .dynamic-tool-card.aith-card-status-accent-verified,
.directory-page .dynamic-tool-card.aith-card-status-accent-verified {
  --aith-card-accent: #22b889;
  --aith-card-accent-soft: rgba(34,184,137,.045);
  --aith-card-cta: #079669;
}

.archive-tool-grid-v4 .dynamic-tool-card.aith-card-status-accent-featured,
.directory-page .dynamic-tool-card.aith-card-status-accent-featured {
  --aith-card-accent: #8b5cf6;
  --aith-card-accent-soft: rgba(139,92,246,.045);
  --aith-card-cta: #7138ee;
}

.archive-tool-grid-v4 .dynamic-tool-card.aith-card-status-accent-sponsored,
.directory-page .dynamic-tool-card.aith-card-status-accent-sponsored {
  --aith-card-accent: #e4a11b;
  --aith-card-accent-soft: rgba(228,161,27,.055);
  --aith-card-cta: #d58a00;
}

.archive-tool-grid-v4 .dynamic-tool-card.aith-card-status-accent-verified .tool-card-link,
.directory-page .dynamic-tool-card.aith-card-status-accent-verified .tool-card-link {
  color: #087f62;
  border-top-color: rgba(34,184,137,.22);
}

.archive-tool-grid-v4 .dynamic-tool-card.aith-card-status-accent-featured .tool-card-link,
.directory-page .dynamic-tool-card.aith-card-status-accent-featured .tool-card-link {
  color: #7138ee;
  border-top-color: rgba(139,92,246,.22);
}

.archive-tool-grid-v4 .dynamic-tool-card.aith-card-status-accent-sponsored .tool-card-link,
.directory-page .dynamic-tool-card.aith-card-status-accent-sponsored .tool-card-link {
  color: #b87500;
  border-top-color: rgba(228,161,27,.25);
}

/* Stronger directory-card CTA treatment without changing card dimensions. */
.archive-tool-grid-v4 .dynamic-tool-card.aith-card-status-accent-verified .tool-card-link,
.archive-tool-grid-v4 .dynamic-tool-card.aith-card-status-accent-featured .tool-card-link,
.archive-tool-grid-v4 .dynamic-tool-card.aith-card-status-accent-sponsored .tool-card-link {
  border-top-width: 0;
  border-radius: 10px;
  padding: 11px 13px;
  margin-top: 14px;
  background: color-mix(in srgb, var(--aith-card-accent) 12%, white);
}

@supports not (background: color-mix(in srgb, red 10%, white)) {
  .archive-tool-grid-v4 .dynamic-tool-card.aith-card-status-accent-verified .tool-card-link { background:#eaf9f4; }
  .archive-tool-grid-v4 .dynamic-tool-card.aith-card-status-accent-featured .tool-card-link { background:#f2edff; }
  .archive-tool-grid-v4 .dynamic-tool-card.aith-card-status-accent-sponsored .tool-card-link { background:#fff6e3; }
}


@media(max-width:760px){
  .archive-tool-grid-v4 .dynamic-tool-card.aith-card-status-accent-verified:hover,
  .archive-tool-grid-v4 .dynamic-tool-card.aith-card-status-accent-featured:hover,
  .archive-tool-grid-v4 .dynamic-tool-card.aith-card-status-accent-sponsored:hover,
  .directory-page .dynamic-tool-card.aith-card-status-accent-verified:hover,
  .directory-page .dynamic-tool-card.aith-card-status-accent-featured:hover,
  .directory-page .dynamic-tool-card.aith-card-status-accent-sponsored:hover {
    box-shadow:none;
  }
}


/* =========================================================
   V0.9.55 — Premium directory tool-card redesign
   ========================================================= */
.archive-tool-grid-v4 .dynamic-tool-card,
.directory-page .dynamic-tool-card {
  padding: 16px;
  border-radius: 15px;
  min-height: 0;
}
.archive-tool-grid-v4 .dynamic-tool-card .tool-card-top,
.directory-page .dynamic-tool-card .tool-card-top {
  min-height: 54px;
  align-items: flex-start;
}
.archive-tool-grid-v4 .dynamic-tool-card .tool-card-identity,
.directory-page .dynamic-tool-card .tool-card-identity {
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  flex:1;
}
.archive-tool-grid-v4 .dynamic-tool-card .tool-card-identity .tool-logo,
.directory-page .dynamic-tool-card .tool-card-identity .tool-logo {
  width:54px;
  height:54px;
  flex:0 0 54px;
  border-radius:13px;
  font-size:20px;
}
.archive-tool-grid-v4 .dynamic-tool-card .aith-card-status-row,
.directory-page .dynamic-tool-card .aith-card-status-row {
  margin:0;
  padding:0;
  min-width:0;
}
.archive-tool-grid-v4 .dynamic-tool-card .aith-status-badges,
.directory-page .dynamic-tool-card .aith-status-badges {
  display:flex;
  flex-wrap:wrap;
  gap:5px;
}
.archive-tool-grid-v4 .dynamic-tool-card .aith-status-badge,
.directory-page .dynamic-tool-card .aith-status-badge {
  white-space:nowrap;
  font-size:9px;
  line-height:1;
  padding:6px 8px;
  border-radius:999px;
}
.archive-tool-grid-v4 .dynamic-tool-card .tool-title-row,
.directory-page .dynamic-tool-card .tool-title-row { margin-top:12px; }
.archive-tool-grid-v4 .dynamic-tool-card .tool-title-row h3,
.directory-page .dynamic-tool-card .tool-title-row h3 { font-size:17px; line-height:1.2; margin:0; }
.archive-tool-grid-v4 .dynamic-tool-card .verified,
.directory-page .dynamic-tool-card .verified { display:none; }
.aith-card-tags { display:flex; flex-wrap:wrap; gap:6px; margin:8px 0 10px; }
.aith-card-tags .badge { margin:0; }
.aith-card-tag-secondary { background:#eef6ff !important; color:#2165a6 !important; }
.archive-tool-grid-v4 .dynamic-tool-card > p,
.directory-page .dynamic-tool-card > p {
  min-height:0;
  margin:0;
  font-size:12px;
  line-height:1.55;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
}
.aith-card-feature-list { list-style:none; padding:0; margin:13px 0 0; display:grid; gap:7px; }
.aith-card-feature-list li { display:flex; align-items:flex-start; gap:9px; color:#53617a; font-size:11px; line-height:1.35; }
.aith-card-feature-list li > span:first-child { width:15px; flex:0 0 15px; color:var(--aith-card-accent, var(--primary)); font-weight:800; text-align:center; }
.archive-tool-grid-v4 .dynamic-tool-card .tool-meta,
.directory-page .dynamic-tool-card .tool-meta { margin-top:14px; padding-top:11px; }
.archive-tool-grid-v4 .dynamic-tool-card .tool-card-link,
.directory-page .dynamic-tool-card .tool-card-link {
  margin-top:12px;
  padding:10px 13px;
  border:0;
  border-radius:9px;
  justify-content:center;
  gap:6px;
  background:color-mix(in srgb, var(--aith-card-cta, var(--primary)) 12%, white);
  color:var(--aith-card-cta, var(--primary));
  font-size:11px;
  transition:transform .16s ease, background .16s ease, color .16s ease;
}
.archive-tool-grid-v4 .dynamic-tool-card:hover .tool-card-link,
.directory-page .dynamic-tool-card:hover .tool-card-link { background:var(--aith-card-cta, var(--primary)); color:#fff; }
@supports not (background: color-mix(in srgb, red 10%, white)) {
  .archive-tool-grid-v4 .dynamic-tool-card .tool-card-link,
  .directory-page .dynamic-tool-card .tool-card-link { background:#eaf8f3; }
}
@media(max-width:900px){
  .archive-tool-grid-v4 .dynamic-tool-card .tool-card-identity .tool-logo,
  .directory-page .dynamic-tool-card .tool-card-identity .tool-logo { width:48px;height:48px;flex-basis:48px; }
}
@media(max-width:650px){
  .archive-tool-grid-v4 .dynamic-tool-card,
  .directory-page .dynamic-tool-card { padding:14px; border-radius:13px; }
  .archive-tool-grid-v4 .dynamic-tool-card .tool-title-row h3,
  .directory-page .dynamic-tool-card .tool-title-row h3 { font-size:16px; }
}


/* =========================================================
   V0.9.56 — Directory card status treatment refinement
   Follow the approved product-card reference:
   - no key-feature list inside cards
   - status badges sit beside the logo in the top row
   - CTA is always dark/neutral
   - card outline remains status-aware: verified green, featured purple,
     sponsored gold (verified > featured > sponsored when combined)
   ========================================================= */
.archive-tool-grid-v4 .dynamic-tool-card .tool-card-top,
.directory-page .dynamic-tool-card .tool-card-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.archive-tool-grid-v4 .dynamic-tool-card .tool-card-identity,
.directory-page .dynamic-tool-card .tool-card-identity{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  flex:1 1 auto;
}
.archive-tool-grid-v4 .dynamic-tool-card .aith-card-status-row,
.directory-page .dynamic-tool-card .aith-card-status-row{
  display:flex;
  align-items:center;
  min-width:0;
  margin:0;
  padding:0;
  flex:0 1 auto;
}
.archive-tool-grid-v4 .dynamic-tool-card .aith-status-badges-card,
.directory-page .dynamic-tool-card .aith-status-badges-card{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex-wrap:wrap;
  gap:5px;
  max-width:100%;
}
.archive-tool-grid-v4 .dynamic-tool-card .aith-status-badge,
.directory-page .dynamic-tool-card .aith-status-badge{
  min-height:24px;
  padding:5px 9px;
  border-radius:7px;
  font-size:9px;
  line-height:1;
  font-weight:800;
}
.archive-tool-grid-v4 .dynamic-tool-card .aith-badge-claimed,
.directory-page .dynamic-tool-card .aith-badge-claimed{
  background:#dff7ee;
  border-color:#c1eadb;
  color:#087f62;
}
.archive-tool-grid-v4 .dynamic-tool-card .aith-badge-featured,
.directory-page .dynamic-tool-card .aith-badge-featured{
  background:#eee6ff;
  border-color:#dfd0ff;
  color:#6934e8;
}
.archive-tool-grid-v4 .dynamic-tool-card .aith-badge-sponsored,
.directory-page .dynamic-tool-card .aith-badge-sponsored{
  background:#fff0cf;
  border-color:#f4dca5;
  color:#a96a00;
}
.archive-tool-grid-v4 .dynamic-tool-card .aith-badge-claim,
.directory-page .dynamic-tool-card .aith-badge-claim{
  background:#f7f2ff;
  border-color:#ded0ff;
  color:#6439c9;
}
/* Remove the V0.9.55 feature list from directory cards. */
.archive-tool-grid-v4 .dynamic-tool-card .aith-card-feature-list,
.directory-page .dynamic-tool-card .aith-card-feature-list{
  display:none !important;
}
/* CTA follows the card's primary status, matching the approved reference.
   Normal = dark, Verified = green, Featured = purple, Sponsored = gold.
   The PHP card class already applies priority: Verified > Featured > Sponsored. */
.archive-tool-grid-v4 .dynamic-tool-card .tool-card-link,
.directory-page .dynamic-tool-card .tool-card-link{
  margin-top:12px;
  min-height:42px;
  padding:10px 13px;
  border:0;
  border-radius:9px;
  justify-content:center;
  gap:6px;
  background:#1d2a3a !important;
  color:#fff !important;
  font-size:11px;
  font-weight:800;
  box-shadow:none;
  transition:transform .16s ease, background .16s ease, box-shadow .16s ease;
}
.archive-tool-grid-v4 .dynamic-tool-card.aith-card-status-accent-verified .tool-card-link,
.directory-page .dynamic-tool-card.aith-card-status-accent-verified .tool-card-link{
  background:#079669 !important;
}
.archive-tool-grid-v4 .dynamic-tool-card.aith-card-status-accent-featured .tool-card-link,
.directory-page .dynamic-tool-card.aith-card-status-accent-featured .tool-card-link{
  background:#7138ee !important;
}
.archive-tool-grid-v4 .dynamic-tool-card.aith-card-status-accent-sponsored .tool-card-link,
.directory-page .dynamic-tool-card.aith-card-status-accent-sponsored .tool-card-link{
  background:#e39a00 !important;
}
.archive-tool-grid-v4 .dynamic-tool-card:hover .tool-card-link,
.directory-page .dynamic-tool-card:hover .tool-card-link{
  color:#fff !important;
  transform:translateY(-1px);
}
.archive-tool-grid-v4 .dynamic-tool-card.aith-card-status-accent-verified:hover .tool-card-link,
.directory-page .dynamic-tool-card.aith-card-status-accent-verified:hover .tool-card-link{
  background:#07875f !important;
}
.archive-tool-grid-v4 .dynamic-tool-card.aith-card-status-accent-featured:hover .tool-card-link,
.directory-page .dynamic-tool-card.aith-card-status-accent-featured:hover .tool-card-link{
  background:#6129d8 !important;
}
.archive-tool-grid-v4 .dynamic-tool-card.aith-card-status-accent-sponsored:hover .tool-card-link,
.directory-page .dynamic-tool-card.aith-card-status-accent-sponsored:hover .tool-card-link{
  background:#c98200 !important;
}
.archive-tool-grid-v4 .dynamic-tool-card:not(.aith-card-status-accent-verified):not(.aith-card-status-accent-featured):not(.aith-card-status-accent-sponsored):hover .tool-card-link,
.directory-page .dynamic-tool-card:not(.aith-card-status-accent-verified):not(.aith-card-status-accent-featured):not(.aith-card-status-accent-sponsored):hover .tool-card-link{
  background:#111c2b !important;
}
.archive-tool-grid-v4 .dynamic-tool-card .tool-title-row,
.directory-page .dynamic-tool-card .tool-title-row{
  margin-top:12px;
}
.archive-tool-grid-v4 .dynamic-tool-card .tool-title-row h3,
.directory-page .dynamic-tool-card .tool-title-row h3{
  display:inline-flex;
  align-items:center;
  gap:6px;
}
/* Keep the verified mark next to the title, as shown in the reference. */
.archive-tool-grid-v4 .dynamic-tool-card .tool-title-row .verified,
.directory-page .dynamic-tool-card .tool-title-row .verified{
  display:inline-grid;
  place-items:center;
  width:17px;
  height:17px;
  margin-left:3px;
  border-radius:50%;
  background:#0b9a6f;
  color:#fff;
  font-size:10px;
  line-height:1;
  vertical-align:middle;
}
@media(max-width:760px){
  .archive-tool-grid-v4 .dynamic-tool-card .tool-card-identity,
  .directory-page .dynamic-tool-card .tool-card-identity{gap:8px;}
  .archive-tool-grid-v4 .dynamic-tool-card .aith-status-badge,
  .directory-page .dynamic-tool-card .aith-status-badge{font-size:8px;padding:5px 7px;}
}
@media(max-width:430px){
  .archive-tool-grid-v4 .dynamic-tool-card .tool-card-identity,
  .directory-page .dynamic-tool-card .tool-card-identity{align-items:flex-start;}
  .archive-tool-grid-v4 .dynamic-tool-card .aith-status-badges-card,
  .directory-page .dynamic-tool-card .aith-status-badges-card{gap:4px;}
}

/* =========================================================
   V0.9.59 — Directory card vertical alignment
   Keep every grid card's CTA/meta row aligned across each row,
   regardless of title, tag or description length.
   ========================================================= */
.archive-tool-grid-v4 .dynamic-tool-card,
.directory-page .dynamic-tool-card {
  display:flex;
  flex-direction:column;
  height:100%;
  box-sizing:border-box;
}

.archive-tool-grid-v4 .dynamic-tool-card .tool-card-top,
.directory-page .dynamic-tool-card .tool-card-top {
  flex:0 0 auto;
}

.archive-tool-grid-v4 .dynamic-tool-card .tool-title-row,
.directory-page .dynamic-tool-card .tool-title-row {
  flex:0 0 auto;
  min-height:21px;
}

.archive-tool-grid-v4 .dynamic-tool-card .aith-card-tags,
.directory-page .dynamic-tool-card .aith-card-tags {
  flex:0 0 auto;
  min-height:24px;
  max-height:48px;
  overflow:hidden;
}

.archive-tool-grid-v4 .dynamic-tool-card > p,
.directory-page .dynamic-tool-card > p {
  flex:0 0 auto;
  min-height:56px;
  max-height:56px;
  overflow:hidden;
}

.archive-tool-grid-v4 .dynamic-tool-card .tool-meta,
.directory-page .dynamic-tool-card .tool-meta {
  margin-top:auto;
  flex:0 0 auto;
}

.archive-tool-grid-v4 .dynamic-tool-card .tool-card-link,
.directory-page .dynamic-tool-card .tool-card-link {
  flex:0 0 auto;
  width:100%;
  box-sizing:border-box;
}

@media(max-width:650px){
  .archive-tool-grid-v4 .dynamic-tool-card > p,
  .directory-page .dynamic-tool-card > p {
    min-height:52px;
    max-height:52px;
  }
}

/* List view intentionally keeps its existing grid layout. */
.archive-tool-grid-v4.directory-list-view .dynamic-tool-card {
  display:grid;
  height:auto;
}


/* =========================================================
   V0.9.60 — Floating centered directory status badges
   Approved card treatment: status badges sit centered on the
   card's top border, visually anchored to the middle of the box.
   ========================================================= */
.archive-tool-grid-v4 .dynamic-tool-card,
.directory-page .dynamic-tool-card {
  position: relative;
  overflow: visible;
}
.archive-tool-grid-v4 .dynamic-tool-card .aith-card-status-row,
.directory-page .dynamic-tool-card .aith-card-status-row {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: max-content;
  max-width: calc(100% - 28px);
  margin: 0;
  padding: 0;
  pointer-events: none;
}
.archive-tool-grid-v4 .dynamic-tool-card .aith-status-badges-card,
.directory-page .dynamic-tool-card .aith-status-badges-card {
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  max-width: 100%;
}
.archive-tool-grid-v4 .dynamic-tool-card .aith-status-badge,
.directory-page .dynamic-tool-card .aith-status-badge {
  min-height: 28px;
  padding: 7px 13px;
  border-radius: 999px;
  border-width: 1px;
  box-shadow: 0 4px 12px rgba(28,34,57,.10);
  pointer-events: auto;
}
.archive-tool-grid-v4 .dynamic-tool-card.aith-card-status-accent-verified .aith-status-badge.aith-badge-claimed,
.directory-page .dynamic-tool-card.aith-card-status-accent-verified .aith-status-badge.aith-badge-claimed {
  background: #dff7ee;
  border-color: #8ed9bd;
  color: #087f62;
}
.archive-tool-grid-v4 .dynamic-tool-card.aith-card-status-accent-featured .aith-status-badge.aith-badge-featured,
.directory-page .dynamic-tool-card.aith-card-status-accent-featured .aith-status-badge.aith-badge-featured {
  background: #eee6ff;
  border-color: #bfa4ff;
  color: #6934e8;
}
.archive-tool-grid-v4 .dynamic-tool-card.aith-card-status-accent-sponsored .aith-status-badge.aith-badge-sponsored,
.directory-page .dynamic-tool-card.aith-card-status-accent-sponsored .aith-status-badge.aith-badge-sponsored {
  background: #fff0cf;
  border-color: #e8bb62;
  color: #a96a00;
}
/* Give cards a little breathing room because the badge now floats over the border. */
.archive-tool-grid-v4 .dynamic-tool-card .tool-card-top,
.directory-page .dynamic-tool-card .tool-card-top {
  padding-top: 2px;
}
@media(max-width:650px){
  .archive-tool-grid-v4 .dynamic-tool-card .aith-card-status-row,
  .directory-page .dynamic-tool-card .aith-card-status-row {
    top: -12px;
    max-width: calc(100% - 20px);
  }
  .archive-tool-grid-v4 .dynamic-tool-card .aith-status-badges-card,
  .directory-page .dynamic-tool-card .aith-status-badges-card {
    gap: 4px;
  }
  .archive-tool-grid-v4 .dynamic-tool-card .aith-status-badge,
  .directory-page .dynamic-tool-card .aith-status-badge {
    min-height: 24px;
    padding: 6px 9px;
    font-size: 8px;
  }
}
@media(max-width:430px){
  .archive-tool-grid-v4 .dynamic-tool-card .aith-card-status-row,
  .directory-page .dynamic-tool-card .aith-card-status-row {
    top: -11px;
    max-width: calc(100% - 16px);
  }
  .archive-tool-grid-v4 .dynamic-tool-card .aith-status-badge,
  .directory-page .dynamic-tool-card .aith-status-badge {
    padding-left: 7px;
    padding-right: 7px;
    font-size: 7.5px;
  }
}

/* =========================================================
   V0.9.61 — Directory CTA color refinement
   Normal cards use the AI Tools Host theme primary color instead
   of the previous dark/black CTA. Status cards retain their own
   semantic CTA colors: Verified dark green, Featured purple,
   Sponsored gold.
   ========================================================= */
.archive-tool-grid-v4 .dynamic-tool-card .tool-card-link,
.directory-page .dynamic-tool-card .tool-card-link {
  background: var(--primary) !important;
  color: #fff !important;
}

.archive-tool-grid-v4 .dynamic-tool-card:not(.aith-card-status-accent-verified):not(.aith-card-status-accent-featured):not(.aith-card-status-accent-sponsored) .tool-card-link,
.directory-page .dynamic-tool-card:not(.aith-card-status-accent-verified):not(.aith-card-status-accent-featured):not(.aith-card-status-accent-sponsored) .tool-card-link {
  background: var(--primary) !important;
  color: #fff !important;
}

.archive-tool-grid-v4 .dynamic-tool-card:not(.aith-card-status-accent-verified):not(.aith-card-status-accent-featured):not(.aith-card-status-accent-sponsored):hover .tool-card-link,
.directory-page .dynamic-tool-card:not(.aith-card-status-accent-verified):not(.aith-card-status-accent-featured):not(.aith-card-status-accent-sponsored):hover .tool-card-link {
  background: var(--primary-dark, #087f62) !important;
  color: #fff !important;
}

/* Verified = a deeper green than the general theme CTA. */
.archive-tool-grid-v4 .dynamic-tool-card.aith-card-status-accent-verified .tool-card-link,
.directory-page .dynamic-tool-card.aith-card-status-accent-verified .tool-card-link {
  background: #087f62 !important;
  color: #fff !important;
}

.archive-tool-grid-v4 .dynamic-tool-card.aith-card-status-accent-verified:hover .tool-card-link,
.directory-page .dynamic-tool-card.aith-card-status-accent-verified:hover .tool-card-link {
  background: #066b52 !important;
  color: #fff !important;
}

/* Featured and Sponsored keep their approved semantic colors. */
.archive-tool-grid-v4 .dynamic-tool-card.aith-card-status-accent-featured .tool-card-link,
.directory-page .dynamic-tool-card.aith-card-status-accent-featured .tool-card-link {
  background: #7138ee !important;
  color: #fff !important;
}

.archive-tool-grid-v4 .dynamic-tool-card.aith-card-status-accent-sponsored .tool-card-link,
.directory-page .dynamic-tool-card.aith-card-status-accent-sponsored .tool-card-link {
  background: #e39a00 !important;
  color: #fff !important;
}

/* =========================================================
   V0.9.62 — Light CTA for standard directory cards
   Normal/unbadged tools use a soft theme-green CTA so they remain
   visually distinct from the stronger status treatments.
   ========================================================= */
.archive-tool-grid-v4 .dynamic-tool-card:not(.aith-card-status-accent-verified):not(.aith-card-status-accent-featured):not(.aith-card-status-accent-sponsored) .tool-card-link,
.directory-page .dynamic-tool-card:not(.aith-card-status-accent-verified):not(.aith-card-status-accent-featured):not(.aith-card-status-accent-sponsored) .tool-card-link {
  background: #dff7ee !important;
  color: #087f62 !important;
  border: 1px solid #c4ebdc;
  box-shadow: none;
}
.archive-tool-grid-v4 .dynamic-tool-card:not(.aith-card-status-accent-verified):not(.aith-card-status-accent-featured):not(.aith-card-status-accent-sponsored) .tool-card-link:hover,
.directory-page .dynamic-tool-card:not(.aith-card-status-accent-verified):not(.aith-card-status-accent-featured):not(.aith-card-status-accent-sponsored) .tool-card-link:hover {
  background: #c9f0e1 !important;
  color: #066b52 !important;
  border-color: #a9e1cc;
}


/* =========================================================
   V0.9.63 — Unified AI Tool Card System
   Apply the approved directory-card treatment everywhere the
   shared AI tool card renderer is used: homepage, archive,
   taxonomy, related tools, search/AJAX results and favorites.
   ========================================================= */
.dynamic-tool-card{
  position:relative;
  overflow:visible;
  display:flex;
  flex-direction:column;
  box-sizing:border-box;
  padding:16px;
  border-radius:15px;
  min-height:260px;
  border:1px solid var(--border);
  background:#fff;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.dynamic-tool-card:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(30,35,65,.09)}
.dynamic-tool-card .tool-card-top{min-height:54px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-top:2px}
.dynamic-tool-card .tool-card-identity{display:block;position:relative;min-width:0;flex:1}
.dynamic-tool-card .tool-card-identity .tool-logo{width:54px;height:54px;flex:0 0 54px;border-radius:13px;font-size:20px;overflow:hidden;background:#fff}
.dynamic-tool-card .tool-card-identity .tool-logo img{width:100%;height:100%;object-fit:cover;display:block}
.dynamic-tool-card .tool-card-top-actions{min-width:34px;position:relative;z-index:5}
.dynamic-tool-card .tool-card-top-actions .bookmark{width:30px;height:30px;font-size:19px}

/* Floating status pills are always centered on the top border. */
.dynamic-tool-card .aith-card-status-row{
  position:absolute;
  top:-14px;
  left:50%;
  transform:translateX(-50%);
  z-index:6;
  width:max-content;
  max-width:calc(100% - 24px);
  margin:0;
  padding:0;
  pointer-events:none;
}
.dynamic-tool-card .aith-status-badges-card{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  flex-wrap:nowrap;
  max-width:100%;
}
.dynamic-tool-card .aith-status-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:7px 13px;
  border-radius:999px;
  white-space:nowrap;
  font-size:9px;
  line-height:1;
  font-weight:800;
  box-shadow:0 4px 12px rgba(28,34,57,.10);
  pointer-events:auto;
}
.dynamic-tool-card .aith-badge-claimed{background:#dff7ee;border-color:#8ed9bd;color:#087f62}
.dynamic-tool-card .aith-badge-featured{background:#eee6ff;border-color:#bfa4ff;color:#6934e8}
.dynamic-tool-card .aith-badge-sponsored{background:#fff0cf;border-color:#e8bb62;color:#a96a00}

/* Status determines the card outline. Verification has highest priority. */
.dynamic-tool-card.aith-card-status-accent-verified{border-color:#22b887;box-shadow:0 0 0 1px rgba(34,184,135,.04)}
.dynamic-tool-card.aith-card-status-accent-featured{border-color:#9a67ff;box-shadow:0 0 0 1px rgba(154,103,255,.04)}
.dynamic-tool-card.aith-card-status-accent-sponsored{border-color:#eca91b;box-shadow:0 0 0 1px rgba(236,169,27,.04)}
.dynamic-tool-card.aith-card-status-accent-verified:hover{border-color:#16a878;box-shadow:0 16px 34px rgba(15,145,105,.12)}
.dynamic-tool-card.aith-card-status-accent-featured:hover{border-color:#7d45ee;box-shadow:0 16px 34px rgba(113,56,238,.12)}
.dynamic-tool-card.aith-card-status-accent-sponsored:hover{border-color:#d88e00;box-shadow:0 16px 34px rgba(227,154,0,.13)}

.dynamic-tool-card .tool-title-row{display:flex;align-items:center;gap:6px;margin-top:12px;min-height:21px}
.dynamic-tool-card .tool-title-row h3{font-size:17px;line-height:1.2;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}
.dynamic-tool-card .tool-title-row .verified{display:inline-grid;place-items:center;width:15px;height:15px;flex:0 0 15px;border-radius:50%;background:#0a9d72;color:#fff;font-size:9px}
.dynamic-tool-card .aith-card-tags{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 10px;min-height:22px;align-content:flex-start}
.dynamic-tool-card .aith-card-tags .badge{margin:0;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dynamic-tool-card > p{margin:0;font-size:12px;line-height:1.55;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;min-height:56px;max-height:56px}
.dynamic-tool-card .tool-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:12px;border-top:1px solid var(--border);font-size:12px;min-height:31px;box-sizing:border-box}
.dynamic-tool-card .tool-meta>strong{color:var(--primary);white-space:nowrap}
.dynamic-tool-card .tool-card-rating{margin-left:auto;white-space:nowrap;color:#253653;font-weight:700}
.dynamic-tool-card .tool-card-rating:first-letter{color:#f5a400}
.dynamic-tool-card .tool-card-rating.is-unrated{color:#e39a00;font-weight:700}
.dynamic-tool-card .tool-card-link{
  width:100%;box-sizing:border-box;margin-top:12px;padding:10px 13px;border:0;border-radius:9px;
  display:flex;align-items:center;justify-content:center;gap:6px;font-size:11px;font-weight:800;
  text-decoration:none;transition:transform .16s ease,background .16s ease,color .16s ease,box-shadow .16s ease;
}
.dynamic-tool-card .tool-card-link:hover{transform:translateY(-1px)}

/* Normal card = soft theme-green CTA. */
.dynamic-tool-card:not(.aith-card-status-accent-verified):not(.aith-card-status-accent-featured):not(.aith-card-status-accent-sponsored) .tool-card-link{
  background:#dff7ee !important;color:#087f62 !important;border:1px solid #c4ebdc;box-shadow:none;
}
.dynamic-tool-card:not(.aith-card-status-accent-verified):not(.aith-card-status-accent-featured):not(.aith-card-status-accent-sponsored) .tool-card-link:hover{background:#c9f0e1 !important;color:#066b52 !important;border-color:#a9e1cc}
.dynamic-tool-card.aith-card-status-accent-verified .tool-card-link{background:#087f62 !important;color:#fff !important}
.dynamic-tool-card.aith-card-status-accent-verified .tool-card-link:hover{background:#066b52 !important;color:#fff !important}
.dynamic-tool-card.aith-card-status-accent-featured .tool-card-link{background:#7138ee !important;color:#fff !important}
.dynamic-tool-card.aith-card-status-accent-featured .tool-card-link:hover{background:#5f27d9 !important;color:#fff !important}
.dynamic-tool-card.aith-card-status-accent-sponsored .tool-card-link{background:#e39a00 !important;color:#fff !important}
.dynamic-tool-card.aith-card-status-accent-sponsored .tool-card-link:hover{background:#c98500 !important;color:#fff !important}

/* Keep list mode as list mode. */
.archive-tool-grid-v4.directory-list-view .dynamic-tool-card{display:grid;height:auto;min-height:0}

/* Homepage and related grids inherit the same card sizing. */
.home-tool-grid .dynamic-tool-card{height:100%;min-height:260px}
.related-tool-list .dynamic-tool-card{height:100%;min-height:260px;padding:16px}

@media(max-width:900px){
  .dynamic-tool-card .tool-card-identity .tool-logo{width:48px;height:48px;flex-basis:48px}
  .dynamic-tool-card{min-height:250px}
}
@media(max-width:650px){
  .dynamic-tool-card{padding:14px;border-radius:13px;min-height:235px}
  .dynamic-tool-card .aith-card-status-row{top:-12px;max-width:calc(100% - 18px)}
  .dynamic-tool-card .aith-status-badges-card{gap:4px}
  .dynamic-tool-card .aith-status-badge{min-height:24px;padding:6px 9px;font-size:8px}
  .dynamic-tool-card .tool-title-row h3{font-size:16px}
  .dynamic-tool-card > p{font-size:11px;line-height:1.5;min-height:50px;max-height:50px}
  .dynamic-tool-card .tool-card-link{font-size:10px;padding:10px 11px}
  .homepage-tool-section .home-tool-grid .dynamic-tool-card{min-height:222px}
}
@media(max-width:430px){
  .dynamic-tool-card .aith-card-status-row{top:-11px;max-width:calc(100% - 14px)}
  .dynamic-tool-card .aith-status-badge{padding-left:7px;padding-right:7px;font-size:7.5px}
}

/* Favorites use the same visual language while retaining the remove action. */
.favorite-tool-card.aith-unified-tool-card{
  position:relative;overflow:visible;display:flex;flex-direction:column;box-sizing:border-box;
  padding:16px;border-radius:15px;border:1px solid var(--border);background:#fff;min-height:260px;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.favorite-tool-card.aith-unified-tool-card:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(30,35,65,.09)}
.favorite-tool-card.aith-unified-tool-card .favorite-item-top{min-height:54px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.favorite-tool-card.aith-unified-tool-card .favorite-item-logo{width:54px;height:54px;display:block;flex:0 0 54px;border-radius:13px;overflow:hidden}
.favorite-tool-card.aith-unified-tool-card .favorite-item-logo img{width:100%;height:100%;object-fit:cover;display:block}
.favorite-tool-card.aith-unified-tool-card .aith-card-status-row{position:absolute;top:-14px;left:50%;transform:translateX(-50%);z-index:5;width:max-content;max-width:calc(100% - 24px)}
.favorite-tool-card.aith-unified-tool-card .aith-status-badges-card{display:flex;justify-content:center;gap:6px;flex-wrap:nowrap}
.favorite-tool-card.aith-unified-tool-card .aith-status-badge{min-height:28px;padding:7px 13px;border-radius:999px;font-size:9px;font-weight:800;box-shadow:0 4px 12px rgba(28,34,57,.10)}
.favorite-tool-card.aith-unified-tool-card h3{margin:12px 0 0;font-size:17px;line-height:1.2}
.favorite-tool-card.aith-unified-tool-card .favorite-item-category{display:inline-flex;margin:8px 0 10px;padding:4px 7px;border-radius:999px;background:#e8f8f3;color:#087f62;font-size:9px;font-weight:800}
.favorite-tool-card.aith-unified-tool-card > p{margin:0;min-height:56px;max-height:56px;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;font-size:12px;line-height:1.55}
.favorite-tool-card.aith-unified-tool-card .favorite-item-footer{margin-top:auto;padding-top:12px;border-top:1px solid var(--border);display:flex;justify-content:space-between;gap:8px;font-size:11px}
.favorite-tool-card.aith-unified-tool-card .favorite-rating{color:#253653;font-weight:700}.favorite-tool-card.aith-unified-tool-card .favorite-rating:first-letter{color:#f5a400}
.favorite-tool-card.aith-unified-tool-card .favorite-pricing{color:var(--primary);font-weight:800}
.favorite-tool-card.aith-unified-tool-card .favorite-open-tool{margin-top:12px;display:flex;align-items:center;justify-content:center;padding:10px 13px;border-radius:9px;background:#dff7ee;color:#087f62;font-size:11px;font-weight:800;text-decoration:none;border:1px solid #c4ebdc}
@media(max-width:650px){.favorite-tool-card.aith-unified-tool-card{padding:14px;min-height:235px}.favorite-tool-card.aith-unified-tool-card .favorite-item-logo{width:48px;height:48px;flex-basis:48px}.favorite-tool-card.aith-unified-tool-card .aith-card-status-row{top:-12px}.favorite-tool-card.aith-unified-tool-card .aith-status-badge{min-height:24px;padding:6px 9px;font-size:8px}}


/* =========================================================
   V0.9.64 — Correct floating status badge anchoring
   Status pills must be centered on the CARD's top border, not
   centered relative to the logo/identity column.
   ========================================================= */
.dynamic-tool-card{position:relative;overflow:visible}
.dynamic-tool-card .tool-card-identity{position:static}
.dynamic-tool-card .tool-card-top{position:relative;overflow:visible}
.dynamic-tool-card .aith-card-status-row{
  position:absolute !important;
  top:-14px !important;
  left:50% !important;
  right:auto !important;
  transform:translateX(-50%) !important;
  width:max-content !important;
  max-width:calc(100% - 24px) !important;
  z-index:20 !important;
  margin:0 !important;
  padding:0 !important;
}
.dynamic-tool-card .aith-status-badges-card{
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  flex-wrap:nowrap !important;
  gap:6px !important;
}
.dynamic-tool-card .aith-status-badge{position:relative;z-index:21}
.dynamic-tool-card .aith-badge-claimed::before{content:'✓';margin-right:5px;font-weight:900}
.dynamic-tool-card .aith-badge-featured::before{content:'★';margin-right:5px;font-weight:900}
.dynamic-tool-card .aith-badge-sponsored::before{content:'♛';margin-right:5px;font-weight:900}
@media(max-width:650px){
  .dynamic-tool-card .aith-card-status-row{top:-12px !important;max-width:calc(100% - 18px) !important}
}
@media(max-width:430px){
  .dynamic-tool-card .aith-card-status-row{top:-11px !important;max-width:calc(100% - 14px) !important}
}

/* =========================================================
   V0.9.65 — Floating status badges: true card-top center
   Status badges belong to the card itself, not the logo identity row.
   They intentionally straddle the card's top border like the approved
   reference design. Multiple badges stay centered as one group.
   ========================================================= */
.archive-tool-grid-v4 .dynamic-tool-card,
.directory-page .dynamic-tool-card{
  position:relative;
}
.archive-tool-grid-v4 .dynamic-tool-card .aith-card-status-row,
.directory-page .dynamic-tool-card .aith-card-status-row{
  position:absolute;
  top:-13px;
  left:50%;
  transform:translateX(-50%);
  z-index:8;
  display:block;
  width:max-content;
  max-width:calc(100% - 28px);
  margin:0;
  padding:0;
  pointer-events:none;
}
.archive-tool-grid-v4 .dynamic-tool-card .aith-status-badges-card,
.directory-page .dynamic-tool-card .aith-status-badges-card{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:nowrap;
  gap:5px;
  width:max-content;
  max-width:100%;
}
.archive-tool-grid-v4 .dynamic-tool-card .aith-status-badges-card .aith-status-badge,
.directory-page .dynamic-tool-card .aith-status-badges-card .aith-status-badge{
  pointer-events:auto;
  white-space:nowrap;
  box-shadow:0 4px 12px rgba(15,23,42,.10);
}
/* One icon only: the badge text remains "Officially Verified" and this
   pseudo-element supplies the single check icon. */
.archive-tool-grid-v4 .dynamic-tool-card .aith-badge-claimed::before,
.directory-page .dynamic-tool-card .aith-badge-claimed::before{
  content:'✓';
  display:inline-block;
  margin-right:5px;
  font-weight:900;
}
@media(max-width:760px){
  .archive-tool-grid-v4 .dynamic-tool-card .aith-card-status-row,
  .directory-page .dynamic-tool-card .aith-card-status-row{
    top:-11px;
    max-width:calc(100% - 20px);
  }
  .archive-tool-grid-v4 .dynamic-tool-card .aith-status-badges-card,
  .directory-page .dynamic-tool-card .aith-status-badges-card{
    gap:4px;
  }
  .archive-tool-grid-v4 .dynamic-tool-card .aith-status-badges-card .aith-status-badge,
  .directory-page .dynamic-tool-card .aith-status-badges-card .aith-status-badge{
    font-size:8px;
    padding:4px 7px;
    min-height:20px;
  }
}
@media(max-width:430px){
  .archive-tool-grid-v4 .dynamic-tool-card .aith-card-status-row,
  .directory-page .dynamic-tool-card .aith-card-status-row{
    top:-10px;
  }
}


/* =========================================================
   V0.9.66 — True card-level floating status badge anchor
   The badge row is rendered as a direct child of the card (outside
   .tool-card-top), so 50% is measured against the complete card width.
   This makes the pill group sit exactly at the horizontal center of the
   card's top border.
   ========================================================= */
.dynamic-tool-card > .aith-card-status-row{
  position:absolute !important;
  top:-14px !important;
  left:50% !important;
  right:auto !important;
  transform:translateX(-50%) !important;
  width:max-content !important;
  max-width:calc(100% - 24px) !important;
  margin:0 !important;
  padding:0 !important;
  z-index:30 !important;
}
.dynamic-tool-card > .aith-card-status-row > .aith-status-badges-card{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:max-content !important;
  max-width:100% !important;
  flex-wrap:nowrap !important;
  gap:6px !important;
}
@media(max-width:650px){
  .dynamic-tool-card > .aith-card-status-row{top:-12px !important;max-width:calc(100% - 18px) !important;}
}
@media(max-width:430px){
  .dynamic-tool-card > .aith-card-status-row{top:-11px !important;max-width:calc(100% - 14px) !important;}
}

/* V0.9.67 — Header cleanup: remove Search navigation item and use heart-only Favorites. */
.header-favorites-link{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:34px;padding:7px 5px;text-decoration:none}
.header-favorites-link .header-favorites-label{display:none!important}
.header-favorites-link b{font-size:10px;line-height:1;min-width:14px;text-align:center}
.mobile-favorites-link{display:inline-flex;align-items:center;justify-content:center;gap:4px}
.mobile-favorites-link b{font-size:10px;line-height:1}

/* =========================================================
   v0.9.68 — Account-free Manage Your AI Tool page
   ========================================================= */
.aith-manage-hero{padding:64px 0 52px;background:linear-gradient(135deg,#f7f4ff 0%,#f8fbff 52%,#effaf6 100%);border-bottom:1px solid #ececf4}.aith-manage-hero .aith-container{max-width:980px}.aith-manage-hero h1{margin:10px 0 14px;font-size:clamp(34px,4vw,52px);line-height:1.08;letter-spacing:-.035em}.aith-manage-hero h1 span{color:var(--primary)}.aith-manage-hero p{max-width:760px;font-size:16px;color:#667085;margin:0}.aith-manage-page{padding:42px 0 72px}.aith-manage-container{max-width:1080px}.aith-manage-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:22px;align-items:stretch}.aith-manage-form-card,.aith-manage-info-card,.aith-manage-result{background:#fff;border:1px solid #e4e6ee;border-radius:20px;box-shadow:0 16px 40px rgba(31,35,61,.07)}.aith-manage-form-card{padding:30px}.aith-manage-form-card h2{margin:7px 0 8px;font-size:28px}.aith-manage-form-card>p{margin:0 0 24px;color:#697386}.aith-manage-form{display:grid;gap:18px}.aith-manage-form label{display:grid;gap:7px;font-weight:700;color:#2c3345;font-size:13px}.aith-manage-form label b{color:#d33b55}.aith-manage-form input{width:100%;min-height:50px;border:1px solid #dfe2ea;border-radius:12px;background:#fff;padding:0 14px;font:inherit;font-size:14px;outline:none;transition:border-color .2s,box-shadow .2s}.aith-manage-form input:focus{border-color:var(--primary);box-shadow:0 0 0 4px rgba(var(--primary-rgb),.10)}.aith-manage-form small{font-size:11px;color:#7a8294;font-weight:500}.aith-manage-form .btn{justify-self:start;margin-top:3px}.aith-manage-info-card{padding:28px;background:linear-gradient(180deg,#fbfaff 0%,#f7fbfa 100%);border-color:#e4e0f5}.aith-manage-info-card .aith-proof-number{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:10px;background:#fff;border:1px solid #e2def5;color:var(--primary);font-size:11px;font-weight:800;margin-bottom:8px}.aith-manage-info-card h3{margin:0 0 5px;font-size:15px}.aith-manage-info-card p{margin:0 0 24px;color:#697386;font-size:13px;line-height:1.6}.aith-manage-result{padding:30px;border-color:#dfe2ea}.aith-manage-result.is-verified{border-color:#79c69c;box-shadow:0 16px 42px rgba(21,125,73,.10)}.aith-manage-result.is-published{border-color:#b9a9ef}.aith-manage-result-top{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.aith-manage-kicker{font-size:10px;letter-spacing:.14em;font-weight:800;color:var(--primary)}.aith-manage-result h2{margin:7px 0 0;font-size:28px}.aith-manage-status{display:inline-flex;align-items:center;gap:5px;padding:8px 12px;border-radius:999px;background:#f3f4f7;color:#4c5364;font-size:11px;font-weight:800;white-space:nowrap}.is-verified .aith-manage-status{background:#e6f7ed;color:#176b40}.is-published .aith-manage-status{background:var(--primary-soft);color:var(--primary-dark)}.aith-manage-result-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:24px 0}.aith-manage-result-grid>div{padding:14px 16px;border:1px solid #edf0f4;border-radius:13px;background:#fafbfc}.aith-manage-result-grid span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.07em;color:#7a8294;margin-bottom:5px}.aith-manage-result-grid strong{display:block;font-size:14px;overflow-wrap:anywhere}.aith-manage-success-copy{margin:0;color:#5e6779;line-height:1.65;font-size:14px}.aith-manage-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:24px;padding-top:22px;border-top:1px solid #edf0f4}.aith-manage-contact{display:flex;flex-direction:column;gap:3px;font-size:12px;color:#697386}.aith-manage-contact strong{color:#303747}.aith-manage-contact a{color:var(--primary);font-weight:700;text-decoration:none}.aith-manage-back{text-align:center;margin-top:20px}.aith-manage-back a{color:var(--primary);font-size:13px;font-weight:700;text-decoration:none}@media(max-width:760px){.aith-manage-hero{padding:40px 0 34px}.aith-manage-page{padding:28px 0 52px}.aith-manage-layout{grid-template-columns:1fr}.aith-manage-form-card,.aith-manage-info-card,.aith-manage-result{padding:22px;border-radius:16px}.aith-manage-result-top{flex-direction:column}.aith-manage-result-grid{grid-template-columns:1fr}.aith-manage-actions{align-items:stretch;flex-direction:column}.aith-manage-actions .btn{width:100%;text-align:center}.aith-manage-contact{padding-top:2px}.aith-manage-hero h1{font-size:34px}}

/* =========================================================
   V0.9.70 — Full-site responsive audit
   Mobile-first hardening across shared layout, directory,
   cards, forms, compare, prompts, favorites, and footer.
   ========================================================= */
html{overflow-x:hidden}
*,*::before,*::after{box-sizing:border-box}
img,svg,video,iframe{max-width:100%}
button,input,select,textarea{max-width:100%}
.aith-container,.narrow-container{min-width:0}

/* Header: prevent cramped navigation before mobile breakpoint. */
@media(max-width:980px){
  .site-brand{min-width:0;flex:1 1 auto}
  .brand-text{min-width:0}
  .brand-text strong,.brand-text small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .primary-nav{display:none}
  .mobile-menu-toggle{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px}
  .header-submit{white-space:nowrap}
}
@media(max-width:640px){
  .aith-container{width:calc(100% - 24px)}
  .site-header{height:60px}
  .header-inner{height:60px;gap:7px}
  .brand-logo{width:34px;height:34px;flex:0 0 34px}
  .brand-text strong{font-size:14px}
  .brand-text small{font-size:9px}
  .header-actions{gap:3px}
  .header-submit{min-height:38px;padding:0 10px;font-size:10px}
  .header-submit .submit-plus{font-size:14px}
  .header-favorites-link{min-width:31px;padding:5px 2px}
  .header-favorites-link>span:first-child{font-size:18px}
  .header-favorites-link b{min-width:16px;height:16px;padding:0 4px;font-size:8px}
  .mobile-menu-toggle{width:38px;flex-basis:38px;height:38px}
}
@media(max-width:380px){
  .aith-container{width:calc(100% - 18px)}
  .brand-text small{display:none}
  .header-submit{padding:0 8px}
  .header-submit{font-size:9px}
}

/* Shared hero/search controls: stack rather than squeeze. */
@media(max-width:700px){
  .hero-search,.archive-search,.directory-search,.taxonomy-hero-search,.directory-premium-search{width:100%;max-width:none}
  .hero-search,.archive-search,.directory-search{min-height:48px}
  .hero-search .btn,.archive-search .btn,.directory-search .btn{flex:0 0 auto}
  .hero-grid{grid-template-columns:1fr!important;min-height:0}
  .hero-content{padding:0}
  .hero-stats{flex-wrap:wrap;gap:14px}
  .hero-stats div{padding:0 14px}
}
@media(max-width:480px){
  .hero-search,.archive-search,.directory-search,.taxonomy-hero-search,.directory-premium-search{gap:6px!important}
  .hero-search input,.archive-search input,.directory-search input,.taxonomy-hero-search input,.directory-premium-search input{font-size:12px!important}
  .hero-search .btn,.archive-search .btn,.directory-search .btn,.taxonomy-hero-search .btn,.directory-premium-search button{min-height:38px;padding:0 11px!important;font-size:10px}
}

/* Directory: sidebar becomes a contained mobile control; grid never overflows. */
@media(max-width:900px){
  .archive-layout-v4,.archive-layout{grid-template-columns:1fr!important}
  .directory-sidebar,.archive-sidebar{position:static;top:auto;width:100%}
  .archive-tool-grid-v4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .directory-toolbar{align-items:flex-start;flex-wrap:wrap}
  .toolbar-results{min-width:0;flex:1 1 220px}
  .toolbar-actions{flex:0 1 auto}
}
@media(max-width:650px){
  .directory-main-section{padding-top:22px}
  .directory-toolbar{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
  .toolbar-actions{width:100%;justify-content:space-between}
  .sort-form{min-width:0;flex:1}
  .sort-form select{width:100%;height:40px}
  .view-toggle{flex:0 0 auto}
  .mobile-filter-trigger{display:inline-flex;align-items:center;justify-content:center;min-height:40px}
  .archive-tool-grid-v4{grid-template-columns:1fr!important;gap:14px}
  .archive-tool-grid-v4.directory-list-view .dynamic-tool-card{display:flex;flex-direction:column;align-items:stretch;gap:0}
  .archive-tool-grid-v4.directory-list-view .tool-card-link{width:100%;margin-top:12px;text-align:center}
  .directory-active-filters{font-size:9px;padding:9px 10px}
}
@media(max-width:420px){
  .directory-toolbar .toolbar-results h2{font-size:17px}
  .directory-premium-copy h1,.directory-hero h1,.archive-hero h1{font-size:clamp(30px,10vw,38px)}
  .directory-trust-row{align-items:flex-start!important}
}

/* Unified cards: preserve equal-height rows and prevent long text/URLs from breaking layout. */
.dynamic-tool-card,.tool-card,.prompt-card,.favorite-item-card,.editorial-card,.compare-pair-card{min-width:0;overflow-wrap:anywhere}
.dynamic-tool-card .tool-title-row,.dynamic-tool-card .aith-card-tags,.dynamic-tool-card .tool-meta,.dynamic-tool-card .tool-card-link{min-width:0}
.dynamic-tool-card .tool-title-row h3{min-width:0;overflow-wrap:anywhere}
.dynamic-tool-card .tool-card-link{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dynamic-tool-card .tool-card-top{min-width:0}
.dynamic-tool-card .tool-card-identity{min-width:0}
@media(max-width:650px){
  .dynamic-tool-card{padding:15px!important;border-radius:15px!important}
  .dynamic-tool-card .tool-card-top{gap:9px}
  .dynamic-tool-card .tool-card-identity .tool-logo{width:48px;height:48px;flex-basis:48px}
  .dynamic-tool-card .tool-card-top-actions{min-width:30px}
  .dynamic-tool-card .tool-card-top-actions .bookmark{width:30px;height:30px}
  .dynamic-tool-card .tool-title-row{margin-top:10px}
  .dynamic-tool-card .tool-title-row h3{font-size:16px}
  .dynamic-tool-card>p{font-size:11px;line-height:1.55}
  .dynamic-tool-card .tool-meta{gap:7px;font-size:10px}
}

/* Floating status badges: keep them centered and readable on narrow cards. */
@media(max-width:650px){
  .dynamic-tool-card>.aith-card-status-row{top:-11px!important;max-width:calc(100% - 16px)!important}
  .dynamic-tool-card>.aith-card-status-row>.aith-status-badges-card{gap:3px!important;max-width:100%}
  .dynamic-tool-card>.aith-card-status-row .aith-status-badge{font-size:8px!important;line-height:1.1;min-height:21px;padding:4px 7px!important}
}
@media(max-width:360px){
  .dynamic-tool-card>.aith-card-status-row .aith-status-badge{font-size:7px!important;padding:4px 6px!important}
}

/* Submit/Claim: forms collapse cleanly and sticky controls stay inside viewport. */
@media(max-width:900px){
  .form-grid{grid-template-columns:1fr}
  .form-field-full{grid-column:auto}
  .aith-submit-intro,.aith-submit-payment-grid{grid-template-columns:1fr!important}
  .aith-payment-shell,.aith-claim-payment-shell{grid-template-columns:1fr!important}
}
@media(max-width:650px){
  .submit-page-hero{padding:42px 0 36px}
  .submit-page-hero h1{font-size:clamp(32px,9vw,44px)}
  .narrow-container{width:calc(100% - 24px)}
  .submit-tool-form{padding:16px;border-radius:15px}
  .form-grid{gap:13px}
  .form-field input,.form-field select,.form-field textarea{font-size:12px;padding:10px}
  .aith-submit-action-bar{width:100%;box-sizing:border-box}
  .aith-submit-action-bar .btn,.aith-submit-action-bar button{max-width:100%}
  .aith-payment-main,.aith-payment-proof-card{min-width:0}
  .aith-payment-plan{flex-wrap:wrap}
}
@media(max-width:420px){
  .aith-submit-tool-form{padding:10px}
  .submit-page-hero h1{font-size:31px}
  .form-field input,.form-field select,.form-field textarea{min-height:44px}
}

/* Compare: tables scroll horizontally without pushing the page itself. */
.compare-content,.compare-detail-grid,.compare-choice-grid,.compare-hero-content{min-width:0}
.compare-table-wrap{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
@media(max-width:700px){
  .compare-hub-hero{padding:40px 0 34px}
  .compare-hub-hero h1{font-size:clamp(32px,9vw,44px)}
  .compare-hero{padding:28px 0}
  .compare-hero-tools{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important}
  .compare-hero-tools>a{min-width:0;overflow:hidden}
  .compare-detail-card,.compare-choice-grid>div{min-width:0}
  .compare-table{min-width:650px}
}
@media(max-width:430px){
  .compare-hero-tools{gap:5px!important}
  .compare-hero-tools>a{padding:8px!important;font-size:11px!important}
  .compare-hero-tools img{width:28px!important;height:28px!important}
}

/* Favorites: two-column desktop, one-column phone, no horizontal tab overflow. */
@media(max-width:900px){.favorites-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){
  .favorites-page{padding:38px 0 54px}
  .favorites-hero h1{font-size:clamp(30px,9vw,42px)}
  .favorites-toolbar{gap:8px;align-items:flex-start}
  .favorites-total-label{min-width:0}
  .favorites-total-label strong{overflow-wrap:anywhere}
  .favorites-grid{grid-template-columns:1fr!important}
  .favorites-tabs{max-width:100%;overflow:hidden}
}

/* Prompt cards/gallery and editorial content. */
@media(max-width:900px){
  .editorial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .prompt-single-grid{grid-template-columns:1fr!important}
}
@media(max-width:600px){
  .editorial-grid{grid-template-columns:1fr!important;gap:14px}
  .prompt-grid,.prompt-gallery-grid{grid-template-columns:1fr!important}
  .prompt-library-search{width:100%}
  .prompt-copy-head{gap:10px}
  .prompt-copy-button,.prompt-print-button{width:100%}
  .prompt-single-hero h1{font-size:32px}
}

/* Taxonomy/discovery: prevent sidebar, chips and hero art from creating overflow. */
.taxonomy-directory-premium,.taxonomy-premium-hero,.taxonomy-discovery-main,.taxonomy-archive-layout,.taxonomy-featured-grid,.taxonomy-directory-premium-grid{min-width:0}
.taxonomy-related-chips a,.taxonomy-quick-links a{min-width:0;overflow-wrap:anywhere}
@media(max-width:650px){
  .taxonomy-hero-shell{min-width:0}
  .taxonomy-hero-icon-wrap{width:58px;height:58px;flex:0 0 58px;border-radius:17px}
  .taxonomy-hero-copy{min-width:0}
  .taxonomy-hero-copy h1{font-size:clamp(30px,9vw,40px)}
  .taxonomy-related-chips{grid-template-columns:1fr!important}
  .taxonomy-usecase-grid{grid-template-columns:1fr!important}
}

/* Manage Tool: stack and keep contact/result content readable. */
@media(max-width:760px){
  .aith-manage-layout{grid-template-columns:1fr!important}
  .aith-manage-result-top{flex-direction:column}
  .aith-manage-result-grid{grid-template-columns:1fr!important}
  .aith-manage-actions{align-items:stretch}
  .aith-manage-actions .btn{width:100%}
}
@media(max-width:420px){
  .aith-manage-hero h1{font-size:31px}
  .aith-manage-form-card,.aith-manage-info-card,.aith-manage-result{padding:18px!important}
}

/* Footer: columns collapse without tiny unreadable text. */
@media(max-width:900px){
  .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px}
}
@media(max-width:600px){
  .footer-grid{grid-template-columns:1fr!important;gap:18px}
  .site-footer{padding-top:38px}
}

/* Prevent common long-content failures. */
pre,code{max-width:100%;overflow-x:auto}
table{max-width:100%}
.aith-container>*{min-width:0}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* V0.9.71 — Claim consent checkbox rows: override generic claim label/input rules. */
.aith-claim-form label.aith-submit-consent{
  display:flex!important;
  flex-direction:row!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  gap:12px!important;
  width:100%!important;
  min-width:0!important;
  margin:0 0 12px!important;
  padding:14px 16px!important;
  border:1px solid #e7e9ef!important;
  border-radius:12px!important;
  background:#fbfcfd!important;
  box-sizing:border-box!important;
  color:#344054!important;
  font-size:12px!important;
  line-height:1.55!important;
  font-weight:600!important;
}
.aith-claim-form label.aith-submit-consent input[type="checkbox"]{
  display:block!important;
  position:relative!important;
  flex:0 0 18px!important;
  width:18px!important;
  min-width:18px!important;
  max-width:18px!important;
  height:18px!important;
  min-height:18px!important;
  margin:1px 0 0!important;
  padding:0!important;
  box-sizing:border-box!important;
  appearance:auto!important;
  -webkit-appearance:checkbox!important;
}
.aith-claim-form label.aith-submit-consent span{
  display:block!important;
  flex:1 1 auto!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  text-align:left!important;
}
.aith-claim-form label.aith-submit-consent:hover{
  border-color:#d9dce5!important;
  background:#fff!important;
}
@media(max-width:700px){
  .aith-claim-form label.aith-submit-consent{
    gap:10px!important;
    padding:12px 13px!important;
    font-size:11px!important;
  }
  .aith-claim-form label.aith-submit-consent input[type="checkbox"]{
    flex-basis:17px!important;
    width:17px!important;
    min-width:17px!important;
    max-width:17px!important;
    height:17px!important;
    min-height:17px!important;
  }
}

/* V0.9.72 — Submit Tool taxonomy options: checkbox and option name stay on one line. */
.aith-submit-tool-form .aith-taxonomy-picker .aith-taxonomy-option{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
.aith-submit-tool-form .aith-taxonomy-picker .aith-taxonomy-option .aith-taxonomy-check{
  display:grid!important;
  flex:0 0 16px!important;
  width:16px!important;
  min-width:16px!important;
  max-width:16px!important;
  height:16px!important;
  margin:0!important;
}
.aith-submit-tool-form .aith-taxonomy-picker .aith-taxonomy-option .aith-taxonomy-option-name{
  display:block!important;
  flex:1 1 auto!important;
  min-width:0!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  line-height:1.35!important;
}
.aith-submit-tool-form .aith-taxonomy-picker .aith-taxonomy-option input[type="checkbox"]{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  min-width:1px!important;
  min-height:1px!important;
  margin:0!important;
  padding:0!important;
  opacity:0!important;
  pointer-events:none!important;
}
@media(max-width:700px){
  .aith-submit-tool-form .aith-taxonomy-picker .aith-taxonomy-option{
    gap:9px!important;
    padding:9px 8px!important;
  }
  .aith-submit-tool-form .aith-taxonomy-picker .aith-taxonomy-option .aith-taxonomy-option-name{
    font-size:11px!important;
  }
}

/* v0.9.73 — Dedicated Featured / Sponsored tool landing pages */
.promotion-hero{padding:68px 0 54px;border-bottom:1px solid var(--border);background:linear-gradient(135deg,#fff 0%,var(--primary-soft) 100%)}
.promotion-hero h1{margin:9px 0 12px;font-size:clamp(36px,5vw,58px);letter-spacing:-.035em}
.promotion-hero h1 span{color:var(--primary)}
.promotion-hero p{max-width:700px;color:var(--muted);font-size:15px;line-height:1.75;margin:0}
.promotion-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}
.promotion-hero-featured{background:linear-gradient(135deg,#fff 0%,#f3efff 100%)}
.promotion-hero-sponsored{background:linear-gradient(135deg,#fff 0%,#fff8e9 100%)}
.promotion-tools-section{padding-top:42px}
.promotion-section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}
.promotion-section-heading h2{margin:6px 0 5px;font-size:28px;letter-spacing:-.025em}
.promotion-section-heading p{margin:0;color:var(--muted);font-size:13px}
.promotion-count{display:inline-flex;align-items:center;justify-content:center;padding:8px 13px;border-radius:999px;background:#f0ecff;color:#5b35c8;border:1px solid #ddd3ff;font-size:11px;font-weight:800;white-space:nowrap}
.promotion-count-sponsored{background:#fff2d9;color:#9b6100;border-color:#f1d79f}
.promotion-tool-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.promotion-tool-grid .dynamic-tool-card{min-height:280px}
.promotion-empty{margin-top:8px;text-align:center;padding:56px 24px}
.promotion-empty strong{font-size:18px}
.promotion-empty p{color:var(--muted);margin:8px 0 18px}
@media(max-width:980px){.promotion-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.promotion-hero{padding:44px 0 38px}.promotion-hero h1{font-size:36px}.promotion-section-heading{align-items:flex-start;flex-direction:column;margin-bottom:18px}.promotion-section-heading h2{font-size:23px}.promotion-tool-grid{grid-template-columns:1fr;gap:14px}.promotion-hero-actions .btn{width:100%;justify-content:center}}

/* V0.9.81: directory Featured promotion section */
.directory-promo-wrap { padding:12px 0 20px; }
.featured-tool-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.directory-featured-wrap { padding-bottom:10px; }
@media (max-width: 900px) { .featured-tool-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width: 640px) { .featured-tool-grid { grid-template-columns:1fr; } .section-kicker-row { align-items:flex-start; } .section-kicker-row small { display:block; margin:3px 0 0; } .directory-promo-view-all { font-size:10px; } }


/* V1.0.11 — Frontend directory/search accessibility and sharing polish. */
.view-toggle button:focus-visible,
.mobile-filter-trigger:focus-visible,
.share-tool-card button:focus-visible,
.directory-filter-chip:focus-visible { outline:3px solid rgba(var(--primary-rgb),.22); outline-offset:2px; }
.share-tool-feedback{display:block;min-height:16px;margin-top:8px;color:var(--primary);font-size:10px;font-weight:700}
.share-tool-actions{display:flex;gap:9px}
.share-tool-card .aith-share-btn{cursor:pointer}
@media(max-width:650px){
  .share-tool-actions{gap:7px}
  .share-tool-card .aith-share-btn{width:38px;height:38px}
}

/* V1.0.15 — Mobile-first directory responsiveness hardening.
 * Promotional sections remain three columns on desktop, two on tablet, and
 * collapse to one full-width card per row on phones. This final override
 * intentionally wins over older responsive rules that could restore a
 * two-column Sponsored grid at narrow widths.
 */
@media (max-width: 650px) {
  .featured-tool-grid,
  .sponsored-tool-grid,
  .promotion-tool-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100%;
    max-width: 100%;
    gap: 14px;
  }

  .directory-promo-wrap,
  .directory-sponsored-wrap {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .directory-promo-wrap .aith-container,
  .directory-sponsored-wrap .aith-container {
    min-width: 0;
  }

  .featured-tool-grid > *,
  .sponsored-tool-grid > *,
  .promotion-tool-grid > * {
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 380px) {
  .directory-promo-wrap,
  .directory-sponsored-wrap {
    padding-left: 0;
    padding-right: 0;
  }

  .section-kicker-row {
    gap: 8px;
  }

  .section-kicker-row > div {
    min-width: 0;
    flex: 1 1 auto;
  }

  .directory-promo-view-all {
    max-width: 46%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

