.wpaddons-components { max-width: 1920px; }
.wpaddons-components > p { max-width: 850px; font-size: 14px; line-height: 1.6; }
.wpaddons-components .nav-tab-wrapper { margin-top: 24px; }
.wpaddons-components__panel { margin-top: 24px; }
.wpaddons-components [hidden] { display: none !important; }
.wpaddons-components__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.wpaddons-components__card { min-width: 0; overflow: hidden; border: 1px solid #e2e2e5; border-radius: 16px; background: #fff; transition: box-shadow 180ms ease; }
.wpaddons-components__card:hover,
.wpaddons-components__card:focus-within { box-shadow: 0 3px 8px rgb(0 0 0 / 10%); }
.wpaddons-components__media { position: relative; aspect-ratio: 8 / 5; background: #f8f7f6; }
.wpaddons-components__preview { display: block; width: 100%; height: 100%; object-fit: cover; }
.wpaddons-components__actions { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; background: rgb(255 255 255 / 88%); opacity: 0; pointer-events: none; transition: opacity 180ms ease; }
.wpaddons-components__card:hover .wpaddons-components__actions,
.wpaddons-components__card:focus-within .wpaddons-components__actions { opacity: 1; pointer-events: auto; }
.wpaddons-components__action { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; max-width: 100%; min-height: 44px; padding: 10px 20px; border: 0; border-radius: 12px; background: #fff; box-shadow: 0 3px 8px rgb(0 0 0 / 12%); color: #1d2327; font: inherit; font-size: 16px; font-weight: 500; line-height: 1.4; text-align: center; text-decoration: none; cursor: pointer; }
.wpaddons-components__action:hover { background: #f6f7f7; color: #1d2327; }
.wpaddons-components__action:focus-visible { outline: 2px solid #2271b1; outline-offset: 3px; }
.wpaddons-components__action:disabled { color: #757575; cursor: not-allowed; }
.wpaddons-components__body { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; box-sizing: border-box; padding: 12px 20px; }
.wpaddons-components__body h3 { margin: 0; color: #1d2327; font-size: 16px; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
.wpaddons-components__badge { display: inline-block; flex-shrink: 0; padding: 3px 10px; border-radius: 999px; background: #eaf5ec; color: #135e2c; font-size: 12px; font-weight: 600; line-height: 1.4; text-transform: uppercase; }
.wpaddons-components__badge.is-pro { background: #ffd700; color: #3d2e00; }
.wpaddons-components__error { max-width: 280px; margin: 0; color: #8a2424; font-size: 12px; line-height: 1.5; text-align: center; }
.wpaddons-components__status { position: fixed; top: 52px; left: 180px; z-index: 100000; width: 420px; max-width: calc(100% - 200px); }
.wpaddons-components__status .notice { margin: 0; box-shadow: 0 3px 8px rgb(0 0 0 / 12%); }
body.folded .wpaddons-components__status { left: 56px; max-width: calc(100% - 76px); }
.wpaddons-components__manual label { display: block; margin-bottom: 8px; font-weight: 600; }
.wpaddons-components__manual textarea { width: 100%; font-family: monospace; }

@media (max-width: 1600px) {
	.wpaddons-components__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1200px) {
	.wpaddons-components__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
	body.auto-fold .wpaddons-components__status { left: 56px; max-width: calc(100% - 76px); }
}
@media (max-width: 782px) {
	.wpaddons-components__status,
	body.folded .wpaddons-components__status,
	body.auto-fold .wpaddons-components__status { top: 66px; left: 20px; max-width: calc(100% - 40px); }
	.wpaddons-components__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.wpaddons-components__media { min-height: 220px; }
}
@media (hover: none) {
	.wpaddons-components__actions { opacity: 1; pointer-events: auto; }
}
@media (prefers-reduced-motion: reduce) {
	.wpaddons-components__card,
	.wpaddons-components__actions { transition: none; }
}
