/* GENERATED from website/directions/b-utility/assets/css/pages-common.css by build-theme.js. Do not edit. */
/* Kavio Labs, Direction B: shared additions for the ported pages (catalog, bundles, cart, checkout, docs, about,
   support, account/*). Loaded after b.css; uses only its tokens. No gradients, glow or decorative imagery. */

/* ---------- page head ---------- */
.pg-pagehead { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: start; padding: 14px 0 26px; }
.pg-pagehead h1 { font-size: clamp(28px, 2.6vw, 34px); letter-spacing: -0.02em; }
.pg-pagehead p { color: var(--ink-2); font-size: 16px; margin-top: 10px; max-width: 72ch; line-height: 1.6; }
.pg-pagehead__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px !important; }
.pg-pagehead--search .hero__search { margin-top: 22px; }
.pg-h-sm { font-size: 17px; margin-bottom: 12px; }
.small { font-size: 13.5px; }
.center { text-align: center; justify-content: center; }
.pg-lede { color: var(--ink-2); font-size: 16px; margin-top: 10px; max-width: 60ch; line-height: 1.6; }
.section--tight + .section--tight { padding-top: 8px; }
.pg-t-ok { color: var(--ok); }
.pg-t-warn { color: var(--warn); }
.pg-t-bad { color: var(--bad); }

/* ---------- forms ---------- */
.pg-fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; align-items: start; }
.pg-fgrid__full { grid-column: 1 / -1; }
.field { min-width: 0; margin: 0; border: 0; padding: 0; }
.field .label .muted, .label .muted { font-weight: 400; }
textarea.input { resize: vertical; min-height: 96px; line-height: 1.5; }
.chk.is-invalid span { color: var(--bad); }
.chk.is-invalid input { outline: 2px solid var(--bad); outline-offset: 1px; }
.pg-chk--inline { grid-template-columns: 18px 1fr; align-items: center; }
.pg-chk--inline input { margin-top: 0; }
.pg-joined { display: flex; gap: 0; }
.pg-joined .input { border-top-right-radius: 0; border-bottom-right-radius: 0; min-width: 0; }
.pg-joined .btn { border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: -1px; flex: none; }
.pg-joined__tag { margin-left: 8px; align-self: center; }
.pg-joined:has(.pg-joined__tag) .input { border-radius: var(--r-2); }

/* segmented radio (B's .seg with radios inside) */
.pg-seg--radio { margin-bottom: 16px; }
.pg-seg--radio label { position: relative; display: inline-flex; }
.pg-seg--radio label + label { border-left: 1px solid var(--line-2); }
.pg-seg--radio input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pg-seg--radio span { padding: 0 14px; height: 34px; display: inline-flex; align-items: center; font-size: 14px; color: var(--ink-2); background: #fff; }
.pg-seg--radio input:checked + span { background: var(--ink); color: #fff; }
.pg-seg--radio input:focus-visible + span { box-shadow: inset 0 0 0 2px var(--brand); }

/* chips (active filters) */
.pg-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pg-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px 0 10px; border: 1px solid var(--brand-100); background: var(--brand-50); color: var(--brand-ink); border-radius: var(--r-2); font-size: 13px; font-weight: 500; cursor: pointer; }
.pg-chip:hover { border-color: var(--brand); }
.pg-chip--clear { background: #fff; border-color: var(--line-2); color: var(--ink-2); padding-right: 10px; }

/* notes and honest sample-data labels */
.pg-sample-note, .pg-demo-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 22px; font-size: 13px; color: var(--ink-3); max-width: 90ch; }
.pg-sample-note .ico, .pg-demo-note .ico { margin-top: 2px; flex: none; }
.pg-demo-note { margin-top: 36px; padding-top: 14px; border-top: 1px solid var(--line); }
.empty b { color: var(--ink); }

/* toasts: error variant */
.toast--error .ico { color: #f1a39b; }

/* tiles in tables / lists */
.ct-name { display: inline-flex; gap: 10px; align-items: center; min-width: 0; }
.ct-name a { color: var(--ink); font-weight: 600; text-decoration: none; }
.ct-name a:hover { text-decoration: underline; }

/* figures with real screenshots */
.figure img { background: var(--bg-2); }
.pg-shots2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.pg-shots3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.pg-shots3 .figure img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }

/* steps (cart → checkout → keys) */
.pg-steps { list-style: none; display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-3); flex-wrap: wrap; }
.pg-steps li { display: inline-flex; align-items: center; gap: 8px; }
.pg-steps li + li::before { content: ""; width: 28px; height: 1px; background: var(--line-2); margin-right: 2px; }
.pg-steps b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 12px; font-weight: 600; color: var(--ink-3); background: #fff; }
.pg-steps .ico { width: 13px; height: 13px; stroke-width: 2.4; }
.pg-steps .is-current { color: var(--ink); font-weight: 600; }
.pg-steps .is-current b { border-color: var(--ink); background: var(--ink); color: #fff; }
.pg-steps .is-done b { border-color: var(--ink); background: var(--ink); color: #fff; }
.pg-steps a { color: var(--ink-2); }

/* meter (password strength) */
.pg-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 8px; }
.pg-meter i { height: 4px; border-radius: 2px; background: var(--bg-3); }
.pg-meter[data-score="1"] i:nth-child(-n+1) { background: var(--bad); }
.pg-meter[data-score="2"] i:nth-child(-n+2) { background: var(--star); }
.pg-meter[data-score="3"] i:nth-child(-n+3) { background: #4c8a5f; }
.pg-meter[data-score="4"] i { background: var(--ok); }

/* success badge */
.pg-success__icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); border: 1px solid var(--ok-line); flex: none; }
.pg-success__icon .ico { width: 20px; height: 20px; stroke-width: 2.2; }

/* list with icon + text (quick links) */
.pg-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pg-quick a, .pg-next__item { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-3); background: #fff; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.pg-quick a:hover, .pg-next__item:hover { border-color: var(--line-2); box-shadow: var(--shadow-2); }
.pg-quick a > .ico, .pg-next__item > .ico { color: var(--brand); margin-top: 2px; }
.pg-quick b, .pg-next__item b { display: block; font-weight: 600; font-size: 14.5px; }
.pg-quick small, .pg-next__item small { display: block; color: var(--ink-3); font-size: 13px; margin-top: 2px; }

/* CTA panel */
.pg-cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; background: var(--bg-2); }
.pg-cta-panel h2 { font-size: 18px; }
.pg-cta-panel p { color: var(--ink-2); margin-top: 4px; }
.pg-cta-panel__btns { display: flex; gap: 8px; flex-wrap: wrap; }

@media (max-width: 1024px) {
  .pg-pagehead { grid-template-columns: 1fr; gap: 18px; }
  .pg-quick { grid-template-columns: 1fr 1fr; }
  .pg-shots3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .pg-pagehead { padding-bottom: 18px; }
  .pg-pagehead p { font-size: 15px; }
  .pg-fgrid { grid-template-columns: 1fr; }
  .pg-shots2, .pg-shots3, .pg-quick { grid-template-columns: 1fr; }
  .pg-cta-panel { flex-direction: column; align-items: flex-start; }
  .pg-steps li + li::before { width: 14px; }
}
@media (max-width: 760px) {
  .panel__head { flex-wrap: wrap; row-gap: 2px; }
  .panel__head > h2, .panel__head > h3 { flex: none; }
}
