/* PluginLoom Demo theme. Flat colour, the pluginloom.com palette, Fraunces headings and Inter text
   (both self-hosted, see theme.json). Text colours are ink-500 or darker on light surfaces (4.5:1+). */
:root {
	--ink-950: #0B1020; --ink-900: #121933; --ink-800: #1C2444; --ink-700: #2B3459; --ink-600: #434C72;
	--ink-500: #535C82; --ink-300: #B4BAD1; --ink-200: #D6DAE8; --ink-100: #E9ECF4; --ink-50: #F4F5FA;
	--paper: #FBFAF6; --paper-2: #F3F0E8; --paper-3: #E9E4D8;
	--loom-50: #F1F0FF; --loom-100: #E3E1FF; --loom-200: #C9C4FF; --loom-600: #5038DC; --loom-700: #412BB8; --loom-800: #352594;
	--saffron: #FBBF4A; --saffron-100: #FFF1D1; --saffron-500: #F2A516; --saffron-700: #8F5A05;
	--moss-50: #E8F6F2; --moss-700: #075E52; --rust-50: #FDEEEB; --rust-700: #962E1E;
	--font-sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-display: Fraunces, Georgia, "Times New Roman", serif;
	--font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
	--gutter: 16px;
	--radius: 14px;
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }

/* Base ------------------------------------------------------------------------------------------ */
html { -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink-900); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
.wp-site-blocks { display: flex; flex-direction: column; min-height: 100vh; padding: 0 !important; }
.wp-site-blocks > * { margin-block: 0 !important; }
.wp-site-blocks > main, .wp-site-blocks > .pl-main { flex: 1 0 auto; }
:where(a) { text-underline-offset: 3px; text-decoration-thickness: 1px; }
:where(a:hover) { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--loom-600); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }
img { max-width: 100%; height: auto; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.pl-wrap { box-sizing: border-box; width: 100%; max-width: 1200px; margin-inline: auto !important; padding-inline: var(--gutter); }
.pl-narrow { max-width: 856px; }
.pl-muted { color: var(--ink-500); }
.pl-arrow { display: inline-block; transition: transform .15s ease-out; }
a:hover .pl-arrow, a:hover + .pl-arrow { transform: translateX(2px); }
.pl-ext { font-size: .85em; margin-left: .2em; }
h1, h2, h3, h4 { overflow-wrap: break-word; }

/* Buttons --------------------------------------------------------------------------------------- */
.pl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--loom-600); background: var(--loom-600); color: #fff !important; font: 600 .95rem/1.2 var(--font-sans); text-decoration: none !important; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; box-sizing: border-box; }
.pl-btn:hover { background: var(--loom-700); border-color: var(--loom-700); }
.pl-btn--ghost { background: #fff; color: var(--ink-900) !important; border-color: var(--ink-200); }
.pl-btn--ghost:hover { background: #fff; border-color: var(--ink-600); }
.pl-btn--light { background: var(--saffron); border-color: var(--saffron); color: var(--ink-950) !important; }
.pl-btn--light:hover { background: #fff; border-color: #fff; }
.pl-btn--sm { min-height: 40px; padding: 0 14px; font-size: .9rem; }
.pl-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Skip link, demo banner ------------------------------------------------------------------------- */
.pl-skip { position: absolute; left: 12px; top: -100px; z-index: 1000; padding: 10px 16px; border-radius: 8px; background: #fff; color: var(--ink-950); font-weight: 600; text-decoration: none; border: 2px solid var(--loom-600); }
.pl-skip:focus { top: 12px; }
.pl-banner { background: var(--saffron); color: var(--ink-950); font-size: .9rem; line-height: 1.4; }
.pl-banner__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding-block: 9px; }
.pl-banner__tag { display: inline-block; padding: 1px 8px; border-radius: 999px; background: var(--ink-950); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pl-banner a { color: var(--ink-950); font-weight: 600; margin-left: auto; }
.pl-banner a:focus-visible { outline-color: var(--ink-950); }

/* Header ---------------------------------------------------------------------------------------- */
.pl-header { position: relative; z-index: 40; background: #fff; border-bottom: 1px solid var(--ink-100); }
.pl-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.pl-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-950); text-decoration: none !important; }
.pl-logo__mark { flex: none; width: 32px; height: 32px; display: block; }
.pl-logo__word { font: 600 1.3rem/1 var(--font-display); letter-spacing: -.02em; color: var(--ink-950); }
.pl-logo__tag { padding: 3px 7px 4px; border-radius: 6px; background: var(--ink-50); border: 1px solid var(--ink-200); color: var(--ink-600); font: 600 .72rem/1 var(--font-sans); letter-spacing: .04em; text-transform: lowercase; }
.pl-logo--light .pl-logo__word { color: #fff; }
.pl-logo--light .pl-logo__tag { background: transparent; border-color: var(--ink-600); color: var(--ink-200); }
.pl-nav { display: flex; align-items: center; gap: 20px; }
.pl-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.pl-nav__list > li { position: relative; margin: 0; }
.pl-nav__link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 0; border-radius: 8px; background: none; color: var(--ink-800); font: 500 .95rem/1 var(--font-sans); text-decoration: none; cursor: pointer; }
.pl-nav__link:hover { background: var(--ink-50); color: var(--ink-950); }
.pl-nav__link[aria-current="page"], .pl-nav__has-sub.is-current > .pl-nav__toggle { color: var(--loom-700); box-shadow: inset 0 -2px 0 var(--loom-600); border-radius: 8px 8px 0 0; }
.pl-chev { transition: transform .15s; }
.pl-nav__toggle[aria-expanded="true"] .pl-chev { transform: rotate(180deg); }
.pl-sub { list-style: none; margin: 0; padding: 8px; display: none; }
.pl-nav__has-sub.is-open > .pl-sub { display: block; }
html:not(.pl-js) .pl-nav__has-sub:hover > .pl-sub, html:not(.pl-js) .pl-nav__has-sub:focus-within > .pl-sub { display: block; }
.pl-sub__link { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--ink-900); }
.pl-sub__link:hover { background: var(--loom-50); }
.pl-sub__link[aria-current="true"] { background: var(--ink-50); }
.pl-sub__name { display: block; font-weight: 700; }
.pl-sub__kicker { display: block; font-size: .85rem; color: var(--ink-600); }
.pl-menu-btn { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 1px solid var(--ink-200); border-radius: 10px; background: #fff; color: var(--ink-900); font: 600 .95rem/1 var(--font-sans); cursor: pointer; }
.pl-menu-btn__bars, .pl-menu-btn__bars::before, .pl-menu-btn__bars::after { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; position: relative; content: ""; }
.pl-menu-btn__bars::before { position: absolute; top: -5px; }
.pl-menu-btn__bars::after { position: absolute; top: 5px; }
.pl-menu-btn[aria-expanded="true"] .pl-menu-btn__bars { background: transparent; }
.pl-menu-btn[aria-expanded="true"] .pl-menu-btn__bars::before { top: 0; transform: rotate(45deg); }
.pl-menu-btn[aria-expanded="true"] .pl-menu-btn__bars::after { top: 0; transform: rotate(-45deg); }

@media (min-width: 961px) {
	.pl-sub { position: absolute; top: calc(100% + 6px); left: 0; min-width: 300px; background: #fff; border: 1px solid var(--ink-200); border-radius: 12px; box-shadow: 0 12px 28px -18px rgba(11, 16, 32, .35); }
}
@media (max-width: 960px) {
	.pl-header__inner { flex-wrap: wrap; min-height: 64px; }
	.pl-js .pl-menu-btn { display: inline-flex; }
	.pl-js .pl-nav { display: none; }
	.pl-header.is-open .pl-nav { display: flex; }
	.pl-nav { flex-direction: column; align-items: stretch; width: 100%; gap: 12px; padding: 4px 0 16px; border-top: 1px solid var(--ink-100); }
	.pl-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.pl-nav__list > li { border-bottom: 1px solid var(--ink-100); }
	.pl-nav__link { width: 100%; min-height: 48px; padding: 0 4px; justify-content: space-between; border-radius: 0; font-size: 1rem; }
	.pl-nav__link[aria-current="page"], .pl-nav__has-sub.is-current > .pl-nav__toggle { box-shadow: inset 3px 0 0 var(--loom-600); padding-left: 12px; border-radius: 0; }
	.pl-sub { padding: 0 0 8px 8px; }
	.pl-nav__cta { align-self: flex-start; }
}

/* Main areas, page heads ----------------------------------------------------------------------- */
.pl-main { padding-bottom: clamp(56px, 8vw, 96px); }
.pl-main--home { padding-bottom: 0; }
.pl-main--page > .pl-wrap, .pl-main--wide > .pl-wrap, .pl-main--hub > .pl-wrap, .pl-main--demo > .pl-wrap, .pl-main--plugin > .pl-wrap, .pl-main--docs > .pl-wrap { padding-top: clamp(28px, 4vw, 48px); }
.pl-pagehead { margin-bottom: clamp(20px, 3vw, 32px); }
.pl-pagehead .wp-block-post-title, .pl-docs__body .wp-block-post-title, .pl-overview-top .wp-block-post-title { margin: 10px 0 0; font-size: var(--wp--preset--font-size--xx-large); }
.pl-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: .875rem; color: var(--ink-600); }
.pl-crumbs li { margin: 0; }
.pl-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--ink-300); }
.pl-crumbs a { color: var(--ink-600); text-decoration: none; }
.pl-crumbs a:hover { color: var(--loom-700); text-decoration: underline; }
.pl-crumbs [aria-current] { color: var(--ink-900); }

/* Prose (page content) -------------------------------------------------------------------------- */
.pl-prose > * { margin-block: 0 1.1rem; max-width: 100%; }
.pl-prose > *:last-child { margin-bottom: 0; }
.pl-prose h2 { margin-top: 2.2rem; }
.pl-prose h3 { margin-top: 1.6rem; }
.pl-prose ul, .pl-prose ol { padding-left: 1.3rem; }
.pl-prose li { margin-bottom: .35rem; }
.pl-prose li::marker { color: var(--loom-600); }
.bb-lead, .bb-lede, .pl-lead { font-size: clamp(1.075rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--ink-700); max-width: 720px; }
:where(.pl-prose, .pl-guide, .pl-main) :not(pre) > code, .pl-aside code, .pl-table code { padding: 1px 6px; border-radius: 6px; background: var(--loom-50); color: var(--loom-800); font-family: var(--font-mono); font-size: .86em; overflow-wrap: anywhere; }
.wp-block-code { overflow-x: auto; }
.wp-block-code code { background: none; color: inherit; padding: 0; }
p.has-small-font-size { color: var(--ink-600); }

/* Content components shared with the BankBridge content files */
.bb-callout { margin-block: 1.4rem !important; padding: 16px 18px !important; border: 1px solid var(--ink-200); border-left: 4px solid var(--loom-600); border-radius: 10px; background: #fff; }
.bb-callout > * { max-width: none !important; margin-left: 0 !important; }
.bb-callout > *:first-child { margin-top: 0; }
.bb-callout > *:last-child { margin-bottom: 0; }
.bb-callout--warn { border-left-color: var(--saffron-500); background: var(--saffron-100); border-color: #F3DCA4; }
.bb-callout--success { border-left-color: var(--moss-700); background: var(--moss-50); border-color: #BFE3D8; }
.bb-steps { counter-reset: plstep; list-style: none; padding-left: 0 !important; }
.bb-steps > li { counter-increment: plstep; position: relative; padding: 2px 0 10px 40px; margin: 0; }
.bb-steps > li::before { content: counter(plstep); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-950); color: #fff; font-weight: 700; font-size: .85rem; }
.bb-cards, .wp-block-group.bb-cards { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.bb-cards > * { margin: 0 !important; }
.bb-card { padding: 18px !important; border: 1px solid var(--ink-200); border-radius: 12px; background: #fff; }
.bb-card:hover { border-color: var(--ink-300); }
.bb-card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.bb-card p { margin: 0 0 6px; color: var(--ink-600); font-size: .95rem; }
.bb-card p:last-child { margin: 0; }
.wp-block-table { overflow-x: auto; margin-inline: 0; }
.wp-block-table table, .pl-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--ink-200); border-radius: 12px; background: #fff; font-size: .94rem; table-layout: auto; }
.wp-block-table th, .pl-table th { background: var(--ink-50); text-align: left; font-weight: 600; color: var(--ink-900); }
.wp-block-table th, .wp-block-table td, .pl-table th, .pl-table td { padding: 10px 14px; border: 0; border-bottom: 1px solid var(--ink-100); vertical-align: top; }
.wp-block-table tr:last-child td, .pl-table tr:last-child th, .pl-table tr:last-child td { border-bottom: 0; }
.wp-block-table td code { white-space: normal; word-break: break-word; }
.pl-tablewrap { overflow-x: auto; max-width: 100%; }
.wp-block-details { border: 1px solid var(--ink-200); border-radius: 12px; padding: 14px 18px; margin-block: 10px; background: #fff; }
.wp-block-details summary { cursor: pointer; font-weight: 600; }
.bb-download .wp-block-button__link::before { content: "\2193"; margin-right: 8px; }

/* Home ------------------------------------------------------------------------------------------ */
.pl-hero { padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--paper-3); }
.pl-hero__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.pl-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0; color: var(--loom-700); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.pl-eyebrow::before { content: ""; width: 28px; border-top: 2px dashed var(--saffron-500); }
.pl-hero h1 { margin: 18px 0 18px; font-size: var(--wp--preset--font-size--display); line-height: 1.06; letter-spacing: -.025em; max-width: 14ch; }
.pl-hero .pl-lead { margin: 0 0 28px; max-width: 580px; }
.pl-facts { margin: 0; padding: 8px 24px; background: #fff; border: 1px solid var(--ink-200); border-radius: 16px; }
.pl-facts > div { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--ink-200); }
.pl-facts > div:last-child { border-bottom: 0; }
.pl-facts dt { color: var(--ink-600); font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; padding-top: 2px; }
.pl-facts dd { margin: 0; color: var(--ink-950); font-weight: 500; }
.pl-section { padding: clamp(56px, 8vw, 96px) 0; }
.pl-section--band { background: var(--paper-2); border-block: 1px solid var(--paper-3); }
.pl-section__head { max-width: 680px; margin-bottom: 32px; }
.pl-section__head h2 { margin: 0 0 10px; font-size: var(--wp--preset--font-size--xx-large); }
.pl-section__head p { margin: 0; color: var(--ink-600); font-size: 1.075rem; }
.pl-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 20px; }
.pl-card { display: flex; flex-direction: column; padding: 28px; background: #fff; border: 1px solid var(--ink-200); border-radius: 16px; }
.pl-card__kicker { margin: 0 0 8px; color: var(--loom-700); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.pl-card__title { margin: 0 0 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.85rem; letter-spacing: -.015em; }
.pl-card__title a { color: var(--ink-950); text-decoration: none; }
.pl-card__title a:hover { text-decoration: underline; }
.pl-card__text { margin: 0 0 12px; color: var(--ink-800); }
.pl-card__note { margin: 0 0 18px; padding-left: 12px; border-left: 2px dashed var(--saffron-500); color: var(--ink-600); font-size: .92rem; }
.pl-card__try { margin: 0 0 22px; }
.pl-card__label { margin: 0 0 6px; color: var(--ink-600); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pl-card__try ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.pl-card__try a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; background: var(--loom-50); color: var(--loom-800); font-size: .9rem; font-weight: 600; text-decoration: none; }
.pl-card__try a:hover { background: var(--loom-100); }
.pl-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.pl-card__admin { display: block; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--ink-200); color: var(--ink-800); font-weight: 600; font-size: .92rem; text-decoration: none; }
.pl-card__admin:hover { color: var(--loom-700); text-decoration: underline; }
.pl-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.pl-three h3 { margin: 0 0 8px; }
.pl-three p { margin: 0; color: var(--ink-700); }
.pl-store { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.pl-store > div { max-width: 680px; }
.pl-store h2 { margin: 0 0 10px; font-size: var(--wp--preset--font-size--x-large); }
.pl-store p { margin: 0; color: var(--ink-700); }

/* Plugin section bar ---------------------------------------------------------------------------- */
.pl-sectionbar { background: var(--ink-950); color: #fff; }
.pl-sectionbar :focus-visible { outline-color: var(--saffron); }
.pl-sectionbar__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 22px; }
.pl-sectionbar__kicker { margin: 0 0 2px; color: var(--saffron); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pl-sectionbar__name { margin: 0; font: 600 1.75rem/1.15 var(--font-display); letter-spacing: -.015em; }
.pl-sectionbar__name a { color: #fff; text-decoration: none; }
.pl-sectionbar__name a:hover { text-decoration: underline; }
.pl-sectionbar__en { margin: 10px 0 0; max-width: 760px; color: var(--ink-200); font-size: .95rem; }
.pl-tabs { margin-top: 18px; overflow-x: auto; scrollbar-width: thin; }
.pl-tabs ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; white-space: nowrap; }
.pl-tabs li { margin: 0; }
.pl-tabs a { display: block; padding: 12px 12px 13px; color: var(--ink-200); font-size: .93rem; font-weight: 500; text-decoration: none; border-bottom: 3px solid transparent; }
.pl-tabs a:hover { color: #fff; border-bottom-color: var(--ink-600); }
.pl-tabs a[aria-current="page"], .pl-tabs a[aria-current="true"] { color: #fff; font-weight: 600; border-bottom-color: var(--saffron); }

/* Plugin overview ------------------------------------------------------------------------------- */
.pl-overview-top { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 5vw, 64px); align-items: start; }
.pl-overview-top__main > .wp-block-post-title { margin-top: 0 !important; margin-bottom: 18px !important; }
.pl-aside { padding: 22px; background: #fff; border: 1px solid var(--ink-200); border-radius: 16px; }
.pl-aside__title { margin: 0 0 8px; font-size: 1.15rem; }
.pl-aside dl { margin: 0; }
.pl-aside dl > div { padding: 10px 0; border-bottom: 1px dashed var(--ink-200); }
.pl-aside dt { color: var(--ink-600); font-size: .82rem; font-weight: 600; }
.pl-aside dd { margin: 2px 0 0; color: var(--ink-950); overflow-wrap: anywhere; }
.pl-aside__more { margin: 12px 0 16px; font-weight: 600; }
.pl-aside__actions { display: grid; gap: 10px; }
.pl-aside__actions .pl-btn { white-space: normal; text-align: center; }
.pl-overview { margin-top: clamp(40px, 6vw, 72px); }
.pl-overview__group + .pl-overview__group { margin-top: clamp(36px, 5vw, 56px); }
.pl-overview__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px dashed var(--paper-3); }
.pl-overview__head h2 { margin: 0; font-size: 1.5rem; }
.pl-overview__head h2 a { color: var(--ink-950); text-decoration: none; }
.pl-overview__head h2 a:hover { text-decoration: underline; }
.pl-overview__head p { margin: 0; color: var(--ink-600); }

/* Tiles ------------------------------------------------------------------------------------------ */
.pl-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.pl-tiles--three { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.pl-tile { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: #fff; border: 1px solid var(--ink-200); border-radius: 12px; color: var(--ink-900); text-decoration: none !important; transition: border-color .15s; }
.pl-tile:hover { border-color: var(--loom-600); }
.pl-tile__title { color: var(--ink-950); font-weight: 700; font-size: 1.05rem; }
.pl-tile__text { flex: 1; color: var(--ink-600); font-size: .94rem; }
.pl-tile__more { color: var(--loom-700); font-weight: 600; font-size: .92rem; }
.pl-tile--plain { background: var(--paper-2); border-color: var(--paper-3); }
.pl-hubcards { margin-top: 28px; }

/* Demo pages ------------------------------------------------------------------------------------ */
.pl-demo { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.pl-demo--wide { grid-template-columns: minmax(0, 1fr); }
.pl-demo__guide { position: sticky; top: 24px; }
.pl-demo--wide .pl-demo__guide { position: static; }
.pl-guide { padding: 20px 22px; background: #fff; border: 1px solid var(--ink-200); border-radius: var(--radius); font-size: .97rem; }
.pl-demo--wide .pl-guide { max-width: 860px; }
.pl-guide__title { margin: 0 0 10px; color: var(--loom-700); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.pl-guide > *:last-child, .pl-guide .bb-callout:last-child { margin-bottom: 0 !important; }
.pl-guide h2, .pl-guide h3 { margin: 18px 0 8px; font: 700 1.02rem/1.3 var(--font-sans); letter-spacing: 0; }
.pl-guide .bb-lead { font-size: 1rem; color: var(--ink-800); }
.pl-demo__stage { min-width: 0; }
.pl-demo__stage > .wp-block-post-content { padding: clamp(16px, 3vw, 28px); background: #fff; border: 1px solid var(--ink-200); border-radius: 16px; }
.pl-demo__stage > .wp-block-post-content > * { max-width: none !important; }
.pl-demo__stage > .wp-block-post-content > *:first-child { margin-top: 0; }
.pl-demo__stage h2 { font-size: 1.35rem; }
.pl-demo__stage table { font-size: .92rem; }
.pl-demo__stage input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]), .pl-demo__stage select { min-height: 40px; padding: 6px 10px; border: 1px solid var(--ink-300); border-radius: 8px; background: #fff; color: var(--ink-950); font: inherit; max-width: 100%; box-sizing: border-box; }
.pl-demo__stage button[type="submit"]:not([class*="bankbridge"]):not([class*="bb-"]) { min-height: 40px; padding: 0 16px; border: 0; border-radius: 8px; background: var(--loom-600); color: #fff; font: 600 .95rem var(--font-sans); cursor: pointer; }
.pl-more { margin-top: clamp(36px, 5vw, 56px); padding-top: 24px; border-top: 2px dashed var(--paper-3); }
.pl-more h2 { margin: 0 0 14px; font-size: 1.2rem; }
.pl-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pl-chips li { margin: 0; }
.pl-chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--loom-50); color: var(--loom-800); font-weight: 600; font-size: .9rem; text-decoration: none; }
.pl-chip:hover { background: var(--loom-100); }
.pl-chip--ghost { background: #fff; border: 1px solid var(--ink-200); color: var(--ink-900); }

/* Docs pages ------------------------------------------------------------------------------------ */
.pl-docs { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.pl-docs__nav { position: sticky; top: 24px; font-size: .94rem; }
.pl-docnav ul { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--ink-100); }
.pl-docnav li { margin: 0; }
.pl-docnav li a { display: block; padding: 7px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-700); text-decoration: none; }
.pl-docnav li a:hover { color: var(--ink-950); border-left-color: var(--ink-300); }
.pl-docnav a[aria-current="page"] { color: var(--loom-700); font-weight: 600; border-left-color: var(--loom-600); }
.pl-docnav__title { margin: 0 0 10px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pl-docnav__title a { color: var(--ink-950); text-decoration: none; }
.pl-docnav__switch { margin: 18px 0 0; font-weight: 600; }
.pl-docs__body { min-width: 0; max-width: 820px; }
.pl-docs__body .pl-prose h2 { padding-top: 1.2rem; border-top: 1px solid var(--ink-100); }
.pl-docs__body .pl-prose > h2:first-child { border-top: 0; padding-top: 0; }
.pl-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 48px; }
.pl-pager a { display: block; padding: 16px 18px; border: 1px solid var(--ink-200); border-radius: 12px; background: #fff; color: var(--ink-950); font-weight: 600; text-decoration: none; }
.pl-pager a:hover { border-color: var(--loom-600); }
.pl-pager span { display: block; font-size: .8rem; color: var(--ink-600); font-weight: 500; }
.pl-pager__next { text-align: right; }

/* Docs hub, external docs, credentials, admin links --------------------------------------------- */
.pl-extdocs { margin-top: 2rem; }
.pl-extdocs h2, .pl-extdocs h3 { margin: 0 0 12px; }
.pl-linklist { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 8px; margin: 0; padding: 0 !important; list-style: none; }
.pl-linklist li { margin: 0 !important; }
.pl-linklist a { display: flex; justify-content: space-between; gap: 8px; height: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid var(--ink-200); border-radius: 10px; background: #fff; color: var(--ink-900); font-weight: 500; text-decoration: none; }
.pl-linklist a:hover { border-color: var(--loom-600); color: var(--loom-700); }
.pl-docshub { display: grid; gap: 20px; margin-top: 8px; }
.pl-docshub__item { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; padding: 24px; background: #fff; border: 1px solid var(--ink-200); border-radius: 16px; }
.pl-docshub__head h2 { margin: 0 0 8px; font-size: 1.6rem; }
.pl-docshub__head p:last-child { margin: 0; font-weight: 600; }
.pl-docshub .pl-extdocs { margin: 0; }
.pl-docshub .pl-extdocs h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-600); font-family: var(--font-sans); }
.pl-docshub .pl-linklist a { background: var(--paper); }
.pl-creds { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 20px; margin-top: 8px; }
.pl-creds__item { padding: 24px; background: #fff; border: 1px solid var(--ink-200); border-radius: 16px; }
.pl-creds__item h2 { margin: 0 0 14px; font-size: 1.5rem; }
.pl-creds .pl-table { border-radius: 10px; }
.pl-creds .pl-table { table-layout: fixed; }
.pl-creds .pl-table th { width: 40%; font-size: .88rem; }
.pl-creds .pl-table td { overflow-wrap: anywhere; }
.pl-creds__links span, .pl-aside__more { white-space: nowrap; }
.woocommerce-ordering select, .orderby { min-height: 40px; padding: 4px 10px; border: 1px solid var(--ink-300); border-radius: 8px; background: #fff; color: var(--ink-900); font: inherit; }
.pl-creds__links { margin: 14px 0 0; font-weight: 600; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.pl-adminlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; margin: 1.5rem 0 0; padding: 0 !important; list-style: none; }
.pl-adminlist li { margin: 0 !important; }
.pl-adminlist a { display: flex; flex-direction: column; gap: 4px; height: 100%; box-sizing: border-box; padding: 16px 18px; border: 1px solid var(--ink-200); border-radius: 12px; background: #fff; text-decoration: none; }
.pl-adminlist a:hover { border-color: var(--loom-600); }
.pl-adminlist__label { color: var(--loom-700); font-weight: 700; }
.pl-adminlist__desc { color: var(--ink-700); font-size: .93rem; }
.pl-main--wide .pl-prose--wide > p { max-width: 760px; }

/* Footer ---------------------------------------------------------------------------------------- */
.pl-footer { background: var(--ink-950); color: var(--ink-200); padding: 56px 0 28px; }
.pl-footer :focus-visible { outline-color: var(--saffron); }
.pl-footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
.pl-footer__brand p { max-width: 340px; margin: 14px 0 0; color: var(--ink-300); font-size: .92rem; }
.pl-footer h2 { margin: 4px 0 12px; color: #fff; font: 700 .78rem/1.3 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; }
.pl-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: .95rem; }
.pl-footer a { color: var(--ink-200); text-decoration: none; }
.pl-footer a:hover { color: #fff; text-decoration: underline; }
.pl-footer .pl-logo { color: #fff; }
.pl-footer__legal { margin: 40px 0 0; padding-top: 20px; border-top: 1px dashed var(--ink-700); color: var(--ink-300); font-size: .84rem; }

/* WooCommerce ----------------------------------------------------------------------------------- */
.woocommerce-page .pl-main, .woocommerce .wp-site-blocks > main { padding-bottom: 72px; }
body.woocommerce-page .wp-site-blocks main.wp-block-group, .pl-main--checkout, body.woocommerce .wp-site-blocks > main { padding-top: clamp(28px, 4vw, 48px); padding-bottom: 72px; }
.wp-block-woocommerce-product-collection .wc-block-components-product-image img, .wc-block-components-product-image img, .wc-block-grid__product-image img { border-radius: 12px; }
.wc-block-product-template > li, .wp-block-post-template.wc-block-product-template > li { padding: 14px; background: #fff; border: 1px solid var(--ink-200); border-radius: 14px; }
.wc-block-components-product-name, .wp-block-post-title a { color: var(--ink-950); }
.wc-block-components-product-price, .wp-block-woocommerce-product-price { color: var(--ink-900); font-weight: 600; }
.wc-block-components-product-sale-badge, .onsale { background: var(--saffron) !important; color: var(--ink-950) !important; border: 0 !important; }
.wp-block-button__link, .wc-block-components-button:not(.is-link), .wp-element-button, .woocommerce a.button, .woocommerce button.button { border-radius: 10px !important; }
.wc-block-components-button:not(.is-link) { background: var(--loom-600); color: #fff; }
.wc-block-components-button:not(.is-link):hover { background: var(--loom-700); color: #fff; }
.wc-block-cart, .wc-block-checkout { --wc-form-border-radius: 8px; }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-block-components-textarea, .wc-blocks-components-select .wc-blocks-components-select__select { border-color: var(--ink-300) !important; background: #fff !important; }
.wc-block-components-text-input.is-active input, .wc-block-components-text-input input:focus { border-color: var(--loom-600) !important; box-shadow: 0 0 0 1px var(--loom-600) !important; }
.wc-block-components-sidebar-layout .wc-block-components-main, .wc-block-components-sidebar { box-sizing: border-box; }
.wc-block-components-sidebar .wc-block-components-panel, .wc-block-components-totals-wrapper { border-color: var(--ink-100) !important; }
.wp-block-woocommerce-checkout-order-summary-block, .wp-block-woocommerce-cart-totals-block { background: #fff; border-color: var(--ink-200) !important; border-radius: 14px; }
.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option { border-color: var(--ink-200) !important; }
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted, .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted { box-shadow: inset 0 0 0 2px var(--loom-600) !important; }
.wc-block-components-notice-banner { border-radius: 10px; }
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { background: var(--loom-600); border-color: var(--loom-600); }
.woocommerce-breadcrumb, .wc-block-breadcrumbs { color: var(--ink-600); font-size: .875rem; }
.wp-block-woocommerce-product-image-gallery img, .woocommerce-product-gallery img { border-radius: 14px; }
.wc-block-mini-cart__button { color: var(--ink-900); }

/* Responsive ------------------------------------------------------------------------------------- */
@media (max-width: 1100px) {
	.pl-overview-top { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 900px) {
	.pl-hero__grid, .pl-three, .pl-overview-top, .pl-docshub__item { grid-template-columns: minmax(0, 1fr); }
	.pl-demo, .pl-docs { grid-template-columns: minmax(0, 1fr); }
	.pl-demo__guide, .pl-docs__nav { position: static; }
	.pl-docs__nav { order: 2; padding-top: 24px; border-top: 1px solid var(--ink-200); }
	.pl-footer__grid { grid-template-columns: 1fr 1fr; }
	.pl-hero h1 { max-width: none; }
}
@media (max-width: 560px) {
	.pl-footer__grid { grid-template-columns: minmax(0, 1fr); }
	.pl-pager { grid-template-columns: minmax(0, 1fr); }
	.pl-card { padding: 22px 18px; }
	.pl-card__actions .pl-btn { flex: 1 1 auto; }
	.pl-banner a { margin-left: 0; }
	.pl-facts { padding: 4px 18px; }
	.pl-facts > div { grid-template-columns: 1fr; gap: 2px; }
	.pl-sectionbar__name { font-size: 1.5rem; }
	.pl-logo__word { font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
