/* Plugins (/plugins/ and /plugins/<id>/). Shared design comes from site.css. */
.actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.sec .eyebrow + .h2 { margin-top: 12px; max-width: 24ch; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }

/* Plugin mark: a rounded tile with the plugin's icon from the app's tab bar. The icons in
   partials/plugin-icons/ copy design-system NavIcons: 24-unit grid, 1.8 stroke, round ends. */
.pl-mark { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px;
    background: var(--h-tray); border: 1px solid var(--h-tray-line); color: var(--h-blue); font: 600 15px var(--h-mono); }
.pl-mark svg { width: 22px; height: 22px; }
.page-head .pl-mark { width: 56px; height: 56px; border-radius: 14px; margin-bottom: 20px; }
.page-head .pl-mark svg { width: 28px; height: 28px; }

/* Plan and status chips */
.pl-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.pl-chips .chip { white-space: nowrap; }
.chip.soon { background: #FFF6E5; border-color: #F5DFB0; color: #8A5A00; }

/* Plugin list cards */
.pl-card { display: flex; flex-direction: column; gap: 14px; padding: 24px; min-width: 0; color: inherit; transition: border-color .15s, box-shadow .15s; }
.pl-card:hover { border-color: var(--h-blue-soft); box-shadow: 0 6px 24px rgba(47, 91, 234, .08); }
.pl-card-top { display: flex; align-items: center; gap: 14px; min-width: 0; }
.pl-card h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.pl-card .pl-cat { display: block; margin-top: 2px; font: 500 12px var(--h-mono); color: var(--h-text-3); text-transform: uppercase; letter-spacing: .04em; }
.pl-card p { margin: 0; color: var(--h-text-2); font-size: 15px; line-height: 1.6; }
.pl-card .pl-chips { margin-top: auto; }
.pl-card .more { color: var(--h-blue); font-size: 14px; font-weight: 500; }

/* Feature and use-case cards on a plugin's page */
.fa-card { padding: 24px; min-width: 0; }
.fa-card h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.fa-card p { margin: 8px 0 0; color: var(--h-text-2); font-size: 15px; line-height: 1.6; }
.fa-card p a, .pl-notes a { color: var(--h-blue); text-decoration: underline; text-decoration-color: var(--h-blue-soft); text-underline-offset: 3px; }
.fa-card .step { font: 500 13px var(--h-mono); color: var(--h-blue); }
.fa-card .step + h3 { margin-top: 6px; }
.fa-card .gain { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--h-rule); color: var(--h-ink); font-size: 14.5px; }

/* "Good to know" list */
.pl-notes { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; max-width: 72ch; }
.pl-notes li { position: relative; padding-left: 22px; color: var(--h-text-2); line-height: 1.6; }
.pl-notes li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--h-blue); }

/* Other plugins strip at the bottom of a plugin's page */
.pl-others { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.pl-others a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: #fff;
    border: 1px solid var(--h-card-line); color: var(--h-nav); font-size: 14px; }
.pl-others a:hover { border-color: var(--h-blue-soft); }
.pl-others .pl-mark { width: 28px; height: 28px; border-radius: 8px; }
.pl-others .pl-mark svg { width: 16px; height: 16px; }

.pl-back { display: inline-block; margin-bottom: 16px; color: var(--h-text-3); font-size: 14px; }
.pl-back:hover { color: var(--h-blue); }

/* App screenshot under a plugin page's head */
.pl-shot-sec .col { padding-top: 0; }
.pl-shot { margin: 0; padding: 8px; background: var(--h-tray); border: 1px solid var(--h-tray-line); border-radius: 18px; }
.pl-shot img { display: block; width: 100%; height: auto; border-radius: 12px; }
.pl-shot figcaption { padding: 10px 8px 4px; color: var(--h-text-3); font-size: 14px; }
