/* Camouflaged plugins list ([wpm_camouflage_list], inc/camouflage-list.php).
   Sticky toolbar (search, category, tier, sort), sortable table on wide screens, cards under 900 px.
   --camo-top: bottom of the sticky site header, --camo-head: bottom of the sticky toolbar (both set by the script). */
.wpm-camo-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wpm-camo { --camo-top: 76px; --camo-head: 150px; --free: #13794f; --free-bg: #e5f6ee; --free-edge: #b9e4cf; --pro: #4a2a8a; --pro-bg: #efe9fc; --pro-edge: #d7cbf5; margin: 1.5rem 0 0; padding-bottom: 3rem; }
.wpm-camo-ico { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }
.wpm-camo [hidden] { display: none !important; }

/* Category icon (table cells) */
.wpm-camo-cat-ico { display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 9px; background: #eef4ff; color: var(--blue); }
.wpm-camo-cat-ico .wpm-camo-ico { width: 18px; height: 18px; vertical-align: 0; }

/* Sticky toolbar */
.wpm-camo-tools { position: sticky; top: var(--camo-top); z-index: 30; margin: 0 0 12px; padding: 10px 0 8px; background: #fff; box-shadow: 0 1px 0 var(--line); }
.wpm-camo-tools.is-stuck { box-shadow: 0 8px 18px -12px rgba(16, 36, 73, .35); }
.wpm-camo-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.wpm-camo-search { position: relative; flex: 1 1 300px; display: block; }
.wpm-camo-search > .wpm-camo-ico { position: absolute; left: 14px; top: 50%; width: 19px; height: 19px; margin-top: -9.5px; color: var(--blue); pointer-events: none; }
.wpm-camo-search input { width: 100%; min-height: 48px; padding: 10px 14px 10px 42px; border: 2px solid #c9d8f5; border-radius: 12px; background: #fff; color: var(--ink); font-size: 1rem; font-weight: 500; box-shadow: 0 2px 8px rgba(23, 101, 244, .06); }
.wpm-camo-search input::placeholder { color: #6b7b95; }
.wpm-camo-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(23, 101, 244, .16); }
.wpm-camo-panel { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.wpm-camo-cat select, .wpm-camo-sortsel select { min-height: 44px; padding: 8px 32px 8px 12px; border: 1px solid var(--edge); border-radius: 10px; background: #fff; color: var(--ink); font-size: .9rem; max-width: 100%; }
.wpm-camo-sortsel { position: relative; display: none; }
.wpm-camo-sortsel > .wpm-camo-ico { position: absolute; left: 11px; top: 50%; margin-top: -8px; color: var(--muted); pointer-events: none; }
.wpm-camo-sortsel select { padding-left: 34px; }
.wpm-camo-cat select:focus, .wpm-camo-sortsel select:focus { outline: none; box-shadow: var(--focus); }
.wpm-camo-plan { display: inline-flex; padding: 3px; border: 1px solid var(--edge); border-radius: 999px; background: var(--light); }
.wpm-camo-plan button { display: inline-flex; align-items: center; gap: 5px; min-height: 38px; padding: 6px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: .86rem; font-weight: 650; cursor: pointer; }
.wpm-camo-plan button.is-free .wpm-camo-ico { color: var(--free); }
.wpm-camo-plan button.is-pro .wpm-camo-ico { color: #7a55d6; }
.wpm-camo-plan button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: 0 2px 6px rgba(16, 36, 73, .2); }
.wpm-camo-plan button[aria-pressed="true"] .wpm-camo-ico { color: #fff; }
.wpm-camo-plan button:focus-visible, .wpm-camo-reset:focus-visible, .wpm-camo-toggle:focus-visible { outline: none; box-shadow: var(--focus); }
.wpm-camo-reset { min-height: 40px; padding: 6px 12px; border: 0; background: none; color: var(--blue); font: inherit; font-size: .86rem; font-weight: 650; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.wpm-camo-toggle { display: none; }
.wpm-camo-count { margin: 6px 0 0; color: var(--muted); font-size: .84rem; }

/* Table */
.wpm-camo-table { width: 100%; margin: 0; border-collapse: separate; border-spacing: 0; font-size: .875rem; line-height: 1.5; border: 1px solid var(--edge); border-radius: 12px; table-layout: fixed; }
.wpm-camo-table th, .wpm-camo-table td { padding: 14px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); overflow-wrap: break-word; }
.wpm-camo-table thead th { position: sticky; top: var(--camo-head); z-index: 20; padding: 0; background: #f2f6fd; color: #24395f; font-size: .76rem; font-weight: 750; letter-spacing: .03em; text-transform: uppercase; border-bottom: 1px solid #d6e1f3; }
.wpm-camo-table thead th:first-child { border-top-left-radius: 11px; }
.wpm-camo-table thead th:last-child { border-top-right-radius: 11px; }
.wpm-camo-table:not(.is-sortable) thead th { padding: 12px 14px; }
.wpm-camo-table thead th:nth-child(1) { width: 19%; }
.wpm-camo-table thead th:nth-child(2) { width: 14%; }
.wpm-camo-table thead th:nth-child(3) { width: 10%; }
.wpm-camo-table thead th:nth-child(4) { width: 22%; }
.wpm-camo-table thead th:nth-child(6) { width: 15%; }
.wpm-camo-sort { display: flex; align-items: center; justify-content: space-between; gap: 6px; width: 100%; min-height: 46px; padding: 10px 12px 10px 14px; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-align: left; text-transform: inherit; cursor: pointer; }
.wpm-camo-sort:hover { background: #e7eefb; color: var(--ink); }
.wpm-camo-sort:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--blue); }
.wpm-camo-sort .wpm-camo-ico { width: 14px; height: 14px; color: #9aaac2; }
.wpm-camo-table th[aria-sort] .wpm-camo-sort { color: var(--blue-dark); }
.wpm-camo-table th[aria-sort] .wpm-camo-ico { color: var(--blue); }
.wpm-camo-table th[aria-sort="ascending"] .wpm-camo-ico { clip-path: inset(0 0 50% 0); }
.wpm-camo-table th[aria-sort="descending"] .wpm-camo-ico { clip-path: inset(50% 0 0 0); }
.wpm-camo-table tbody tr:last-child > * { border-bottom: 0; }
.wpm-camo-table tbody tr:nth-child(even) > *, .wpm-camo-table.is-js tbody tr.is-alt > * { background: #f9fbfe; }
.wpm-camo-table.is-js tbody tr:nth-child(even):not(.is-alt) > * { background: #fff; }
.wpm-camo-table tbody tr:hover > * { background: #f2f6ff; }
.wpm-camo-table tr[hidden] { display: none; }
.wpm-camo-table tbody th { font-weight: 400; }
.wpm-camo-name { display: block; color: var(--ink); font-size: .95rem; font-weight: 750; line-height: 1.3; }
.wpm-camo-type { display: block; margin-top: 2px; color: var(--muted); font-size: .78rem; }
/* Name of an entry that has a sheet: the link itself (one link per sheet), blue, underlined on hover, small arrow. */
.wpm-camo-name.is-link { display: inline-flex; align-items: flex-start; gap: 5px; max-width: 100%; color: var(--blue-dark); text-decoration: none; }
.wpm-camo-name.is-link > span { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 3px; transition: text-decoration-color .15s; }
.wpm-camo-name.is-link .wpm-camo-ico { flex: none; width: 15px; height: 15px; margin-top: .14em; transition: transform .15s; }
.wpm-camo-name.is-link:hover, .wpm-camo-name.is-link:focus-visible { color: var(--blue); }
.wpm-camo-name.is-link:hover > span, .wpm-camo-name.is-link:focus-visible > span { text-decoration-color: currentColor; }
.wpm-camo-name.is-link:hover .wpm-camo-ico { transform: translateX(2px); }
.wpm-camo-name.is-link:focus-visible { outline: none; border-radius: 4px; box-shadow: var(--focus); }
.wpm-camo-catin { display: flex; align-items: center; gap: 8px; color: #2c3f63; line-height: 1.3; }
.wpm-camo-table .wpm-camo-cat-ico { width: 28px; height: 28px; border-radius: 8px; }
.wpm-camo-table .wpm-camo-cat-ico .wpm-camo-ico { width: 16px; height: 16px; }
.wpm-camo-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px 3px 6px; border: 1px solid; border-radius: 999px; font-size: .76rem; font-weight: 750; line-height: 1.3; white-space: nowrap; }
.wpm-camo-badge .wpm-camo-ico { width: 14px; height: 14px; vertical-align: 0; }
.wpm-camo-badge.is-free { border-color: var(--free-edge); background: var(--free-bg); color: var(--free); }
.wpm-camo-badge.is-free .wpm-camo-ico { stroke-width: 2.6; }
.wpm-camo-badge.is-pro { border-color: var(--pro-edge); background: var(--pro-bg); color: var(--pro); }
.wpm-camo-badge.is-pro .wpm-camo-ico { fill: currentColor; stroke-width: 1.2; }
.wpm-camo .wpm-camo-traces, .wpm-camo .wpm-camo-lefts { margin: 0; padding: 0; list-style: none; }
.wpm-camo .wpm-camo-traces li, .wpm-camo .wpm-camo-lefts li { margin: 0 0 5px; }
.wpm-camo .wpm-camo-traces li:last-child, .wpm-camo .wpm-camo-lefts li:last-child { margin-bottom: 0; }
.wpm-camo-traces li { display: flex; align-items: baseline; gap: 6px; }
.wpm-camo-traces li.is-free .wpm-camo-ico { color: var(--free); stroke-width: 2.6; width: 14px; height: 14px; vertical-align: 0; position: relative; top: 2px; }
.wpm-camo-mini { flex: none; padding: 0 5px; border-radius: 4px; background: var(--pro-bg); color: var(--pro); font-size: .66rem; font-weight: 800; letter-spacing: .02em; line-height: 1.6; text-transform: uppercase; }
.wpm-camo-lefts li { color: #3a4a66; }
.wpm-camo-lefts code { display: inline-block; margin-top: 2px; font-size: .76rem; overflow-wrap: anywhere; }
.wpm-camo-clear { display: inline-flex; align-items: center; gap: 5px; color: var(--free); font-weight: 600; }
.wpm-camo-clear .wpm-camo-ico { stroke-width: 2.6; width: 14px; height: 14px; vertical-align: 0; }
.wpm-camo-none { color: var(--muted); }
.wpm-camo-ver { display: block; color: #2c3f63; }
.wpm-camo-check small { display: block; margin-top: 3px; color: var(--muted); font-size: .76rem; line-height: 1.4; }
.wpm-camo-check small.is-live { color: var(--free); font-weight: 600; }
.wpm-camo-empty { margin: 12px 0 0; padding: 14px; border: 1px dashed var(--edge); border-radius: var(--radius-sm); color: var(--muted); }

/* Narrower wide screens: tighter cells */
@media (max-width: 1180px) {
	.wpm-camo-table th, .wpm-camo-table td { padding: 12px 10px; }
	.wpm-camo-table { font-size: .84rem; }
}

/* Phones and tablets: one card per entry, compact sticky bar (search + Filters button), sort select. */
@media (max-width: 900px) {
	.wpm-camo-tools { padding: 8px 0 6px; }
	.wpm-camo-bar { flex-wrap: wrap; gap: 8px; }
	.wpm-camo-search { flex: 1 1 0; min-width: 0; }
	.wpm-camo-search input { min-height: 44px; font-size: 1rem; }
	.wpm-camo-toggle { position: relative; display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 44px; padding: 8px 12px; border: 1px solid var(--edge); border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; }
	.wpm-camo-toggle[aria-expanded="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
	.wpm-camo-toggle-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--blue); color: #fff; font-size: .72rem; }
	.wpm-camo-panel { flex-basis: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
	.wpm-camo-panel.is-folded { display: none; }
	.wpm-camo-cat, .wpm-camo-plan { grid-column: 1 / -1; }
	.wpm-camo-cat select, .wpm-camo-sortsel select { width: 100%; }
	.wpm-camo-plan { display: flex; }
	.wpm-camo-plan button { flex: 1; justify-content: center; }
	.wpm-camo-sortsel { display: block; grid-column: 1 / -1; }
	.wpm-camo-count { margin-top: 4px; font-size: .8rem; }

	.wpm-camo-table, .wpm-camo-table tbody, .wpm-camo-table tr, .wpm-camo-table th, .wpm-camo-table td { display: block; width: auto; }
	.wpm-camo-table { border: 0; }
	.wpm-camo-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
	.wpm-camo-table tbody tr { position: relative; margin: 0 0 12px; border: 1px solid var(--edge); border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
	.wpm-camo-table tbody tr > *, .wpm-camo-table tbody tr:nth-child(even) > *, .wpm-camo-table.is-js tbody tr.is-alt > *, .wpm-camo-table tbody tr:hover > * { background: #fff; }
	.wpm-camo-table tbody th, .wpm-camo-table tbody tr:nth-child(even) > th, .wpm-camo-table.is-js tbody tr.is-alt > th { padding: 14px 104px 12px 14px; border-bottom: 1px solid var(--line); background: var(--light); }
	.wpm-camo-table td { padding: 9px 14px; border-bottom: 1px solid var(--line); }
	.wpm-camo-table td.wpm-camo-catcell { padding: 10px 14px 4px; border-bottom: 0; }
	.wpm-camo-table td.wpm-camo-check { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: .8rem; }
	.wpm-camo-table td.wpm-camo-check::before { flex-basis: 100%; }
	.wpm-camo-check small { margin-top: 0; }
	.wpm-camo-table td::before { content: attr(data-label); display: block; margin-bottom: 3px; color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
	/* Tier badge in the card corner, category inline. */
	.wpm-camo-table td.is-tier { position: absolute; top: 12px; right: 12px; padding: 0; border: 0; background: none !important; }
	.wpm-camo-table td.is-tier::before { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
	.wpm-camo-catcell::before { display: none !important; }
	.wpm-camo-table tbody tr:last-child > * { border-bottom: 1px solid var(--line); }
	.wpm-camo-table tbody tr > :last-child { border-bottom: 0 !important; }
}
@media (prefers-reduced-motion: reduce) {
	.wpm-camo-name.is-link > span, .wpm-camo-name.is-link .wpm-camo-ico { transition: none; }
}
