/** Shopify CDN: Minification failed

Line 946:0 Expected "}" to go with "{"

**/
/* assets/wholesale-portal.css
   Wholesale Portal — Phase A scoped styles.
*/

.portal-app {
  /* Light theme — cream/parchment with deep-coffee text. Keeps the QCC
     gold accent for buttons, badges, and the order tracker. The dark
     theme caused real eye strain over long ordering sessions. */
  --pp-bg:        #FAF6EE;
  --pp-surface:   #FFFFFF;
  --pp-surface-2: #F2EBDA;
  --pp-border:    rgba(43, 26, 11, 0.10);
  --pp-text:      #1F1408;
  --pp-text-mute: rgba(31, 20, 8, 0.72);
  --pp-text-dim:  rgba(31, 20, 8, 0.55);
  --pp-gold:      #B07A2C;
  --pp-gold-hi:   #8E5F1F;
  --pp-success:   #2F7D49;
  --pp-warn:      #B87B22;
  --pp-error:     #B23A2C;

  background: var(--pp-bg);
  color: var(--pp-text);
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  min-height: 80vh;
}

.portal-app *:focus-visible {
  outline: 2px solid var(--pp-gold);
  outline-offset: 2px;
}

/* Login */
.pp-login {
  display: flex; flex-direction: column; align-items: center;
  padding: 80px 20px;
}
.pp-login__brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 26px; font-weight: 400;
  margin-bottom: 6px;
}
.pp-login__sub {
  font-size: 11px; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--pp-text-dim);
  margin-bottom: 40px;
}
.pp-login__card {
  background: var(--pp-surface); border: 1px solid var(--pp-border);
  border-radius: 14px; padding: 32px; width: 100%; max-width: 440px;
}
.pp-login__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px; margin-bottom: 8px;
}
.pp-login__hint {
  color: var(--pp-text-mute); margin-bottom: 24px; font-size: 14px;
}

.pp-field {
  display: block; width: 100%; padding: 14px 16px; margin-bottom: 12px;
  background: var(--pp-surface-2); border: 1px solid var(--pp-border);
  border-radius: 8px; color: var(--pp-text); font-size: 16px;
}
.pp-field--error { border-color: var(--pp-error); }
.pp-error {
  color: var(--pp-error); font-size: 13px; margin-bottom: 12px;
}

.pp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; padding: 14px 20px; min-height: 44px;
  background: var(--pp-gold); color: #FFFFFF;
  font-size: 14px; font-weight: 600; letter-spacing: 1.2px;
  text-transform: uppercase; border: none; border-radius: 8px;
  cursor: pointer; transition: background .15s;
}
.pp-btn:hover { background: var(--pp-gold-hi); }
.pp-btn:disabled { opacity: .5; cursor: not-allowed; }

.pp-btn--ghost {
  background: transparent; color: var(--pp-gold);
  border: 1px solid var(--pp-gold);
}

.pp-link {
  color: var(--pp-gold); text-decoration: underline;
  text-underline-offset: 2px;
}

/* Dashboard shell */
.pp-shell { display: flex; flex-direction: column; min-height: 80vh; }
.pp-topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 32px; border-bottom: 1px solid var(--pp-border);
}
.pp-brand-area { display: flex; align-items: center; gap: 14px; }
.pp-client-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
}
.pp-divider { width: 1px; height: 18px; background: var(--pp-border); }
.pp-powered { font-size: 12px; color: var(--pp-text-dim); font-style: italic; }
.pp-user-actions { display: flex; gap: 6px; }
.pp-user-btn {
  background: transparent; color: var(--pp-text-mute);
  border: 1px solid var(--pp-border); padding: 8px 14px;
  font-size: 12px; letter-spacing: 1px; text-transform: uppercase;
  border-radius: 6px; cursor: pointer; min-height: 36px;
}
.pp-user-btn:hover { color: var(--pp-text); }

.pp-tabs {
  display: flex; gap: 8px; padding: 0 32px;
  border-bottom: 1px solid var(--pp-border);
}
.pp-tab {
  padding: 16px 18px; font-size: 14px; font-weight: 600;
  letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--pp-text-mute); cursor: pointer;
  border-bottom: 2px solid transparent;
  background: transparent; border-top: 0; border-left: 0; border-right: 0;
}
.pp-tab--active { color: var(--pp-gold); border-bottom-color: var(--pp-gold); }

.pp-body { padding: 28px 32px; flex: 1; }

.pp-alert {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; margin-bottom: 24px;
  background: var(--pp-surface);
  border-left: 4px solid var(--pp-warn);
  border-radius: 6px;
}
.pp-alert--past-due { border-left-color: var(--pp-error); }

/* Cards / product / cart — used in Order Coffee tab */
.pp-card {
  background: var(--pp-surface);
  border: 1px solid var(--pp-border);
  border-radius: 14px; padding: 24px;
}
.pp-product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.pp-product-name { font-size: 17px; font-weight: 600; }
.pp-product-meta { font-size: 13px; font-weight: 500; color: var(--pp-text-mute); margin-top: 4px; }
.pp-price { font-size: 22px; font-weight: 600; color: var(--pp-gold); }

@media (max-width: 768px) {
  .pp-tabs { overflow-x: auto; padding: 0 16px; }
  .pp-body { padding: 20px 16px; }
}

/* Invoices tab — filter chips + table + status badges */
.pp-chip {
  background: var(--pp-surface);
  border: 1px solid var(--pp-border);
  color: var(--pp-text-mute);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
}
.pp-chip:hover { color: var(--pp-text); }
.pp-chip--active {
  background: var(--pp-gold);
  color: #FFFFFF;
  border-color: var(--pp-gold);
}

.pp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.pp-table thead th {
  text-align: left;
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--pp-text-dim);
  font-weight: 600;
  padding: 14px 18px;
  border-bottom: 1px solid var(--pp-border);
  background: var(--pp-surface-2);
}
.pp-table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--pp-border);
  vertical-align: middle;
}
.pp-table tbody tr:last-child td { border-bottom: 0; }

.pp-mono {
  font-family: 'DM Mono', ui-monospace, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.pp-badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 999px;
}
.pp-badge--paid    { background: rgba(47, 125, 73, .12); color: var(--pp-success); }
.pp-badge--open    { background: rgba(176, 122, 44, .14); color: var(--pp-gold); }
.pp-badge--overdue { background: rgba(178, 58, 44, .12); color: var(--pp-error); }
.pp-badge--canceled{ background: rgba(31, 20, 8, .08); color: var(--pp-text-dim); }

/* Account tab — definition list + form labels */
.pp-dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px 18px;
  margin: 0;
  font-size: 14px;
}
.pp-dl dt {
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--pp-text-dim);
  font-weight: 600;
  align-self: center;
}
.pp-dl dd {
  margin: 0;
  color: var(--pp-text);
}

.pp-label {
  display: block;
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--pp-text-dim);
  font-weight: 600;
  margin: 12px 0 6px;
}
.pp-account .pp-field { margin-bottom: 0; }

/* Error toast — fixed top-right on dashboard view */
.pp-toast {
  position: fixed;
  top: 16px;
  right: 16px;
  max-width: 420px;
  z-index: 100;
  background: var(--pp-error);
  color: #FFFFFF;
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(31, 20, 8, 0.18);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
.pp-toast__close {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  margin-left: 4px;
}

/* Edit-mode banner on the Order Coffee tab */
.pp-edit-banner {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: var(--pp-surface);
  border: 1px solid var(--pp-gold);
  border-radius: 12px; padding: 14px 18px; margin-bottom: 18px;
}
.pp-edit-banner__eyebrow {
  font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--pp-gold); font-weight: 600; margin-bottom: 4px;
}
.pp-edit-banner__msg { font-size: 14px; color: var(--pp-text); line-height: 1.5; }

/* Order confirmation page */
.pp-confirmation { max-width: 820px; margin: 0 auto; }

.pp-confirmation__header { text-align: center; padding: 12px 0 28px; }
.pp-confirmation__eyebrow {
  font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--pp-gold); margin-bottom: 10px;
}
.pp-confirmation__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 32px; font-weight: 400; margin: 0 0 8px;
}
.pp-confirmation__sub {
  font-size: 13px; color: var(--pp-text-dim);
  letter-spacing: 1.4px; text-transform: uppercase;
  font-family: 'DM Mono', ui-monospace, Menlo, monospace;
}

.pp-confirmation__pay {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: var(--pp-surface); border: 1px solid var(--pp-gold);
  border-radius: 12px; padding: 18px 22px; margin-bottom: 18px;
}
.pp-confirmation__pay-eyebrow {
  font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--pp-gold); margin-bottom: 4px; font-weight: 600;
}
.pp-confirmation__pay-msg { font-size: 15px; }
.pp-confirmation__pay-warning {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--pp-error);
}

.pp-confirmation__notice {
  background: var(--pp-surface); border-left: 3px solid var(--pp-gold);
  border-radius: 6px; padding: 14px 18px; margin-bottom: 18px;
  font-size: 14px; color: var(--pp-text-mute);
}

/* Step tracker — 4-step (Net 7) or 5-step (Pay Now, with Payment) */
.pp-tracker {
  display: grid;
  align-items: center;
  background: var(--pp-surface); border: 1px solid var(--pp-border);
  border-radius: 14px; padding: 26px 22px; margin-bottom: 22px;
  gap: 8px;
}
.pp-tracker--4 { grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; }
.pp-tracker--5 { grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr; }
.pp-tracker__step { text-align: center; }
.pp-tracker__dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 999px;
  background: var(--pp-surface-2); border: 1px solid var(--pp-border);
  color: var(--pp-text-dim); font-size: 14px; font-weight: 600;
  margin-bottom: 8px;
}
.pp-tracker__step--done .pp-tracker__dot {
  background: var(--pp-gold); color: #FFFFFF; border-color: var(--pp-gold);
  box-shadow: 0 0 0 4px rgba(176, 122, 44, 0.12);
}
.pp-tracker__label {
  font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--pp-text-mute); font-weight: 600;
}
.pp-tracker__date {
  font-size: 13px; color: var(--pp-text); margin-top: 4px;
}
.pp-tracker__step--done .pp-tracker__label { color: var(--pp-gold); }
.pp-tracker__bar {
  height: 1px; background: var(--pp-border);
  align-self: center;
  min-width: 16px;
}

/* Edit-until-cutoff notice */
.pp-confirmation__edit {
  display: flex; gap: 14px;
  background: var(--pp-surface); border: 1px solid var(--pp-border);
  border-radius: 12px; padding: 18px 20px; margin-bottom: 18px;
}
.pp-confirmation__edit-icon {
  font-size: 22px; color: var(--pp-gold); flex-shrink: 0;
}
.pp-confirmation__edit-title {
  font-size: 14px; font-weight: 600; margin-bottom: 4px;
}
.pp-confirmation__edit-body {
  font-size: 14px; color: var(--pp-text-mute); line-height: 1.6;
}

.pp-confirmation__footer {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: 28px; padding-top: 22px;
  border-top: 1px solid var(--pp-border);
}
.pp-confirmation__contact {
  font-size: 13px; color: var(--pp-text-mute); line-height: 1.6;
  max-width: 480px;
}

@media (max-width: 720px) {
  .pp-tracker--4,
  .pp-tracker--5 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pp-tracker__bar { display: none; }
  .pp-confirmation__pay,
  .pp-confirmation__footer {
    flex-direction: column; align-items: stretch; gap: 14px;
  }
  .pp-confirmation__title { font-size: 26px; }
}

/* ─── Editorial catalog redesign (2026-06) ─────────────────────────────── */
.pp-order-grid{ display:grid; grid-template-columns:1fr 380px; gap:24px; }
.pp-reorder{ margin-bottom:20px; display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; }
.pp-reorder__eyebrow{ font-size:11px; letter-spacing:1.6px; text-transform:uppercase; color:var(--pp-text-dim); }
.pp-reorder__msg{ font-size:15px; margin-top:4px; }

/* category tabs */
.pp-cat-tabs{ display:flex; gap:6px; flex-wrap:wrap; border-bottom:1px solid var(--pp-border); margin-bottom:18px; }
.pp-cat-tab{ border:0; background:transparent; font-family:inherit; font-size:14px; font-weight:600; padding:11px 18px; color:var(--pp-text-mute); cursor:pointer; border-bottom:2px solid transparent; margin-bottom:-1px; }
.pp-cat-tab--active{ color:var(--pp-text); border-bottom-color:var(--pp-gold); }

/* toolbar: search + sort + roast chips */
.pp-toolbar{ display:flex; gap:10px; margin-bottom:12px; flex-wrap:wrap; }
.pp-search{ flex:1; min-width:180px; padding:10px 14px; border:1px solid var(--pp-border); border-radius:10px; background:var(--pp-surface); font-family:inherit; font-size:14px; color:var(--pp-text); }
.pp-sort{ padding:10px 12px; border:1px solid var(--pp-border); border-radius:10px; background:var(--pp-surface); font-family:inherit; font-size:13px; color:var(--pp-text); }
.pp-chips{ display:flex; gap:7px; flex-wrap:wrap; margin-bottom:20px; }
.pp-chip{ border:1px solid var(--pp-border); background:var(--pp-surface); border-radius:999px; padding:6px 12px; font-family:inherit; font-size:11px; letter-spacing:.5px; text-transform:uppercase; color:var(--pp-text-mute); cursor:pointer; }
.pp-chip--active{ border-color:var(--pp-gold); color:var(--pp-gold); }

/* editorial product card */
.pp-card--editorial{ text-align:center; display:flex; flex-direction:column; align-items:center; border-radius:16px; }
.pp-ed-roast{ font-size:10px; letter-spacing:1.2px; text-transform:uppercase; color:var(--pp-text-dim); border:1px solid var(--pp-border); border-radius:999px; padding:3px 10px; margin-bottom:10px; }
.pp-ed-name{ font-family:'Cormorant Garamond',Georgia,serif; font-size:25px; font-weight:700; line-height:1.05; }
.pp-ed-meta{ font-size:10.5px; letter-spacing:1.2px; text-transform:uppercase; color:var(--pp-text-dim); margin:6px 0 10px; }
.pp-ed-notes{ font-family:'Cormorant Garamond',Georgia,serif; font-style:italic; font-size:15px; color:var(--pp-text-mute); line-height:1.4; margin-bottom:12px; min-height:20px; }
.pp-sizes{ display:inline-flex; border:1px solid var(--pp-border); border-radius:999px; overflow:hidden; margin:4px auto 16px; }
.pp-size{ border:0; background:transparent; padding:8px 18px; font-family:inherit; font-size:13px; color:var(--pp-text-mute); cursor:pointer; }
.pp-size--active{ background:var(--pp-gold); color:#fff; }
.pp-ed-foot{ margin-top:auto; display:flex; flex-direction:column; align-items:center; gap:12px; width:100%; }
.pp-qadd{ display:flex; align-items:center; gap:8px; }
.pp-step{ display:flex; align-items:center; border:1px solid var(--pp-border); border-radius:8px; overflow:hidden; }
.pp-step button{ width:30px; padding:7px 0; border:0; background:transparent; color:var(--pp-text-mute); font-size:15px; cursor:pointer; }
.pp-step span{ width:30px; text-align:center; font-size:14px; border-left:1px solid var(--pp-border); border-right:1px solid var(--pp-border); padding:7px 0; }
.pp-step button:disabled{ opacity:.4; cursor:not-allowed; }
.pp-unavailable{ font-size:13px; color:var(--pp-text-mute); text-align:center; }

/* cart + tier progress */
.pp-cart{ position:sticky; top:20px; align-self:flex-start; }
/* A cart taller than the screen scrolls inside itself, with the pay button
   pinned to its bottom, so a laptop always sees it (owner, 2026-11-08). */
.pp-cart{ box-sizing:border-box; max-height:calc(100vh - 40px); overflow-y:auto; overscroll-behavior:contain; }
/* The shadow fills the cart's bottom padding below the pinned footer so no
   line shows through; nothing follows the footer, so it never covers content. */
.pp-cart__pay{ position:sticky; bottom:0; z-index:1; margin:12px -24px 0; padding:0 24px 4px; background:var(--pp-surface); box-shadow:0 48px 0 var(--pp-surface); border-top:1px solid var(--pp-border); }
/* Pinned over a scrolled cart, the footer fades the lines above it out instead
   of cutting them off, so it reads as "more above" (owner, 2026-11-08). */
.pp-cart__pay::before{ content:""; position:absolute; left:0; right:0; top:-25px; height:24px; pointer-events:none;
  background:linear-gradient(to bottom, rgba(255,255,255,0), var(--pp-surface)); }
.pp-tierbar{ background:var(--pp-surface-2); border-radius:10px; padding:10px 12px; margin-bottom:14px; }
.pp-tierbar__row{ display:flex; justify-content:space-between; gap:10px; font-size:11px; color:var(--pp-text-mute); margin-bottom:7px; }
.pp-track{ height:5px; background:rgba(31,20,8,.10); border-radius:3px; overflow:hidden; }
.pp-fill{ height:100%; background:linear-gradient(90deg,#C99A4E,var(--pp-gold)); border-radius:3px; transition:width .4s ease; }

@media(max-width:820px){ .pp-order-grid{ grid-template-columns:1fr; } .pp-cart{ position:static; max-height:none; overflow:visible; }
  .pp-cart:not(.pp-cart--sheet) .pp-cart__pay{ position:static; } }


/* ── Paid checkout (2026-10-18) ─────────────────────────────────────────── */
.pp-delivery { font-size: 13px; color: var(--pp-text-mute); background: var(--pp-surface-2);
  border-radius: 8px; padding: 8px 10px; margin-bottom: 12px; line-height: 1.4; }
.pp-delivery--closing { color: var(--pp-text); background: rgba(184, 123, 34, 0.14); font-weight: 600; }
.pp-delivery--closed { color: #FFFFFF; background: var(--pp-text); font-weight: 500; }
.pp-tierbar__nudge { font-size: 12px; color: var(--pp-text-mute); margin-top: 4px; }
.pp-minimum { font-size: 13px; color: var(--pp-gold); padding: 8px 0 2px; }
.pp-checkout { margin-top: 14px; }
.pp-paymethods { display: grid; gap: 8px; margin-top: 6px; }
.pp-paymethod { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px;
  padding: 10px 12px; text-align: left; font: inherit; font-size: 13.5px; color: var(--pp-text);
  background: var(--pp-surface); border: 1px solid var(--pp-border); border-radius: 10px; cursor: pointer; }
.pp-paymethod.is-selected { border-color: var(--pp-text); box-shadow: inset 0 0 0 1px var(--pp-text); }
.pp-paymethod:disabled { opacity: .6; cursor: progress; }
.pp-paymethod:focus-visible { outline: 2px solid var(--pp-gold); outline-offset: 2px; }
.pp-paymethod__dot { flex: 0 0 16px; height: 16px; border-radius: 50%; border: 2px solid var(--pp-text-dim); }
.pp-paymethod.is-selected .pp-paymethod__dot { border-color: var(--pp-text); background: radial-gradient(var(--pp-text) 45%, transparent 50%); }
.pp-paymethod__text { flex: 1 1 auto; }
.pp-paymethod__add { flex: 0 0 auto; color: var(--pp-gold-hi); font-weight: 600; white-space: nowrap; }
.pp-checkout__label { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--pp-text-dim); margin-bottom: 8px; }
.pp-checkout__card { display: flex; justify-content: space-between; align-items: center; gap: 8px;
  flex-wrap: wrap; font-size: 14px; padding: 10px 12px; border: 1px solid var(--pp-border); border-radius: 8px; }
.pp-checkout__form { min-height: 90px; margin-bottom: 6px; }
.pp-checkout__fine { font-size: 12px; color: var(--pp-text-dim); text-align: center; margin: 8px 0 0; }
.pp-checkout .pp-link { background: none; border: 0; padding: 0; cursor: pointer; font-size: 13px; }
.pp-confirmation__notice--paid { border-color: var(--pp-success); color: var(--pp-text); }

/* ── Fulfilment, terms line, cancel (2026-10-18) ───────────────────────── */
.pp-terms-line { font-size: 12px; color: var(--pp-text-dim); margin: -4px 0 12px; }
.pp-fulfil { margin-top: 14px; }
.pp-fulfil__opt { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; padding: 6px 0; cursor: pointer; }
.pp-fulfil__opt input { margin-top: 3px; width: 18px; height: 18px; }
.pp-fulfil__addr { display: block; font-size: 12px; color: var(--pp-text-dim); }
.pp-fulfil__note { font-size: 12px; color: var(--pp-gold); padding-top: 4px; }
.pp-confirmation__cancel { margin: 12px 0; font-size: 14px; }

/* ── Portal UX round (2026-10-19) ──────────────────────────────────────── */

/* The portal is a work tool, not the storefront: this stylesheet loads only
   on /pages/wholesale-portal, so these rules hide the retail announcement
   bar, retail nav, cart and the Talkable referral launcher here alone. */
.topbar,
.qcc-nav .nav-left,
.qcc-nav .nav-right .nav-btn,
.qcc-nav .nav-cart,
.qcc-nav .mobile-nav-toggle,
iframe[src*="talkable.com"],
#talkable-offer,
#talkable-loyalty { display: none !important; }

/* Portal tabs stay on one line and scroll sideways on phones */
.pp-tab { white-space: nowrap; flex-shrink: 0; }

.pp-btn--sm { width: auto; padding: 10px 16px; min-height: 40px; font-size: 13px; }

/* success toast */
.pp-toast--ok { background: var(--pp-success); }

/* Order again — one slim row instead of a full card */
.pp-again {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--pp-surface); border: 1px solid var(--pp-border); border-radius: 12px;
  padding: 10px 14px; margin-bottom: 18px; font-size: 14px;
}
.pp-again__text { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.pp-again__eyebrow { font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--pp-gold); font-weight: 600; }
.pp-again__weekly { color: var(--pp-success); font-size: 13px; }

/* Cards / quick list toggle, right-aligned in the category tab row */
.pp-viewtoggle { margin-left: auto; align-self: center; display: inline-flex; border: 1px solid var(--pp-border); border-radius: 8px; overflow: hidden; margin-bottom: 6px; }
.pp-viewtoggle button { border: 0; background: transparent; padding: 6px 12px; font: inherit; font-size: 12px; color: var(--pp-text-mute); cursor: pointer; }
.pp-viewtoggle .pp-viewtoggle--on { background: var(--pp-surface-2); color: var(--pp-text); font-weight: 600; }

/* Tighter product cards: price lives on the size pill */
.pp-product-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.pp-card--editorial { padding: 18px 16px; }
.pp-ed-name { font-size: 22px; }
.pp-ed-meta { margin: 4px 0 6px; }
.pp-ed-notes { margin-bottom: 6px; min-height: 0; font-size: 14px; }
.pp-ed-facts { font-size: 11px; color: var(--pp-text-dim); margin-bottom: 8px; }
.pp-sizes { margin: 6px auto 12px; }
.pp-size { padding: 7px 12px; font-size: 12.5px; }
.pp-size__price { font-weight: 600; }
.pp-ed-foot { gap: 8px; }

/* Calmer menu cards (owner, 2026-11-08): gold only on Add; one neutral size
   toggle and one price, pinned with Add to the card's foot so rows line up. */
.pp-product-grid { align-items: stretch; }
.pp-card--editorial { gap: 0; }
.pp-ed-info { display: flex; flex-direction: column; align-items: center; padding-bottom: 16px; }
.pp-ed-roast { margin-bottom: 8px; }
.pp-ed-notes { color: var(--pp-text); opacity: .78; margin: 4px 0 6px; }
.pp-ed-meta { font-size: 10px; margin: 0 0 2px; }
.pp-ed-facts { font-size: 11px; color: var(--pp-text-dim); opacity: .85; margin-bottom: 0; }
.pp-sizes { margin: auto auto 0; padding: 2px; gap: 2px; border-radius: 999px; background: rgba(31, 20, 8, .05); border: 0; }
.pp-sizes + .pp-ed-foot, .pp-card--editorial > .pp-ed-foot { margin-top: 14px; }
.pp-card--editorial > .pp-sizes[style*="display: none"] + .pp-ed-foot { margin-top: auto; }
.pp-size { padding: 6px 16px; font-size: 12.5px; border-radius: 999px; color: var(--pp-text-mute); white-space: nowrap; min-height: 32px; }
.pp-size--active { background: var(--pp-surface); color: var(--pp-text); font-weight: 600; box-shadow: 0 1px 2px rgba(31, 20, 8, .12), 0 0 0 1px rgba(31, 20, 8, .14); }
.pp-size:focus-visible { outline: 2px solid var(--pp-gold); outline-offset: 2px; }
.pp-ed-price { display: flex; align-items: baseline; gap: 5px; font-size: 12.5px; color: var(--pp-text-dim); }
.pp-ed-price strong { font-size: 18px; font-weight: 600; color: var(--pp-text); }
.pp-card--editorial .pp-step { border-color: rgba(31, 20, 8, .08); }
.pp-card--editorial .pp-step span { border-color: rgba(31, 20, 8, .08); }
@media (max-width: 820px) { .pp-size { min-height: 40px; padding: 8px 20px; } }
.pp-step input {
  width: 42px; text-align: center; font: inherit; font-size: 14px; border: 0;
  border-left: 1px solid var(--pp-border); border-right: 1px solid var(--pp-border);
  padding: 7px 0; background: transparent; color: var(--pp-text); -moz-appearance: textfield;
}
.pp-step input::-webkit-outer-spin-button, .pp-step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Quick list */
.pp-qlist { background: var(--pp-surface); border: 1px solid var(--pp-border); border-radius: 14px; overflow: hidden; }
.pp-qtable { width: 100%; border-collapse: collapse; font-size: 14px; }
.pp-qtable td { padding: 10px 14px; border-bottom: 1px solid var(--pp-border); vertical-align: middle; }
.pp-qtable__name { font-weight: 600; min-width: 160px; }
.pp-qtable__notes { font-weight: 400; font-size: 12px; color: var(--pp-text-dim); }
.pp-qtable__size { white-space: nowrap; }
.pp-qtable__label { font-size: 12px; color: var(--pp-text-mute); margin-bottom: 4px; }
.pp-qtable .pp-step { display: inline-flex; }
.pp-qlist__foot { display: flex; justify-content: flex-end; align-items: center; gap: 12px; padding: 12px 14px; font-size: 13px; color: var(--pp-text-mute); position: sticky; bottom: 0; background: var(--pp-surface); }

/* Cart */
.pp-cart__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.pp-cart__title { font-size: 13px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--pp-text-mute); }
.pp-cart__tier { font-size: 11px; padding: 3px 10px; background: rgba(47,125,73,.12); border-radius: 12px; color: var(--pp-success); font-weight: 600; }
.pp-cart__empty { color: var(--pp-text-dim); font-size: 13px; padding: 12px 0; line-height: 1.5; }
.pp-line { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--pp-border); }
.pp-line__name { font-size: 14px; }
.pp-line__sub { font-size: 12px; color: var(--pp-text-dim); }
.pp-line__right { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.pp-line__remove { background: transparent; border: 1px solid var(--pp-border); border-radius: 6px; width: 26px; height: 26px; cursor: pointer; color: var(--pp-text-mute); }
.pp-line--gone .pp-line__name { color: var(--pp-text-dim); text-decoration: line-through; }
.pp-line__gone { color: var(--pp-error); }
.pp-cart__totals { margin-top: 10px; }
.pp-cart__row { display: flex; justify-content: space-between; font-size: 14px; padding: 5px 0; }
.pp-cart__row--discount { color: var(--pp-success); }
.pp-cart__row--total { font-size: 17px; font-weight: 600; padding: 9px 0; border-top: 1px solid var(--pp-border); margin-top: 4px; }
.pp-delivery { font-size: 12.5px; }

/* the three ordering goals */
.pp-goals { background: var(--pp-surface-2); border-radius: 10px; padding: 10px 12px; margin-top: 10px; display: grid; gap: 5px; }
.pp-goal { display: flex; gap: 8px; font-size: 12.5px; line-height: 1.4; }
.pp-goal__mark { width: 14px; flex-shrink: 0; text-align: center; }
.pp-goal--done { color: var(--pp-success); }
.pp-goal--todo { color: var(--pp-text-mute); }
.pp-goal__nudge { display: block; color: var(--pp-text-dim); font-size: 12px; }
.pp-goals .pp-track { margin-top: 4px; }

/* Make it weekly (confirmation page) */
.pp-weekly { display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: var(--pp-surface); border: 1px solid var(--pp-border); border-radius: 12px; padding: 16px 20px; margin-bottom: 18px; }
.pp-weekly--on { border-color: var(--pp-success); }
.pp-weekly__title { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.pp-weekly__body { font-size: 13.5px; color: var(--pp-text-mute); }
.pp-weekly .pp-link { background: none; border: 0; cursor: pointer; font-size: 13px; }

/* Phone checkout bar */
.pp-mbar { display: none; }
/* Phone cart sheet (client feedback 2026-11-08): only below 820px. */
.pp-cart__close, .pp-sheet-backdrop { display: none; }
@media (max-width: 820px) {
  .pp-mbar {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--pp-surface); border-top: 1px solid var(--pp-border);
    box-shadow: 0 -6px 18px rgba(31, 20, 8, .08);
  }
  .pp-mbar[style*="display: none"] { display: none !important; }
  .pp-mbar__sum { display: flex; flex-direction: column; align-items: flex-start; font: inherit; font-size: 12px; color: var(--pp-text-mute);
                  background: none; border: 0; padding: 0; text-align: left; cursor: pointer; min-height: 44px; justify-content: center; }
  .pp-mbar__added { color: var(--pp-success); font-weight: 600; }
  .pp-cart.pp-cart--sheet {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 100; margin: 0;
    max-height: 88vh; max-height: 88dvh; overflow-y: auto; overscroll-behavior: contain;
    border-radius: 16px 16px 0 0; padding-bottom: calc(16px + env(safe-area-inset-bottom));
    box-shadow: 0 -10px 30px rgba(31, 20, 8, .18);
  }
  .pp-sheet-backdrop { display: block; position: fixed; inset: 0; z-index: 95; background: rgba(31, 20, 8, .4); }
  .pp-sheet-backdrop[style*="display: none"] { display: none !important; }
  .pp-cart__close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -10px -10px -10px 8px;
                    border: 0; background: transparent; color: var(--pp-text-mute); font-size: 18px; cursor: pointer; }
  .pp-cart__close[style*="display: none"] { display: none !important; }
  html.pp-sheet-open, html.pp-sheet-open body { overflow: hidden; }
  .pp-mbar__sum strong { font-size: 17px; color: var(--pp-text); }
  .portal-app { padding-bottom: 72px; }
  .chat-float { bottom: 86px !important; }
  .pp-topbar { padding: 14px 16px; flex-wrap: wrap; gap: 8px; }
  .pp-powered, .pp-divider { display: none; }
  .pp-product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pp-card--editorial { padding: 14px 10px; }
  .pp-ed-name { font-size: 19px; }
  .pp-qtable__notes { display: none; }
  .pp-qtable td { padding: 8px; }
  .pp-weekly { flex-direction: column; align-items: stretch; }
}
@media (max-width: 420px) {
  .pp-product-grid { grid-template-columns: 1fr; }
  .pp-qtable, .pp-qtable tbody, .pp-qtable tr, .pp-qtable td { display: block; }
  .pp-qtable tr { border-bottom: 1px solid var(--pp-border); padding: 6px 0; }
  .pp-qtable td { border: 0; display: inline-block; }
  .pp-qtable__name { display: block !important; }
}

/* Grind picker (5 lb coffee): one plain dropdown under the size toggle (text + chevron, no pill) */
.pp-grind { display: flex; justify-content: center; margin: 8px auto 0; }
.pp-grind-select {
  appearance: none; -webkit-appearance: none; font: inherit; font-size: 12.5px; color: var(--pp-text);
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23705f4c' fill='none' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 0; border-radius: 6px; padding: 6px 30px 6px 12px; min-height: 36px; cursor: pointer;
  field-sizing: content; text-align-last: center; max-width: 100%;
}
.pp-grind-select:focus-visible { outline: 2px solid var(--pp-gold); outline-offset: 2px; }
@media (max-width: 820px) { .pp-grind-select { min-height: 44px; font-size: 16px; } }

/* Ship to a recipient, inside the Order tab (parcel orders) */
.pp-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.pp-num { text-align: right; }

/* "Where is this going?": two radio cards at the top of the Order tab.
   The options sit in their own flex row; the legend is a plain block (no
   float), and the fieldset's min-content minimum is switched off. */
.pp-dest { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.pp-dest__q { padding: 0; margin: 0 0 8px; font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--pp-text-dim); font-weight: 600; }
.pp-dest__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-dest__opt { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 16px;
  border: 1px solid var(--pp-border); border-radius: 10px; background: var(--pp-surface); cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--pp-text-mute); }
.pp-dest__opt.is-selected { border-color: var(--pp-gold); color: var(--pp-text); box-shadow: 0 0 0 1px var(--pp-gold) inset; }
.pp-dest__opt input { accent-color: var(--pp-gold); width: 18px; height: 18px; margin: 0; }

/* Same two columns as the usual Order tab; minmax(0, 1fr) lets the coffee
   column shrink instead of pushing the panel off the card. */
.pp-order-grid--ship { grid-template-columns: minmax(0, 1fr) 380px; }
.pp-shiporder__tab { cursor: default; }
.pp-ship__group { margin: 0 0 20px; }
.pp-ship__group-title { font-size: 15px; font-weight: 600; margin: 4px 0 10px; }
.pp-ship__fee { font-size: 12px; color: var(--pp-gold-hi); font-weight: 500; }
.pp-ship__card .pp-ship__fee { margin-top: 6px; }
.pp-ship__card.is-picked { border-color: var(--pp-gold); }
/* No size toggle here, so the price and stepper sit at the card's foot by
   themselves and line up across a row. */
.pp-card--editorial.pp-ship__card > .pp-ed-foot { margin-top: auto; }
.pp-ship__card .pp-ed-info { padding-bottom: 14px; }
.pp-ship__help { font-size: 13px; color: var(--pp-text-dim); margin: 4px 0 12px; }
.pp-ship__sub { display: block; font-size: 12px; color: var(--pp-text-dim); font-weight: 500; }
.pp-ship__p { font-size: 14px; margin: 0 0 12px; }

/* The ship panel takes the cart's place. It holds a form, so it is not the
   cart's sticky inner-scrolling box: the page scrolls it like any form. */
.pp-cart.pp-ship-side { position: static; max-height: none; overflow: visible; align-self: start; min-width: 0; }
.pp-ship-side .pp-cart__totals { margin: 6px 0 16px; }
.pp-ship-side .pp-label { margin-bottom: 6px; }
.pp-ship__form { margin: 0; padding-top: 14px; border-top: 1px solid var(--pp-border); }
.pp-ship__set { border: 0; margin: 0 0 4px; padding: 0; min-width: 0; }
.pp-ship__set > legend { padding: 0; font-weight: 600; color: var(--pp-text-mute); }
.pp-ship__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 12px; }
.pp-ship__grid > * { min-width: 0; }
.pp-ship__field { grid-column: 1 / -1; }
.pp-ship__field--state, .pp-ship__field--zip { grid-column: auto; }
.pp-ship-side .pp-field { padding: 11px 12px; margin-bottom: 10px; }
.pp-ship__grid .pp-field { margin-bottom: 8px; }
.pp-ship__field .pp-ship__help { margin-top: -4px; }
.pp-ship__field .pp-error { margin: -4px 0 8px; }
/* Street address suggestions: the application form's list (.ws-apply-suggest
   in sections/wholesale-apply.liquid) in the portal's colours. */
.pp-ship__combo { position: relative; }
.pp-ship__suggest {
  list-style: none; margin: -6px 0 0; padding: 0; position: absolute; top: 100%; left: 0; right: 0;
  z-index: 20; max-height: 260px; overflow-y: auto; background: var(--pp-surface);
  border: 1px solid var(--pp-border); border-radius: 8px; box-shadow: 0 6px 18px rgba(60, 40, 20, .14);
}
.pp-ship__suggest[hidden] { display: none; }
.pp-ship__suggest-opt {
  display: flex; align-items: center; min-height: 44px; padding: 10px 12px; font-size: 14px;
  line-height: 1.35; color: var(--pp-text); cursor: pointer; overflow-wrap: anywhere;
}
.pp-ship__suggest-opt + .pp-ship__suggest-opt { border-top: 1px solid var(--pp-border); }
.pp-ship__suggest-opt[aria-selected="true"], .pp-ship__suggest-opt:hover { background: rgba(90, 60, 30, .1); }
.pp-ship__select { appearance: auto; height: auto; }
.pp-ship-side .pp-field { font-family: inherit; }
.pp-ship-side textarea.pp-field { resize: vertical; margin-bottom: 4px; }
.pp-ship__date { max-width: 220px; }
.pp-ship__cta { width: 100%; }
.pp-ship__result { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--pp-border); }
.pp-ship__alert {
  border-left: 4px solid var(--pp-error); background: var(--pp-surface);
  padding: 12px 16px; border-radius: 6px; color: var(--pp-error); font-size: 14px; margin: 0 0 14px;
}
.pp-ship__warn, .pp-ship__notice, .pp-ship__ok {
  border-left: 4px solid var(--pp-warn); background: var(--pp-surface-2);
  padding: 12px 16px; border-radius: 6px; font-size: 14px; margin: 0 0 14px;
}
.pp-ship__notice, .pp-ship__ok { border-left-color: var(--pp-success); }
.pp-ship__options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.pp-ship__option {
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px 10px; min-height: 44px; cursor: pointer;
  border: 1px solid var(--pp-border); border-radius: 10px; padding: 12px; background: var(--pp-surface); font-size: 14px;
}
.pp-ship__option input { accent-color: var(--pp-gold); width: 18px; height: 18px; margin: 2px 0 0; flex: 0 0 auto; }
.pp-ship__option.is-selected { border-color: var(--pp-gold); box-shadow: 0 0 0 1px var(--pp-gold) inset; }
.pp-ship__option-main { flex: 1 1 120px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pp-ship__option-main .pp-badge { align-self: flex-start; }
.pp-ship__option-price { display: flex; flex-direction: column; align-items: flex-end; font-size: 13px; margin-left: auto; text-align: right; }
.pp-ship__summary { margin: 0 0 8px; font-size: 14px; }
.pp-ship__summary > div { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; }
.pp-ship__summary dt, .pp-ship__summary dd { margin: 0; }
.pp-ship__summary dd { text-align: right; white-space: nowrap; }
.pp-ship__summary-total { font-weight: 600; font-size: 16px; border-top: 1px solid var(--pp-border); margin-top: 4px; padding-top: 10px !important; }
/* Duties billed after delivery: one line of words, no amount (2026-11-18). */
.pp-ship__summary > .pp-ship__summary-note { display: block; color: var(--pp-text-dim); font-size: 13px; }
.pp-ship__address { font-style: normal; margin: 0 0 14px; line-height: 1.6; }
/* "Use this address anyway" (2026-11-18). */
.pp-ship__override {
  border-left: 4px solid var(--pp-warn); background: var(--pp-surface-2);
  padding: 12px 16px; border-radius: 6px; font-size: 14px; margin: 0 0 14px;
}
.pp-ship__override-title { font-weight: 600; margin: 0 0 6px; }
.pp-ship__override-list { margin: 0 0 8px; padding-left: 18px; }
.pp-ship__override .pp-ship__help { margin: 0 0 10px; }
.pp-ship__check { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; cursor: pointer; margin: 0 0 10px; line-height: 1.4; }
.pp-ship__check input { accent-color: var(--pp-gold); width: 20px; height: 20px; margin: 0; flex: 0 0 auto; }
/* "Split into smaller boxes" (2026-12-01): the toggle above the options. */
.pp-ship__split { margin: 4px 0 4px; }
.pp-ship__split .pp-ship__check { margin: 0; }
.pp-ship__split .pp-ship__help { margin: 0 0 10px 30px; }
/* iPad width: the panel narrows a little so the coffees keep two cards. */
@media (min-width: 821px) and (max-width: 1100px) {
  .pp-order-grid--ship { grid-template-columns: minmax(0, 1fr) 340px; }
}
.pp-parcel { margin-bottom: 18px; }
.pp-parcel__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 12px; }
.pp-parcel__status--shipped, .pp-parcel__status--label_created { background: rgba(47, 125, 73, .12); color: var(--pp-success); }
.pp-parcel__status--processing, .pp-parcel__status--preparing { background: rgba(176, 122, 44, .14); color: var(--pp-gold); }
.pp-parcel__status--cancelled { background: rgba(31, 20, 8, .08); color: var(--pp-text-dim); }
.pp-parcel__note { margin-top: 14px; }
.pp-parcel__pre { white-space: pre-wrap; margin: 0; font-size: 14px; }
@media (max-width: 820px) {
  .pp-order-grid--ship { grid-template-columns: minmax(0, 1fr); }
  .pp-ship-side .pp-field { font-size: 16px; }
  .pp-shiporder .pp-step button { width: 44px; min-height: 40px; }
}

/* Account tab: Delivery & pickup (2026-11-30) */
.pp-deliv { margin-top: 18px; }
.pp-deliv__title { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--pp-text-mute); margin-bottom: 6px; font-weight: 600; }
.pp-deliv__lede { font-size: 14px; color: var(--pp-text-dim); margin: 0 0 14px; }
.pp-deliv__note { font-size: 13px; color: var(--pp-text-mute); background: var(--pp-surface-2); border-radius: 10px; padding: 10px 12px; margin: 0 0 12px; }
.pp-deliv__loc + .pp-deliv__loc { border-top: 1px solid var(--pp-border); margin-top: 18px; padding-top: 18px; }
.pp-deliv__label { font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.pp-deliv__distance { font-size: 13px; color: var(--pp-text-dim); margin: 6px 0 14px; }
.pp-deliv__distance--out { color: var(--pp-warn); }
.pp-deliv__choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pp-deliv__opt { display: flex; gap: 10px; align-items: flex-start; min-height: 44px; padding: 12px 14px; border: 2px solid var(--pp-border); border-radius: 12px; background: var(--pp-surface); cursor: pointer; font-size: 14px; }
.pp-deliv__opt input { margin-top: 2px; width: 18px; height: 18px; flex: none; accent-color: var(--pp-gold); }
.pp-deliv__opt strong { display: block; font-weight: 600; color: var(--pp-text); }
.pp-deliv__opt--on { border-color: var(--pp-gold); background: var(--pp-bg); }
.pp-deliv__opt--off { opacity: 0.6; cursor: not-allowed; }
.pp-deliv__sub { display: block; font-size: 12px; color: var(--pp-text-dim); margin-top: 2px; }
.pp-deliv__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 14px; }
.pp-deliv__actions .pp-btn { margin-top: 0; }
.pp-deliv__msg { font-size: 13px; }
.pp-deliv__msg--ok { color: var(--pp-success); }
.pp-deliv__msg--err { color: var(--pp-error); }
@media (max-width: 720px) {
  .pp-deliv__choices { grid-template-columns: 1fr; }
  .pp-deliv .pp-field { font-size: 16px; min-height: 44px; }
  .pp-deliv__actions .pp-btn { width: 100%; }
}

/* Account tab: account credit, lease rebates, your install (2026-11-30) */
.pp-lease { margin-top: 18px; }
.pp-lease__title { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--pp-text-mute); margin-bottom: 6px; font-weight: 600; }
.pp-lease__balance { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 34px; font-weight: 600; color: var(--pp-text); line-height: 1.1; }
.pp-lease__lede { font-size: 14px; color: var(--pp-text-dim); margin: 6px 0 14px; }
.pp-lease__item + .pp-lease__item { border-top: 1px solid var(--pp-border); margin-top: 18px; padding-top: 18px; }
.pp-lease__head { font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.pp-lease__sub { font-size: 12px; font-weight: 600; color: var(--pp-text-mute); margin: 16px 0 6px; }
.pp-lease__row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; padding: 4px 0; }
.pp-lease__muted { font-size: 13px; color: var(--pp-text-dim); margin: 0; }
.pp-rebate { margin: 0 0 14px; }
.pp-rebate__top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; margin-bottom: 6px; }
.pp-rebate__name { font-weight: 600; }
.pp-rebate__state { color: var(--pp-text-dim); }
.pp-rebate__state--met { color: var(--pp-success); font-weight: 600; }
.pp-rebate__amount { font-size: 12px; color: var(--pp-text-dim); margin-top: 4px; }
.pp-sitecheck { margin-top: 14px; padding: 14px; background: var(--pp-surface-2); border-radius: 12px; }
.pp-sitecheck__q { font-size: 14px; margin: 0 0 10px; }
.pp-sitecheck__choices { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pp-sitecheck__opt { min-height: 44px; padding: 10px 16px; border: 2px solid var(--pp-border); border-radius: 12px; background: var(--pp-surface); color: var(--pp-text); font: inherit; font-size: 14px; cursor: pointer; }
.pp-sitecheck__opt--on { border-color: var(--pp-gold); background: var(--pp-bg); font-weight: 600; }
.pp-sitecheck .pp-btn { margin-top: 0; }
.pp-sitecheck__date { max-width: 220px; margin-bottom: 12px; }
.pp-cart__credit { margin: 2px 0 0; font-size: 13px; color: var(--pp-success); text-align: right; }
@media (max-width: 720px) {
  .pp-sitecheck__opt { flex: 1 1 100%; }
  .pp-sitecheck .pp-btn { width: 100%; }
  .pp-sitecheck__date { max-width: none; font-size: 16px; min-height: 44px; }
  .pp-lease .pp-dl { grid-template-columns: minmax(0, 1fr); gap: 2px 0; }
  .pp-lease .pp-dl dd { margin-bottom: 10px; }

/* Service tab (2026-11-30) */
.pp-service__title { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 20px; margin-bottom: 8px; }
.pp-service__lede { color: var(--pp-text-mute); font-size: 14px; margin: 4px 0; }
.pp-service__notice { background: var(--pp-surface); border-left: 4px solid var(--pp-success); padding: 12px 14px; border-radius: 8px; margin: 0 0 12px; }
.pp-service__cta { margin-top: 12px; width: auto; }
.pp-service__label { display: block; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--pp-text-dim); font-weight: 600; margin: 16px 0 6px; }
.pp-service__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-service__chip { min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 2px solid var(--pp-border); background: var(--pp-surface); color: var(--pp-text); font-size: 15px; cursor: pointer; }
.pp-service__chip--on { border-color: var(--pp-gold); background: var(--pp-bg); color: var(--pp-gold-hi); font-weight: 600; }
.pp-service__chip:disabled { opacity: .6; cursor: not-allowed; }
.pp-service__issue { width: 100%; min-height: 96px; box-sizing: border-box; }
.pp-service__file { min-height: 44px; }
.pp-service__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.pp-service__actions .pp-btn { width: auto; margin-top: 0; }
.pp-service__thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pp-service__thumb { position: relative; display: inline-block; width: 72px; height: 72px; border-radius: 8px; overflow: hidden; object-fit: cover; }
.pp-service__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pp-service__thumb-x { position: absolute; top: 0; right: 0; width: 44px; height: 44px; background: transparent; border: 0; color: #fff; font-size: 22px; text-shadow: 0 0 4px #000; cursor: pointer; }
.pp-service__row { padding: 12px 0; border-top: 1px solid var(--pp-border); }
.pp-service__row:first-of-type { border-top: 0; }
.pp-service__row-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.pp-service__status { font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 600; color: var(--pp-gold-hi); }
.pp-service__meta { font-size: 13px; color: var(--pp-text-dim); margin-top: 2px; }
.pp-service__text { font-size: 14px; margin-top: 6px; }
.pp-service__flag { display: inline-block; font-size: 12px; color: var(--pp-warn); margin-top: 6px; font-weight: 600; }
@media (max-width: 720px) {
  .pp-service .pp-field { font-size: 16px; min-height: 44px; }
  .pp-service__cta, .pp-service__actions .pp-btn { width: 100%; }
}

/* Service tab: Maintenance Plan + Care Pack (2026-12-01) */
.pp-pkg__price { font-size: 18px; margin: 4px 0 0; }
.pp-pkg__price strong { font-size: 24px; }
.pp-pkg__owned { padding: 4px 0; }
.pp-pkg__cancel { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-size: 13px; min-height: 44px; }
.pp-pkg__cancel:disabled { opacity: .5; cursor: default; }
.pp-pkg__item { border-top: 1px solid var(--pp-border); }
.pp-pkg__item:first-of-type { border-top: 0; }
.pp-pkg__check { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 6px 0; font-size: 15px; cursor: pointer; }
.pp-pkg__check input { width: 20px; height: 20px; flex: 0 0 auto; accent-color: var(--pp-gold); }
.pp-pkg__check > span:not(.pp-pkg__covered) { min-width: 0; overflow-wrap: anywhere; }
.pp-pkg__covered { flex: 0 0 auto; }
.pp-pkg__check--off { color: var(--pp-text-dim); cursor: default; }
.pp-pkg__covered { margin-left: auto; font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 600; color: var(--pp-success); border: 1px solid var(--pp-success); border-radius: 999px; padding: 2px 10px; }
.pp-pkg__groups { margin: 0 0 10px 32px; }
.pp-pkg__note { width: 100%; box-sizing: border-box; }
.pp-pkg__signer { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.pp-pkg__signer .pp-field { width: 100%; box-sizing: border-box; }
.pp-pkg__sign { margin-top: 16px; min-height: 480px; }
.pp-pkg__quote { margin: 14px 0 0; padding: 12px 14px; background: var(--pp-bg); border-radius: 8px; }
.pp-pkg__quote > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 2px 0; }
.pp-pkg__quote dt, .pp-pkg__quote dd { margin: 0; }
.pp-pkg__total { font-weight: 700; font-size: 16px !important; border-top: 1px solid var(--pp-border); margin-top: 6px; padding-top: 8px !important; }
.pp-pkg__terms { margin: 14px 0 4px; padding-left: 18px; font-size: 13px; color: var(--pp-text-mute); }
.pp-pkg__terms li { margin: 4px 0; }
.pp-pkg__accept { font-weight: 600; }
@media (max-width: 720px) {
  .pp-pkg__signer { grid-template-columns: 1fr; }
  .pp-pkg__groups { margin-left: 0; }
  .pp-pkg__sign { min-height: 70vh; }
}
