/* ==========================================================================
   Customer Portal — the approved design (myledkit-customer-portal-preview.html)
   --------------------------------------------------------------------------
   Loaded last on account.html and scoped to body.portal, so the Admin,
   Store Portal and sign-in pages that share dashboard.css are untouched.
   The existing screens keep their markup; this restyles the shared pieces
   they are built from (panels, rows, buttons, pills, inputs) and lays out
   the new shell: top bar, grouped sidebar, page head, bottom bar on phones.

   Palette: white #FFFFFF, soft grey #F5F5F7, charcoal #17231D, emerald
   #27C878 for purchase actions and active states only.
   ========================================================================== */

body.portal {
  --text: #17231D;
  --text-2: #67746E;
  --text-3: #8C9A93;
  --line: #E6ECE8;
  --line-soft: #E6ECE8;
  --line-strong: #CFD9D3;
  --bg: #FFFFFF;
  --bg-tint: #F5F5F7;
  --surface: #FFFFFF;
  --surface-2: #F5F5F7;
  --surface-sunk: #F5F5F7;
  --accent: #15965A;
  --accent-hi: #117A49;
  --accent-soft: #EBFAF1;
  --accent-ink: #FFFFFF;
  --accent-ring: rgba(39, 200, 120, .35);
  --ok: #15965A;
  --warn: #996C28;
  --danger: #D24545;
  --green: #27C878;
  --green-hi: #19BA6B;
  --green-ink: #09271A;
  --btn-primary: #27C878;
  --btn-primary-hi: #19BA6B;
  --btn-primary-down: #15A85F;
  --btn-primary-line: transparent;
  --btn-primary-ink: #09271A;
  --btn-base: #FFFFFF;
  --btn-base-hi: #F5F5F7;
  --btn-base-line: #E6ECE8;
  --btn-base-ink: #17231D;
  --btn-shadow: none;
  --sh-1: 0 12px 38px rgba(9, 25, 15, .045);
  --card-r: 17px;
  background: #FFFFFF;
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.portal :focus-visible { outline: 3px solid #67DBA1; outline-offset: 2px; }
body.portal [hidden] { display: none !important; }

/* ── buttons: green for purchase / primary, white outline for the rest ── */
body.portal .btn {
  min-height: 43px; padding: 0 17px; gap: 8px;
  border: 1px solid var(--line); border-radius: 12px;
  font-size: 13px; font-weight: 750; letter-spacing: 0; box-shadow: none;
  transition: transform .16s, background-color .16s;
}
body.portal .btn--primary { --btn-bg: var(--green); --btn-ink: var(--green-ink); border-color: transparent; box-shadow: none; }
body.portal .btn--primary:hover { --btn-bg: var(--green-hi); box-shadow: none; transform: translateY(-1px); }
body.portal .btn--ghost:hover { box-shadow: none; }
body.portal .btn--sm { min-height: 35px; padding: 0 11px; font-size: 12px; border-radius: 10px; }
body.portal .btn--lg { min-height: 46px; padding: 0 20px; font-size: 14px; }
body.portal .btn--block { width: 100%; }
body.portal .btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
body.portal .pt-link, body.portal .pt-row-link {
  border: 0; background: none; padding: 4px 0;
  color: var(--accent); font-size: 12px; font-weight: 760; white-space: nowrap;
}
body.portal .pt-link:hover, body.portal .pt-row-link:hover { text-decoration: underline; }

/* ── top bar ────────────────────────────────────────────────────────── */
body.portal .pt-top {
  position: sticky; top: 0; z-index: 30; height: 75px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
body.portal .pt-top-inner { max-width: 1480px; height: 100%; margin: 0 auto; padding: 0 36px; display: flex; align-items: center; gap: 24px; }
body.portal .pt-top .brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
body.portal .pt-top .brand__name { font-size: 21px; font-weight: 850; letter-spacing: -.05em; white-space: nowrap; }
body.portal .pt-top-links { display: flex; align-items: center; gap: 13px; margin-left: auto; min-width: 0; }
body.portal .pt-top-srch {
  display: flex; align-items: center; gap: 8px; width: 230px; height: 43px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface-sunk); color: var(--text-2);
}
body.portal .pt-top-srch input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; color: var(--text); font: inherit; font-size: 13px; }
body.portal .pt-top-srch input::-webkit-search-cancel-button { display: none; }
body.portal .pt-top svg, body.portal .pt-nav-link svg, body.portal .pt-mobile-nav svg, body.portal .pt-mini-ico svg {
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
body.portal .pt-top-srch svg { width: 16px; height: 16px; flex: 0 0 auto; }
body.portal .pt-icon-btn {
  position: relative; display: grid; place-items: center; width: 43px; height: 43px; flex: 0 0 auto;
  border: 1px solid var(--line); border-radius: 13px; background: #FFFFFF; color: var(--text);
}
body.portal .pt-icon-btn svg { width: 19px; height: 19px; }
body.portal .pt-icon-btn:hover { background: var(--surface-sunk); }
body.portal .pt-bubble {
  position: absolute; top: -5px; right: -5px; min-width: 18px; padding: 1px 5px;
  border-radius: 30px; background: var(--accent); color: #FFFFFF; font-size: 11px; font-weight: 800; text-align: center;
}
body.portal .pt-user-chip {
  display: flex; align-items: center; gap: 9px; padding: 5px 12px 5px 5px;
  border: 1px solid var(--line); border-radius: 24px; color: var(--text); text-decoration: none; white-space: nowrap;
}
body.portal .pt-user-chip:hover { background: var(--surface-sunk); }
body.portal .pt-user-chip__text { display: grid; line-height: 1.15; }
body.portal .pt-user-chip__text strong { font-size: 13px; font-weight: 720; }
body.portal .pt-user-chip__type { font-size: 10px; font-weight: 700; color: var(--accent); }
body.portal .pt-user-chip .avatar {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent-soft); color: #168451; font-size: 11px; font-weight: 850; overflow: hidden;
}
body.portal .pt-user-chip .avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ── layout + sidebar ───────────────────────────────────────────────── */
body.portal .pt-layout {
  max-width: 1480px; margin: 0 auto; padding: 27px 36px 80px;
  display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 44px;
}
body.portal .pt-sidebar {
  position: sticky; top: 105px; align-self: start;
  display: block; max-height: calc(100vh - 135px); overflow: auto; scrollbar-width: thin;
  padding: 9px 22px 10px 0; border-right: 1px solid var(--line);
}
body.portal .pt-menu-label { margin: 19px 0 11px 14px; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; color: #94A19B; font-weight: 850; }
body.portal .pt-menu-label:first-child { margin-top: 4px; }
body.portal .pt-sidebar a.pt-nav-link {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 43px; margin: 2px 0; padding: 11px 14px;
  border-radius: 12px; background: transparent; color: #52615A; font-size: 14px; font-weight: 630; text-decoration: none;
  transition: background .15s, color .15s;
}
body.portal .pt-sidebar a.pt-nav-link svg { width: 19px; height: 19px; flex: 0 0 auto; }
body.portal .pt-sidebar a.pt-nav-link:hover { background: var(--surface-sunk); color: var(--text); }
body.portal .pt-sidebar a.pt-nav-link.active { background: var(--accent-soft); color: #116E40; font-weight: 760; }
body.portal .pt-nav-link--quiet { margin-top: 10px !important; color: var(--text-3) !important; }
body.portal .pt-nav-link--quiet:hover { color: var(--danger) !important; }
body.portal .pt-count {
  margin-left: auto; padding: 3px 6px; border-radius: 8px;
  background: #EDF1EF; color: #687970; font-size: 11px; font-weight: 750; line-height: 1.2;
}
body.portal .pt-count[data-tone="wait"] { background: #FFF5E7; color: #996C28; }
body.portal .pt-nav-link.active .pt-count { background: #DAF3E4; color: #116E40; }
body.portal .pt-side-help { margin-top: 34px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #FBFCFB; }
body.portal .pt-side-help strong { display: block; font-size: 13px; }
body.portal .pt-side-help p { margin: 7px 0 13px; color: var(--text-2); font-size: 12px; line-height: 1.5; }
body.portal .pt-side-help a { color: var(--accent); font-size: 12px; font-weight: 800; }
body.portal .pt-main { min-width: 0; max-width: 1130px; }
body.portal .pt-main:focus { outline: none; }

/* ── page head ──────────────────────────────────────────────────────── */
body.portal .pt-page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin: 9px 0 27px; }
body.portal .pt-eyebrow { margin: 0 0 12px; color: var(--accent); font-size: 11px; font-weight: 820; letter-spacing: .12em; text-transform: uppercase; }
body.portal .pt-page-head h1 { margin: 0 0 10px; font-size: clamp(29px, 3.4vw, 43px); font-weight: 760; letter-spacing: -.055em; line-height: 1.07; }
body.portal .pt-page-head p#pageSub { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.55; }
body.portal .pt-actions { display: flex; flex-wrap: wrap; gap: 9px; }
body.portal .pt-actions:empty { display: none; }
body.portal #pricingBanner { margin-bottom: 23px; border-radius: 14px; }
body.portal #pricingBanner.is-off { display: none; }

/* ── the shared pieces every screen is built from ──────────────────── */
body.portal .pt-card { border: 1px solid var(--line); border-radius: var(--card-r); background: #FFFFFF; box-shadow: var(--sh-1); }
body.portal .panel { border: 1px solid var(--line); border-radius: var(--card-r); box-shadow: var(--sh-1); padding: 23px; }
body.portal .panel + .panel { margin-top: 20px; }
body.portal .panel__head { margin-bottom: 16px; }
body.portal .panel__title { font-size: 19px; font-weight: 780; letter-spacing: -.03em; }
body.portal .panel__title.is-dup { display: none; }
body.portal .panel__sub { font-size: 13px; line-height: 1.55; }
body.portal .alert { border-radius: 14px; font-size: 13px; line-height: 1.55; }
body.portal .table-scroll { max-width: 100%; overflow-x: auto; }
body.portal .alert--info { color: #116E40; border-color: #D8EEE1; background: #EFFAF3; }
body.portal .input, body.portal .textarea, body.portal .picker {
  min-height: 44px; border: 1px solid #DFE7E2; border-radius: 11px; background: #FFFFFF; color: var(--text); font-size: 14px;
}
body.portal .input:focus, body.portal .textarea:focus, body.portal .picker:focus { outline: 2px solid #80DCAB; outline-offset: 1px; border-color: #DFE7E2; box-shadow: none; }
body.portal .empty-state { padding: 38px 24px; text-align: center; }
body.portal .empty-state strong { display: block; margin-bottom: 6px; font-size: 16px; }
body.portal .empty-state p { max-width: 410px; margin: 0 auto; color: var(--text-2); font-size: 13px; line-height: 1.6; }
body.portal .back-link { color: var(--accent); font-weight: 700; font-size: 13px; }

/* Status pills: the reference's soft tags. */
body.portal .pill { gap: 5px; padding: 6px 9px; border-radius: 9px; font-size: 11px; font-weight: 780; white-space: nowrap; }
body.portal .pill::before { width: 6px; height: 6px; }
body.portal .pill--go   { color: #426BA8; background: #EDF2FB; }
body.portal .pill--wait { color: #187447; background: #E7F8EE; }
body.portal .pill--done { color: #66726D; background: #EFF2F0; }
body.portal .pill--off  { color: #66726D; background: #EFF2F0; }
body.portal .pill--bad  { color: var(--danger); background: #FCEDED; }

/* Rows: one card, rows divided by hairlines, as the reference's order list. */
body.portal .rows {
  display: block; gap: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--card-r); background: #FFFFFF; box-shadow: var(--sh-1);
}
body.portal .panel .rows { box-shadow: none; }
/* A panel that is only a list: the list is the card, the panel's words sit above it. */
body.portal #view > .panel:has(> .rows) { padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
body.portal #view > .panel:has(> .rows) > .panel__head { margin-bottom: 14px; }
body.portal .row-card { margin: 0; padding: 17px 20px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; background: transparent; }
body.portal .row-card:last-child { border-bottom: 0; }
body.portal .row-card__title { font-size: 14px; font-weight: 800; letter-spacing: -.015em; }
body.portal .row-card__meta { margin-top: 5px; font-size: 12px; line-height: 1.5; }
body.portal .row-card__meta a { color: var(--accent); font-weight: 700; }
body.portal .row-card__meta .pt-unpaid { color: var(--warn); font-weight: 700; }
body.portal .row-card__price { font-size: 14px; font-weight: 770; }
body.portal .pt-order-row .row-card__end { gap: 18px; }
@media (min-width: 1000px) {
  body.portal .pt-order-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  body.portal .pt-order-row .row-card__end { display: grid; grid-template-columns: 120px 100px 96px; justify-items: end; }
  body.portal .pt-order-row .row-card__end .pill { justify-self: start; }
}

/* Buy again / price list / saved lists: hairline rows inside one card. */
body.portal .buy-list { overflow: hidden; border: 1px solid var(--line); border-radius: var(--card-r); }
body.portal .buy-row { padding: 12px 15px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; background: #FFFFFF; }
body.portal .buy-row:last-child { border-bottom: 0; }
body.portal .buy-row__pic { width: 52px; height: 52px; border-radius: 11px; background: var(--surface-sunk); border: 1px solid var(--line); overflow: hidden; }
body.portal .buy-row__name, body.portal .buy-row__name a { font-size: 13px; font-weight: 750; color: var(--text); }
body.portal .buy-row__detail, body.portal .buy-row__meta { font-size: 11px; color: var(--text-2); }
body.portal .buy-row__price strong { font-size: 13px; font-weight: 790; }
body.portal .buy-row__qty { width: 67px; min-height: 37px; text-align: center; border-radius: 10px; }
body.portal .acct-tools { gap: 10px; margin: 0 0 18px; }
body.portal .acct-tools__search { max-width: 380px; }
body.portal .list-card { border: 1px solid var(--line); border-radius: 14px; box-shadow: none; }
body.portal .list-card:hover { border-color: #BADBC9; }

/* ── Overview ───────────────────────────────────────────────────────── */
body.portal .pt-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-bottom: 23px; padding: 23px 27px; overflow: hidden;
  border: 1px solid #D8EEE1; border-radius: 18px; background: #EFFAF3;
}
body.portal .pt-banner h2 { margin: 0 0 6px; font-size: 20px; letter-spacing: -.035em; }
body.portal .pt-banner p { max-width: 450px; margin: 0; color: #557262; font-size: 13px; line-height: 1.5; }
body.portal .pt-banner .pt-actions { flex-shrink: 0; }
body.portal .pt-banner .btn--primary { --btn-bg: var(--text); --btn-ink: #FFFFFF; }
body.portal .pt-banner .btn--primary:hover { --btn-bg: #24352C; }
body.portal .pt-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
body.portal .pt-stat {
  display: flex; flex-direction: column; justify-content: space-between; min-height: 143px; padding: 21px;
  color: var(--text); text-decoration: none;
}
body.portal .pt-stat:hover { border-color: #BADBC9; }
body.portal .pt-stat-top { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
body.portal .pt-stat-label { color: var(--text-2); font-size: 12px; font-weight: 720; }
body.portal .pt-mini-ico { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 10px; background: #F1F5F2; color: var(--text); }
body.portal .pt-mini-ico svg { width: 19px; height: 19px; }
body.portal .pt-stat-num { margin-top: 15px; font-size: 28px; font-weight: 800; letter-spacing: -.045em; }
body.portal .pt-stat-num--word { font-size: 23px; }
body.portal .pt-stat-caption { margin-top: 2px; color: var(--text-2); font-size: 12px; }
body.portal .pt-section { margin-top: 28px; }
body.portal .pt-section-title { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 0 0 14px; }
body.portal .pt-section-title h2 { margin: 0; font-size: 19px; font-weight: 780; letter-spacing: -.03em; }
body.portal .pt-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
body.portal .pt-product { display: flex; flex-direction: column; overflow: hidden; }
body.portal .pt-product-photo { display: flex; align-items: center; justify-content: center; height: 165px; overflow: hidden; background: #F6F7F7; }
/* whole, never cropped (the shop's photo rule) */
body.portal .pt-product-photo img { width: 100%; height: 100%; padding: 10px; object-fit: contain; }
body.portal .pt-product-body { display: flex; flex: 1; flex-direction: column; padding: 15px 15px 16px; }
body.portal .pt-product-type { color: #819188; font-size: 10px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
body.portal .pt-product-name { margin: 6px 0; font-size: 14px; font-weight: 750; letter-spacing: -.015em; line-height: 1.35; }
body.portal .pt-product-note { margin-bottom: 10px; color: var(--text-2); font-size: 11px; }
body.portal .pt-price-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
body.portal .pt-price { font-size: 16px; font-weight: 790; }
body.portal .pt-price small { color: var(--text-2); font-size: 11px; font-weight: 500; }

/* ── More services ──────────────────────────────────────────────────── */
body.portal .pt-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 13px; }
body.portal .pt-services > .panel { margin-top: 0; }
body.portal .pt-service { display: flex; flex-direction: column; min-height: 180px; color: var(--text); text-decoration: none; }
body.portal .pt-service:hover { border-color: #BADBC9; }
body.portal .pt-service h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 7px; font-size: 16px; letter-spacing: -.02em; }
body.portal .pt-service h3 .pt-count { margin-left: 0; }
body.portal .pt-service p { margin: 0 0 20px; color: var(--text-2); font-size: 13px; line-height: 1.6; }
body.portal .pt-service .btn { align-self: flex-start; margin-top: auto; }
body.portal .pt-mobile-only { display: none !important; }

/* ── Settings: a sub-navigation beside the existing forms ──────────── */
body.portal .pt-acct-body.pt-settings-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 22px; align-items: start; }
body.portal .pt-settings-side { display: flex; flex-direction: column; gap: 5px; }
body.portal .pt-settings-side a {
  display: flex; align-items: center; gap: 8px; padding: 11px; border-radius: 10px;
  color: #5B685F; font-size: 13px; font-weight: 670; text-decoration: none;
}
body.portal .pt-settings-side a:hover { background: var(--surface-sunk); }
body.portal .pt-settings-side a.active { background: var(--accent-soft); color: #167345; }
body.portal #view form { max-width: 960px; }

/* ── order detail ───────────────────────────────────────────────────── */
body.portal .step.is-done .step__dot { background: var(--green); border-color: var(--green); color: var(--green-ink); }

/* ── bottom bar (phones) ────────────────────────────────────────────── */
body.portal .pt-mobile-nav { display: none; }

@media (max-width: 1150px) {
  body.portal .pt-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 24px; padding: 25px 22px 75px; }
  body.portal .pt-top-inner { padding: 0 22px; }
  body.portal .pt-sidebar { padding-right: 12px; }
  body.portal .pt-top-srch { width: 190px; }
  body.portal .pt-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  body.portal .pt-top { height: 63px; }
  body.portal .pt-top-inner { padding: 0 16px; gap: 12px; }
  body.portal .pt-top .brand__name { font-size: 19px; }
  body.portal .pt-top-srch, body.portal .pt-user-chip, body.portal .pt-hide-mobile { display: none; }
  body.portal .pt-sidebar { display: none; }
  body.portal .pt-layout { display: block; padding: 22px 16px 104px; }
  body.portal .pt-main { max-width: 100%; }
  body.portal .pt-page-head { margin: 3px 0 21px; }
  body.portal .pt-page-head h1 { font-size: 31px; }
  body.portal .pt-page-head p#pageSub { font-size: 13px; }
  body.portal .pt-page-head .pt-actions { display: none; }
  body.portal .pt-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  body.portal .pt-stat { min-height: 120px; padding: 15px; }
  body.portal .pt-stats .pt-stat:nth-child(3) { display: none; }
  body.portal .pt-stat-num { font-size: 25px; }
  body.portal .pt-stat-num--word { font-size: 19px; }
  body.portal .pt-banner { display: block; padding: 18px; }
  body.portal .pt-banner h2 { font-size: 19px; }
  body.portal .pt-banner p { font-size: 12px; }
  body.portal .pt-banner .pt-actions { margin-top: 14px; }
  body.portal .row-card { padding: 15px 14px; }
  body.portal .pt-order-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
  body.portal .pt-order-row .row-card__end { display: contents; }
  body.portal .pt-order-row .row-card__price { grid-column: 2; grid-row: 1; align-self: start; }
  body.portal .pt-order-row .pill { grid-column: 1; grid-row: 2; justify-self: start; }
  body.portal .pt-order-row .pt-row-link { grid-column: 2; grid-row: 2; justify-self: end; }
  body.portal .pt-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  body.portal .pt-product-photo { height: 133px; }
  body.portal .pt-product-body { padding: 12px; }
  body.portal .pt-product-name { font-size: 13px; }
  body.portal .pt-product-note { font-size: 10px; }
  body.portal .pt-price { font-size: 14px; }
  body.portal .pt-price-row { flex-wrap: wrap; }
  body.portal .pt-section { margin-top: 25px; }
  body.portal .panel { padding: 18px; }
  body.portal .pt-acct-body.pt-settings-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  body.portal .pt-settings-side { flex-direction: row; overflow-x: auto; white-space: nowrap; padding-bottom: 4px; scrollbar-width: none; }
  body.portal .pt-settings-side a { flex-shrink: 0; }
  body.portal .acct-tools__search { max-width: none; flex: 1 1 100%; }
  body.portal .pt-mobile-only { display: flex !important; }
  body.portal .pt-services { gap: 10px; }
  body.portal .pt-service { min-height: 0; }
  body.portal .pt-service p { margin-bottom: 14px; }
  /* the price list on a phone: product and your price; SKU and list stay on wider screens */
  body.portal .price-list__table th:nth-child(2), body.portal .price-list__table td.price-list__sku,
  body.portal .price-list__table th:nth-child(4), body.portal .price-list__table tr > td:nth-child(4) { display: none; }
  body.portal .pt-signout-mobile { margin-top: 18px; }
  body.portal .pt-mobile-nav {
    position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: repeat(5, 1fr);
    padding: 8px 5px max(9px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line); background: #FFFFFF; box-shadow: 0 -5px 30px rgba(0, 0, 0, .03);
  }
  body.portal .pt-mobile-nav a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 48px;
    color: #738178; font-size: 10px; font-weight: 700; text-decoration: none;
  }
  body.portal .pt-mobile-nav a.active { color: #14864D; }
  body.portal .pt-mobile-nav svg { width: 20px; height: 20px; }
}

@media (max-width: 375px) {
  body.portal .pt-products { grid-template-columns: minmax(0, 1fr); }
  body.portal .pt-product-photo { height: 180px; }
  body.portal .pt-banner .pt-actions .btn { padding: 0 10px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  body.portal .btn, body.portal .pt-nav-link { transition: none; }
  body.portal .btn--primary:hover { transform: none; }
}

/* Price list: figures right-aligned under their headings. */
body.portal .price-list__table td.table__num, body.portal .price-list__table th.table__num { text-align: right; }
