/* =====================================================================
   PinBoostr — Chrome extension pages: /chrome-extension/ and
   /extension-uninstalled/. Loaded only there (inc/chrome-extension.php),
   on top of the forest look (assets/forest.css: tokens, masthead, .fo-tool,
   .fo-btn, .fo-h2). Prefixes .pbx- (the uninstall survey) and .pce- (the
   landing page), so retro-brand.css and the Tailwind purge never touch it.
   ===================================================================== */

/* ── Uninstall survey: one card on the grass ──────────────────────── */

.pbx-survey { max-width: 48rem; margin-inline: auto; }
.pbx-reasons { min-width: 0; margin: 0; padding: 0; border: 0; }
.pbx-reasons legend { margin-bottom: 14px; padding: 0; font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.pbx-reasons__grid { display: grid; gap: 10px; }
@media (min-width: 640px) {
  .pbx-reasons__grid { grid-template-columns: 1fr 1fr; }
  .pbx-reason:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

.pbx-reason { position: relative; display: block; cursor: pointer; }
.pbx-reason input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pbx-reason span {
  display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 13px 16px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
  font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--ink);
  transition: border-color .15s ease, background-color .15s ease;
}
.pbx-reason span::before {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid #cfcfd8; background: #fff;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.pbx-reason:hover span { border-color: #d0d0d8; background: var(--soft); }
.pbx-reason input:checked + span { border-color: var(--rose); background: var(--tint); }
.pbx-reason input:checked + span::before { border-color: var(--rose); background: var(--rose); box-shadow: inset 0 0 0 3px #fff; }
.pbx-reason input:focus-visible + span { outline: 2px solid var(--rose); outline-offset: 2px; }

.pbx-field { margin-top: 26px; }
.pbx-field label { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; font-size: 14.5px; font-weight: 650; color: var(--ink); }
.pbx-field label small { font-size: 12.5px; font-weight: 500; color: var(--mut-2); }
.pbx-field textarea {
  display: block; width: 100%; min-height: 118px; resize: vertical; padding: 13px 14px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--soft);
  font: 500 15px/1.6 var(--font); color: var(--ink);
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.pbx-field textarea::placeholder { color: var(--mut-2); }
.pbx-field textarea:focus { outline: 0; border-color: var(--green-2); background: #fff; box-shadow: 0 0 0 4px rgba(52, 163, 95, .14); }
.pbx-count { margin-top: 6px !important; text-align: right; font-size: 12.5px; font-weight: 500; color: var(--mut-2); font-variant-numeric: tabular-nums; }

.pbx-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; }
.pbx .pbx-btn { min-width: 120px; }
.pbx .pbx-btn:disabled { opacity: .4; cursor: not-allowed; }
.pbx-fine { max-width: 30rem; font-size: 13px; line-height: 1.55; color: var(--mut); }

.pbx-thanks { padding: 10px 0 6px; text-align: center; outline: none; }
.pbx-thanks .fo-h2 { margin-inline: auto; }
.pbx-sub { max-width: 34rem; margin: 12px auto 0 !important; font-size: 16px; line-height: 1.7; color: var(--mut); }

.pbx-after { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin-top: 36px !important; font-size: 14.5px; color: var(--mut); }
.pbx-after a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pbx-after a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .pbx-reason span, .pbx-reason span::before, .pbx-field textarea { transition: none; }
}

/* =====================================================================
   /chrome-extension/ (2026-10): the forest masthead, then the home page's
   SaaS system (assets/home.css, .ph-*); these are the page's own parts.
   ===================================================================== */
.pce { background: #fff; }
.pce .fo-hero .fo-h1 { max-width: 24ch; }
.pce .fo-hero-actions .fo-btn i { font-size: 16px; }
.pce .phc-cta .ph-btn i, .pce .ph-cta__btns .ph-btn i { width: auto; height: auto; font-size: 17px; transform: none; }
.pce-fine { max-width: 36rem; margin: 20px auto 0 !important; font-size: 14px; color: var(--mut); }

/* The hero screenshot rests on the grass and shows the whole composer in a browser frame. */
.pce-stage { position: relative; z-index: 3; max-width: 72rem; margin-top: -88px; padding-bottom: 72px; }
.pce-stage .ph-shot { border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 1px 2px rgba(16, 16, 28, .05), 0 28px 56px -34px rgba(16, 16, 28, .3); }
.pce-bar { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #f3f3f6; }
.pce-dots { display: flex; gap: 6px; flex: none; }
.pce-dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.pce-dots i:nth-child(2) { background: #febc2e; }
.pce-dots i:nth-child(3) { background: #28c840; }
.pce-url { flex: 1; min-width: 0; max-width: 520px; height: 28px; margin: 0 auto; padding: 0 12px; display: flex; align-items: center; gap: 8px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: 12.5px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pce-url i { flex: none; font-size: 10px; color: var(--mut-2); }
.pce-ext { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--rose); color: #fff; font-size: 11px; box-shadow: 0 0 0 3px rgba(225, 29, 72, .18); }
@media (max-width: 640px) { .pce-url { display: none; } .pce-bar { justify-content: space-between; } }

/* Facts strip */
.pce-facts-sec { border-bottom: 1px solid var(--line); background: #fff; }
.pce-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .pce-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pce-fact { padding: 32px 22px; border-left: 1px solid var(--line); }
.pce-fact:nth-child(odd) { border-left: 0; }
@media (min-width: 900px) { .pce-fact:nth-child(odd) { border-left: 1px solid var(--line); } .pce-fact:first-child { border-left: 0; } }
@media (max-width: 899px) { .pce-fact:nth-child(n+3) { border-top: 1px solid var(--line); } }
.pce-fact b { display: block; font-size: clamp(2.6rem, 4.5vw, 3.4rem); font-weight: 800; line-height: 1; letter-spacing: -.045em; color: var(--rose); font-variant-numeric: tabular-nums; }
.pce-fact span { display: block; margin-top: 10px; font-size: 14.5px; line-height: 1.5; color: var(--mut); }

.pce-kbd { display: inline-block; min-width: 26px; padding: 1px 7px; border: 1px solid #d9d9e1; border-bottom-width: 2px; border-radius: 6px; background: #fff; font: 600 12.5px/1.6 var(--font); color: var(--ink); text-align: center; }

/* Pin check list and the three-step flow inside feature rows */
.pce-checks { display: grid; gap: 10px 22px; margin: 22px 0 0; padding: 0; list-style: none; }
@media (min-width: 560px) { .pce-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pce-checks li { position: relative; padding-left: 28px; font-size: 14px; line-height: 1.5; color: var(--mut); }
.pce-checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-4.9' fill='none' stroke='%23e11d48' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.pce-checks strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.pce-flow { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; counter-reset: pce; }
.pce-flow li { counter-increment: pce; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 2px 14px; align-items: start; }
.pce-flow li::before { content: counter(pce); grid-row: span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; }
.pce-flow b { font-size: 15px; font-weight: 650; color: var(--ink); }
.pce-flow span { font-size: 14.5px; line-height: 1.55; color: var(--mut); }
.pce-small { margin-top: 18px; font-size: 13.5px; line-height: 1.6; color: var(--mut); }
.pce-small a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.pce-small a:hover { text-decoration-color: var(--rose); }

/* Save-button comparison: no icons, so the cells read as plain text */
.pce-vs tbody .phc-pb { font-weight: 500; }

/* Privacy: points left, permissions card right */
.pce-priv { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1000px) { .pce-priv { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; } }
.pce-priv .ph-h2 { margin-top: 14px; }
.pce-priv .ph-lead { margin-top: 16px; }
.pce-points { display: grid; gap: 18px; margin: 30px 0 0; padding: 0; list-style: none; }
.pce-points li { display: flex; gap: 14px; font-size: 14.5px; line-height: 1.6; color: var(--mut); }
.pce-points .phf-ico { flex: none; width: 38px; height: 38px; font-size: 15px; }
.pce-points strong { display: block; font-size: 15px; font-weight: 650; color: var(--ink); }
.pce-perms { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-2); }
.pce-perms table { width: 100%; border-collapse: collapse; }
.pce-perms caption { padding: 18px 22px; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; font-weight: 700; color: var(--ink); }
.pce-perms th, .pce-perms td { padding: 14px 22px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; font-size: 14px; line-height: 1.55; }
.pce-perms tr:last-child > * { border-bottom: 0; }
.pce-perms th { width: 42%; font-weight: 500; }
.pce-perms code { padding: 2px 7px; border: 1px solid var(--line); border-radius: 6px; background: var(--soft); font: 600 12.5px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--ink); }
.pce-perms td { color: var(--mut); }
.pce-opt { display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 6px; background: #fffbeb; color: #b45309; font-size: 11.5px; font-weight: 600; }
.pce-priv .pce-small { margin-top: 16px; }

/* FAQ sits on white here (home.css gives #faq the grey band) */
.pce #faq { background: #fff; border-top: 0; }

/* Read next */
.pce-reads-sec { padding: 72px 0; }
.pce-reads-h { font-size: 1.4rem; font-weight: 750; letter-spacing: -.025em; color: var(--ink); }
.pce-reads { display: grid; gap: 16px; margin-top: 22px; }
@media (min-width: 700px) { .pce-reads { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pce-reads { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pce-read { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--sh-1); text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease; }
.pce-read:hover { border-color: #f3c4cf; box-shadow: var(--sh-2); }
.pce-read .phf-ico { flex: none; width: 38px; height: 38px; font-size: 15px; }
.pce-read strong { display: block; font-size: 15px; font-weight: 650; color: var(--ink); }
.pce-read small { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.5; color: var(--mut); }

/* =====================================================================
   /earn/ (PinBoostr Earn): the /chrome-extension/ page system above,
   plus portrait popup shots, the rates table and Amazon's categories.
   ===================================================================== */
.pea-ext { background: #10b981; box-shadow: 0 0 0 3px rgba(16, 185, 129, .18); }
.pea .phf-copy p a, .pea .phf-card p a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.pea .phf-copy p a:hover, .pea .phf-card p a:hover { text-decoration-color: var(--rose); }

/* Popups are 384px wide: show them at their own size on a soft panel, never stretched. */
.pea-pop { display: grid; place-items: center; padding: 28px; background: var(--soft); }
.pea-pop img { width: 100%; max-width: 360px; max-height: 620px; object-fit: cover; object-position: top; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--sh-2); }

/* Rates table: four columns on wide screens, labelled rows on phones */
.pea-table { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-1); }
.pea-table table { width: 100%; border-collapse: collapse; }
.pea-table th, .pea-table td { padding: 16px 22px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; font-size: 14.5px; line-height: 1.5; color: var(--mut); }
.pea-table thead th { background: var(--soft); font-size: 13px; font-weight: 600; color: var(--mut-2); }
.pea-table tbody th { font-weight: 650; color: var(--ink); }
.pea-table tbody tr:last-child > * { border-bottom: 0; }
.pea-table a { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.pea-table a:hover { text-decoration-color: var(--rose); }
@media (max-width: 700px) {
  .pea-table thead { display: none; }
  .pea-table tr { display: block; padding: 14px 18px; border-bottom: 1px solid var(--line-2); }
  .pea-table tbody tr:last-child { border-bottom: 0; }
  .pea-table th, .pea-table td { display: flex; gap: 12px; padding: 3px 0; border: 0; }
  .pea-table tbody th { margin-bottom: 4px; font-size: 15.5px; }
  .pea-table td::before { content: attr(data-label); flex: none; width: 96px; font-size: 13px; color: var(--mut-2); }
}

/* Amazon.com categories: copy left, the rate list right */
.pea-amazon { display: grid; gap: 28px; margin-top: 56px; padding: 32px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--soft); }
@media (min-width: 960px) { .pea-amazon { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; padding: 40px; } }
.pea-amazon h3 { font-size: 1.3rem; font-weight: 750; letter-spacing: -.02em; line-height: 1.3; color: var(--ink); }
.pea-amazon p { margin-top: 10px; font-size: 15px; line-height: 1.65; color: var(--mut); }
.pea-cats { display: grid; margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.pea-cats li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 11px 18px; border-bottom: 1px solid var(--line-2); }
.pea-cats li:last-child { border-bottom: 0; }
.pea-cats b { font-size: 15px; font-weight: 750; color: var(--rose); font-variant-numeric: tabular-nums; }
.pea-cats span { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
