/* Huddles Brand Lab dashboard (brand-lab.html). Loads after
   hudl-brandlab.css and keeps its house style: flat teal, white, grey and
   the orange accent, 8px corners, no gradients or glows. */
.bl-body { background: var(--pc-soft, #f5f7f8); }
.bl-dash { min-height: calc(100vh - 80px); background: var(--pc-soft); padding-bottom: env(safe-area-inset-bottom); }

/* Installed app: no website menu, just the dashboard. */
@media (display-mode: standalone) { .bl-site-header { display: none; } .bl-dash { min-height: 100vh; } }

/* ------------------------------------------------------------ signed out */
.bl-gate { display: flex; justify-content: center; padding: 48px 16px 64px; }
.bl-gate__card { width: 100%; max-width: 460px; background: var(--pc-surface); border: 1px solid var(--pc-line); border-radius: var(--pc-radius);
  padding: 32px 28px; text-align: center; }
.bl-gate__logo { width: auto; height: 140px; max-width: 260px; margin-top: -16px; object-fit: contain; margin-bottom: 12px; }
.bl-gate h1 { font-size: 28px; font-weight: 700; margin: 0 0 8px; }
.bl-gate__lead { color: var(--pc-muted); font-size: 16px; line-height: 1.55; margin: 0 0 22px; }
.bl-gate__actions { display: grid; gap: 10px; }
.bl-gate__actions .pc-btn { padding: 13px 18px; font-size: 16px; }
.bl-gate__note { font-size: 14px; color: var(--pc-teal); font-weight: 600; margin: 12px 0 22px; }
.bl-gate__list { list-style: none; padding: 0; margin: 0 0 20px; text-align: left; display: grid; gap: 10px; font-size: 14px; color: var(--pc-muted); }
.bl-gate__list .mdi { color: var(--pc-teal); font-size: 18px; vertical-align: -2px; margin-right: 4px; }
.bl-gate__list b { color: var(--pc-ink); }
.bl-gate__foot { font-size: 14px; margin: 0; color: var(--pc-muted); }
.bl-gate__foot a, .bl-gate__foot .pc-link { color: var(--pc-teal); }
.bl-gate__foot .pc-install { background: none; border: 0; padding: 0; color: var(--pc-teal); font: inherit; text-decoration: underline; cursor: pointer; }
.bl-gate__foot .pc-install .mdi { display: none; }

/* ----------------------------------------------------------------- shell */
.bl-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); max-width: 1400px; margin: 0 auto; }
.bl-side { position: sticky; top: 0; align-self: start; height: 100vh; display: flex; flex-direction: column; gap: 14px;
  padding: 20px 14px; background: var(--pc-surface); border-right: 1px solid var(--pc-line); overflow-y: auto; }
.bl-me { display: flex; align-items: center; gap: 10px; padding: 4px 6px 12px; border-bottom: 1px solid var(--pc-line); }
.bl-me__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--pc-teal); color: #fff; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; flex: none; text-transform: uppercase; }
.bl-me__text { display: grid; min-width: 0; }
.bl-me__text b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bl-me__text small { color: var(--pc-teal); font-weight: 600; font-size: 12px; }
.bl-nav { display: grid; gap: 2px; }
.bl-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--pc-radius);
  color: var(--pc-ink); font-weight: 500; text-decoration: none; }
.bl-nav a .mdi { font-size: 20px; color: var(--pc-muted); }
.bl-nav a:hover { background: var(--pc-soft); color: var(--pc-ink); text-decoration: none; }
.bl-nav a[aria-current="page"] { background: var(--pc-teal-soft); color: var(--pc-teal-dark); font-weight: 600; }
.bl-nav a[aria-current="page"] .mdi { color: var(--pc-teal); }
.bl-lock { margin-left: auto; font-size: 15px !important; color: var(--pc-muted); }
.bl-side__foot { margin-top: auto; display: grid; gap: 8px; }

.bl-main { padding: 26px 28px 60px; min-width: 0; outline: none; overflow-x: clip; }
.bl-view__head { margin-bottom: 16px; }
.bl-h1 { font-size: clamp(24px, 3vw, 30px); font-weight: 700; margin: 0 0 6px; }
.bl-h2 { font-size: 18px; font-weight: 600; margin: 28px 0 12px; }
.bl-help { margin: 0; color: var(--pc-muted); font-size: 15px; line-height: 1.6; max-width: 900px; }
.bl-help b { color: var(--pc-ink); }
.bl-app .pc-app { margin: 0; }
.bl-app.pc-app-section { padding: 0; background: none; }

.bl-save-state { font-size: 13px; color: var(--pc-muted); margin-left: auto; margin-right: 8px; white-space: nowrap; }
.bl-save-state--ok { color: var(--pc-ok); }
.bl-save-state--ok::before { content: "✓ "; }
.bl-save-state--warn { color: var(--pc-bad); }

/* ------------------------------------------------------------------ home */
.bl-status { background: var(--pc-surface); border: 1px solid var(--pc-line); border-left: 4px solid var(--pc-teal); border-radius: var(--pc-radius);
  padding: 16px 18px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.bl-status--warn { border-left-color: var(--pc-orange); }
/* A tool the plan does not include: only the heading and the locked card show. */
.bl-view[data-bl-locked] > :not(.bl-view__head):not(.bl-locked) { display: none !important; }
.bl-locked { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.bl-locked .bl-status__text { flex: 1 1 260px; }
.bl-locked__icon { font-size: 26px; color: var(--pc-orange); }
.bl-status__text b { display: block; font-size: 17px; }
.bl-status__text span { color: var(--pc-muted); font-size: 14px; }
.bl-checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.bl-checklist li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center;
  background: var(--pc-surface); border: 1px solid var(--pc-line); border-radius: var(--pc-radius); padding: 14px 16px; }
.bl-checklist li div { display: grid; }
.bl-checklist small { color: var(--pc-muted); font-size: 14px; }
.bl-check { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--pc-line); display: inline-flex;
  align-items: center; justify-content: center; }
.bl-checklist li.is-done .bl-check { background: var(--pc-ok); border-color: var(--pc-ok); }
.bl-checklist li.is-done .bl-check::after { content: "✓"; color: #fff; font-weight: 700; font-size: 14px; }
.bl-checklist li.is-done b { color: var(--pc-muted); }
.bl-checklist li[hidden] { display: none; }
.bl-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bl-tile { display: grid; gap: 4px; padding: 18px; background: var(--pc-surface); border: 1px solid var(--pc-line); border-radius: var(--pc-radius);
  color: var(--pc-ink); text-decoration: none; }
.bl-tile:hover { border-color: var(--pc-teal); color: var(--pc-ink); text-decoration: none; }
.bl-tile .mdi { font-size: 26px; color: var(--pc-teal); }
.bl-tile small { color: var(--pc-muted); }
.bl-recent { display: grid; gap: 8px; list-style: none; padding: 0; margin: 0; }
.bl-recent button { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: var(--pc-surface);
  border: 1px solid var(--pc-line); border-radius: var(--pc-radius); padding: 10px 14px; cursor: pointer; color: var(--pc-ink); }
.bl-recent button:hover { border-color: var(--pc-teal); }
.bl-start { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; background: var(--pc-teal-soft); border-radius: var(--pc-radius);
  padding: 12px 16px; margin-bottom: 14px; }
.bl-start .mdi { font-size: 22px; color: var(--pc-teal); }
.bl-start span:nth-child(2) { flex: 1 1 260px; }

/* ------------------------------------------------------------------ help */
.bl-faq details { background: var(--pc-surface); border: 1px solid var(--pc-line); border-radius: var(--pc-radius); padding: 14px 16px; margin-bottom: 8px; }
.bl-faq summary { font-weight: 600; cursor: pointer; }
.bl-faq p { margin: 10px 0 0; color: var(--pc-muted); line-height: 1.6; }

#bl-account { max-width: 760px; background: var(--pc-surface); border: 1px solid var(--pc-line); border-radius: var(--pc-radius); padding: 20px; }

/* ------------------------------------------------------------- link page */
.lp-editor { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
/* One column that can never grow past the screen. With a plain grid the
   column took the width of its widest line (the Website step's long block
   titles), so on a phone the whole dashboard became ~600px wide: the phone
   shrank it to fit, then zoomed in on every text box and stayed zoomed. */
.lp-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; min-width: 0; }
.lp-steps > * { min-width: 0; }
.lp-step { background: var(--pc-surface); border: 1px solid var(--pc-line); border-radius: var(--pc-radius); padding: 18px; }
.lp-step h2 { font-size: 17px; font-weight: 600; margin: 0 0 4px; display: flex; gap: 10px; align-items: center; }
.lp-step h2 .lp-num { width: 26px; height: 26px; border-radius: 50%; background: var(--pc-teal); color: #fff; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center; flex: none; }
.lp-step > p { margin: 0 0 12px; color: var(--pc-muted); font-size: 14px; }
.lp-address { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lp-address__prefix { color: var(--pc-muted); font-size: 14px; overflow-wrap: anywhere; }
.lp-address input { flex: 1 1 160px; min-width: 0; }
.lp-address input.is-invalid { border-color: var(--pc-bad); box-shadow: 0 0 0 3px rgba(180, 35, 24, .14); }
.lp-msg { font-size: 13px; margin: 6px 0 0; min-height: 1em; }
.lp-msg--ok { color: var(--pc-ok); }
.lp-msg--bad { color: var(--pc-bad); }
.lp-items { display: grid; gap: 8px; margin-bottom: 10px; }
.lp-item { display: grid; grid-template-columns: auto minmax(110px, 160px) minmax(0, 1fr) auto; gap: 8px; align-items: center;
  border: 1px solid var(--pc-line); border-radius: var(--pc-radius); padding: 8px; background: var(--pc-soft); }
.lp-item--link { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.3fr) auto; }
.lp-item input, .lp-item select { min-width: 0; width: 100%; }
.lp-item__ico { width: 40px; height: 40px; border-radius: var(--pc-radius); border: 1px solid var(--pc-line); background: var(--pc-surface);
  font-size: 18px; color: var(--pc-teal); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.lp-item__tools { display: flex; gap: 2px; }
.lp-item__tools .pc-icon-btn[aria-pressed="false"] { opacity: .55; }
.lp-item__extra { grid-column: 2 / -1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.lp-row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.lp-pic { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
/* Desktop: the preview stays in view and scrolls on its own, so a long
   page can be checked without scrolling the whole editor (align-self
   keeps the sticky box from stretching to the column's full height). */
.lp-preview { position: sticky; top: 16px; align-self: start; }
.lp-preview__frame { border: 10px solid var(--pc-ink); border-radius: 32px; overflow: hidden; overflow-y: auto;
  max-height: 760px;
  overscroll-behavior: contain; scrollbar-width: thin; background: #000; }
/* Desktop: the WHOLE preview (its heading, "See it as" and the phone) fits
   in the window, so the bottom of the phone is always in view and its page
   can be scrolled to the end. Before, only the phone was sized to the
   window, so the rows above it pushed its last ~110px below the screen. */
@media (min-width: 992px) {
  .lp-preview { display: flex; flex-direction: column; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); }
  .lp-preview > * { flex: none; }
  .lp-preview > .lp-preview__screen { flex: 0 1 auto; min-height: 0; display: flex; flex-direction: column; }
  .lp-preview__screen > .lp-preview__frame { flex: 0 1 auto; min-height: 240px; }
}
/* Holds the frame, so the page's panels (cart, pictures) open over the phone
   screen and not over the editor (hudl-links.css .hl-sheet--inside). */
.lp-preview__screen { position: relative; }
.lp-preview__label { font-size: 13px; color: var(--pc-muted); margin: 0 0 8px; text-align: center; }
.lp-locked { position: relative; }
.lp-locked .lp-steps { opacity: .5; pointer-events: none; }
.lp-icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 6px; max-height: 50vh; overflow-y: auto; margin-top: 10px; }
.lp-icon-grid button { display: grid; gap: 4px; justify-items: center; padding: 10px 4px; border: 1px solid transparent; border-radius: var(--pc-radius);
  background: none; cursor: pointer; font-size: 11px; color: var(--pc-ink); }
.lp-icon-grid button:hover, .lp-icon-grid button:focus-visible { border-color: var(--pc-teal); }
.lp-icon-grid i { font-size: 22px; color: var(--pc-teal); }

/* --------------------------------------------------------- phone tab bar */
.bl-tabbar { display: none; }
@media (max-width: 991.98px) {
  .bl-shell { grid-template-columns: minmax(0, 1fr); }
  .bl-side { display: none; }
  .bl-main { padding: 18px 16px 96px; }
  /* The toast and the upload card sit above the tab bar, not over it. */
  .pc-toast, .pc-upload, .pc-saveready { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .bl-tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
    background: var(--pc-surface); border-top: 1px solid var(--pc-line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .bl-tabbar a { display: grid; justify-items: center; gap: 2px; font-size: 11px; color: var(--pc-muted); text-decoration: none; padding: 4px 0; }
  .bl-tabbar a .mdi { font-size: 22px; }
  .bl-tabbar a[aria-current="page"] { color: var(--pc-teal); font-weight: 600; }
  .lp-editor { grid-template-columns: minmax(0, 1fr); }
  .lp-preview { position: static; order: -1; }
  .lp-preview__frame { max-height: 440px; }
  .bl-tiles { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 575.98px) {
  .lp-item, .lp-item--link { grid-template-columns: auto minmax(0, 1fr) auto; }
  .lp-item > .lp-wide { grid-column: 1 / -1; }
  .bl-checklist li { grid-template-columns: auto minmax(0, 1fr); }
  .bl-checklist li .btn { grid-column: 1 / -1; }
}

/* The Brand Lab heading colour must not reach a link page preview. */
.pc .hl-page h1, .pc .hl-page h2, .pc .hl-page h3, .pc .hl-page p { color: inherit; }

/* ----------------------------------------- link page: pictures + socials */
.lp-picture .lp-pic { margin-top: 6px; }
.lp-picture .hl-framer { padding: 14px; border: 1px solid var(--pc-line); border-radius: var(--pc-radius); background: var(--pc-soft); }

/* The network on a row: a button that opens the picker to change it. */
.lp-net { display: inline-flex; align-items: center; justify-content: space-between; gap: 6px; min-width: 0; width: 100%;
  height: 40px; padding: 0 10px; border: 1px solid var(--pc-line); border-radius: var(--pc-radius); background: var(--pc-surface);
  font: inherit; font-size: 14px; font-weight: 600; color: var(--pc-ink); cursor: pointer; text-align: left; }
.lp-net:hover { border-color: var(--pc-teal); }
.lp-net__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-net .mdi { color: var(--pc-muted); }
.lp-item__ico i { font-size: 20px; }

/* Picking a network: popular logos, a search box, "See all". */
.lp-netpick { margin-top: 6px; padding: 14px; border: 1px dashed var(--pc-line); border-radius: var(--pc-radius); background: var(--pc-soft); }
.lp-netpick__title { margin: 0 0 10px; font-size: 14px; font-weight: 600; }
.lp-netsearch { position: relative; margin-bottom: 12px; }
.lp-netsearch .mdi { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 18px; color: var(--pc-muted); pointer-events: none; }
.lp-netsearch input { width: 100%; padding-left: 38px; }
.lp-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.lp-tiles--sheet { max-height: 55vh; overflow-y: auto; margin-top: 12px; padding: 2px; }
.lp-tiles__none { grid-column: 1 / -1; margin: 0; }
.lp-tile { position: relative; display: grid; justify-items: center; gap: 6px; padding: 12px 6px 10px; border: 1px solid var(--pc-line);
  border-radius: 12px; background: var(--pc-surface); cursor: pointer; font: inherit; color: var(--pc-ink);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.lp-tile:hover, .lp-tile:focus-visible { border-color: var(--pc-teal); box-shadow: 0 4px 12px rgba(3, 122, 142, .12); transform: translateY(-1px); outline: none; }
.lp-tile.is-current { border-color: var(--pc-teal); background: var(--pc-teal-soft); }
.lp-tile__logo { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 24px; background: var(--pc-soft); color: var(--pc-teal); }
.lp-tile__name { font-size: 12.5px; font-weight: 600; line-height: 1.25; text-align: center; overflow-wrap: anywhere; }
.lp-tile__used { position: absolute; top: 5px; right: 6px; color: var(--pc-ok); font-size: 15px; }
.lp-tile--more .lp-tile__logo { color: var(--pc-muted); }
.lp-netsheet input[type="search"] { width: 100%; }
@media (max-width: 480px) {
  .lp-tiles { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 6px; }
  .lp-tile__logo { width: 34px; height: 34px; font-size: 20px; }
}

/* ------------------------------------------------ free font library (#fonts) */
.fl { margin-top: 28px; padding: 22px; background: var(--pc-surface); border: 1px solid var(--pc-line); border-radius: var(--pc-radius); }
.fl:empty { display: none; }
.fl-head { margin-bottom: 14px; }
.fl-title { font-size: 22px; font-weight: 700; margin: 0 0 4px; }
.fl-lead { margin: 0; color: var(--pc-muted); font-size: 14px; max-width: 70ch; }
.fl-tools { display: grid; gap: 12px; padding: 14px; border: 1px solid var(--pc-line); border-radius: var(--pc-radius); background: var(--pc-soft);
  position: sticky; top: 0; z-index: 3; }
.fl-tools__row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.fl-search, .fl-text { flex: 1 1 260px; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid var(--pc-line); border-radius: var(--pc-radius); font: inherit; }
.fl-search { padding-left: 36px; background: var(--pc-surface) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235f6b70' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m14 14-3.2-3.2'/%3E%3C/svg%3E") no-repeat 12px center; }
.fl-search:focus, .fl-text:focus { outline: none; border-color: var(--pc-teal); box-shadow: 0 0 0 3px rgba(3, 122, 142, .16); }
.fl-tools select { height: 42px; border: 1px solid var(--pc-line); border-radius: var(--pc-radius); padding: 0 10px; font: inherit; background: var(--pc-surface); }
.fl-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.fl-cat { font: inherit; font-size: 13.5px; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--pc-line);
  background: var(--pc-surface); color: var(--pc-ink); cursor: pointer; }
.fl-cat:hover { border-color: var(--pc-teal); }
.fl-cat.is-on { background: var(--pc-teal); border-color: var(--pc-teal); color: #fff; }
.fl-size { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 600; }
.fl-size input { width: 140px; accent-color: var(--pc-teal); }
.fl-size output { min-width: 40px; color: var(--pc-muted); font-variant-numeric: tabular-nums; font-weight: 500; }
.fl-tools__row--checks { gap: 16px; }
.fl-check { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 13.5px; cursor: pointer; }
.fl-check input { width: 16px; height: 16px; accent-color: var(--pc-teal); }
.fl-count { margin: 14px 0 10px; font-size: 13px; color: var(--pc-muted); }
.fl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.fl-card { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--pc-line); border-radius: 14px; background: var(--pc-surface);
  min-width: 0; transition: border-color .15s ease, box-shadow .15s ease; }
.fl-card:hover { border-color: #b7d8de; box-shadow: 0 6px 18px rgba(3, 122, 142, .08); }
.fl-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.fl-card__name { font-size: 15px; font-weight: 700; margin: 0; }
.fl-card__meta { margin: 2px 0 0; font-size: 12px; color: var(--pc-muted); }
.fl-tag { flex: none; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 2px 8px; border-radius: 999px;
  background: #fff4e5; color: #b54708; }
.fl-card__preview { margin: 0; line-height: 1.2; color: var(--pc-ink); overflow-wrap: anywhere; min-height: 1.2em; flex: 1; }
.fl-card__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.fl-card__actions .pc-btn { flex: 1 1 auto; justify-content: center; }
.fl-foot { display: grid; justify-items: center; gap: 8px; margin-top: 16px; text-align: center; }
.fl-more[hidden] { display: none; }
@media (max-width: 640px) {
  .fl { padding: 14px; }
  .fl-tools { position: static; }
  .fl-grid { grid-template-columns: minmax(0, 1fr); }
  .fl-size input { width: 110px; }
}

/* --------------------------------------------- guided tours (hudl-tour.js) */
.bl-tour-shade { position: fixed; inset: 0; z-index: 9990; background: transparent; }
.bl-tour-ring { position: fixed; z-index: 9991; border-radius: 12px; pointer-events: none;
  box-shadow: 0 0 0 4px #ffa132, 0 0 0 9999px rgba(10, 20, 30, .55); transition: top .2s ease, left .2s ease, width .2s ease, height .2s ease; }
.bl-tour-card { position: fixed; z-index: 9992; width: min(340px, calc(100vw - 20px)); padding: 18px; border-radius: 14px; background: var(--pc-surface);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28); outline: none; }
.bl-tour-count { margin: 0 0 4px; font-size: 12px; font-weight: 700; color: var(--pc-teal); text-transform: uppercase; letter-spacing: .05em; }
.bl-tour-title { margin: 0 0 6px; font-size: 18px; font-weight: 700; }
.bl-tour-text { margin: 0 0 14px; font-size: 14.5px; line-height: 1.55; color: var(--pc-muted); }
.bl-tour-actions { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.bl-tour-skip { margin-right: auto; background: none; border: 0; padding: 0; font: inherit; font-size: 13.5px; color: var(--pc-muted); cursor: pointer; text-decoration: underline; }
.bl-tour-skip[hidden] { display: none; }
.bl-tour-btn { margin-top: 10px; }
/* Home has no header block, so the button sat right on top of the next
   box. Give it the same gap the header blocks leave on the other tabs. */
.bl-view > .bl-tour-btn { margin-bottom: 16px; }
@media (prefers-reduced-motion: reduce) { .bl-tour-ring { transition: none; } }

/* ------------------------------------------------- phones: Brand Lab pass
   Two cramped columns of form fields ("Short description" beside "Name",
   "White (for dark b..." cut off in its select) read badly at 390px. */
@media (max-width: 575.98px) {
  .lp-row2 { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .lp-row2 select, .lp-row2 textarea, .lp-row2 input[type="text"] { width: 100%; }
  .lp-step { padding: 16px 14px; }
  .lp-preview__frame { max-height: 380px; border-width: 8px; border-radius: 26px; }
  .lp-preview__screen { --hl-overlay-inset: 8px; --hl-overlay-radius: 18px; }
  .lp-address__prefix { font-size: 13px; }
  .lp-step .pc-row-actions .pc-btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 991.98px) {
  /* The site navbar is ~200px tall on phones (49px padding + a 100px logo
     row). Inside the dashboard that pushed every tool half a screen down. */
  .bl-site-header #navbar { padding-top: 8px; padding-bottom: 8px; }
  .bl-site-header .navbar-brand-wrapper { height: auto; min-height: 56px; align-items: center; }
  /* images/logos/1.svg has wide built-in padding, so let it overlap the
     bar's padding rather than shrinking the letters. */
  .bl-site-header .navbar-brand-wrapper > img { height: 76px; max-height: none; width: auto; margin: -10px 0; }
}


/* ---------------------------------------------- link page: portfolio step */
.lp-shots__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 12px; }
.lp-shots__count { font-size: 13px; color: var(--pc-muted); }
.lp-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.lp-shots__empty { grid-column: 1 / -1; margin: 0; }
.lp-shot { display: flex; flex-direction: column; gap: 8px; padding: 10px; border: 1px solid var(--pc-line); border-radius: 12px; background: var(--pc-soft); min-width: 0; }
.lp-shot__img { position: relative; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; background: #e9eef0; }
.lp-shot__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-shot__num { position: absolute; top: 6px; left: 6px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px;
  background: rgba(22, 36, 43, .78); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.lp-shot__fields { display: grid; gap: 6px; }
.lp-shot__fields input, .lp-shot__fields textarea { width: 100%; min-width: 0; font-size: 14px; }
.lp-editor .lp-shot__fields textarea { resize: none; line-height: 1.35; font-family: inherit; }
.lp-shot__tools { display: flex; justify-content: space-between; gap: 4px; margin-top: auto; }
@media (max-width: 575.98px) {
  .lp-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .lp-shot { padding: 8px; }
  .lp-shots__bar .pc-btn { flex: 1 1 100%; justify-content: center; }
}

/* Menu avatar with a profile picture. */
.bl-me__avatar.has-photo { background: #e9eef0; overflow: hidden; }
.bl-me__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ------------------------------------------- home: install the app */
.bl-install { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 12px; padding: 14px 18px;
  background: var(--pc-teal-soft); border-radius: var(--pc-radius); }
.bl-install[hidden] { display: none; }
.bl-install__icon { font-size: 30px; color: var(--pc-teal); flex: none; }
.bl-install__text { flex: 1 1 220px; display: grid; min-width: 0; }
.bl-install__text small { color: var(--pc-muted); font-size: 14px; }

/* ----------------------------------- home: hire Huddles (small section) */
.bl-hire { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 28px;
  padding: 20px 22px; background: var(--pc-surface); border: 1px solid var(--pc-line); border-left: 4px solid var(--pc-orange, #ffa132);
  border-radius: var(--pc-radius); }
.bl-hire__text { flex: 1 1 300px; min-width: 0; }
.bl-hire .bl-h2 { margin: 0 0 4px; }
.bl-hire p { margin: 0 0 10px; color: var(--pc-muted); font-size: 14.5px; }
.bl-hire__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; font-weight: 500; }
.bl-hire__list .mdi { color: var(--pc-teal); font-size: 18px; vertical-align: -2px; }
.bl-hire__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
@media (max-width: 575.98px) {
  .bl-install .pc-btn, .bl-hire__actions .pc-btn { flex: 1 1 100%; justify-content: center; }
  .bl-hire__actions { width: 100%; }
}
.bl-install [data-pc-install-slot] { display: contents; }

/* ------------------------- link page: Edit / Done locks (hudl-linkpage.js) */
.lp-step__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.lp-step__head h2 { margin: 0; }
.lp-edit { flex: none; padding: 6px 14px; font-size: 14px; }
.lp-edit.is-nudge { animation: lp-nudge .5s ease; border-color: var(--pc-orange); }
@keyframes lp-nudge { 0%, 100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.lp-step__body { border: 0; padding: 0; margin: 0; min-width: 0; }
.lp-step.is-locked .lp-step__body { pointer-events: none; }
.lp-step.is-locked .lp-step__body :disabled { opacity: 1; cursor: default; background-color: var(--pc-soft); color: var(--pc-ink); }
.lp-step.is-locked .lp-item__tools, .lp-step.is-locked .lp-netpick, .lp-step.is-locked .lp-add,
.lp-step.is-locked .lp-shot__tools, .lp-step.is-locked .lp-shots__bar .pc-btn, .lp-step.is-locked .lp-pic,
.lp-step.is-locked .hl-framer__controls, .lp-step.is-locked .lp-menu > .pc-hint { display: none; }
.lp-lockhint { margin: 8px 0 0; font-size: 13px; color: var(--pc-teal-dark, #025f6e); }
.lp-lockhint:empty { display: none; }
.lp-locknote { margin: 0; padding: 10px 14px; border-radius: var(--pc-radius); background: var(--pc-teal-soft); font-size: 14px; color: var(--pc-ink); }
.lp-locknote .mdi { color: var(--pc-teal); }
@media (prefers-reduced-motion: reduce) { .lp-edit.is-nudge { animation: none; } }

/* ------------------------------------------- link page: menu / price list */
.lp-menu { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--pc-line); }
.lp-sub { font-size: 15px; font-weight: 600; margin: 0 0 4px; }
.lp-menu__list { display: grid; gap: 10px; margin: 10px 0; }
.lp-menu__sec { display: grid; gap: 8px; padding: 10px; border: 1px solid var(--pc-line); border-radius: var(--pc-radius); background: var(--pc-soft); }
.lp-menu__sechead { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.lp-menu__secname { font-weight: 600; }
.lp-menu__items { display: grid; gap: 8px; }
.lp-menu__item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, 280px) auto; gap: 6px 8px; align-items: center;
  padding: 8px; border-radius: var(--pc-radius); background: var(--pc-surface); border: 1px solid var(--pc-line); }
.lp-menu__item input { min-width: 0; width: 100%; }
.lp-menu__note { grid-column: 1 / -1; font-size: 14px; }
.lp-menu__sec > .lp-add { justify-self: start; }
@media (max-width: 575.98px) {
  /* Phone: name on its own row, then price beside the tools, then note. */
  .lp-menu__item { grid-template-columns: minmax(0, 1fr) auto; }
  .lp-menu__item > input:first-child { grid-column: 1 / -1; }
}

/* ------------------------------ link page: phone mini preview (hudl-linkpage.js)
   A live copy of the preview, drawn at 375px and scaled to 30%. Sits above
   the phone tab bar; dragged to any corner. */
.lp-mini, .lp-mini-pill, .lp-mini-big { display: none; }
@media (max-width: 991.98px) {
  .lp-mini { display: block; position: fixed; z-index: 1035; width: 113px; height: 200px; border-radius: 16px; overflow: hidden;
    border: 4px solid var(--pc-ink); background: #000; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); cursor: pointer;
    touch-action: none; user-select: none; -webkit-user-select: none; }
  .lp-mini[hidden], .lp-mini-pill[hidden], .lp-mini-big[hidden] { display: none; }
  .lp-mini.is-dragging { transition: none; opacity: .9; cursor: grabbing; }
  .lp-mini__screen { width: 375px; transform: scale(.28); transform-origin: top left; pointer-events: none; }
  .lp-mini__screen .hl-page--preview { border-radius: 0; min-height: 714px; }
  .lp-mini__close { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; padding: 0;
    display: grid; place-items: center; background: rgba(0, 0, 0, .6); color: #fff; font-size: 15px; cursor: pointer; }
  .lp-mini--br { right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); }
  .lp-mini--bl { left: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); }
  .lp-mini--tr { right: 12px; top: calc(12px + env(safe-area-inset-top)); }
  .lp-mini--tl { left: 12px; top: calc(12px + env(safe-area-inset-top)); }
  .lp-mini-pill { display: inline-flex; align-items: center; gap: 6px; position: fixed; z-index: 1035; padding: 9px 14px; border-radius: 999px;
    border: 0; background: var(--pc-ink); color: #fff; font: inherit; font-size: 14px; font-weight: 600; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); cursor: pointer; }
  .lp-mini-pill .mdi { font-size: 17px; }
  .lp-mini-big { display: flex; flex-direction: column; align-items: center; gap: 12px; position: fixed; inset: 0; z-index: 1060;
    padding: calc(14px + env(safe-area-inset-top)) 14px calc(14px + env(safe-area-inset-bottom)); background: rgba(10, 20, 30, .82); }
  .lp-mini-big__screen { position: relative; flex: 1; min-height: 0; width: 100%; max-width: 420px; display: flex;
    --hl-overlay-inset: 8px; --hl-overlay-radius: 18px; }
  .lp-mini-big__frame { flex: 1; min-height: 0; width: 100%; overflow-y: auto; border: 8px solid var(--pc-ink);
    border-radius: 26px; background: #000; }
  .lp-mini-big__frame .hl-page--preview { border-radius: 0; min-height: 100%; }
  .lp-mini-big__close { flex: none; padding: 12px 22px; }
  .lp-mini-open, .lp-mini-open body { overflow: hidden; }
}

/* ------------------------------------------------ link page: stats card */
.lp-stats { background: var(--pc-surface); border: 1px solid var(--pc-line); border-radius: var(--pc-radius); padding: 18px; }
.lp-stats__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.lp-stats__head h2 { font-size: 17px; font-weight: 600; margin: 0; }
.lp-stats__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lp-stat { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--pc-radius); background: var(--pc-soft); }
.lp-stat b { font-size: 24px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.lp-stat span { font-size: 13px; color: var(--pc-muted); }
.lp-stats__empty { margin: 0 0 10px; }
.lp-chart { display: flex; align-items: flex-end; gap: 3px; height: 90px; margin-top: 14px; padding-bottom: 2px; border-bottom: 1px solid var(--pc-line); }
.lp-chart--90 { gap: 1px; }
.lp-chart__col { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.lp-chart__bar { width: 100%; background: var(--pc-teal); border-radius: 3px 3px 0 0; min-height: 2px; }
.lp-chart__col:hover .lp-chart__bar { background: var(--pc-orange); }
.lp-chart__axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--pc-muted); margin: 4px 0 8px; }
.lp-stats__more { font-weight: 600; }
.lp-stats__details { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px 24px; margin-top: 12px; }
.lp-stats__details[hidden] { display: none; }
.lp-stats__details > .pc-hint { grid-column: 1 / -1; margin: 0; }
.lp-stats__list h3 { font-size: 14px; font-weight: 600; margin: 0 0 8px; }
.lp-stats__list ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.lp-bar { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(40px, 1fr) auto; gap: 8px; align-items: center; font-size: 13.5px; }
.lp-bar__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-flag { margin-right: 6px; }
.lp-bar__track { height: 8px; border-radius: 999px; background: var(--pc-soft); overflow: hidden; }
.lp-bar__fill { display: block; height: 100%; background: var(--pc-teal); border-radius: 999px; }
.lp-bar__value { min-width: 28px; text-align: right; font-variant-numeric: tabular-nums; }

/* -------------------------------------------------- link page: QR sheet */
.lp-qr__preview { display: grid; place-items: center; min-height: 200px; padding: 10px; border: 1px solid var(--pc-line); border-radius: var(--pc-radius); background: var(--pc-surface); }
.lp-qr__img { width: min(280px, 100%); height: auto; display: block; image-rendering: pixelated; }
.lp-qr__opts { display: grid; gap: 10px; margin: 14px 0; justify-items: start; }

/* ------------------------------------------ link page: videos and music */
.lp-item--embed { grid-template-columns: auto minmax(90px, 130px) minmax(0, 1fr) auto; }
.lp-item__ico--static { cursor: default; }
.lp-embed__name { display: grid; line-height: 1.2; }
.lp-embed__name small { color: var(--pc-muted); font-size: 12px; }
.lp-embed__add { display: flex; gap: 8px; }
.lp-embed__input { flex: 1; min-width: 0; }
/* Videos step: the member's own videos, and per-player options. */
.lp-ownvids__box { display: grid; gap: 8px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--pc-line); }
.lp-ownvids__box .lp-sub, .lp-ownvids__box .pc-hint { margin: 0; }
.lp-ownvids { display: grid; gap: 10px; }
.lp-ownvid { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 10px;
  border: 1px solid var(--pc-line); border-radius: var(--pc-radius); background: var(--pc-surface); }
.lp-ownvid__thumb { width: 96px; height: 128px; object-fit: cover; border-radius: 8px; background: #000; display: block; }
.lp-ownvid__fields { display: grid; gap: 6px; min-width: 0; }
.lp-ownvid__fields input { width: 100%; min-width: 0; }
.lp-embed__opts { grid-column: 1 / -1; display: grid; gap: 8px; padding-top: 4px; }
.lp-embed__mute { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.lp-embed__mute input { width: 18px; height: 18px; accent-color: var(--pc-teal); }
.lp-embed__cover { display: flex; align-items: center; gap: 10px; }
.lp-embed__cover .lp-product__pic { width: 56px; height: 56px; flex: 0 0 auto; }
.lp-embed__cover .lp-product__picwrap { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.lp-embed__cover .pc-hint { margin: 0; font-size: 12.5px; }
.lp-cover__drop { font-size: 12px; }
@media (max-width: 575.98px) {
  .lp-ownvid { grid-template-columns: 72px minmax(0, 1fr); }
  .lp-ownvid__thumb { width: 72px; height: 96px; }
  .lp-ownvid .lp-product__tools { grid-column: 1 / -1; flex-direction: row; justify-content: flex-end; }
}
/* "Which links work?" under the paste box. */
.lp-embedhelp { margin-top: 10px; border: 1px solid var(--pc-line); border-radius: var(--pc-radius); background: var(--pc-soft); }
.lp-embedhelp summary { cursor: pointer; padding: 10px 12px; font-weight: 600; color: var(--pc-teal); }
.lp-embedhelp__list { display: grid; gap: 12px; padding: 0 12px 12px; }
.lp-embedhelp__row { display: grid; gap: 4px; padding-top: 10px; border-top: 1px solid var(--pc-line); }
.lp-embedhelp__row p { margin: 0; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.lp-embedhelp__name .fa-brands { width: 1.2em; text-align: center; }
.lp-embedhelp__tag { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
  padding: 1px 6px; border-radius: 4px; background: var(--pc-teal-soft, #e0f2f4); color: var(--pc-teal); }
.lp-embedhelp__tag--no { background: color-mix(in srgb, #b42318 12%, transparent); color: #b42318; }
html[data-theme="dark"] .lp-embedhelp__tag--no { color: #f97066; }

/* ---------------------------------------------- link page: shop and tips */
.lp-products { display: grid; gap: 10px; margin: 14px 0 10px; }
.lp-product { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 10px;
  border: 1px solid var(--pc-line); border-radius: var(--pc-radius); background: var(--pc-soft); }
.lp-product__pic { width: 76px; height: 76px; border-radius: 10px; border: 1px dashed var(--pc-line); background: var(--pc-surface); padding: 0; overflow: hidden;
  display: grid; place-items: center; align-content: center; gap: 2px; cursor: pointer; color: var(--pc-teal); }
.lp-product__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-product__pic .mdi { font-size: 24px; }
.lp-product__pic small { font-size: 11px; color: var(--pc-muted); }
.lp-product__fields { display: grid; gap: 6px; min-width: 0; }
.lp-product__fields input { width: 100%; min-width: 0; }
.lp-product__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, 280px); gap: 6px; }
/* Price box: currency list (+ own symbol for "Other") and the amount. */
.lp-price { display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; }  /* the amount drops below when there is no room */
.lp-price select, .lp-price input { min-width: 0; }
.lp-price .lp-price__cur { flex: 0 0 auto; width: auto; max-width: 92px; padding-left: 6px; padding-right: 6px; }
.lp-price .lp-price__own { flex: 0 0 52px; width: 52px; }
.lp-price .lp-price__amount { flex: 1 1 96px; width: auto; }
.lp-product__tools { flex-direction: column; }
.lp-tipsedit { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--pc-line); }
.lp-tipsedit select + input[type="text"] { margin-top: 8px; }
.lp-bankcheck { min-height: 1.4em; margin-top: 6px; }
/* Order cart settings (Shop and tips > Order cart). */
.lp-cartedit__body { margin-top: 12px; }
.lp-cartedit__sends { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 4px 0 2px; }
.lp-cartedit__warn:empty { display: none; }
.lp-cartedit__warn { margin-top: 10px; display: grid; gap: 6px; }
.lp-cartedit__note { margin: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid #f1d9a6; background: #fff8e8;
  color: #6b4a00; font-size: 13.5px; line-height: 1.45; }
.lp-places { display: grid; gap: 6px; margin: 6px 0 8px; }
.lp-place-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, 170px) auto; gap: 6px; align-items: center; }
/* The symbol sits beside the amount (not over it), so "GH₵" or "KSh" fits as well as "₦". */
.lp-place-row__fee { display: flex; align-items: center; gap: 6px; min-width: 0; }
.lp-place-row__sym { flex: none; font-size: 14px; font-weight: 600; color: var(--pc-muted); white-space: nowrap; }
.lp-place-row__fee input { flex: 1 1 auto; min-width: 0; width: 100%; }
.lp-findedit { margin-top: 14px; }
.lp-bankcheck--ok { color: var(--pc-ok, #0b7a55); }
.lp-bankcheck--warn { color: var(--pc-warn, #8a5a00); }
.lp-bankcheck .pc-link { font: inherit; }
@media (max-width: 575.98px) {
  .lp-item--embed { grid-template-columns: auto minmax(0, 1fr) auto; }
  .lp-product { grid-template-columns: auto minmax(0, 1fr); }
  .lp-product__tools { grid-column: 1 / -1; flex-direction: row; justify-content: flex-end; }
  .lp-product__row { grid-template-columns: minmax(0, 1fr); }
  .lp-stats__tiles { gap: 6px; }
  .lp-stat { padding: 10px; }
  .lp-stat b { font-size: 20px; }
}

/* ------------------------------------------------- link page: themes */
/* Ready-made themes: three at a time in a row that slides (themePicker). */
.lp-themes-slider { position: relative; display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.lp-themes { flex: 1; min-width: 0; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 20px) / 3); gap: 10px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.lp-themes::-webkit-scrollbar { display: none; }
.lp-themes > .lp-theme { scroll-snap-align: start; }
.lp-themes__arrow { flex: none; width: 34px; height: 34px; padding: 0; border-radius: 50%; border: 1px solid var(--pc-line);
  background: var(--pc-surface); color: var(--pc-ink); display: inline-grid; place-items: center; font-size: 20px; cursor: pointer; }
.lp-themes__arrow:hover:not(:disabled) { border-color: var(--pc-teal); color: var(--pc-teal); }
.lp-themes__arrow:disabled { opacity: .35; cursor: default; }
.lp-theme { display: grid; gap: 6px; padding: 6px; border: 2px solid transparent; border-radius: 14px; background: none; cursor: pointer; font: inherit; }
.lp-theme:hover, .lp-theme:focus-visible { border-color: var(--pc-line); outline: none; }
.lp-theme.is-on { border-color: var(--pc-teal); }
.lp-theme__demo.hl-page { min-height: 0; height: 132px; padding: 14px 10px; border-radius: 10px; display: flex; flex-direction: column;
  align-items: stretch; justify-content: flex-start; gap: 7px; overflow: hidden; }
.lp-theme__title { font-size: 18px; font-weight: 700; text-align: center; line-height: 1.1; }
.lp-theme__demo .hl-link { min-height: 22px; padding: 0; transform: none !important; }
.lp-theme__name { font-size: 12.5px; font-weight: 600; color: var(--pc-ink); text-align: center; }
.lp-step.is-locked .lp-themes { pointer-events: none; opacity: .7; }

/* Link Page editor text boxes: the house style used by the sign-in forms
   (they were plain browser boxes). */
.lp-editor input:not([type]), .lp-editor input[type="text"], .lp-editor input[type="search"], .lp-editor input[type="tel"],
.lp-editor input[type="url"], .lp-editor textarea, .lp-editor select {
  min-height: 40px; border: 1.5px solid var(--pc-line); border-radius: var(--pc-radius); padding: 7px 11px;
  font: inherit; font-size: 15px; color: var(--pc-ink); background: var(--pc-surface); box-shadow: none; }
.lp-editor textarea { resize: vertical; }
.lp-editor input:focus, .lp-editor textarea:focus, .lp-editor select:focus { border-color: var(--pc-teal); outline: none;
  box-shadow: 0 0 0 3px rgba(3, 122, 142, .14); }
.lp-editor input::placeholder, .lp-editor textarea::placeholder { color: #98a2a6; }
.lp-step.is-locked .lp-step__body input:disabled, .lp-step.is-locked .lp-step__body textarea:disabled,
.lp-step.is-locked .lp-step__body select:disabled { border-color: transparent; background-color: var(--pc-soft); color: var(--pc-ink); -webkit-text-fill-color: var(--pc-ink); }
.lp-step.is-locked .lp-step__body input:disabled::placeholder { color: transparent; }

/* ------------------------------------------- link page: collect contacts */
.lp-contacts { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--pc-line); }
.lp-contacts__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.lp-contacts__head .lp-sub { margin: 0; }
.lp-contacts__head .pc-row-actions { margin: 0; }
.lp-contacts__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: 420px; overflow-y: auto; }
.lp-contacts__rows li { display: flex; align-items: center; gap: 4px; padding: 8px 10px; border: 1px solid var(--pc-line); border-radius: var(--pc-radius); background: var(--pc-soft); }
.lp-contacts__who { flex: 1; min-width: 0; display: grid; }
.lp-contacts__who b, .lp-contacts__who small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-contacts__who small { color: var(--pc-muted); font-size: 12.5px; }
.lp-contacts__rows .pc-icon-btn { color: var(--pc-teal); text-decoration: none; }

/* ------------------------------------------- tip jar: searchable bank list
   hudl-linkpage.js bankPicker(). A dropdown under the button on a computer,
   a sheet from the bottom of the screen on a phone. */
.lp-bankpick { position: relative; min-width: 0; }
.lp-bankpick__btn { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 44px;
  padding: 8px 12px; border: 1.5px solid var(--pc-line); border-radius: var(--pc-radius); background: var(--pc-surface); color: var(--pc-ink);
  font: inherit; font-size: 15px; text-align: left; cursor: pointer; }
.lp-bankpick__btn:hover { border-color: #b9c6cb; }
.lp-bankpick__btn:focus-visible, .lp-bankpick.is-open .lp-bankpick__btn { border-color: var(--pc-teal); outline: none;
  box-shadow: 0 0 0 3px rgba(3, 122, 142, .15); }
.lp-bankpick__btn:disabled { background: var(--pc-soft); cursor: default; }
.lp-bankpick__value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-bankpick__value.is-empty { color: var(--pc-muted); }
.lp-bankpick__btn .mdi { font-size: 20px; color: var(--pc-muted); flex: none; transition: transform .15s ease; }
.lp-bankpick.is-open .lp-bankpick__btn .mdi { transform: rotate(180deg); }
.lp-bankpick__panel { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; width: max(100%, 320px); max-width: min(420px, 90vw);
  display: flex; flex-direction: column; background: var(--pc-surface); border: 1px solid var(--pc-line); border-radius: 12px;
  box-shadow: 0 16px 40px rgba(16, 24, 40, .16); overflow: hidden; }
.lp-bankpick__panel[hidden], .lp-bankpick__shade[hidden] { display: none; }
.lp-bankpick__head { display: none; }
.lp-bankpick__searchwrap { position: relative; padding: 10px; border-bottom: 1px solid var(--pc-line); }
.lp-bankpick__searchwrap .mdi { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: var(--pc-muted); font-size: 18px; pointer-events: none; }
.lp-editor .lp-bankpick .lp-bankpick__search, .lp-bankpick .lp-bankpick__search { width: 100%; min-height: 40px; padding: 8px 12px 8px 36px; border: 1.5px solid var(--pc-line);
  border-radius: var(--pc-radius); font: inherit; font-size: 15px; background: var(--pc-surface); }
.lp-bankpick__search:focus { border-color: var(--pc-teal); outline: none; }
.lp-bankpick__list { list-style: none; margin: 0; padding: 4px; max-height: 300px; overflow-y: auto; overscroll-behavior: contain; }
.lp-bankpick__opt { padding: 10px 12px; border-radius: 8px; cursor: pointer; font-size: 14.5px; line-height: 1.3; overflow-wrap: anywhere; }
.lp-bankpick__opt:hover, .lp-bankpick__opt.is-active { background: var(--pc-soft); }
.lp-bankpick__opt[aria-selected="true"] { color: var(--pc-teal); font-weight: 600; }
.lp-bankpick__opt.is-other { margin-top: 4px; border-top: 1px solid var(--pc-line); border-radius: 0 0 8px 8px; color: var(--pc-muted); }
.lp-bankpick__empty { margin: 0; padding: 4px 14px 12px; }
.lp-bankpick__shade { display: none; }

@media (max-width: 575.98px) {
  .lp-bankpick__shade:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 1060; background: rgba(15, 26, 42, .45); }
  .lp-bankpick__panel { position: fixed; z-index: 1061; left: 0; right: 0; bottom: 0; top: auto; width: auto; max-width: none;
    max-height: 82vh; max-height: 82dvh; border-radius: 18px 18px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .lp-bankpick__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 10px 4px 16px; font-size: 16px; }
  .lp-editor .lp-bankpick .lp-bankpick__search, .lp-bankpick .lp-bankpick__search { font-size: 16px; }    /* 16px stops iPhones zooming in */
  .lp-bankpick-open .lp-mini, .lp-bankpick-open .bl-tabbar { display: none !important; }
  .lp-bankpick__list { max-height: none; flex: 1; min-height: 0; padding-bottom: 12px; }
  .lp-bankpick__opt { padding: 13px 14px; font-size: 15.5px; }
  .lp-bankpick-open, .lp-bankpick-open body { overflow: hidden; }
}

/* ------------------------------------------------ Home: invite friends */
.bl-invite { margin-top: 28px; padding: 20px; border: 1px solid var(--pc-line); border-radius: 14px;
  background: var(--pc-teal-soft); }   /* flat: no gradients (owner rule) */
.bl-invite__head { display: flex; gap: 14px; align-items: flex-start; }
.bl-invite__head .bl-h2 { margin: 0 0 4px; }
.bl-invite__head .pc-hint { margin: 0; }
.bl-invite__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--pc-teal); color: #fff; font-size: 22px; }
.bl-invite__share { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; align-items: center; }
.bl-invite__link { flex: 1 1 260px; min-width: 0; min-height: 42px; padding: 8px 12px; border: 1.5px solid var(--pc-line);
  border-radius: var(--pc-radius); background: var(--pc-surface); font: inherit; font-size: 14px; color: var(--pc-ink); }
.bl-invite__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bl-invite__actions .pc-btn { gap: 6px; }
.bl-invite__stats { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; font-size: 13.5px; color: var(--pc-muted); }
.bl-invite__stats b { color: var(--pc-ink); font-size: 15px; margin-right: 3px; }
.bl-invite__more { margin-top: 10px; font-size: 14px; }
.bl-invite__more summary { cursor: pointer; color: var(--pc-teal); font-weight: 600; }
.bl-invite__friends { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.bl-invite__friends li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; background: var(--pc-surface);
  border: 1px solid var(--pc-line); border-radius: 8px; }
.bl-invite__state { color: var(--pc-muted); font-size: 13px; white-space: nowrap; }
.bl-invite__state--rewarded { color: var(--pc-ok); font-weight: 600; }
@media (max-width: 575.98px) {
  .bl-invite { padding: 16px; }
  .bl-invite__actions { width: 100%; }
  .bl-invite__actions .pc-btn { flex: 1 1 auto; justify-content: center; }
}

/* ------------------------------------------------ Link Page: optional parts
   Every part says whether it is on the page ("On your page") or left out
   ("Optional"); extras fold away behind "Do more with your link page". */
.lp-intro { margin: 0; padding: 10px 14px; border-radius: var(--pc-radius); background: var(--pc-soft); font-size: 14px; color: var(--pc-ink); }
.lp-intro .mdi { color: var(--pc-teal); }
.lp-chip { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 600;
  white-space: nowrap; letter-spacing: 0; }
.lp-chip--on { background: var(--pc-ok-bg); color: var(--pc-ok); }
.lp-chip--off { background: var(--pc-soft); color: var(--pc-muted); border: 1px solid var(--pc-line); }
.lp-step h2 { flex-wrap: wrap; row-gap: 4px; }

.lp-extras { display: grid; gap: 16px; }
.lp-extras__btn { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; cursor: pointer;
  padding: 16px 18px; border-radius: var(--pc-radius); border: 1px dashed var(--pc-teal); background: var(--pc-teal-soft); color: var(--pc-ink);
  font: inherit; }
.lp-extras__btn:hover { border-style: solid; }
.lp-extras__btn:focus-visible { outline: 3px solid var(--pc-orange); outline-offset: 2px; }
.lp-extras__icon { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--pc-teal); color: #fff; font-size: 22px; }
.lp-extras__text { flex: 1; min-width: 0; display: grid; gap: 3px; font-size: 14px; color: var(--pc-muted); line-height: 1.45; }
.lp-extras__text b { font-size: 16px; color: var(--pc-ink); font-weight: 600; }
.lp-extras__used { color: var(--pc-ok); font-weight: 600; }
.lp-extras__chev { flex: none; font-size: 26px; color: var(--pc-teal); }
.lp-extras__body { display: grid; gap: 16px; }
.lp-extras__body[hidden] { display: none; }

/* Layout: order of the parts and the photo's spot. */
.lp-layout { border-top: 1px solid var(--pc-line); margin-top: 6px; padding-top: 14px; }
.lp-order { list-style: none; margin: 8px 0 6px; padding: 0; display: grid; gap: 6px; }
.lp-order__row { display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 10px; border: 1px solid var(--pc-line);
  border-radius: var(--pc-radius); background: var(--pc-surface, #fff); }
.lp-order__row.is-empty { background: var(--pc-soft); }
.lp-order__row.is-empty .lp-order__name b { color: var(--pc-muted); font-weight: 500; }
.lp-order__num { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px;
  font-weight: 600; background: var(--pc-teal-soft); color: var(--pc-teal-dark); }
.lp-order__name { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: 14.5px; }
.lp-order__name b { font-weight: 600; color: var(--pc-ink); }
.lp-order__name small { color: var(--pc-muted); font-size: 12.5px; }
.lp-order__row .lp-item__tools .pc-icon-btn:disabled { opacity: .3; cursor: default; }
.lp-order__reset { font-size: 13.5px; }
.lp-step.is-locked .lp-order__reset { display: none; }

.lp-place { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto;
  gap: 8px; max-width: 360px; padding: 10px; margin-top: 8px; border: 2px solid var(--pc-line); border-radius: 18px; background: var(--pc-soft); }
.lp-place__spot { display: grid; justify-items: center; gap: 6px; padding: 10px 4px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--pc-line); background: var(--pc-surface, #fff); color: var(--pc-ink); font: inherit; font-size: 12.5px; min-height: 64px; }
.lp-place__spot:nth-child(n+4) { margin-top: 34px; }   /* a gap like the page between top and bottom */
.lp-place__dot { width: 22px; height: 22px; border-radius: 50%; border: 2px dashed var(--pc-muted); }
.lp-place__spot.is-on { border-color: var(--pc-teal); box-shadow: inset 0 0 0 1px var(--pc-teal); background: var(--pc-teal-soft); font-weight: 600; }
.lp-place__spot.is-on .lp-place__dot { border: 0; background: var(--pc-teal); }
.lp-place__spot:focus-visible { outline: 3px solid var(--pc-orange); outline-offset: 2px; }
.lp-step.is-locked .lp-place__spot:not(.is-on) { opacity: .55; }

/* The social media search box: the editor's general input padding
   (.lp-editor input[type="search"]) was winning, so the typed text and the
   placeholder ran under the magnifying glass. More specific, and the
   browser's own search decorations are removed so only one icon shows. */
.lp-editor .lp-netsearch input[type="search"] { padding-left: 40px; -webkit-appearance: none; appearance: none; }
.lp-netsearch input[type="search"]::-webkit-search-decoration,
.lp-netsearch input[type="search"]::-webkit-search-results-decoration { -webkit-appearance: none; display: none; }
.lp-netsearch .mdi { z-index: 1; line-height: 1; }

/* Phones zoom in on any text box under 16px and do not zoom back out, so
   every box in the dashboard is 16px on touch screens. */
@media (hover: none) and (pointer: coarse) {
  .pc input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]),
  .pc select, .pc textarea, .pc-dialog input, .pc-dialog select, .pc-dialog textarea { font-size: 16px !important; }
}

/* "Adjust boxes" in the preview: each part gets a bar with its name and
   up/down arrows, and a dashed outline. */
.lp-preview__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.lp-preview__head .lp-preview__label { margin: 0; }
.lp-adjust { padding: 6px 12px; font-size: 13.5px; }
.lp-adjust[aria-pressed="true"] { background: var(--pc-teal); border-color: var(--pc-teal); color: #fff; }
.lp-adj { outline: 2px dashed var(--pc-teal, #037a8e); outline-offset: 4px; border-radius: 6px; }
.lp-adj__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 16px 0 8px; padding: 4px 4px 4px 10px;
  border-radius: 8px; background: var(--pc-teal, #037a8e); color: #fff; font: 600 13px/1.2 Inter, system-ui, sans-serif; text-align: left; }
.lp-adj__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-adj__tools { display: inline-flex; gap: 4px; flex: 0 0 auto; }
.lp-adj__btn { width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 6px; background: rgba(255, 255, 255, .18);
  color: #fff; font-size: 18px; cursor: pointer; }
.lp-adj__btn:hover:not(:disabled), .lp-adj__btn:focus-visible { background: rgba(255, 255, 255, .34); }
.lp-adj__btn:disabled { opacity: .35; cursor: default; }
.lp-adj__none { margin: 12px; padding: 10px 12px; border-radius: 8px; background: var(--pc-teal, #037a8e); color: #fff; font-size: 13px; }
.lp-mini-big__bar { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.lp-mini-big__bar .lp-adjust { background: #fff; color: var(--pc-ink, #16242b); border-color: #fff; padding: 12px 18px; }
.lp-mini-big__bar .lp-adjust[aria-pressed="true"] { background: var(--pc-teal); color: #fff; border-color: var(--pc-teal); }
.lp-logo input[type=range] { width: 100%; accent-color: var(--pc-teal); }
.lp-logo__size { font-weight: 400; color: var(--pc-muted); margin-left: 4px; }

/* "Where do I find these?" under the Google Analytics / Meta pixel boxes. */
.lp-howto { margin-top: 12px; padding: 10px 14px; border: 1px solid var(--pc-line); border-radius: var(--pc-radius); background: var(--pc-surface); }
.lp-howto > summary { cursor: pointer; font-weight: 600; }
.lp-howto__title { margin: 14px 0 6px; font-size: 15px; }
.lp-howto__steps { margin: 0 0 8px; padding-left: 22px; }
.lp-howto__steps li { margin-bottom: 4px; }

/* Assisted setup (js/hudl-brandlab.js assistBanner): an admin editing a
   member's draft sees only the Link Page, under a clear banner. */
.bl-assist-bar { position: sticky; top: 0; z-index: 60; display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 16px; background: #fff4e5; color: #4a2c00; border-bottom: 1px solid #f2c27a; font-size: 14px; line-height: 1.45; }
.bl-assist-bar .mdi { font-size: 20px; color: #b26a00; }
.bl-assist-bar p { margin: 0; }
html.bl-assist [data-bl-view]:not([data-bl-view="links"]),
html.bl-assist [data-bl-member-menu] { display: none !important; }
html[data-theme="dark"] .lp-cartedit__note { background: #3a2f12; border-color: #6b5420; color: #f5deb0; }
.lp-dmnotes { display: grid; gap: 6px; margin-top: 8px; }
.lp-dmnotes:empty { display: none; }
.lp-cartedit__note--info { border-color: #b9dbe1; background: #eef7f9; color: #0e3b44; }
html[data-theme="dark"] .lp-cartedit__note--info { background: #12313a; border-color: #24525d; color: #cfe9ee; }
.lp-dmnote { margin: 0; }

/* Link page parts: fold, "?" tour, and the stripe on parts that are on the
   page (hudl-linkpage.js step()). */
.lp-step__head h2 { flex-wrap: wrap; min-width: 0; }
.lp-step__title { cursor: pointer; user-select: none; }
.lp-step__tools { display: inline-flex; align-items: center; gap: 4px; flex: none; }
.lp-stephelp, .lp-fold { width: 34px; height: 34px; font-size: 20px; }
.lp-step.is-filled { border-left: 4px solid var(--pc-ok, #0b7a55); }
.lp-step.is-filled h2 .lp-num { background: var(--pc-ok, #0b7a55); }
.lp-step.is-folded { padding-bottom: 14px; }
.lp-step.is-folded > :not(.lp-step__head) { display: none !important; }
.lp-step.is-folded .lp-step__head { margin-bottom: 0; }
@media (max-width: 575.98px) {
  .lp-step__head { flex-wrap: wrap; }
  .lp-step__head h2 { flex: 1 1 60%; }
}

/* Colour each part (How it looks). */
.lp-own-colours { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--pc-line); }
.lp-own-colours__list { display: grid; gap: 6px; margin-top: 8px; }
.lp-own-colours__row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 10px;
  padding: 8px 10px; border: 1px solid var(--pc-line); border-radius: 12px; }
.lp-own-colours__row input[type="color"] { width: 44px; height: 36px; padding: 2px; border-radius: 8px; cursor: pointer; }
.lp-own-colours__name { display: flex; flex-direction: column; min-width: 0; margin: 0; cursor: pointer; }
.lp-own-colours__name b { font-size: 14px; font-weight: 600; }
.lp-own-colours__name small { font-size: 12.5px; color: var(--pc-muted); }
.lp-own-colours__end { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.lp-own-colours__state { font-size: 12px; color: var(--pc-muted); white-space: nowrap; }
.lp-own-colours__state.is-mine { color: var(--pc-teal); font-weight: 600; }
.lp-own-colours__reset { font-size: 12.5px; }
.lp-own-colours__resetall { margin-top: 8px; font-size: 13.5px; }

/* Accessibility: readability check (How it looks), "See it as" on the
   preview, picture descriptions. Icons and words as well as colour, so the
   check itself does not rely on colour. */
.lp-readable { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--pc-line); }
.lp-readable__summary { margin: 4px 0 8px; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.lp-readable__summary.is-ok { background: var(--pc-ok-bg, #e7f6ef); color: var(--pc-ok, #0b7a55); }
.lp-readable__summary.is-bad { background: #fff8e8; color: #6b4a00; border: 1px solid #f1d9a6; }
html[data-theme="dark"] .lp-readable__summary.is-bad { background: #3a2f12; border-color: #6b5420; color: #f5deb0; }
.lp-readable__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lp-readable__row { display: grid; grid-template-columns: 22px minmax(0, 1fr) 44px auto; align-items: center; gap: 10px;
  padding: 8px 10px; border: 1px solid var(--pc-line); border-radius: 12px; }
.lp-readable__row > .mdi { font-size: 20px; }
.lp-readable__row.is-ok > .mdi { color: var(--pc-ok, #0b7a55); }
.lp-readable__row.is-bad > .mdi { color: #b54708; }
.lp-readable__text { display: flex; flex-direction: column; min-width: 0; }
.lp-readable__text b { font-size: 14px; font-weight: 600; }
.lp-readable__text small { font-size: 12.5px; color: var(--pc-muted); }
.lp-readable__swatch { width: 44px; height: 32px; border-radius: 8px; border: 1px solid var(--pc-line); display: grid; place-items: center;
  font-weight: 700; font-size: 15px; }
.lp-readable__fix { padding: 5px 12px; font-size: 13.5px; }
.lp-seeas { margin: 0 0 8px; }
.lp-seeas__label { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--pc-ink); margin: 0; }
.lp-seeas__select { width: auto; min-height: 34px; padding: 4px 8px; border-radius: 8px; font-size: 13.5px; }
.lp-seeas__hint { margin: 6px 0 0; font-size: 12.5px; color: var(--pc-muted); }
.lp-alt { font-size: 13.5px; }
@media (max-width: 575.98px) {
  .lp-readable__row { grid-template-columns: 22px minmax(0, 1fr) 44px; }
  .lp-readable__fix { grid-column: 2 / -1; justify-self: start; }
}

/* Round icon buttons in the Link Page editor: centred the same way in Safari
   (see the note in hudl-links.css). */
.lp-fold, .lp-stephelp, .lp-themes__arrow, .lp-mini__close, .lp-editor .pc-icon-btn {
  display: inline-flex; align-items: center; justify-content: center; padding: 0; line-height: 1;
  -webkit-appearance: none; appearance: none;
}
.lp-fold > .mdi, .lp-stephelp > .mdi, .lp-themes__arrow > .mdi, .lp-mini__close > .mdi, .lp-editor .pc-icon-btn > .mdi {
  display: block; line-height: 1;
}

/* Undo / Redo and the save note: stay in view at the top of the Link Page
   editor while scrolling (hudl-linkpage.js undoButtons). */
.lp-savebar { position: sticky; top: 0; z-index: 6; display: flex; align-items: center; justify-content: flex-end; gap: 6px;
  margin: 0 -4px; padding: 8px 4px; background: var(--pc-soft); }
.lp-savebar .bl-save-state { margin-left: 8px; }
.lp-undo { padding: 5px 12px; font-size: 14px; display: inline-flex; align-items: center; gap: 2px; }
.lp-undo .mdi { font-size: 18px; line-height: 1; }
.lp-undo:disabled { opacity: .4; cursor: default; }
@media (max-width: 575.98px) {
  .lp-undo__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .lp-undo { padding: 6px 10px; min-width: 40px; justify-content: center; }
  .lp-savebar { justify-content: space-between; }
}
.lp-limit .mdi { color: var(--pc-teal); }

/* How it looks > Use my brand (hudl-linkpage.js brandBox). */
.lp-brand { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--pc-line); }
.lp-brand__palettes { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 6px 0 12px; }
.lp-brand__palettes > .pc-hint { grid-column: 1 / -1; margin: 0; }
.lp-brand__palette { display: grid; gap: 6px; padding: 8px; border: 1px solid var(--pc-line); border-radius: var(--pc-radius);
  background: var(--pc-surface); color: var(--pc-ink); text-align: left; cursor: pointer; min-width: 0; font: inherit; }
.lp-brand__palette:hover, .lp-brand__palette:focus-visible { border-color: var(--pc-teal); }
.lp-brand__swatches { display: flex; height: 28px; border-radius: 8px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.lp-brand__swatches i { flex: 1; }
.lp-brand__name { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-step.is-locked .lp-brand__palette { pointer-events: none; opacity: .7; }

/* How it looks > Moving background (hudl-linkpage.js motionBox). */
.lp-motion { margin-top: 16px; padding: 12px 14px 4px; border: 1px solid var(--pc-line); border-radius: var(--pc-radius); }
.lp-motion .pc-toggle { margin-bottom: 4px; }
.lp-motion > .pc-hint { margin: 0 0 10px; }
.lp-motion__colour { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
/* Snapchat's setup conditions stand out under its row (hudl-linkpage.js DM_NOTES). */
.lp-dmnote--warn { padding: 8px 10px; border: 1px solid var(--pc-warn); border-radius: var(--pc-radius); background: var(--pc-warn-bg); color: var(--pc-ink); }

/* Step 1 opening hours (hoursBox) and Sold out ticks (soldOutTick). */
.lp-hours { margin: 4px 0 10px; padding-top: 10px; border-top: 1px solid var(--pc-line); }
.lp-hours__grid { display: grid; gap: 6px; margin: 4px 0 6px; }
.lp-hours__row { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto minmax(0, 1fr) auto; gap: 6px 8px; align-items: center; font-size: 14px; }
.lp-hours__row input[type=time] { min-width: 0; width: 100%; padding: 6px 8px; border: 1px solid var(--pc-line); border-radius: 8px; background: var(--pc-surface); color: var(--pc-ink); font: inherit; }
.lp-hours__row.is-closed b { color: var(--pc-muted); }
.lp-hours__shut, .lp-soldout { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; }
.lp-soldout { margin-top: 6px; padding: 4px 10px; white-space: nowrap; border: 1px solid var(--pc-line); border-radius: 999px; width: max-content; }
.lp-soldout.is-on { background: var(--pc-warn-bg); border-color: var(--pc-warn); font-weight: 600; }
.lp-menu__item .lp-soldout { grid-column: 1 / -1; }
@media (max-width: 480px) {
  .lp-hours__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 4px 6px; }
  .lp-hours__row b { grid-column: 1 / -1; }
  .lp-hours__row > span[aria-hidden] { display: none; }
  .lp-hours__row input[type=time] { padding: 6px 4px; font-size: 13px; }
}
/* Pause orders / Opening hours: only the switch toggles (hudl-linkpage.js switchRow). */
.lp-switchrow { cursor: default; }
.lp-switchrow__switch { position: relative; display: inline-flex; flex: none; padding: 6px; margin: -6px; cursor: pointer; }

/* Dashboard > Your orders (hudl-dashboard.js paintOrders). Own bl-order
   names: .lp-order is the Layout list in How it looks. */
.lp-orders__sum { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin: 4px 0 10px; font-size: 14px; }
.lp-orders__chip { padding: 2px 10px; border-radius: 999px; background: var(--pc-teal-soft); color: var(--pc-ink); font-size: 13px; }
.lp-orders__list { display: grid; gap: 6px; max-height: 420px; overflow-y: auto; margin-bottom: 8px; }
.bl-order { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px;
  border: 1px solid var(--pc-line); border-radius: var(--pc-radius); background: var(--pc-surface); }
.bl-order__way { font-size: 20px; color: var(--pc-teal); }
.bl-order__what { display: grid; min-width: 0; }
.bl-order__what b { font-size: 14px; overflow-wrap: anywhere; }
.bl-order__what small { color: var(--pc-muted); font-size: 12px; }
.bl-order__total { font-weight: 700; font-size: 14px; white-space: nowrap; }

/* Home: "Get started" folds away (closed on every visit) and says how far
   they are; Your orders sits under Your work (js/hudl-dashboard.js). */
.bl-getstarted { margin: 18px 0 8px; border: 1px solid var(--pc-line); border-radius: var(--pc-radius); background: var(--pc-surface); }
.bl-getstarted__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 12px 16px; cursor: pointer; list-style: none; }
.bl-getstarted__head::-webkit-details-marker { display: none; }
.bl-getstarted__head .bl-h2 { margin: 0; flex: 1 1 auto; }
.bl-getstarted__done { font-size: 13px; font-weight: 600; color: var(--pc-teal-dark); background: var(--pc-teal-soft); padding: 3px 10px; border-radius: 999px; }
.bl-getstarted.is-complete .bl-getstarted__done { background: var(--pc-ok-bg); color: var(--pc-ink); }
.bl-getstarted__chev { font-size: 22px; transition: transform .2s; }
.bl-getstarted[open] .bl-getstarted__chev { transform: rotate(180deg); }
.bl-getstarted > .bl-checklist { margin: 0; padding: 0 16px 14px; }
.bl-getstarted__head:focus-visible { outline: 3px solid var(--pc-teal); outline-offset: 2px; border-radius: var(--pc-radius); }
.bl-orders { margin: 22px 0 8px; }
.bl-orders .bl-h2 { margin-bottom: 4px; }
.bl-orders__more { margin: 0 0 8px; }
.bl-orders__more summary { cursor: pointer; font-weight: 600; color: var(--pc-teal-dark); margin-bottom: 6px; }
.lp-orders-pointer .mdi { color: var(--pc-teal); }
@media (prefers-reduced-motion: reduce) { .bl-getstarted__chev { transition: none; } }

/* Menu item pictures in the editor (hudl-linkpage.js redrawMenu). */
/* Picture on the left; the name across the top (it needs the room), then
   price and tools, then the note and the rest. */
.lp-menu__item { grid-template-columns: 56px minmax(0, 1fr) auto; }
.lp-menu__item > input[data-menu] { grid-column: 2 / -1; }
.lp-menu__item .lp-product__picwrap { grid-row: span 2; align-self: start; }
.lp-menu__item .lp-product__pic { width: 56px; height: 56px; }
.lp-menu__picextra, .lp-menu__noprice { grid-column: 2 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; }
.lp-menu__picextra .lp-alt { flex: 1 1 220px; }
.lp-menu__space.is-full { color: var(--pc-bad); font-weight: 600; }
.lp-menu__item .lp-menu__note, .lp-menu__item .lp-soldout { grid-column: 2 / -1; }
.bl-orders__pages { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 4px 0 10px; }
.bl-orders__pageno { font-size: 13px; color: var(--pc-muted); }
.bl-orders .lp-orders__list { max-height: none; overflow: visible; }
/* Shop and tips > Delivery places: currency and how many are used (cartEditor). */
.lp-places__head { display: flex; align-items: center; gap: 10px; margin: 6px 0 8px; }
.lp-places__head .pc-label { margin: 0; }
.lp-places__cur { width: auto; min-width: 120px; }
.lp-places__count { margin: 0; }
.lp-places__count.is-full { color: var(--pc-bad); font-weight: 600; }
.bl-order__who { font-size: 12px; font-weight: 700; color: var(--pc-teal-dark); text-transform: none; }
.lp-places__head { flex-wrap: wrap; } .lp-places__head small { flex: 1 1 200px; margin: 0; }

/* Each part's limits and use (hudl-linkpage.js step opts.usage): one quiet line. */
.lp-usage { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 2px; margin: -4px 0 12px; font-size: 12.5px; line-height: 1.5; color: var(--pc-muted); }
.lp-usage .mdi { margin-right: 2px; color: var(--pc-teal); }
.lp-usage__bit.is-full { color: var(--pc-bad); font-weight: 600; }
.lp-step.is-folded .lp-usage { display: none; }

/* Tidy long menus in the editor (hudl-linkpage.js redrawMenu / menuItemRow). */
.lp-menu__findwrap { position: relative; margin: 6px 0 10px; }
.lp-menu__findwrap .mdi { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--pc-muted); pointer-events: none; }
.lp-menu__find { width: 100%; padding-left: 36px !important; }
.lp-menu__sechead { display: flex; align-items: center; gap: 8px; }
.lp-menu__sechead .lp-menu__secname { flex: 1 1 auto; min-width: 0; }
.lp-menu__toggle { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px 6px 6px; border: 1px solid var(--pc-line);
  border-radius: 999px; background: var(--pc-surface); color: var(--pc-ink); font: inherit; font-size: 13px; cursor: pointer; white-space: nowrap; }
.lp-menu__toggle .mdi { font-size: 20px; color: var(--pc-teal); }
.lp-menu__toggle:hover, .lp-menu__toggle:focus-visible { border-color: var(--pc-teal); }
.lp-menu__count { font-weight: 600; }
.lp-menu__sec:not(.is-open) { padding-bottom: 8px; }
.lp-menu__showmore { justify-self: start; margin: 2px 0 6px; }
.lp-menu__morebtn { display: inline-flex; align-items: center; gap: 2px; height: 32px; padding: 0 8px; border: 1px solid var(--pc-line);
  border-radius: 999px; background: var(--pc-surface); color: var(--pc-ink); font: inherit; font-size: 12.5px; cursor: pointer; white-space: nowrap; }
.lp-menu__morebtn:hover, .lp-menu__morebtn:focus-visible, .lp-menu__item.is-more .lp-menu__morebtn { border-color: var(--pc-teal); color: var(--pc-teal-dark); }
.lp-menu__badges { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 4px; }
.lp-menu__badge { padding: 1px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: var(--pc-teal-soft); color: var(--pc-ink); }
.lp-menu__badge.is-warn { background: var(--pc-warn-bg); }
.lp-menu__more { grid-column: 2 / -1; display: grid; gap: 6px; }
.lp-menu__more .lp-menu__picextra, .lp-menu__more .lp-menu__noprice, .lp-menu__more .lp-soldout { grid-column: auto; }
.lp-menu__item .lp-item__tools { display: flex; align-items: center; gap: 2px; }
/* Menu item rows: the price on one line, and the buttons never pushed off the edge. */
.lp-menu__item .lp-price { display: flex; flex-wrap: nowrap; gap: 6px; min-width: 0; }
.lp-menu__item .lp-price .lp-price__cur { flex: 0 0 auto; max-width: 96px; }
.lp-menu__item .lp-price .lp-price__amount { flex: 1 1 auto; min-width: 0; width: 100%; }
.lp-menu__item .lp-price .lp-price__own { flex: 0 1 70px; min-width: 0; }
.lp-menu__sechead { flex-wrap: wrap; }
.lp-menu__sechead .lp-menu__secname { flex: 1 1 140px; }
@media (max-width: 640px) {
  .lp-menu__item { grid-template-columns: 56px minmax(0, 1fr); }
  .lp-menu__item > .lp-price { grid-column: 2; }
  .lp-menu__item > .lp-item__tools { grid-column: 2; justify-content: flex-end; flex-wrap: wrap; }
  .lp-menu__sechead > .lp-item__tools { margin-left: auto; }
}
.lp-list-more { justify-self: start; margin: 4px 0 8px; }

/* Link rows: "Schedule or lock" (hudl-linkpage.js linkExtras). */
.lp-linkstatus { margin: 0; font-size: 12.5px; color: var(--pc-ink); font-weight: 600; }
.lp-item__tools .pc-icon-btn.is-set { color: var(--pc-teal, #037a8e); }
.lp-linkstatus[hidden] { display: none; }
.lp-item__extra:has(> .lp-linkstatus[hidden]) { display: none; }
.lp-linkmore { padding: 10px 12px; border-radius: 12px; background: var(--pc-teal-soft); }
.lp-linkmore__title { font-size: 13.5px; }
.lp-linkmore__times { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.lp-when { display: grid; gap: 4px; margin: 0; font-size: 13px; }
.lp-when input { min-width: 0; width: 100%; }
@media (max-width: 480px) { .lp-linkmore__times { grid-template-columns: minmax(0, 1fr); } }
/* Link rows on phones: icon + text, the link on its own line, the buttons on
   one tidy line at the end, and "Schedule or lock" using the full width. */
@media (max-width: 575.98px) {
  .lp-item--link { grid-template-columns: auto minmax(0, 1fr); }
  .lp-item--link > .lp-item__tools { grid-column: 1 / -1; justify-content: flex-end; }
  .lp-item--link > .lp-item__extra { grid-column: 1 / -1; }
}
.lp-pagelock .lp-linkstatus { margin: 0 0 10px; }
/* Get paid online (hudl-linkpage.js sellBox/sellForm). */
.lp-sell[hidden] { display: none; }
.lp-sell__form { display: grid; gap: 10px; margin-top: 12px; }
.lp-sell__agree { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.lp-sell__agree input { margin-top: 3px; flex: none; }
.lp-sell__error { margin: 0; color: var(--pc-danger, #b42318); font-size: 14px; }
.lp-sell__error:empty { display: none; }
.lp-sell .lp-bankcheck:empty { display: none; }

/* Lock my page: what is set, as text; the boxes only open on "Change"
   and apply on Save, so a stray tap cannot change the time. */
.lp-locksum { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 4px; font-size: 14px; overflow-wrap: anywhere; }
.lp-locksum[hidden], .lp-lockchange[hidden] { display: none; }
.lp-lockchange { margin-bottom: 12px; }
.lp-lockform { display: grid; gap: 4px; margin-bottom: 12px; }
.lp-lockform .lp-sell__error { margin: 0; color: var(--pc-danger, #b42318); font-size: 14px; }
.lp-lockform .lp-sell__error:empty { display: none; }
/* The invite code under the invite link (hudl-dashboard.js paintInvite). */
.bl-invite__code { margin: 12px 0 0; font-size: 14px; }
.bl-invite__code b { letter-spacing: .08em; font-size: 15px; }

/* Page address: once every 3 weeks (hudl-linkpage.js addressStep). */
.lp-slug-confirm { display: grid; gap: 8px; justify-items: start; margin: 8px 0 4px; padding: 10px 12px; border-radius: 12px; background: var(--pc-teal-soft); }
.lp-slug-confirm[hidden], .lp-slug-lock[hidden] { display: none; }
.lp-slug-confirm .pc-hint { margin: 0; }
.lp-slug-lock { margin: 6px 0 0; }
.lp-address input[readonly] { opacity: .7; cursor: not-allowed; }
