/* CV Mojo app: the path to paying (assets/site/app-paypath.js, 2026-10-26).
   The offer card (job page, Jobs page, Job tracker) and the dashboard's free weekly job email card.
   Calm on purpose: paper card, one quiet icon, no countdowns and no colour shouting. */

/* ── The offer card ── */
.pp-offer { display: grid; gap: 12px; padding: 18px 20px; color: var(--text, #1D1A26); background: var(--paper, #fff); border: 2px solid var(--line, #EDE4CB); border-radius: 22px; }
.pp-offer-main { display: flex; align-items: flex-start; gap: 14px; }
.pp-offer-ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; color: var(--navy, #1E2A5A); background: var(--sun-l, #FFE59A); border-radius: 12px; }
.pp-offer-text { min-width: 0; }
.pp-offer-h, #app .pp-offer-h { margin: 0; font-family: inherit; font-size: 17px !important; font-weight: 800; line-height: 1.35; letter-spacing: 0; text-transform: none; color: var(--navy, #1E2A5A); }
.pp-offer-text p { margin: 2px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted, #5D5869); }
.pp-offer-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.pp-offer-acts .btn { display: inline-flex; align-items: center; gap: 7px; }
.pp-offer-cost { display: flex; align-items: flex-start; gap: 7px; margin: 0; font-size: 13.5px; font-weight: 600; line-height: 1.45; color: var(--muted, #5D5869); }
.pp-offer-cost svg { flex: none; margin-top: 2px; }
.pp-offer-cost a { font-weight: 800; color: var(--navy, #1E2A5A); text-decoration: underline; text-decoration-color: var(--sun, #FFC93C); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.pp-offer-cost a:hover { text-decoration-color: var(--navy, #1E2A5A); }

/* "Not now" / "No thanks": a quiet text button */
.pp-later { min-height: 40px; padding: 8px 12px; font: inherit; font-size: 14.5px; font-weight: 700; color: var(--navy, #1E2A5A); background: transparent; border: 0; border-radius: 10px; cursor: pointer; }
.pp-later:hover { background: var(--mist, #F7EEDA); }
.pp-offer a:focus-visible, .pp-offer button:focus-visible, .pp-wk a:focus-visible, .pp-wk button:focus-visible { outline: 3px solid var(--navy, #1E2A5A); outline-offset: 2px; }

/* Jobs page: a full-width row under the cards (the list is a grid) */
.pp-slot--row { grid-column: 1 / -1; }
/* A smaller card (UI.payOffer({compact: true})) */
.pp-offer--compact { gap: 10px; padding: 14px; border-radius: 18px; cursor: default; }
.pp-offer--compact .pp-offer-ic { width: 32px; height: 32px; border-radius: 10px; }
.pp-offer--compact .pp-offer-h, #app .pp-offer--compact .pp-offer-h { font-size: 15px !important; }
.pp-offer--compact .pp-offer-text p { font-size: 14px; }
.pp-offer--compact .pp-offer-acts .btn { min-height: 40px; padding: 7px 14px 6px; font-size: 14px; }

/* Job page: the slot sits at the top of the main column, above the tabs (on one column, under the glance card) */
.jd-offer:empty { display: none; }

/* Job tracker (index.php page) */
.pp-slot--tracker { margin: 0 0 18px; }

/* ── Dashboard: the free weekly job email ── */
.pp-wk { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 0 0 4px; padding: 16px 20px; background: var(--paper, #fff); border-radius: 20px; box-shadow: var(--shadow-sm, 0 4px 14px rgba(30, 42, 90, .07)), inset 0 0 0 2px var(--line, #EDE4CB); }
.pp-wk-ic { display: grid; place-items: center; flex: none; width: 42px; height: 42px; color: var(--navy, #1E2A5A); background: var(--mint, #CDEDE4); border-radius: 12px; }
.pp-wk-ic--ok { color: var(--teal-t, #13705F); }
.pp-wk-text { flex: 1 1 320px; min-width: 0; }
.pp-wk-h, #app .pp-wk-h { margin: 0; font-family: inherit; font-size: 16.5px !important; font-weight: 800; line-height: 1.35; letter-spacing: 0; text-transform: none; color: var(--navy, #1E2A5A); }
.pp-wk-text p { margin: 2px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--muted, #5D5869); }
.pp-wk-text a { font-weight: 800; color: var(--navy, #1E2A5A); }
.pp-wk-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.pp-wk-acts .btn { display: inline-flex; align-items: center; gap: 7px; }
.pp-wk.is-done { padding-right: 56px; }
.pp-wk-x { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); }

@media (max-width: 560px) {
  .pp-offer { padding: 16px; }
  .pp-offer-acts .btn { flex: 1 1 100%; justify-content: center; }
  .pp-offer--compact .pp-offer-acts .btn { flex: 1 1 100%; }
  .pp-wk { padding: 16px; }
  .pp-wk-acts { width: 100%; }
  .pp-wk-acts .btn { flex: 1 1 100%; justify-content: center; }
  .pp-wk-acts .pp-later, .pp-offer-acts .pp-later { margin: 0 auto; }
  .pp-wk.is-done { padding-right: 48px; }
  .pp-wk-x { top: 12px; transform: none; }
}

/* Fair use reached (paid accounts, includes/fair-use.php): the calm panel, in the upgrade dialog's look */
.pp-fair-note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted, #5D5869); }
