/**
 * Recipe template library styles, shared by the library pages (/recipes/ and its category
 * and integration pages), the template shortcodes and the single template page.
 */
:root {
	--uatl-font-family: 'Figtree', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	--uatl-border-radius: 10px;
	--uatl-box-padding: 20px;
	--uatl-line-height: 1.4;
	--uatl-font-color: #3c434a;
	--uatl-border-color-gray: #e4e4e4;
	--uatl-color-blue: #0790e8;
	--uatl-font-family--header: "Figtree", -apple-system, system-ui, blinkmacsystemfont, "Segoe UI", roboto, "Helvetica Neue", arial, sans-serif;
	--uatl-font-color-secondary: #676b6f;
	--uatl-font-size--body-large: 18px;
	--uatl-line-height--body-large: 28px;
	--uatl-box-shadow-small: 0 2px 5px 0 rgba(0,0,0,.1);
	--uatl-transition: all 150ms ease-in-out;
	--uatl-field-border-color: #cdcdcd;
	--uatl-color-pro: #1d9216;
	--uatl-color-lite: #0478c3;
}

/**
 * Page base: .aps-page wraps the library and the single template page.
 * Tokens, sections, bands and buttons match the connect pages
 * (dropins/connect-integrations/assets/css/frontend.css).
 */
.aps-page {
	--c-blue: #0790e8; --c-blue-hover: #0478c3; --c-start: #0b87e8;
	--c-band-gray: #f6f7f9;
	--c-ink: #0d0f12; --c-text: #2b2e33; --c-text-muted: #676b6f; --c-subtle: #9a9ea3; --c-border: #e4e4e4;
	--c-pro: #1d9216; --c-lite: #0478c3;
	--content-width: 1200px; --gutter-desktop: 24px; --gutter-mobile: 20px;
	--font-stack: 'Figtree', -apple-system, 'Segoe UI', system-ui, sans-serif;
	--type-h2: 44px;
	--type-body: 1rem; --type-small: 0.875rem;
	--card-radius: 16px; --shadow-card: 0 0 0 1px rgba(0, 0, 0, 0.07), 0 2px 5px rgba(0, 0, 0, 0.04);
}
@media (max-width: 1024px) { .aps-page { --type-h2: 38px; } }
@media (max-width: 767px) { .aps-page { --type-h2: 32px; } }

.aps-page .aps-section { padding: 100px var(--gutter-desktop); color: var(--c-text); font-family: var(--font-stack); font-size: var(--type-body); line-height: 1.6; }
.aps-page .aps-section *,
.aps-page .aps-section *::before,
.aps-page .aps-section *::after { box-sizing: border-box; }
@media (max-width: 768px) { .aps-page .aps-section { padding-right: var(--gutter-mobile); padding-left: var(--gutter-mobile); } }
.aps-page .aps-container { max-width: var(--content-width); margin: 0 auto; }
.aps-page .aps-band-white { background: #fff; }
.aps-page .aps-band-light { background: radial-gradient(120% 80% at 50% 0%, #eaf5fd 0%, #ffffff 60%); }
.aps-page .aps-band-gray { background: var(--c-band-gray); }
.aps-page .aps-band-fade { background: linear-gradient(to bottom, #fff 0%, var(--c-band-gray) 100%); }
.aps-page .aps-band-recipes { background: #fff; }
.aps-page .aps-kicker { margin: 0 0 14px; color: var(--c-blue); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; line-height: 1.65; text-transform: uppercase; }

/* Section heads: kicker, title, description. */
.aps-page .aps-steps h2,
.aps-page .aps-related h2,
.aps-page .aps-connect h2,
.aps-page .aps-two-paths h2,
.aps-page .aps-what-is h2,
.aps-page .aps-faq h2,
.aps-page .aps-final h2 { margin: 0; color: var(--c-ink); font-family: var(--font-stack); font-size: var(--type-h2); font-weight: 700; letter-spacing: -0.025em; line-height: 1.12; text-wrap: balance; }
.aps-page .aps-section-head { max-width: 750px; margin: 0 auto 48px; text-align: center; }
.aps-page .aps-sub { margin: 16px 0 0; color: var(--c-text-muted); font-size: 18px; line-height: 1.6; }
@media (max-width: 767px) { .aps-page .aps-section-head { margin-bottom: 32px; } }

/* Buttons match the site: blue pill for the free plugin, white with a blue border for everything else. */
.aps-page .aps-btn { display: inline-block; padding: 6px 20px; border: 2px solid transparent; border-radius: 999px; font-family: var(--font-stack); font-size: 16px; font-weight: 600; line-height: 1.65; text-decoration: none; cursor: pointer; transition: background 150ms ease, color 150ms ease, border-color 150ms ease; }
.aps-page .aps-hero-buttons .aps-btn { font-size: 18px; }
.aps-page .aps-btn-primary { border-color: var(--c-start); background: var(--c-start); color: #fff; }
.aps-page .aps-btn-primary:hover { border-color: var(--c-blue); background: var(--c-blue); color: #fff; text-decoration: none; }
.aps-page .aps-btn-secondary { border-color: var(--c-start); background: #fff; color: var(--c-start); }
.aps-page .aps-btn-secondary:hover { background: #eaf5fd; color: #056caf; text-decoration: none; }

/* Breadcrumb */
.aps-page { position: relative; }
html:has(.aps-page) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:has(.aps-page) { scroll-behavior: auto; } }
.aps-page .aps-breadcrumb { position: absolute; top: 0; right: 0; left: 0; z-index: 1; padding: 20px var(--gutter-desktop) 0; font-family: var(--font-stack); font-size: 14px; line-height: 1.5; }
@media (max-width: 768px) { .aps-page .aps-breadcrumb { padding: 16px var(--gutter-mobile) 0; } }
.aps-page .aps-breadcrumb ol { display: flex; gap: 8px; max-width: var(--content-width); margin: 0 auto; padding: 0; color: var(--c-text-muted); list-style: none; }
.aps-page .aps-breadcrumb li { flex: none; margin: 0; white-space: nowrap; }
.aps-page .aps-breadcrumb li::after { content: ">"; margin-left: 8px; color: var(--c-subtle); }
.aps-page .aps-breadcrumb li:last-child { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.aps-page .aps-breadcrumb li:last-child::after { content: none; }
.aps-page .aps-breadcrumb a { color: var(--c-blue); text-decoration: none; }
.aps-page .aps-breadcrumb a:hover { color: var(--c-blue-hover); text-decoration: none; }
/* Phones: the template title is the H1 right below, so its crumb steps aside. */
@media (max-width: 767px) {
	.aps-page .aps-breadcrumb ol { flex-wrap: wrap; row-gap: 2px; }
	.single-recipe-template .aps-breadcrumb li:last-child { display: none; }
	.single-recipe-template .aps-breadcrumb li:nth-last-child(2)::after { content: none; }
}

/* FAQ: the homepage design, head on the left, the questions on the right. */
.aps-page .aps-faq-cols { display: grid; grid-template-columns: minmax(0, 34fr) minmax(0, 60fr); gap: 64px; align-items: start; }
@media (max-width: 1024px) { .aps-page .aps-faq-cols { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
.aps-page .aps-faq-more { margin: 16px 0 0; color: var(--c-text-muted); font-size: 18px; line-height: 1.6; }
.aps-page .aps-faq-more a { color: var(--c-blue); font-weight: 600; text-decoration: none; }
.aps-page .aps-faq details { margin: 0 0 12px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07); }
.aps-page .aps-faq details:last-child { margin-bottom: 0; }
.aps-page .aps-faq summary { display: flex; justify-content: flex-start; gap: 14px; padding: 18px 20px; color: var(--c-ink); font-size: 16px; font-weight: 600; line-height: 1.45; list-style: none; cursor: pointer; }
.aps-page .aps-faq summary::-webkit-details-marker { display: none; }
.aps-page .aps-faq summary::before { content: "+"; flex: none; width: 12px; color: var(--c-blue); font-weight: 700; }
.aps-page .aps-faq details[open] summary::before { content: "\2212"; }
.aps-page .aps-faq details p { margin: 0; padding: 0 20px 18px; color: var(--c-text-muted); font-size: 15px; line-height: 1.6; }
.aps-page .aps-faq details a { color: var(--c-blue); }

/* Connect your AI: the text on one side, the prompts on the other. */
.aps-page .aps-connect-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .aps-page .aps-connect-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.aps-page .aps-sub strong { color: var(--c-ink); font-weight: 600; }
.aps-page .aps-connect-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.aps-page .aps-connect-cta .aps-btn { font-size: 18px; }
@media (max-width: 767px) {
	.aps-page .aps-connect-cta { margin-top: 28px; }
	.aps-page .aps-connect-cta .aps-btn { width: 100%; text-align: center; }
}
.aps-page .aps-connect-text .aps-trust { margin: 16px 0 0; color: #5b6168; font-size: 14px; line-height: 1.6; }
.aps-page .aps-connect-text .aps-works-row { justify-content: flex-start; margin: 24px 0 0; }
.aps-page .aps-connect-text .aps-works-more { margin: 6px 0 0; color: var(--c-text-muted); font-size: 14px; line-height: 1.65; }
.aps-page .aps-agent-line { display: flex; align-items: center; gap: 14px; margin: 28px 0 0; }
.aps-page .aps-agent-line img { display: block; flex: none; width: 44px; height: 44px; }
.aps-page .aps-agent-line p { margin: 0; color: var(--c-text-muted); font-size: 15px; line-height: 1.5; }
.aps-page .aps-agent-line strong { color: var(--c-ink); font-weight: 600; }
.aps-page .aps-agent-line a { color: var(--c-blue); font-weight: 600; text-decoration: none; }
.aps-page .aps-agent-line a:hover { color: var(--c-blue-hover); text-decoration: none; }
.aps-page .aps-prompts-label { margin: 0 0 12px; color: var(--c-text-muted); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; line-height: 1.5; text-transform: uppercase; }
.aps-page .aps-msgs-card { display: flex; flex-direction: column; gap: 24px; padding: 28px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07); }
.aps-page .aps-msgs { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; min-width: 0; }
.aps-page .aps-msg { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; max-width: 85%; padding: 10px 14px; border-radius: 16px; background: #eef1f5; color: var(--c-ink); }
.aps-page .aps-msg:last-child { border-radius: 16px 16px 4px 16px; }
.aps-page .aps-msg-text { flex: 0 1 auto; min-width: 0; margin: 0; color: var(--c-ink); font-size: 14px; line-height: 1.5; }
.aps-page .aps-msg-side { display: flex; flex: none; align-items: center; gap: 8px; }
.aps-page .aps-copy { flex: none; margin: 0; padding: 2px 10px; border: 1px solid var(--c-start); border-radius: 999px; background: #fff; color: var(--c-start); font-family: var(--font-stack); font-size: 12px; font-weight: 600; line-height: 1.5; cursor: pointer; }
.aps-page .aps-copy:hover { background: #eaf5fd; color: #056caf; }
.aps-page .aps-chatbox { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 18px; border: 1px solid var(--c-border); border-radius: 999px; background: #fff; }
.aps-page .aps-chatbox-text { color: var(--c-subtle); font-size: 15px; line-height: 1.5; }
.aps-page .aps-chatbox-send { display: flex; flex: none; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #eaf5fd; }
.aps-page .aps-chatbox-send img { display: block; width: 16px; height: 16px; }
.aps-page .aps-prompts-note { margin: 12px 0 0; color: var(--c-text-muted); font-size: 14px; line-height: 1.5; }
@media (max-width: 600px) {
	.aps-page .aps-msgs-card { padding: 16px; }
	.aps-page .aps-msg { flex-direction: column; max-width: 90%; }
}

/* What is Uncanny Automator? */

/* Closing call to action: the dark card. */
.aps-page .aps-final-card { max-width: 1200px; margin: 0 auto; padding: 80px 32px; border-radius: 24px; background: radial-gradient(60% 80% at 50% 0%, rgba(7, 144, 232, 0.18) 0%, rgba(7, 144, 232, 0) 70%), #0b1220; box-shadow: 0 24px 48px -24px rgba(11, 18, 32, 0.35); color: #fff; text-align: center; }
@media (max-width: 767px) { .aps-page .aps-final-card { padding: 48px 20px; } }
.aps-page .aps-final-card .aps-kicker { color: #fff; }
.aps-page .aps-final-card h2 { max-width: 750px; margin: 0 auto; color: #fff; }
.aps-page .aps-final-card p { max-width: 750px; margin: 16px auto 0; color: #fff; font-size: 18px; line-height: 1.6; }
.aps-page .aps-final-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
@media (max-width: 767px) { .aps-page .aps-final-buttons { flex-direction: column; align-items: center; } }

/* The two paths on the library. */
/* New here: 70px on each side, and the same on the neighbours' touching sides (Dani). */
.aps-page .aps-what-is { padding-top: 70px; padding-bottom: 70px; }
.aps-page .aps-section:not(.aps-band-gray):has(+ .aps-what-is) { padding-bottom: 70px; }
.aps-page .aps-what-is + .aps-section { padding-top: 70px; }
.aps-page .aps-what-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .aps-page .aps-what-cols { grid-template-columns: minmax(0, 1fr); } }
.aps-page .aps-what-card { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-card); }
.aps-page .aps-what-card img { display: block; width: 30px; height: 30px; margin-bottom: 16px; }
.aps-page .aps-what-card h3 { margin: 0 0 8px; color: var(--c-ink); font-family: var(--font-stack); font-size: 20px; font-weight: 600; line-height: 1.3; }
.aps-page .aps-what-card p { margin: 0 0 16px; color: var(--c-text-muted); font-size: 15px; line-height: 1.6; }
.aps-page .aps-what-card a { margin-top: auto; color: var(--c-blue); font-size: 15px; font-weight: 600; text-decoration: none; }
.aps-page .aps-what-card a:hover { color: var(--c-blue-hover); text-decoration: none; }
.aps-page .aps-what-fine { margin: 24px 0 0; color: var(--c-text-muted); font-size: 14px; line-height: 1.6; text-align: center; }
.aps-page .aps-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 800px) { .aps-page .aps-paths { grid-template-columns: minmax(0, 1fr); } }
.aps-page .aps-path { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07), 0 2px 5px rgba(0, 0, 0, 0.04); }
.aps-page .aps-path h3 { margin: 0 0 24px; color: var(--c-ink); font-family: var(--font-stack); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.aps-page .aps-path-steps { display: flex; flex-direction: column; gap: 20px; margin: 0 0 28px; padding: 0; list-style: none; }
.aps-page .aps-path-steps li { display: flex; gap: 14px; margin: 0; }
.aps-page .aps-step-num { display: flex; flex: none; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-card); color: var(--c-blue); font-size: 14px; font-weight: 700; line-height: 1; }
.aps-page .aps-path-steps strong { display: block; margin-bottom: 4px; color: var(--c-ink); font-size: 16px; font-weight: 600; line-height: 1.4; }
.aps-page .aps-path-steps p { margin: 0; color: var(--c-text-muted); font-size: 15px; line-height: 1.6; }
.aps-page .aps-path-steps p strong { display: inline; margin: 0; font-size: inherit; line-height: inherit; }
.aps-page .aps-path-steps a { color: var(--c-blue); font-weight: 600; text-decoration: none; }
.aps-page .aps-path-steps a:hover { color: var(--c-blue-hover); text-decoration: none; }
.aps-page .aps-path .aps-btn { margin-top: auto; }
.aps-page .aps-paths-fine { margin: 24px 0 0; color: var(--c-text-muted); font-size: 14px; line-height: 1.6; text-align: center; }

/**
 * Template cards (the Automation Card Pattern) and their grid.
 * Shared by the library, the template shortcodes and the single template page.
 */
.automator-template-library__templates {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

@media (max-width: 1000px) {
	.automator-template-library__templates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
	.automator-template-library__templates { grid-template-columns: minmax(0, 1fr); }
}

.automator-template-library__template-grid-item { display: flex; }

.aps-template-card { display: flex; flex-direction: column; gap: 12px; width: 100%; padding: 20px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07), 0 2px 5px rgba(0, 0, 0, 0.04); color: #0d0f12; font-family: var(--uatl-font-family); text-decoration: none; transition: box-shadow 150ms ease-in-out; }
.aps-template-card:hover,
.aps-template-card:focus { box-shadow: 0 0 0 1px #0b87e8, 0 2px 6px rgba(11, 135, 232, 0.15); color: #0d0f12; text-decoration: none; }
.aps-template-card-title { margin: 0; color: inherit; font-family: inherit; font-size: 17px; font-weight: 600; line-height: 1.35; }
.aps-template-card-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.aps-template-card-tags .aps-chip:last-child { margin-left: auto; }
.aps-template-card-requires { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 4px; color: #2b2e33; font-size: 15px; line-height: 22px; }
.aps-template-card-requires-label { color: #767676; font-size: 14px; }
.aps-template-card-requires-item { display: inline-flex; align-items: center; gap: 8px; }
.aps-template-card-requires-item .plugin-tile.size-sm { width: 16px; height: 16px; border-radius: 3px; font-size: 0.5rem; }
.aps-template-card-requires-item .plugin-tile.size-sm.has-icon { padding: 0; border: 0; border-radius: 0; background: none; }

/**
 * Chips and plugin tiles, shared by the cards and the single template page.
 */
.aps-chip { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; line-height: 1.5; vertical-align: middle; }
.aps-chip-pro { background: #edf7ec; color: var(--uatl-color-pro); }
.aps-chip-lite { background: #eaf5fd; color: var(--uatl-color-lite); }
.aps-chip-neutral { background: #eef1f5; color: #2b2e33; font-size: 13px; }
.aps-chip-neutral b { color: #0d0f12; font-weight: 600; }
.aps-chip-neutral a { color: inherit; text-decoration: underline; text-decoration-color: rgba(0, 0, 0, 0.25); text-underline-offset: 2px; }
.aps-chip-neutral a:hover { color: var(--uatl-color-blue); text-decoration-color: currentColor; }

.plugin-tile { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 40px; height: 40px; overflow: hidden; border-radius: 8px; background: var(--tile-bg, #4a4a4a); color: #fff; font-size: 0.85rem; font-weight: 700; }
.plugin-tile.has-icon { padding: 6px; border: 1px solid var(--uatl-border-color-gray); background: #fff; }
.plugin-tile img { width: 100%; height: 100%; object-fit: contain; }
.plugin-tile.size-sm { width: 30px; height: 30px; border-radius: 6px; font-size: 0.65rem; }
.plugin-tile.size-sm.has-icon { padding: 4px; }
.plugin-tile.size-xs { width: 20px; height: 20px; margin-top: 1px; border-radius: 4px; font-size: 0.55rem; }
.plugin-tile.size-xs.has-icon { padding: 2px; }

/**
 * Library page (recipes-index-page.html)
 */

/* Hero: search first */
.aps-page .aps-library-hero { padding-top: 104px; text-align: center; }
@media (max-width: 976px) { .aps-page .aps-library-hero { padding-top: 80px; } }
@media (max-width: 767px) { .aps-page .aps-library-hero { padding-top: 64px; } }
.aps-page .aps-library-hero .aps-container { max-width: 750px; }
.aps-page .aps-library-hero .aps-kicker { margin: 0 0 16px; }
.aps-page .aps-library-hero h1 { margin: 0 0 24px; color: var(--c-ink); font-family: var(--font-stack); font-size: 56px; font-weight: 700; letter-spacing: -1.2px; line-height: 1.08; text-wrap: balance; }
@media (max-width: 976px) { .aps-page .aps-library-hero h1 { font-size: 46px; letter-spacing: -0.9px; } }
@media (max-width: 767px) { .aps-page .aps-library-hero h1 { margin-bottom: 20px; font-size: 36px; letter-spacing: -0.6px; line-height: 1.1; } }
.aps-page .aps-library-hero .aps-hero-intro { margin: 0 0 32px; color: #50565c; font-size: 18px; line-height: 1.65; }
@media (max-width: 767px) { .aps-page .aps-library-hero .aps-hero-intro { margin-bottom: 28px; font-size: 17px; } }
.aps-page .aps-works-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; margin: 16px 0 32px; font-size: 14px; line-height: 1.65; }
@media (max-width: 767px) { .aps-page .aps-works-row { column-gap: 12px; margin-bottom: 28px; } }
.aps-page .aps-works-label { color: var(--c-ink); font-weight: 600; }
.aps-page .aps-works-item { display: inline-flex; align-items: center; gap: 8px; color: var(--c-text-muted); text-decoration: none; }
.aps-page .aps-works-item:hover { color: var(--c-blue); text-decoration: none; }
.aps-page .aps-works-item img { display: block; flex: none; width: 18px; height: 18px; object-fit: contain; }
.aps-page .aps-library-hero .aps-hero-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 767px) {
	.aps-page .aps-library-hero .aps-hero-buttons { flex-direction: column; }
	.aps-page .aps-library-hero .aps-hero-buttons .aps-btn { width: 100%; text-align: center; }
}
.aps-page .aps-library-hero .aps-trust { margin: 32px 0 0; color: #5b6168; font-size: 14px; line-height: 1.6; }
@media (max-width: 767px) { .aps-page .aps-library-hero .aps-trust { margin-top: 28px; } }
.aps-page .aps-library-hero .aps-trust strong { color: var(--c-ink); font-weight: 600; }
.aps-page .aps-library-hero .aps-sep { margin: 0 0.25em; color: var(--c-text-muted); }
.aps-page .aps-library-hero .aps-recipe-def { margin: 20px 0 0; color: var(--c-text-muted); font-size: 15px; line-height: 1.6; }

/* Search */
.aps-page .aps-search { display: flex; margin: 0 0 10px; overflow: hidden; border: 1px solid #cfcfcf; border-radius: 10px; background: #fff; }
.aps-page .aps-search:focus-within { border-color: var(--c-blue); box-shadow: 0 0 0 3px rgba(7, 144, 232, 0.15); }
.aps-page .aps-search input[type="search"] { flex: 1; min-width: 0; height: auto; margin: 0; padding: 16px 18px; border: 0; border-radius: 0; background: transparent; box-shadow: none; outline: none; color: var(--c-text); font-family: inherit; font-size: 17px; }
.aps-page .aps-search button { margin: 0; padding: 0 26px; border: 0; border-radius: 0; background: var(--c-blue); color: #fff; font-family: inherit; font-size: 1rem; font-weight: 600; cursor: pointer; }
.aps-page .aps-search button:hover { background: var(--c-blue-hover); }

/* Browse: filters and results */
.aps-page .aps-browse-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 36px; align-items: start; }
@media (max-width: 900px) { .aps-page .aps-browse-grid { grid-template-columns: minmax(0, 1fr); } }

.aps-page .aps-filters > summary { padding: 10px 14px; border: 1px solid var(--c-border); border-radius: 8px; color: var(--c-text); font-weight: 600; cursor: pointer; }
@media (min-width: 901px) {
	.aps-page .aps-filters { position: sticky; top: 76px; }
	.aps-page .aps-filters > summary { display: none; }
}
.aps-page .aps-fgroup { padding: 16px 0; border-bottom: 1px solid var(--c-border); }
@media (min-width: 901px) { .aps-page .aps-fgroup:first-of-type { padding-top: 0; } }
.aps-page .aps-fgroup h2 { margin: 0 0 10px; color: var(--c-blue); font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; line-height: 1.5; text-transform: uppercase; }
.aps-page .aps-fgroup-note { margin: 8px 0 0; color: #777; font-size: 0.8rem; line-height: 1.45; }
.aps-page .aps-seg { display: flex; overflow: hidden; border: 1px solid var(--c-border); border-radius: 10px; }
.aps-page .aps-seg a { flex: 1; padding: 3px 4px; background: #fff; color: var(--c-text); font-size: 14px; font-weight: 600; line-height: 1.5; text-align: center; text-decoration: none; }
.aps-page .aps-seg a small { font-size: 13px; }
.aps-page .aps-seg a + a { border-left: 1px solid var(--c-border); }
.aps-page .aps-seg a.aps-on { background: var(--c-blue); color: #fff; }
.aps-page .aps-flist { margin: 0; padding: 0; list-style: none; }
.aps-page .aps-flist li { margin: 0; }
.aps-page .aps-flist a { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; color: var(--c-text); font-size: 0.93rem; text-decoration: none; }
.aps-page .aps-flist a:hover { color: var(--c-blue); }
.aps-page .aps-flist a.aps-on { color: var(--c-blue); font-weight: 700; }
.aps-page .aps-n { color: #888; font-size: 0.85rem; }
.aps-page .aps-flist-scrollwrap { position: relative; }
.aps-page .aps-flist-scrollwrap::after { content: ""; position: absolute; right: 8px; bottom: 0; left: 0; height: 40px; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff); pointer-events: none; transition: opacity 0.15s; }
.aps-page .aps-flist-scrollwrap.is-end::after { opacity: 0; }
.aps-page .aps-flist-scroll { max-height: 280px; padding-right: 10px; overflow-y: auto; }
.aps-page .aps-flist-scroll::-webkit-scrollbar { width: 6px; }
.aps-page .aps-flist-scroll::-webkit-scrollbar-track { border-radius: 6px; background: #f1f2f4; }
.aps-page .aps-flist-scroll::-webkit-scrollbar-thumb { border-radius: 6px; background: #c3c7cc; }
@supports not selector(::-webkit-scrollbar) { .aps-page .aps-flist-scroll { scrollbar-width: thin; scrollbar-color: #c3c7cc #f1f2f4; } }
.aps-page .aps-browse.is-loading .aps-browse-results { opacity: 0.45; transition: opacity 0.15s; }
.aps-page .aps-flist-search { width: 100%; height: auto; margin: 0 0 8px; padding: 8px 10px; border: 1px solid var(--c-border); border-radius: 6px; font-family: inherit; font-size: 0.9rem; }

.aps-page .aps-results-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; color: var(--c-text-muted); font-size: 0.92rem; }
.aps-page .aps-sort a { color: var(--c-blue); }
.aps-page .aps-active-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.aps-page .aps-active-chip { padding: 4px 12px; border-radius: 999px; background: #eaf5fd; color: #0478c3; font-size: 0.85rem; font-weight: 600; text-decoration: none; }
.aps-page a.aps-active-chip:hover { background: #eaf5fd; color: #056caf; }
.aps-page .aps-clear { color: var(--c-blue); font-size: 0.85rem; }
.aps-page .aps-browse-empty { padding: 40px 0; color: var(--c-text-muted); }
.aps-page .automator-template-library__footer .wpex-pagination { text-align: center; }
.aps-page .automator-template-library__footer { margin-top: 28px; }

/* Browse by category and integration */
.aps-page .aps-browse-by h2 { margin: 0; color: var(--c-ink); font-family: var(--font-stack); font-size: 32px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; }
.aps-page .aps-browse-by-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: start; }
@media (max-width: 900px) { .aps-page .aps-browse-by-cols { grid-template-columns: minmax(0, 1fr); gap: 48px; } }
.aps-page .aps-browse-by .aps-flist { margin-top: 20px; }
.aps-page .aps-browse-by .aps-flist a { align-items: baseline; }
.aps-page .aps-browse-by .aps-flist a > span:first-child { order: 1; }
.aps-page .aps-browse-by .aps-flist a::after { content: ""; flex: 1; order: 2; border-bottom: 2px dotted #c3c7cc; }
.aps-page .aps-browse-by .aps-flist a .aps-n { order: 3; }
