/* Huddles Brand Lab: the Palette Checker (huddles-brand-lab.html) and the
   Font Maker (font-maker.html). Shared by both pages; loads after
   hudl-effects.css. House style: flat teal, white, grey and the orange
   accent, 8px corners, no gradients or glows (owner's rule, 2026-11-11). */
:root, .pc {
  --pc-surface: #fff;
  --pc-teal: #037a8e;
  --pc-teal-dark: #025f6f;
  --pc-teal-soft: #e6f2f4;
  --pc-orange: #ffa132;
  --pc-ink: #16242b;
  --pc-muted: #5f6b70;
  --pc-line: #d9d9d9;
  --pc-soft: #f5f7f8;
  --pc-ok: #0b7a55;
  --pc-ok-bg: #e3f6ef;
  --pc-bad: #b42318;
  --pc-bad-bg: #fdecea;
  --pc-warn: #8a5a00;
  --pc-warn-bg: #fff4dc;
  --pc-radius: 8px;
}
.pc {
  color: var(--pc-ink);
  font-family: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
}
.pc *, .pc *::before, .pc *::after { box-sizing: border-box; }
.pc h1, .pc h2, .pc h3 { color: var(--pc-ink); }
.pc [hidden] { display: none !important; }
.pc .btn:focus-visible, .pc button:focus-visible, .pc input:focus-visible, .pc select:focus-visible,
.pc summary:focus-visible, .pc a:focus-visible {
  outline: 3px solid var(--pc-orange); outline-offset: 2px;
}

/* ---------------------------------------------------------------- hero */
@media (min-width: 992px) { .pc-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; } }
.pc-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--pc-teal); background: var(--pc-teal-soft);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}

.pc-btn { border-radius: var(--pc-radius) !important; font-weight: 600; padding: 10px 18px; }
.pc-btn--ghost { background: var(--pc-surface); color: var(--pc-teal); border: 1.5px solid var(--pc-teal); }
.pc-btn--ghost:hover { background: var(--pc-teal-soft); color: var(--pc-teal-dark); }
.pc-btn--block { width: 100%; }
.pc-link { background: none; border: 0; padding: 0; color: var(--pc-teal); font-weight: 600; cursor: pointer; text-decoration: underline; }


/* ------------------------------------------------------- free checker */
.pc-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.pc-field label, .pc-label { font-size: 13px; font-weight: 600; color: var(--pc-ink); }
.pc-swap {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--pc-line); background: var(--pc-surface);
  color: var(--pc-teal); font-size: 20px; cursor: pointer;
}
.pc-swap:hover { border-color: var(--pc-teal); }
.pc-sample {
  margin: 16px 0; border-radius: var(--pc-radius); padding: 18px; border: 1px solid rgba(0, 0, 0, .08);
}
.pc-sample p { margin: 0 0 8px; color: inherit; }
.pc-ratio { font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.pc-ratio small { font-size: 20px; font-weight: 600; color: var(--pc-muted); margin-left: 2px; }
.pc-verdicts { display: flex; flex-wrap: wrap; gap: 6px; }
.pc-chip {
  display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600;
  padding: 4px 9px; border-radius: 999px; white-space: nowrap;
}
.pc-chip--ok { background: var(--pc-ok-bg); color: var(--pc-ok); }
.pc-chip--bad { background: var(--pc-bad-bg); color: var(--pc-bad); }
.pc-chip--warn { background: var(--pc-warn-bg); color: var(--pc-warn); }
.pc-chip--muted { background: var(--pc-soft); color: var(--pc-muted); }
.pc-apca { font-size: 13px; color: var(--pc-muted); margin: 10px 0 0; }
.pc-fix {
  margin-top: 14px; border-top: 1px dashed var(--pc-line); padding-top: 14px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px;
}
.pc-fix__swatch { width: 28px; height: 28px; border-radius: 6px; border: 1px solid rgba(0, 0, 0, .12); flex: none; }

/* --------------------------------------------------------------- app */
.pc-app-section { background: var(--pc-soft); padding: 48px 0; border-top: 1px solid var(--pc-line); }
.pc-notice {
  max-width: 1100px; margin: 0 auto 16px; border-radius: var(--pc-radius); padding: 12px 16px;
  background: var(--pc-surface); border: 1px solid var(--pc-line); border-left: 4px solid var(--pc-teal);
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between;
}
.pc-notice--ok { border-left-color: var(--pc-ok); }
.pc-notice--bad { border-left-color: var(--pc-bad); }
.pc-notice--warn { border-left-color: var(--pc-orange); }
.pc-app {
  position: relative; background: var(--pc-surface); border: 1px solid var(--pc-line); border-radius: var(--pc-radius);
  padding: 18px; max-width: 1100px; margin: 0 auto; min-height: 420px;
}
.pc-app__bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.pc-name {
  font-size: 20px; font-weight: 600; border: 1.5px solid transparent; border-radius: 6px; padding: 4px 8px;
  min-width: 0; flex: 1 1 220px; color: var(--pc-ink); background: transparent;
}
.pc-name:hover, .pc-name:focus { border-color: var(--pc-line); outline: none; }
.pc-app__actions { display: flex; flex-wrap: wrap; gap: 6px; }
.pc-tool {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px;
  border: 1px solid var(--pc-line); background: var(--pc-surface); border-radius: var(--pc-radius);
  font: 500 14px/1 inherit; font-family: inherit; color: var(--pc-ink); cursor: pointer; white-space: nowrap;
}
.pc-tool:hover { border-color: var(--pc-teal); color: var(--pc-teal); }
.pc-tool--primary { background: var(--pc-teal); border-color: var(--pc-teal); color: #fff; }
.pc-tool--primary:hover { background: var(--pc-teal-dark); color: #fff; }
.pc-tool .mdi { font-size: 18px; }
@media (max-width: 575.98px) {
  /* Icon only on phones, but the word stays for screen readers (display: none hid it from them too). */
  .pc-tool span:not(.mdi) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
  .pc-tool { padding: 0 10px; }
}

/* swatch strip */
.pc-swatches { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); margin-bottom: 18px; }
.pc-swatch {
  border: 1px solid var(--pc-line); border-radius: var(--pc-radius); overflow: hidden; background: var(--pc-surface);
  display: flex; flex-direction: column; position: relative;
}
.pc-swatch.is-dragging { opacity: .4; }
.pc-swatch__colour {
  height: 84px; position: relative; display: flex; flex-direction: column; align-items: flex-start;
  justify-content: space-between; padding: 6px 8px; font-size: 11px; font-weight: 600;
}
.pc-swatch__ratio { margin-top: auto; opacity: .85; white-space: nowrap; pointer-events: none; }
.pc-swatch__colour input[type="color"] {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0;
}
.pc-swatch__role { background: rgba(255, 255, 255, .9); color: var(--pc-ink); border-radius: 999px; padding: 2px 7px;
  font-size: 10.5px; position: relative; pointer-events: none; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-swatch__body { padding: 8px; display: grid; gap: 4px; }
.pc-swatch__hex {
  border: 1px solid transparent; border-radius: 4px; padding: 2px 4px; width: 100%;
  font: 600 13px/1.4 ui-monospace, Menlo, Consolas, monospace; text-transform: uppercase; color: var(--pc-ink);
}
.pc-swatch__hex:hover, .pc-swatch__hex:focus { border-color: var(--pc-line); outline: none; }
.pc-swatch__name { font-size: 12px; color: var(--pc-muted); padding: 0 4px; text-transform: capitalize; }
.pc-swatch__tools { display: flex; gap: 2px; padding: 0 4px 6px; }
.pc-icon-btn {
  width: 30px; height: 30px; border: 0; background: transparent; border-radius: 6px; color: var(--pc-muted);
  cursor: pointer; font-size: 17px; display: inline-grid; place-items: center;
}
.pc-icon-btn:hover { background: var(--pc-soft); color: var(--pc-teal); }
.pc-icon-btn--grab { cursor: grab; }
.pc-add {
  border: 2px dashed var(--pc-line); border-radius: var(--pc-radius); background: var(--pc-surface); min-height: 150px;
  color: var(--pc-teal); font-weight: 600; cursor: pointer; display: grid; place-items: center; gap: 4px;
  font-family: inherit;
}
.pc-add:hover { border-color: var(--pc-teal); background: var(--pc-teal-soft); }

/* score */
.pc-overview { display: flex; gap: 18px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.pc-score { position: relative; width: 96px; height: 96px; flex: none; }
.pc-score svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pc-score__track { fill: none; stroke: var(--pc-soft); stroke-width: 10; }
.pc-score__bar { fill: none; stroke: var(--pc-teal); stroke-width: 10; stroke-linecap: round;
  stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset .6s ease, stroke .3s; }
.pc-score__value { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1.1; }
.pc-score__value b { font-size: 26px; }
.pc-score__value span { font-size: 11px; color: var(--pc-muted); }
.pc-overview__text { flex: 1 1 260px; }
.pc-summary { margin: 0 0 6px; font-size: 15px; font-weight: 500; }
.pc-harmony { margin: 0; font-size: 14px; color: var(--pc-muted); }

/* tabs */
.pc-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--pc-line); overflow-x: auto; margin-bottom: 16px;
  scrollbar-width: thin; }
.pc-tabs button {
  border: 0; background: none; padding: 10px 12px; font: 500 14px/1 inherit; font-family: inherit;
  color: var(--pc-muted); border-bottom: 3px solid transparent; cursor: pointer; white-space: nowrap;
}
.pc-tabs button[aria-selected="true"] { color: var(--pc-teal); border-bottom-color: var(--pc-teal); }
.pc-panel { min-height: 160px; }
.pc-panel h3 { font-size: 16px; font-weight: 600; margin: 0 0 10px; }
.pc-panel p.pc-hint, .pc-hint { font-size: 13px; color: var(--pc-muted); margin: 4px 0 12px; }

/* roles + fixes */
.pc-roles { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); margin-bottom: 18px; }
.pc-role { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; }
.pc-role select { height: 38px; border: 1px solid var(--pc-line); border-radius: 6px; padding: 0 8px; font-family: inherit; }
.pc-pairs { display: grid; gap: 10px; }
.pc-pair {
  display: grid; gap: 12px; grid-template-columns: 120px minmax(0, 1fr); align-items: center;
  border: 1px solid var(--pc-line); border-radius: var(--pc-radius); padding: 10px;
}
.pc-pair--bad { border-left: 4px solid var(--pc-bad); }
.pc-pair--ok { border-left: 4px solid var(--pc-ok); }
.pc-pair__demo { border-radius: 6px; padding: 10px; text-align: center; font-weight: 600; font-size: 15px; border: 1px solid rgba(0,0,0,.06); }
.pc-pair__info { display: flex; flex-direction: column; gap: 6px; }
.pc-pair__head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pc-pair__ratio { font-weight: 700; font-size: 17px; }
.pc-fixes { display: flex; flex-wrap: wrap; gap: 6px; }
.pc-fix-btn {
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--pc-line); background: var(--pc-surface);
  border-radius: 999px; padding: 4px 10px 4px 4px; font-size: 12px; cursor: pointer; font-family: inherit;
}
.pc-fix-btn:hover { border-color: var(--pc-teal); }
.pc-fix-btn i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); }
@media (max-width: 575.98px) { .pc-pair { grid-template-columns: minmax(0, 1fr); } }

/* grid */
.pc-matrix-wrap { overflow-x: auto; }
.pc-matrix { border-collapse: separate; border-spacing: 4px; font-size: 12px; }
.pc-matrix th { font-weight: 600; padding: 4px; }
.pc-matrix th i { display: block; width: 34px; height: 34px; border-radius: 6px; margin: 0 auto 2px; border: 1px solid rgba(0,0,0,.1); }
.pc-matrix td {
  width: 76px; height: 60px; border-radius: 6px; text-align: center; vertical-align: middle;
  font-weight: 600; line-height: 1.2; border: 1px solid rgba(0,0,0,.06);
}
.pc-matrix td small { display: block; font-size: 10px; font-weight: 700; opacity: .9; }
.pc-matrix td.is-self { background: var(--pc-soft) !important; color: #b3b9bc !important; }
.pc-legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }

/* vision */
.pc-vision { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pc-vision__card { border: 1px solid var(--pc-line); border-radius: var(--pc-radius); padding: 12px; }
.pc-vision__card h4 { font-size: 14px; margin: 0 0 4px; }
.pc-vision__card p { font-size: 12px; color: var(--pc-muted); margin: 0 0 8px; }
.pc-strip { display: flex; height: 40px; border-radius: 6px; overflow: hidden; border: 1px solid rgba(0,0,0,.08); }
.pc-strip i { flex: 1; }
.pc-conflicts { margin-top: 16px; display: grid; gap: 8px; }
.pc-conflict { display: flex; align-items: center; gap: 10px; font-size: 13px; background: var(--pc-warn-bg);
  border-radius: 6px; padding: 8px 10px; }
.pc-conflict i { width: 22px; height: 22px; border-radius: 4px; display: inline-block; border: 1px solid rgba(0,0,0,.1); }

/* preview */
.pc-preview-controls { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; align-items: center; }
.pc-segment { display: inline-flex; border: 1px solid var(--pc-line); border-radius: var(--pc-radius); overflow: hidden; }
.pc-segment button { border: 0; background: var(--pc-surface); padding: 7px 12px; font: 500 13px inherit; font-family: inherit; cursor: pointer; }
.pc-segment button[aria-pressed="true"] { background: var(--pc-teal); color: #fff; }
.pc-mock { border-radius: var(--pc-radius); overflow: hidden; border: 1px solid var(--pc-line); }
.pc-mock__nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; font-weight: 700; }
.pc-mock__nav span { font-weight: 500; font-size: 13px; margin-left: 14px; opacity: .85; }
.pc-mock__body { padding: 24px 18px; display: grid; gap: 16px; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.pc-mock__body h4 { font-size: 24px; margin: 0 0 8px; color: inherit; }
.pc-mock__body p { margin: 0 0 14px; color: inherit; }
.pc-mock__btn { display: inline-block; padding: 9px 16px; border-radius: 6px; font-weight: 600; margin-right: 8px; }
.pc-mock__btn--ghost { background: transparent; border: 2px solid currentColor; }
.pc-mock__card { border-radius: var(--pc-radius); padding: 14px; }
.pc-mock__badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.pc-mock__muted { font-size: 13px; }
@media (max-width: 767.98px) { .pc-mock__body { grid-template-columns: minmax(0, 1fr); } }

/* shades */
.pc-ramp { margin-bottom: 14px; }
.pc-ramp__head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 13px; font-weight: 600; }
.pc-ramp__row { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); border-radius: 6px; overflow: hidden; }
.pc-ramp__step { padding: 6px 2px; text-align: center; font-size: 10px; line-height: 1.3; cursor: pointer; border: 0; font-family: inherit; }
.pc-ramp__step b { display: block; font-size: 11px; }
.pc-ramp__step.is-base { box-shadow: inset 0 0 0 3px var(--pc-orange); }
@media (max-width: 767.98px) { .pc-ramp__step span { display: none; } }

/* export */
.pc-export-tabs { margin-bottom: 10px; }
.pc-code {
  background: #0f1c21; color: #e6f2f4; border-radius: var(--pc-radius); padding: 14px; overflow: auto;
  max-height: 340px; font: 13px/1.55 ui-monospace, Menlo, Consolas, monospace; white-space: pre; margin: 0 0 10px;
}
.pc-export-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* type builder */
.pc-type-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
@media (max-width: 767.98px) { .pc-type-grid { grid-template-columns: minmax(0, 1fr); } }
.pc-type-controls { display: grid; gap: 4px; align-content: start; }
.pc-type-controls select, .pc-type-controls input[type="number"] {
  height: 38px; border: 1px solid var(--pc-line); border-radius: 6px; padding: 0 8px; font-family: inherit; width: 100%;
}
.pc-type-preview { border-radius: var(--pc-radius); padding: 20px; border: 1px solid var(--pc-line); overflow: hidden; }
.pc-type-row { display: flex; gap: 12px; align-items: baseline; border-bottom: 1px solid rgba(0,0,0,.06); padding: 6px 0; }
.pc-type-row > span:first-child { flex: none; width: 92px; font: 11px/1.3 ui-monospace, Menlo, monospace; opacity: .65; }
.pc-type-row > div { min-width: 0; overflow-wrap: anywhere; }

/* gate over the app */
.pc-gate {
  position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; padding: 20px;
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(3px); border-radius: var(--pc-radius);
}
.pc-gate__card {
  max-width: 460px; background: var(--pc-surface); border: 1px solid var(--pc-line); border-radius: var(--pc-radius);
  padding: 26px; text-align: center; box-shadow: 0 6px 30px rgba(22, 36, 43, .12);
}
.pc-gate__card h3 { font-size: 22px; font-weight: 700; margin: 0 0 8px; }
.pc-gate__card p { color: var(--pc-muted); }
.pc-gate__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 14px 0 10px; }
.pc-gate__price { font-size: 13px; margin: 0; }
.pc-app[data-state="loading"] .pc-panel, .pc-app[data-state="loading"] .pc-swatches { opacity: .4; }

/* ---------------------------------------------------- features, pricing */
.pc-pricing { padding: 56px 0; background: var(--pc-surface); }
.pc-pricing { background: var(--pc-soft); border-top: 1px solid var(--pc-line); }

/* -------------------------------------------------------------- guide */
.pc-guide { padding: 56px 0; background: var(--pc-surface); border-top: 1px solid var(--pc-line); }
.pc-guide h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 700; margin: 0 0 18px; }
.pc-guide h3 { font-size: 19px; font-weight: 600; margin: 26px 0 8px; }
.pc-guide p { line-height: 1.7; color: #2c3a40; }
.pc-faq details { border: 1px solid var(--pc-line); border-radius: var(--pc-radius); padding: 0 14px; margin-bottom: 8px; }
.pc-faq summary { cursor: pointer; padding: 12px 0; font-weight: 600; list-style-position: inside; }
.pc-faq details p { margin: 0 0 12px; }

/* ------------------------------------------------------------ dialogs */
.pc-dialog {
  border: 0; border-radius: var(--pc-radius); padding: 0; width: min(440px, calc(100vw - 24px));
  max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow: auto; color: var(--pc-ink);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}
.pc-dialog--wide { width: min(720px, calc(100vw - 24px)); }
.pc-dialog::backdrop { background: rgba(15, 28, 33, .55); }
.pc-dialog__body { padding: 26px 24px 22px; }
.pc-dialog__title { font-size: 22px; font-weight: 700; margin: 0 0 4px; padding-right: 36px; }
.pc-dialog__sub { color: var(--pc-muted); font-size: 14px; margin: 0 0 16px; }
.pc-dialog__close {
  position: sticky; top: 10px; float: right; margin: 10px 10px 0 0; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--pc-line); background: var(--pc-surface); cursor: pointer;
}
.pc-dialog__close::before, .pc-dialog__close::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; background: var(--pc-ink);
  transform: translate(-50%, -50%) rotate(45deg);
}
.pc-dialog__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
@media (pointer: coarse) { .pc-dialog__close { width: 44px; height: 44px; } }
.pc-form input[type="email"], .pc-form input[type="text"], .pc-form input[type="password"], .pc-form textarea, .pc-form select {
  width: 100%; height: 44px; border: 1.5px solid var(--pc-line); border-radius: var(--pc-radius); padding: 0 12px;
  font: 15px inherit; font-family: inherit; color: var(--pc-ink); background: var(--pc-surface);
}
.pc-form textarea { height: auto; padding: 10px 12px; }
.pc-form input:focus, .pc-form textarea:focus, .pc-form select:focus { border-color: var(--pc-teal); outline: none; }
.pc-form .is-invalid { border-color: var(--pc-bad) !important; }
.pc-password { position: relative; }
.pc-password input { padding-right: 46px !important; }
.pc-reveal { position: absolute; right: 4px; top: 4px; width: 36px; height: 36px; border: 0; background: none; color: var(--pc-muted); cursor: pointer; font-size: 18px; }
.pc-form__error { color: var(--pc-bad); font-size: 14px; min-height: 0; margin: 0 0 10px; }
.pc-form__error:empty { display: none; }
.pc-form__switch { text-align: center; font-size: 14px; margin: 14px 0 0; }
.pc-legal { font-size: 12px; color: var(--pc-muted); text-align: center; margin: 10px 0 0; }
.pc-trap { position: absolute; left: -9999px; width: 1px; height: 1px; }
/* Cloudflare Turnstile (sign-up): takes no room unless Cloudflare shows its box. */
.pc-human { display: flex; justify-content: center; }
.pc-human:not(:empty) { margin: 4px 0 10px; }

/* the mailing-list toggle switch */
.pc-toggle { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; cursor: pointer; margin: 4px 0 14px; color: var(--pc-ink); }
.pc-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pc-toggle__track { flex: none; width: 40px; height: 22px; border-radius: 999px; background: #c9cfd2; position: relative; transition: background .2s; margin-top: 1px; }
.pc-toggle__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.pc-toggle input:checked + .pc-toggle__track { background: var(--pc-teal); }
.pc-toggle input:checked + .pc-toggle__track::after { transform: translateX(18px); }
.pc-toggle input:focus-visible + .pc-toggle__track { outline: 3px solid var(--pc-orange); outline-offset: 2px; }

/* sheet contents: plans, account, library, import */
.pc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pc-list li { display: flex; gap: 10px; align-items: center; border: 1px solid var(--pc-line); border-radius: var(--pc-radius); padding: 8px 10px; }
.pc-list__main { flex: 1; min-width: 0; text-align: left; background: none; border: 0; cursor: pointer; font-family: inherit; padding: 0; }
.pc-list__main b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-list__main small { color: var(--pc-muted); }
.pc-mini-strip { display: flex; border-radius: 4px; overflow: hidden; flex: none; }
.pc-mini-strip i { width: 14px; height: 28px; }
.pc-kv { display: grid; grid-template-columns: 130px 1fr; gap: 6px 12px; font-size: 14px; margin: 0 0 16px; }
.pc-kv dt { color: var(--pc-muted); }
.pc-kv dd { margin: 0; }
.pc-sheet-section { border-top: 1px solid var(--pc-line); padding-top: 14px; margin-top: 14px; }
.pc-sheet-section h3 { font-size: 15px; font-weight: 600; margin: 0 0 10px; }
.pc-row-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pc-danger { color: var(--pc-bad); border-color: var(--pc-bad); }
.pc-drop {
  border: 2px dashed var(--pc-line); border-radius: var(--pc-radius); padding: 18px; text-align: center; color: var(--pc-muted);
  cursor: pointer;
}
.pc-drop.is-over { border-color: var(--pc-teal); background: var(--pc-teal-soft); }
.pc-drop img { max-width: 100%; max-height: 180px; border-radius: 6px; display: block; margin: 0 auto 10px; }

/* toast: bottom-left, clear of the live chat (bottom-right) */
.pc-toast {
  position: fixed; left: 16px; bottom: 16px; z-index: 1060; max-width: min(420px, calc(100vw - 110px));
  background: var(--pc-ink); color: var(--pc-surface, #fff); padding: 12px 16px; border-radius: var(--pc-radius); font-size: 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .2);
}

/* "Your file is ready" (BL.download on iPhone/iPad app, when the tap that
   asked for the file has expired): one more tap opens the share sheet */
.pc-saveready {
  position: fixed; left: 16px; bottom: 16px; z-index: 1062; display: flex; align-items: center; gap: 10px;
  max-width: calc(100vw - 32px); padding: 10px 10px 10px 16px; border-radius: var(--pc-radius);
  background: var(--pc-ink); color: var(--pc-surface, #fff); font-size: 14px; box-shadow: 0 6px 24px rgba(0, 0, 0, .2);
}
.pc-saveready .pc-btn { margin: 0; white-space: nowrap; }
.pc-saveready__x { background: none; border: 0; color: inherit; font-size: 20px; line-height: 1; padding: 6px; cursor: pointer; }

/* upload card (BL.upload): above the toast spot, clear of the live chat */
.pc-upload {
  position: fixed; left: 16px; bottom: 16px; z-index: 1061; display: flex; align-items: center; gap: 12px;
  width: min(320px, calc(100vw - 110px)); padding: 12px 14px; border-radius: var(--pc-radius);
  background: var(--pc-ink); color: var(--pc-surface, #fff); font-size: 14px; box-shadow: 0 6px 24px rgba(0, 0, 0, .2);
}
.pc-upload[hidden] { display: none; }
.pc-upload__spin {
  flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%;
  border: 3px solid color-mix(in srgb, currentColor 25%, transparent); border-top-color: var(--pc-teal, #14b8a6);
  animation: pc-upload-spin .8s linear infinite;
}
.pc-upload__body { display: grid; gap: 6px; flex: 1 1 auto; min-width: 0; }
.pc-upload__label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-upload__bar { display: block; height: 4px; border-radius: 4px; background: color-mix(in srgb, currentColor 20%, transparent); overflow: hidden; }
.pc-upload__fill { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--pc-teal, #14b8a6); transition: width .2s ease; }
/* Sent, the server is working: a sliding bar instead of a number. */
.pc-upload.is-busy .pc-upload__fill { width: 35%; animation: pc-upload-slide 1.1s ease-in-out infinite; }
@keyframes pc-upload-spin { to { transform: rotate(360deg); } }
@keyframes pc-upload-slide { from { transform: translateX(-100%); } to { transform: translateX(290%); } }
@media (prefers-reduced-motion: reduce) {
  .pc-upload__spin { animation-duration: 2.4s; }
  .pc-upload.is-busy .pc-upload__fill { animation: none; width: 100%; opacity: .6; }
}

/* install chip */
.pc-install { display: inline-flex; align-items: center; gap: 6px; }

@media (prefers-reduced-motion: reduce) {
  .pc-score__bar, .pc-toggle__track, .pc-toggle__track::after { transition: none; }
}

/* ------------------------------------------------------- font maker */
.fm-layout { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 992px) { .fm-layout { grid-template-columns: 220px minmax(0, 1fr) 210px; align-items: start; } }
.fm-glyphs {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 4px;
  max-height: 520px; overflow-y: auto; padding: 2px; border: 1px solid var(--pc-line); border-radius: var(--pc-radius);
}
@media (max-width: 991.98px) { .fm-glyphs { max-height: 168px; grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); } }
.fm-glyph {
  display: flex; flex-direction: column; align-items: center; gap: 2px; border: 1px solid transparent; border-radius: 6px;
  background: var(--pc-surface); padding: 4px 2px; cursor: pointer; font: 600 11px/1 ui-monospace, Menlo, monospace; color: var(--pc-ink);
}
.fm-glyph svg { height: 26px; width: auto; max-width: 100%; }
.fm-glyph:hover { border-color: var(--pc-line); }
.fm-glyph.is-current { border-color: var(--pc-teal); background: var(--pc-teal-soft); color: var(--pc-teal-dark); }
.fm-glyph.is-empty svg { opacity: .25; }
.fm-stage { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; }
.fm-stage__head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; width: 100%; }
.fm-char { font-size: 28px; font-weight: 700; min-width: 2ch; text-align: center; }
.fm-editor { max-width: 100%; overflow-x: auto; padding: 2px; }
.fm-canvas { display: block; max-width: 100%; height: auto; touch-action: none; cursor: crosshair; border-radius: 4px;
  box-shadow: 0 0 0 1px var(--pc-line); }
.fm-tools { display: grid; gap: 12px; align-content: start; }
.fm-shapes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
@media (max-width: 991.98px) { .fm-shapes { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.fm-shape {
  aspect-ratio: 1; border: 1.5px solid var(--pc-line); border-radius: 6px; background: var(--pc-surface); padding: 3px;
  cursor: pointer; color: var(--pc-ink); display: grid; place-items: center; min-height: 36px;
}
.fm-shape svg { width: 100%; height: 100%; }
.fm-shape[aria-pressed="true"] { border-color: var(--pc-teal); background: var(--pc-teal-soft); color: var(--pc-teal-dark); }
.fm-shape--erase .mdi { font-size: 20px; }
.fm-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.fm-width { font-weight: 700; min-width: 2ch; text-align: center; }
.fm-preview-wrap { margin-top: 18px; border-top: 1px solid var(--pc-line); padding-top: 16px; }
.fm-preview {
  width: 100%; min-height: 140px; border: 1px solid var(--pc-line); border-radius: var(--pc-radius); padding: 14px;
  line-height: 1.25; color: var(--pc-ink); resize: vertical; background: var(--pc-surface); font-size: 48px;
}
.fm-preview-controls { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 10px; font-size: 13px; }
.fm-preview-controls input[type="range"] { accent-color: var(--pc-teal); vertical-align: middle; }
.fm-templates { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.fm-template {
  border: 1.5px solid var(--pc-line); border-radius: var(--pc-radius); background: var(--pc-surface); padding: 12px; cursor: pointer;
  text-align: left; display: flex; flex-direction: column; gap: 4px; font-family: inherit; color: var(--pc-ink);
}
.fm-template:hover { border-color: var(--pc-teal); }
.fm-template small { color: var(--pc-muted); }
.fm-template__demo { display: flex; gap: 4px; height: 56px; margin-bottom: 4px; }
.fm-template__demo svg { height: 100%; width: auto; }
.fm-access { max-width: 1100px; margin: 0 auto 14px; }

/* ----------------------------------------------------------------- plans */
.bl-plans { display: grid; gap: 16px; }
.bl-interval { display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--pc-surface); border: 1px solid var(--pc-line); border-radius: 999px; padding: 4px; justify-self: start; order: -1; }
.bl-interval__btn { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font-weight: 600; color: var(--pc-muted); cursor: pointer; }
.bl-interval__btn.is-on { background: var(--pc-teal); color: #fff; }
.bl-interval__btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; line-height: 1.2; }
.bl-interval__save { font-size: 11px; font-weight: 600; opacity: .85; }
.bl-plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.bl-plan { position: relative; display: flex; flex-direction: column; gap: 6px; background: var(--pc-surface); border: 1.5px solid var(--pc-line);
  border-radius: var(--pc-radius); padding: 18px 16px; text-align: left; }
.bl-plan--best { border-color: var(--pc-teal); }
.bl-plan--pick { cursor: pointer; }
.bl-plan--pick:has(.bl-plan__radio:checked) { border-color: var(--pc-teal); background: var(--pc-teal-soft); }
.bl-plan__radio { position: absolute; top: 18px; right: 16px; width: 20px; height: 20px; accent-color: var(--pc-teal); }
.bl-plan__name { font-weight: 700; font-size: 17px; padding-right: 26px; }
.bl-plan__tag { align-self: flex-start; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  background: var(--pc-orange); color: var(--pc-ink); padding: 2px 8px; border-radius: 4px; }
.bl-plan__price b { font-size: 26px; }
.bl-plan__price small { color: var(--pc-muted); }
.bl-plan__naira { margin-left: 8px; font-size: 15px; font-weight: 600; color: var(--pc-muted); }
.bl-plans .bl-currency { margin: 0; color: var(--pc-muted); }
.bl-plan__local, .bl-plan__blurb { font-size: 13px; color: var(--pc-muted); }
.bl-plan__save { font-size: 13px; font-weight: 600; color: var(--pc-ok); }
.bl-plan__list { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 4px; font-size: 14px; }
.bl-plan__list .mdi { color: var(--pc-ok); margin-right: 6px; }
.bl-plan__list .is-off { color: var(--pc-muted); }
.bl-plan__list .is-off .mdi { color: var(--pc-line); }
.bl-plan .pc-btn { margin-top: auto; }
.bl-checkout { max-width: 980px; }
.bl-steps { font-size: 15px; line-height: 1.7; padding-left: 22px; }

.bl-plan-cards { margin-top: 18px; }


/* ------------------------------------------------------- colour picker
   openPicker() in js/hudl-palette.js: wheel + brightness, hex, suggestions,
   and (for palette colours) what the colour is for. */
.pk { display: grid; gap: 18px; }
.pk-main { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: start; }
.pk-left { display: grid; gap: 12px; justify-items: center; }
.pk-wheel { position: relative; width: 220px; height: 220px; border-radius: 50%; touch-action: none; cursor: crosshair;
  box-shadow: 0 0 0 1px var(--pc-line), 0 6px 18px rgba(0, 0, 0, .10); outline: none; }
.pk-wheel:focus-visible { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--pc-teal); }
.pk-wheel__canvas { width: 100%; height: 100%; border-radius: 50%; display: block; }
.pk-wheel__dot { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
  border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .35), 0 2px 6px rgba(0, 0, 0, .3); pointer-events: none; }
.pk-bright-label { display: grid; gap: 6px; width: 220px; margin: 0; font-size: 13px; font-weight: 600; color: var(--pc-ink); }
.pk-bright { -webkit-appearance: none; appearance: none; width: 100%; height: 14px; border-radius: 999px; margin: 0; padding: 0;
  border: 1px solid var(--pc-line); background: linear-gradient(90deg, #000, var(--pk-hue, #037a8e)); cursor: pointer; }
.pk-bright::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff;
  border: 2px solid var(--pc-ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .3); }
.pk-bright::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--pc-ink); }
.pk-right { display: grid; gap: 6px; min-width: 0; align-content: start; }
.pk-preview { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.pk-preview__chips { display: flex; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--pc-line); flex: none; }
.pk-preview__chips span { width: 56px; height: 56px; display: block; }
.pk-preview__chips span:only-child { width: 72px; }
.pk-preview__info { display: grid; gap: 2px; font-size: 13px; color: var(--pc-muted); }
.pk-preview__info b { font: 700 18px/1.2 ui-monospace, Menlo, Consolas, monospace; color: var(--pc-ink); }
.pk-label { margin: 8px 0 2px; font-size: 13px; font-weight: 600; color: var(--pc-ink); }
.pk-hexrow { display: flex; gap: 8px; flex-wrap: wrap; }
.pk-hex { flex: 1 1 140px; min-width: 0; height: 42px; padding: 0 12px; border: 1px solid var(--pc-line); border-radius: var(--pc-radius);
  font: 600 16px/1 ui-monospace, Menlo, Consolas, monospace; text-transform: uppercase; color: var(--pc-ink); }
.pk-hex:focus { outline: none; border-color: var(--pc-teal); box-shadow: 0 0 0 3px rgba(3, 122, 142, .18); }
.pk-hex.is-invalid { border-color: var(--pc-bad); }
.pk-drop { white-space: nowrap; }
.pk-msg { margin: 2px 0 0; font-size: 12.5px; color: var(--pc-bad); min-height: 0; }
.pk-msg:empty { display: none; }
.pk-sugs { display: grid; gap: 4px; }
.pk-sug-row { display: flex; flex-wrap: wrap; gap: 6px; }
.pk-sug { width: 30px; height: 30px; border-radius: 8px; border: 0; padding: 0; cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); transition: transform .12s ease; }
.pk-sug:hover, .pk-sug:focus-visible { transform: scale(1.12); outline: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 2px #fff, 0 0 0 4px var(--pc-teal); }
.pk-sug.is-on { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 2px #fff, 0 0 0 4px var(--pc-ink); }
.pk-rolebox { padding-top: 14px; border-top: 1px solid var(--pc-line); }
.pk-role { font: inherit; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--pc-line); background: var(--pc-surface); color: var(--pc-ink); }
.pk-role:hover { border-color: var(--pc-teal); }
.pk-role.is-on { background: var(--pc-teal); border-color: var(--pc-teal); color: #fff; }
.pk-role-hint { color: var(--pc-muted); margin-top: 8px; }
.pk-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
@media (max-width: 620px) {
  .pk-main { grid-template-columns: minmax(0, 1fr); justify-items: stretch; }
  .pk-wheel { width: min(240px, 70vw); height: min(240px, 70vw); }
  .pk-bright-label { width: min(240px, 70vw); }
  .pk-actions .pc-btn { flex: 1; }
}

/* -------------------------------------------- contrast grid: axis labels */
.pc-matrix th { vertical-align: bottom; }
.pc-mx__col, .pc-mx__row { font-weight: 600; line-height: 1.25; }
.pc-mx__col { min-width: 74px; text-align: center; }
/* Row labels: swatch on the left, name / role / hex stacked beside it. */
.pc-mx__row { position: relative; text-align: left; white-space: nowrap; vertical-align: middle;
  padding: 4px 8px 4px 42px !important; }
.pc-mx__row i { position: absolute; left: 4px; top: 50%; transform: translateY(-50%); margin: 0 !important;
  width: 30px !important; height: 30px !important; }
.pc-mx__name { display: block; font-size: 12px; color: var(--pc-ink); }
.pc-mx__role { display: inline-block; margin-top: 2px; padding: 1px 6px; border-radius: 999px; background: var(--pc-teal-soft);
  color: var(--pc-teal); font-size: 10.5px; font-weight: 700; }
.pc-mx__roles { display: flex; flex-wrap: wrap; gap: 3px; justify-content: center; margin: 2px 0; }
.pc-mx__row .pc-mx__roles { justify-content: flex-start; }
.pc-mx__role { white-space: nowrap; margin-top: 0; }
.pc-type-colours .pc-link, .pc-type-downloads .pc-link { justify-self: start; text-align: left; }
.pc-mx__hex { display: block; font: 500 10.5px/1.3 ui-monospace, Menlo, Consolas, monospace; color: var(--pc-muted); }
.pc-mx__axis th { padding-bottom: 2px; }
.pc-mx__axis-label { text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--pc-teal); }
.pc-mx__corner { vertical-align: bottom; text-align: left; font-size: 10.5px; font-weight: 700; color: var(--pc-muted); min-width: 104px; }
.pc-mx__corner span { display: block; }
.pc-mx__side { width: 22px; padding: 0 !important; vertical-align: middle; }
.pc-mx__side span { display: block; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; margin: 0 auto;
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--pc-teal); }
.pc-mx__side-spacer { width: 22px; padding: 0 !important; }
.pc-matrix caption.sr-only, .pc .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------ type tab: colours + downloads */
.pc-type-colours, .pc-type-downloads { display: grid; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--pc-line); }
.pc-type-colour { display: grid; gap: 4px; }
.pc-type-colour__label { font-size: 13px; font-weight: 600; }
.pc-type-colour__row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pc-type-colour__row code { font: 600 12.5px/1 ui-monospace, Menlo, Consolas, monospace; color: var(--pc-muted); min-width: 64px; }
.pc-type-colour__current { width: 38px; height: 38px; border-radius: 10px; border: 0; cursor: pointer; padding: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), 0 0 0 2px #fff, 0 0 0 3px var(--pc-line); }
.pc-type-colour__current:hover, .pc-type-colour__current:focus-visible { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), 0 0 0 2px #fff, 0 0 0 4px var(--pc-teal); outline: none; }
.pc-type-colour__chips { display: flex; flex-wrap: wrap; gap: 5px; }
.pc-type-colour__chip { width: 24px; height: 24px; border-radius: 6px; border: 0; padding: 0; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.pc-type-colour__chip.is-on { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), 0 0 0 2px #fff, 0 0 0 4px var(--pc-ink); }
.pc-type-score { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 2px 0 0; font-size: 13px; }
.pc-type-downloads .pc-row-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pc-type-downloads .pc-hint { margin: 0; }

/* =====================================================================
   Palette Checker landing page (huddles-brand-lab.html, .pcl).
   Built on the site's own look: the grey .banner with a teal capital
   title (as on Services, About...), teal centred section titles, and
   white cards with a soft shadow.
   ===================================================================== */
.pcl-banner { padding: 46px 0 40px; }
.pc .pcl-title { color: #037a8e; letter-spacing: .02em; margin: 0 0 8px; font-size: clamp(28px, 4.4vw, 40px); }
.pcl-sub { font-size: 17px; line-height: 1.5; max-width: 620px; margin: 0 auto 22px; }
.pcl-account__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pcl-btn { min-height: 46px; padding: 0 22px; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.pcl-banner .pc-btn--ghost { background: var(--pc-surface); }
.pcl-account__note { margin: 12px 0 0; font-size: 13.5px; color: var(--pc-muted); }
.pcl-account__note .mdi { color: #037a8e; }

.pcl-section { padding: 64px 0; background: var(--pc-surface); }
.pcl-section--soft { background: var(--pc-soft); }
.pcl-head { text-align: center; max-width: 640px; margin: 0 auto 34px; }
.pc .pcl-head h2 { color: #037a8e; font-weight: 600; font-size: clamp(24px, 3vw, 30px); margin: 0 0 8px; }
.pcl-head p { color: var(--pc-muted); font-size: 16px; margin: 0; }
.pcl-center { display: flex; justify-content: center; margin-top: 28px; }
.pcl-narrow { max-width: 860px; }

/* 2. Tools */
.pcl-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pcl-tool { display: grid; gap: 8px; align-content: start; justify-items: center; text-align: center; padding: 30px 24px;
  background: var(--pc-surface); border-radius: 14px; box-shadow: 0 4px 24px rgba(0, 6, 55, .06); color: var(--pc-muted); text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease; }
.pcl-tool:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0, 6, 55, .10); color: var(--pc-muted); text-decoration: none; }
.pcl-tool__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 28px;
  background: #e6f2f4; color: #037a8e; margin-bottom: 6px; }
.pcl-tool b { color: #037a8e; font-size: 19px; font-weight: 600; }
.pcl-tool span:last-child { font-size: 14.5px; line-height: 1.55; }

/* 3. Features */
.pcl-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pcl-feature { padding: 24px 20px; background: var(--pc-surface); border-radius: 14px; box-shadow: 0 4px 24px rgba(0, 6, 55, .06); }
.pcl-feature .mdi { font-size: 26px; color: #ffa132; }
.pcl-feature h3 { font-size: 16.5px; font-weight: 600; color: var(--pc-ink); margin: 10px 0 6px; }
.pcl-feature p { font-size: 14px; line-height: 1.55; color: var(--pc-muted); margin: 0; }

/* 4. Pricing: reuse the plan cards, softer frame */

/* 5. Questions + technical details */
.pcl .pc-faq details { background: var(--pc-surface); border: 1px solid var(--pc-line); border-radius: 12px; margin-bottom: 10px; }
.pcl-tech { margin: 26px 0 30px; border: 1px dashed var(--pc-line); border-radius: 12px; background: var(--pc-soft); }
.pcl-tech > summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: #037a8e; list-style: none; display: flex; gap: 8px; align-items: center; }
.pcl-tech > summary::-webkit-details-marker { display: none; }
.pcl-tech > summary::after { content: "+"; margin-left: auto; font-size: 20px; line-height: 1; }
.pcl-tech[open] > summary::after { content: "−"; }
.pcl-tech__body { padding: 0 18px 16px; font-size: 14.5px; color: var(--pc-muted); }
.pcl-tech__body h3 { font-size: 16px; color: var(--pc-ink); margin: 16px 0 6px; }

@media (max-width: 991px) {
  .pcl-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .pcl-section { padding: 44px 0; }
  .pcl-tools, .pcl-features { grid-template-columns: minmax(0, 1fr); }
  .pcl-account__btns .pcl-btn { flex: 1 1 100%; justify-content: center; }
}
.pcl .bl-plans .bl-interval { justify-self: center; }
.pcl .bl-plan .pc-btn:not(.btn-primary) { border: 1px solid var(--pc-teal); color: var(--pc-teal); background: var(--pc-surface); }
.pcl .bl-plan .pc-btn:not(.btn-primary):hover { background: var(--pc-teal-soft); }
/* Colour picker, second layout (owner's spec): purpose dropdown on top,
   wheel with brightness and colour code under it, suggestions beside. */
.pk-rolebox { padding: 0 0 16px; border-top: 0; border-bottom: 1px solid var(--pc-line); }
.pk-role-select { width: 100%; height: 46px; margin-top: 6px; padding: 0 40px 0 14px; border: 1px solid var(--pc-line); border-radius: 10px;
  font: inherit; font-size: 15px; font-weight: 600; color: var(--pc-ink); background-color: var(--pc-surface); cursor: pointer;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%235f6b70' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.pk-role-select:focus { outline: none; border-color: var(--pc-teal); box-shadow: 0 0 0 3px rgba(3, 122, 142, .18); }
.pk-role-hint { margin: 6px 0 0; font-size: 13px; color: var(--pc-muted); }
.pk-main { grid-template-columns: 240px minmax(0, 1fr); gap: 24px; }
.pk-left { justify-items: stretch; width: 240px; }
.pk-left .pk-wheel { justify-self: center; }
.pk-label--top { margin-top: 0; }
.pk-bright-label { width: 100%; }
.pk-under { display: grid; gap: 4px; margin-top: 4px; }
.pk-under .pk-preview { margin: 4px 0; }
.pk-under .pk-preview__chips span { width: 44px; height: 44px; }
.pk-under .pk-preview__info b { font-size: 15px; }
.pk-under .pk-hexrow { flex-wrap: nowrap; }
.pk-under .pk-hex { flex: 1 1 auto; height: 40px; font-size: 15px; }
.pk-under .pk-drop { padding: 0 10px; font-size: 13px; }
.pk-sugbox { align-self: stretch; padding: 16px; border: 1px solid var(--pc-line); border-radius: 14px; background: var(--pc-soft); }
.pk-sugbox__title { margin: 0; font-size: 15px; font-weight: 700; color: var(--pc-ink); }
.pk-sugbox__help { margin: 2px 0 8px; font-size: 12.5px; color: var(--pc-muted); }
.pk-sugbox .pk-sug { width: 34px; height: 34px; }
@media (max-width: 620px) {
  .pk-main { grid-template-columns: minmax(0, 1fr); }
  .pk-left { width: 100%; }
  .pk-left .pk-wheel { width: min(240px, 70vw); height: min(240px, 70vw); }
}

/* ----------------------------------------------- Type tab, redesigned */
.pc-type-intro { margin: 0 0 14px; }
.pc-type-grid--v2 { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 20px; align-items: start; }
.pc-type-side { display: grid; gap: 14px; }
.pc-type-card { padding: 16px; border: 1px solid var(--pc-line); border-radius: 14px; background: var(--pc-surface); display: grid; gap: 8px; }
.pc-type-card__title { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 15.5px; font-weight: 700; }
.pc-type-num { width: 24px; height: 24px; border-radius: 50%; background: var(--pc-teal); color: #fff; font-size: 12.5px; display: grid; place-items: center; }
.pc-type-card select { width: 100%; height: 42px; border: 1px solid var(--pc-line); border-radius: 10px; padding: 0 10px; font: inherit; font-size: 14px; background: var(--pc-surface); min-width: 0; }
.pc-type-or { margin: 4px 0 0; font-size: 12px; color: var(--pc-muted); text-align: center; text-transform: uppercase; letter-spacing: .06em; }
.pc-type-font { display: grid; gap: 4px; padding-top: 6px; }
.pc-type-font__label { font-size: 13px; font-weight: 600; color: var(--pc-ink); margin: 0; }
.pc-type-font__row { display: flex; gap: 8px; align-items: center; }
.pc-type-font__row select { flex: 1 1 auto; }
.pc-type-dl { flex: none; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; gap: 4px; font-size: 13px; }
.pc-type-font__sample { font-size: 17px; color: var(--pc-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-type-free { margin: 4px 0 0; }
.pc-type-card .pc-link { justify-self: start; text-align: left; }
.pc-type-colour__label { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 13px; font-weight: 600; }
.pc-type-colour__label code { font: 600 11.5px/1 ui-monospace, Menlo, Consolas, monospace; color: var(--pc-muted); }
.pc-type-colour__chips { gap: 6px; }
.pc-type-colour__chip { width: 28px; height: 28px; border-radius: 8px; }
.pc-type-colour__more { width: 28px; height: 28px; border-radius: 8px; border: 1px dashed var(--pc-line); background: var(--pc-surface); color: var(--pc-muted); cursor: pointer; padding: 0; display: grid; place-items: center; }
.pc-type-colour__more:hover { border-color: var(--pc-teal); color: var(--pc-teal); }
.pc-type-size { display: grid; gap: 4px; margin: 0; font-size: 13px; font-weight: 600; }
.pc-type-page { padding: 32px 30px; border-radius: 16px; position: sticky; top: 12px; min-height: 420px; }
.pc-type-page__tag { margin: 0 0 14px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .55; }
.pc-type-page__btn { display: inline-block; padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.pc-type-sizes { margin-top: 18px; border-top: 1px solid rgba(127, 127, 127, .25); padding-top: 10px; }
.pc-type-sizes summary { cursor: pointer; font-size: 13px; font-weight: 600; opacity: .75; }
.pc-fontsearch { display: grid; gap: 4px; max-height: 50vh; overflow-y: auto; margin-top: 10px; }
.pc-fontsearch__item { display: flex; justify-content: space-between; gap: 10px; text-align: left; padding: 10px 12px; border: 1px solid var(--pc-line); border-radius: 10px; background: var(--pc-surface); cursor: pointer; font: inherit; }
.pc-fontsearch__item:hover { border-color: var(--pc-teal); }
.pc-fontsearch__item span { color: var(--pc-muted); font-size: 12.5px; }
@media (max-width: 860px) {
  .pc-type-grid--v2 { grid-template-columns: minmax(0, 1fr); }
  .pc-type-page { position: static; order: -1; }
}

/* UI preview: colours chosen from the palette */
.pc-prevcol { margin: 0 0 14px; padding: 14px 16px; border: 1px solid var(--pc-line); border-radius: 14px; background: var(--pc-surface); display: grid; gap: 10px; }
.pc-prevcol__title { margin: 0; font-size: 14.5px; font-weight: 700; }
.pc-prevcol__rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 18px; }
.pc-prevcol__row { display: grid; gap: 5px; }
.pc-prevcol__label { font-size: 13px; font-weight: 600; display: flex; gap: 6px; align-items: baseline; }
.pc-prevcol__label small { font-size: 11px; font-weight: 600; color: #b54708; background: #fff4e5; padding: 1px 6px; border-radius: 999px; }
.pc-prevcol__foot { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.pc-prevcol__save { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.pc-prevcol__save input { width: 18px; height: 18px; accent-color: var(--pc-teal); }
/* Keep the left column inside its track (it spilled under the suggestions).
   Wide screens only: unconditional, this beat the phone layout above and
   squeezed the suggestions off the right edge of the picker on phones. */
@media (min-width: 621px) {
  .pk-main { grid-template-columns: 250px minmax(0, 1fr); }
  .pk-left { width: auto; min-width: 0; }
  .pk-left .pk-wheel { width: 220px; height: 220px; }
}
/* Phones: one column - purpose, wheel, brightness, colour code, then the
   suggestions full width - and nothing wider than the screen. */
@media (max-width: 620px) {
  .pk-main { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .pk-left { width: 100%; min-width: 0; }
  .pk-left .pk-wheel { width: min(240px, 68vw); height: min(240px, 68vw); }
  .pk-bright-label, .pk-under { width: 100%; }
  .pk-sugbox { padding: 14px; }
  .pk-sugbox .pk-sug { width: 38px; height: 38px; }
  .pk-sug-row { gap: 8px; }
}
.pk-under .pk-preview { align-items: flex-start; }
.pk-under .pk-preview__info { min-width: 0; }
.pk-under .pk-preview__info span { white-space: normal; }
.pk-under .pk-hexrow { flex-wrap: wrap; }
.pk-under .pk-hex { flex: 1 1 100%; }
.pk-under .pk-drop { flex: 1 1 100%; justify-content: center; height: 36px; }

@media (max-width: 575.98px) {
  /* Monthly / Yearly / One-off: three equal segments on one line, instead
     of "One-off" wrapping under the others inside the pill. */
  .bl-interval { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); width: 100%; justify-self: stretch; }
  .bl-interval__btn { padding: 8px 6px; font-size: 13.5px; line-height: 1.25; }
}

/* =====================================================================
   Brand Lab landing (huddles-brand-lab.html, .blx). Apple-inspired, in
   step with the index page's refinements (css/hudl-effects.css): large
   type with tight tracking, generous white space, pill buttons, 18px
   cards with short layered shadows, one easing curve. Flat colours only
   (owner's rule: no gradients or glows).
   Alignment rule: every card grid is equal columns with equal-height
   rows (grid-auto-rows: 1fr), and each card is a flex column, so tops,
   bottoms and text start lines match across a row.
   ===================================================================== */
.blx {
  --blx-ink: #16242b; --blx-muted: #5f6b70; --blx-soft: #f5f7f8; --blx-line: #e3e8ea;
  --blx-radius: 18px;
  --blx-shadow: 0 1px 2px rgba(0, 6, 55, .06), 0 4px 12px rgba(0, 6, 55, .06);
  --blx-shadow-2: 0 2px 4px rgba(0, 6, 55, .08), 0 12px 32px rgba(0, 6, 55, .10);
  --blx-ease: cubic-bezier(.4, 0, .22, 1);
}
.blx-section { padding: 88px 0; background: var(--pc-surface); }
.blx-section--soft { background: var(--blx-soft); }
.blx-narrow { max-width: 860px; }
.blx-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.pc .blx-head h2 { font-size: clamp(28px, 4.2vw, 44px); font-weight: 600; letter-spacing: -.025em; line-height: 1.1;
  color: var(--blx-ink); margin: 0 0 12px; }
.blx-head p { font-size: 18px; line-height: 1.5; color: var(--blx-muted); margin: 0; }

/* Buttons: pills, like the index page's primary actions. */
.blx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px;
  border-radius: 980px; border: 1.5px solid transparent; font: inherit; font-size: 16px; font-weight: 500; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer; transition: transform .2s var(--blx-ease), background-color .3s var(--blx-ease), box-shadow .3s var(--blx-ease); }
.blx-btn:hover { text-decoration: none; transform: scale(1.02); }
.blx-btn:active { transform: scale(.98); transition-duration: .1s; }
.blx-btn--primary { background: #037a8e; color: #fff; }
.blx-btn--primary:hover { background: #025f6f; color: #fff; box-shadow: var(--blx-shadow); }
.blx-btn--ghost { background: var(--pc-surface); color: #037a8e; border-color: #037a8e; }
.blx-btn--ghost:hover { background: #e6f2f4; color: #025f6f; }
.blx-btn[hidden] { display: none; }

/* Hero */
.blx-hero { padding: 72px 0 64px; background: var(--pc-surface); text-align: center; overflow: hidden; }
.blx-eyebrow { margin: 0 0 14px; font-size: 15px; font-weight: 600; color: #037a8e; letter-spacing: -.01em; }
/* The hero's label is the same pill as the About page's (owner, 2026-11-15):
   orange dot with a faded ring, on a light teal pill. */
.blx-hero .blx-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: rgba(3, 122, 142, .08); font-size: 14px; letter-spacing: .02em; }
.blx-hero .blx-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ffa132;
  box-shadow: 0 0 0 4px rgba(255, 161, 50, .2); }
.pc .blx-title { margin: 0 auto 18px; font-size: clamp(42px, 8vw, 80px); font-weight: 600; letter-spacing: -.035em;
  line-height: 1.04; color: var(--blx-ink); text-transform: none; }
.blx-keep { white-space: nowrap; }
.blx-about { max-width: 600px; margin: 0 auto 30px; font-size: 15px; line-height: 1.55; color: var(--blx-muted); }
.blx-about b { color: var(--blx-ink); font-weight: 600; overflow-wrap: anywhere; }
.blx-lead { max-width: 640px; margin: 0 auto 12px; font-size: clamp(18px, 2.2vw, 22px); line-height: 1.45; color: var(--blx-muted); }
.blx-cta > span { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.blx-cta [hidden] { display: none !important; }
.blx-note { margin: 16px 0 0; font-size: 14px; color: var(--blx-muted); }
.blx-note[hidden] { display: none; }

/* Hero showcase: three tiles drawn in CSS, the phone in the middle. */
.blx-showcase { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 24px; align-items: center;
  max-width: 860px; margin: 56px auto 0; }
.blx-shot { background: var(--pc-surface); border-radius: 22px; box-shadow: var(--blx-shadow-2); border: 1px solid var(--blx-line); }
.blx-shot--palette, .blx-shot--font { height: 220px; display: grid; align-content: center; justify-items: center; gap: 16px; padding: 20px; }
.blx-swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 100%; max-width: 220px; }
.blx-swatches i { aspect-ratio: 1; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.blx-ratio { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #e3f6ef; color: #0b7a55; }
.blx-ratio b { font-size: 22px; letter-spacing: -.02em; }
.blx-ratio span { font-size: 13px; font-weight: 600; }
.blx-glyph { font-size: 84px; line-height: 1; font-weight: 700; letter-spacing: -.04em; color: var(--blx-ink); font-family: Georgia, "Times New Roman", serif; }
.blx-glyph-row { font-size: 18px; color: var(--blx-muted); letter-spacing: .08em; font-family: Georgia, "Times New Roman", serif; }
.blx-shot--phone { width: 200px; height: 360px; border-radius: 34px; border: 8px solid var(--blx-ink); background: #0e3b44;
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 16px; }
.blx-phone__avatar { width: 54px; height: 54px; border-radius: 50%; background: #ffa132; border: 3px solid rgba(255, 255, 255, .85); flex: none; }
.blx-phone__name { width: 60%; height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .85); flex: none; }
.blx-phone__icons { display: flex; gap: 8px; flex: none; }
.blx-phone__icons i { width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.blx-phone__btn { width: 100%; height: 30px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); flex: none; }
.blx-phone__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 100%; margin-top: 4px; }
.blx-phone__grid i { aspect-ratio: 1; border-radius: 8px; background: rgba(255, 255, 255, .22); }
.blx-phone__grid i:nth-child(2) { background: rgba(255, 161, 50, .7); }

/* Card grids */
.blx-grid { display: grid; gap: 20px; grid-auto-rows: 1fr; list-style: none; padding: 0; margin: 0; }
.blx-grid--3, .blx-grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.blx-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 30px 28px; background: var(--pc-surface);
  border-radius: var(--blx-radius); box-shadow: var(--blx-shadow); text-align: left;
  transition: transform .4s var(--blx-ease), box-shadow .4s var(--blx-ease); }
.blx-section--soft .blx-card { box-shadow: var(--blx-shadow); }
.blx-section:not(.blx-section--soft) .blx-card { border: 1px solid var(--blx-line); box-shadow: none; }
.blx-card:hover { transform: translateY(-4px); box-shadow: var(--blx-shadow-2); }
.pc .blx-card h3 { font-size: 21px; font-weight: 600; letter-spacing: -.017em; line-height: 1.2; color: var(--blx-ink); margin: 0 0 8px; }
.blx-card p { font-size: 15.5px; line-height: 1.55; color: var(--blx-muted); margin: 0; }
.blx-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 26px;
  background: #e6f2f4; color: #037a8e; margin-bottom: 18px; flex: none; }
.blx-ticks { list-style: none; padding: 18px 0 0; margin: auto 0 0; display: grid; gap: 8px; width: 100%;
  border-top: 1px solid var(--blx-line); margin-top: 20px; }
.blx-ticks li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.45; color: var(--blx-ink); overflow-wrap: anywhere; }
.blx-ticks li::before { content: ""; position: absolute; left: 2px; top: .3em; width: 14px; height: 8px;
  border-left: 2.5px solid #0b7a55; border-bottom: 2.5px solid #0b7a55; transform: rotate(-45deg); }
/* The tick lists start at the same height in every tool card. */
.blx-tool > p { flex: 1 0 auto; }
.blx-tool .blx-ticks { margin-top: 20px; }
.blx-feature > .mdi { font-size: 28px; line-height: 1; color: #ffa132; margin-bottom: 16px; }
.blx-step { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #037a8e; color: #fff;
  font-weight: 600; font-size: 16px; margin-bottom: 18px; flex: none; }

/* Pricing, FAQ and the closing band reuse existing pieces in the new frame. */
.blx .bl-plan { border-radius: var(--blx-radius); }
.blx .bl-plan .pc-btn { border-radius: 980px !important; }
.blx .pc-faq details { border-radius: 14px; }
.blx-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 48px;
  padding: 30px 32px; border-radius: var(--blx-radius); background: #037a8e; color: #fff; }   /* flat brand teal (owner, 2026-11-15) */
.blx-band > div { flex: 1 1 320px; }
.pc .blx-band h3 { color: #fff; font-size: 22px; font-weight: 600; letter-spacing: -.017em; margin: 0 0 6px; }
.blx-band p { margin: 0; color: rgba(255, 255, 255, .9); }
/* White and underlined: the orange was 2.5:1 on teal (WCAG AA needs 4.5:1). */
.blx-band a:not(.blx-btn) { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.blx-band p { color: #fff; }
.blx-band .blx-btn--primary { background: #fff; color: #037a8e; }
.blx-band .blx-btn--primary:hover { background: #e6f2f4; color: #037a8e; }

@media (max-width: 991.98px) {
  .blx-grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blx-section { padding: 72px 0; }
}
@media (max-width: 767.98px) {
  .blx-grid--3 { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .blx-showcase { gap: 12px; margin-top: 40px; }
  .blx-shot--palette, .blx-shot--font { height: 150px; padding: 12px; gap: 10px; border-radius: 16px; }
  .blx-swatches { grid-template-columns: repeat(2, 1fr); gap: 6px; max-width: 76px; }
  .blx-swatches i { border-radius: 8px; }
  .blx-ratio { padding: 5px 9px; gap: 4px; }
  .blx-ratio b { font-size: 16px; }
  .blx-ratio span { font-size: 10.5px; }
  .blx-glyph { font-size: 52px; }
  .blx-glyph-row { font-size: 12px; }
  .blx-shot--phone { width: 132px; height: 240px; border-width: 6px; border-radius: 26px; padding: 16px 10px; gap: 7px; }
  .blx-phone__avatar { width: 36px; height: 36px; }
  .blx-phone__btn { height: 20px; }
}
@media (max-width: 575.98px) {
  .blx-hero { padding: 44px 0 44px; }
  .blx-section { padding: 56px 0; }
  .blx-head { margin-bottom: 30px; }
  .blx-head p { font-size: 16.5px; }
  .blx-grid--6 { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .blx-card { padding: 24px 22px; }
  .blx-cta > span { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
  .blx-cta .blx-btn { width: 100%; }
  .blx-band { padding: 24px 22px; }
  .blx-band .blx-btn { width: 100%; }
  .blx-ratio span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .blx-btn, .blx-card { transition: none; }
  .blx-btn:hover, .blx-card:hover { transform: none; }
}

/* Account: profile picture (accountView in hudl-brandlab.js). */
.pc-photo-row__body { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.pc-photo { width: 72px; height: 72px; border-radius: 50%; flex: none; overflow: hidden; display: inline-flex; align-items: center;
  justify-content: center; background: var(--pc-teal, #037a8e); color: #fff; font-size: 28px; font-weight: 700; }
.pc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-photo-row .pc-row-actions { margin: 0; }
.pc-photo-row .pc-hint { margin: 10px 0 0; }

/* Palette: "Download picture" sheet. */
.pc-picture-preview { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--pc-line); margin: 4px 0 14px; }
.pc-picture-actions { margin-bottom: 6px; }


/* =====================================================================
   LIGHT / DARK. Members choose Light (the default), Dark or "Same as my
   device" (HudlTheme in hudl-brandlab.js; the choice is applied in each
   page's <head> before anything paints, as html[data-theme]). Light
   pages also say `color-scheme: only light`, so phones set to dark mode
   no longer repaint them by themselves.
   Dark is the same flat house style: deep teal-grey surfaces, no glows.
   ===================================================================== */
html[data-theme="dark"], html[data-theme="dark"] .pc {
  --pc-surface: #1a2529;
  --pc-soft: #121b1e;
  --pc-ink: #e7eef0;
  --pc-muted: #a3b3b9;
  --pc-line: #33444b;
  --pc-teal: #0a93a8;
  --pc-teal-dark: #3fc0d3;
  --pc-teal-soft: #12363d;
  --pc-ok: #5fd4a5; --pc-ok-bg: #12352a;
  --pc-bad: #ff8f84; --pc-bad-bg: #3d1a17;
  --pc-warn: #ffc56b; --pc-warn-bg: #3a2c10;
  color-scheme: dark;
}
html[data-theme="dark"] .blx {
  --blx-ink: #e7eef0; --blx-muted: #a3b3b9; --blx-soft: #121b1e; --blx-line: #33444b;
  --blx-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 4px 12px rgba(0, 0, 0, .3);
  --blx-shadow-2: 0 2px 4px rgba(0, 0, 0, .4), 0 12px 32px rgba(0, 0, 0, .35);
}
html[data-theme="dark"] body { background: #121b1e; color: #e7eef0; }
html[data-theme="dark"] .pc a:not(.btn):not([class*="blx-btn"]):not(.hl-link):not(.hl-social) { color: #4fc3d6; }
/* The site's own header and footer (style.min.css) on Brand Lab pages. */
html[data-theme="dark"] #header-section, html[data-theme="dark"] #header-section .navbar { background: #1a2529 !important; border-color: #33444b; }
html[data-theme="dark"] #header-section .nav-link { color: #e7eef0 !important; }
html[data-theme="dark"] #header-section .navbar-toggler-icon { color: #e7eef0; }
@media (max-width: 991.98px) {
  html[data-theme="dark"] #header-section .navbar-collapse { background: #1a2529 !important; }
}
html[data-theme="dark"] .contact-details, html[data-theme="dark"] footer, html[data-theme="dark"] .footer {
  background: #0e171a !important; color: #c9d6da; }
html[data-theme="dark"] .contact-details h5, html[data-theme="dark"] .contact-details p,
html[data-theme="dark"] .contact-details a, html[data-theme="dark"] .contact-details .text-muted { color: #c9d6da !important; }
html[data-theme="dark"] .form-control { background: #1a2529; color: #e7eef0; border-color: #33444b; }
html[data-theme="dark"] .pc input:not([type="color"]):not([type="range"]):not([type="checkbox"]):not([type="radio"]),
html[data-theme="dark"] .pc select, html[data-theme="dark"] .pc textarea,
html[data-theme="dark"] .pc-dialog input:not([type="checkbox"]):not([type="radio"]) {
  background-color: #121b1e; color: #e7eef0; border-color: #33444b; }
html[data-theme="dark"] .pc ::placeholder { color: #7f9198; }
html[data-theme="dark"] .pc-dialog { background: #1a2529; color: #e7eef0; }
html[data-theme="dark"] .pc-dialog::backdrop { background: rgba(0, 0, 0, .65); }
html[data-theme="dark"] .pc-btn--ghost, html[data-theme="dark"] .blx-btn--ghost { color: #4fc3d6; border-color: #3fb0c2; }
/* The phone preview of a link page keeps the member's own colours. */
html[data-theme="dark"] .pc .hl-page { color-scheme: light; }

/* The Light / Dark / Same as my device switch. */
.bl-theme { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid var(--pc-line);
  background: var(--pc-soft); }
.bl-theme button { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border: 0; border-radius: 999px;
  background: transparent; color: var(--pc-muted); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; min-height: 34px; }
.bl-theme button[aria-checked="true"] { background: var(--pc-surface); color: var(--pc-ink); font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
.bl-theme button:focus-visible { outline: 3px solid var(--pc-orange); outline-offset: 1px; }
.bl-theme .mdi { font-size: 16px; }
.bl-side__theme { margin-bottom: 10px; }
.bl-side__theme .bl-theme { width: 100%; justify-content: space-between; }
.bl-side__theme .bl-theme button { flex: 1; justify-content: center; padding: 6px 4px; }
.bl-foot-theme { display: flex; justify-content: center; padding-top: 18px; }
.bl-theme-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px;
  padding: 12px 14px; margin-bottom: 16px; border: 1px solid var(--pc-line); border-radius: var(--pc-radius); background: var(--pc-soft); }
.bl-theme-row .pc-hint { margin: 2px 0 0; }
html[data-theme="dark"] footer a[style] { color: #c9d6da !important; }

/* Buttons are flex boxes (the 44px tap-target rule in hudl-effects.css),
   and flex drops the space between an icon and its words, so "Sign out"
   and "Chat with us" sat glued to their icons. A gap puts it back. */
.pc .btn, .pc-btn, .pc-dialog .btn { column-gap: 6px; }
.lp-place__spot:focus:not(:focus-visible) { outline: none; }
html[data-theme="dark"] .pc .pc-name { background-color: transparent !important; border-color: transparent !important; }
html[data-theme="dark"] .pc .pc-name:hover, html[data-theme="dark"] .pc .pc-name:focus { border-color: var(--pc-line) !important; }

/* ------------------------------------------------ MY DOMAIN (hudl-domain.js) */
.dm .pc-panel, .dm .pc-notice { margin-bottom: 16px; }
.dm-perks { margin: 0 0 16px; padding-left: 1.2em; color: var(--pc-ink); }
.dm-perks li { margin: 4px 0; }
.dm-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.dm-price {
  display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 14px 16px; cursor: pointer;
  background: var(--pc-surface); color: var(--pc-ink); border: 1.5px solid var(--pc-line); border-radius: var(--pc-radius);
}
.dm-price.is-on { border-color: var(--pc-teal); box-shadow: inset 0 0 0 1px var(--pc-teal); background: var(--pc-teal-soft); }
.dm-price small { color: var(--pc-muted); }
.dm-amount { font-size: 22px; font-weight: 700; }
.dm-amount small { font-size: 14px; font-weight: 400; }
.dm-was { color: var(--pc-muted); font-weight: 400; font-size: 16px; }
.dm-search__row { display: flex; gap: 8px; }
.dm-search__row input { flex: 1; min-width: 0; }
.dm-results { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
/* Pay monthly / yearly after free access or a pause (hudl-domain.js). */
.dm-pay-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 6px; }
.dm-result {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px;
  border: 1px solid var(--pc-line); border-radius: var(--pc-radius); background: var(--pc-soft);
}
.dm-result.is-free { background: var(--pc-surface); border-color: var(--pc-teal); }
.dm-result__name { font-weight: 600; word-break: break-all; }
.dm-result__why { color: var(--pc-muted); font-size: 14px; white-space: nowrap; }
.dm-err { color: var(--pc-bad); font-weight: 600; margin: 0 0 10px; }
.dm-err:empty { display: none; }
.dm-mine__name { font-size: 22px; font-weight: 700; margin: 0 0 8px; word-break: break-all; }
.dm-steps { list-style: none; padding: 0; margin: 16px 0 8px; }
.dm-steps li { padding: 4px 0; color: var(--pc-muted); }
.dm-steps li.is-done { color: var(--pc-ok); }
.dm-steps li.is-now { color: var(--pc-ink); font-weight: 600; }
.dm-steps li.is-now .mdi { display: inline-block; animation: dm-spin 1.2s linear infinite; }
@keyframes dm-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .dm-steps li.is-now .mdi { animation: none; } }

/* Link Page editor: the Website step (custom domains). */
.lp-site-page { border: 1px solid var(--pc-line); border-radius: var(--pc-radius); padding: 14px; margin-bottom: 12px; background: var(--pc-soft); }
.lp-site-page__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 10px; }
.lp-site-page__head .pc-row-actions { margin-left: auto; }
.lp-site-page { padding: 6px 14px; }
.lp-site-page.is-open { padding-bottom: 14px; background: var(--pc-surface); }
.lp-site-page__head { margin-bottom: 0; }
.lp-site-page__toggle { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; flex: 1 1 auto; min-width: 0;
  padding: 8px 0; background: none; border: 0; color: var(--pc-ink); text-align: left; cursor: pointer; font: inherit; }
.lp-site-page__body { padding-top: 6px; }
.lp-site-previewpick { max-width: 320px; }
.dm-details .form-control { background: var(--pc-surface); color: var(--pc-ink); }
.lp-site-addr { font-size: 13px; color: var(--pc-muted); word-break: break-all; }
.lp-site-block { border-top: 1px dashed var(--pc-line); padding-top: 12px; margin-top: 12px; }
.lp-site-blocks > .btn { margin-top: 12px; }
.lp-site-teaser { border: 1.5px dashed var(--pc-teal); }

/* Website step: blocks, pictures, boxes and style choices. */
.lp-site-sub { font-size: 14px; font-weight: 700; margin: 14px 0 8px; color: var(--pc-ink); }
.lp-site-block { background: var(--pc-surface); border: 1px solid var(--pc-line); border-radius: var(--pc-radius); padding: 10px 12px; margin-bottom: 10px; border-top: 1px solid var(--pc-line); }
.lp-site-block__head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.lp-site-block__head b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-site-block__head .mdi { color: var(--pc-teal); font-size: 18px; }
.lp-site-block--part { background: var(--pc-teal-soft); }
.lp-site-block--part .pc-hint { margin: 0; }
.lp-site-add { border: 1.5px dashed var(--pc-line); border-radius: var(--pc-radius); padding: 10px 12px; }
.lp-site-add__row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.lp-site-add__row .btn { padding: 6px 12px; }
.lp-site-add__row select { max-width: 220px; }
.lp-site-picrow { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.lp-site-picfields { flex: 1 1 240px; min-width: 0; }
.lp-site-pic { width: 120px; height: 96px; border: 1.5px dashed var(--pc-line); border-radius: var(--pc-radius); background: var(--pc-soft);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--pc-muted); cursor: pointer; padding: 0; overflow: hidden; }
.lp-site-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-site-pic .mdi { font-size: 26px; color: var(--pc-teal); }
.lp-site-boxes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; margin-top: 8px; }
.lp-site-box { border: 1px solid var(--pc-line); border-radius: var(--pc-radius); padding: 12px; background: var(--pc-soft); min-width: 0;
  display: grid; gap: 4px; align-content: start; }
.lp-site-box .pc-field { margin-bottom: 4px; }
.lp-site-box input, .lp-site-box textarea { width: 100%; min-width: 0; }
.lp-site-box__head { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 6px; }
.lp-site-box .lp-site-pic { width: 100%; height: 110px; margin-bottom: 8px; }
.lp-site-box--add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 120px;
  border-style: dashed; color: var(--pc-teal); font-weight: 600; cursor: pointer; font: inherit; }
.lp-site-box--add .mdi { font-size: 24px; }
.lp-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.lp-choice { display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding: 8px; border: 1.5px solid var(--pc-line);
  border-radius: var(--pc-radius); background: var(--pc-surface); color: var(--pc-ink); font: 600 13px inherit; font-family: inherit; cursor: pointer; text-align: center; }
.lp-choice[aria-checked="true"] { border-color: var(--pc-teal); box-shadow: inset 0 0 0 1px var(--pc-teal); background: var(--pc-teal-soft); }
/* Tiny drawings of each style: three bars inside a frame. */
.lp-choice__art { position: relative; display: block; height: 46px; border-radius: 6px; background: var(--pc-soft); overflow: hidden; }
.lp-choice__art i { position: absolute; display: block; background: #9fb3b9; border-radius: 3px; }
.lp-art--menu-bar i:nth-child(1) { left: 0; right: 0; top: 0; height: 12px; border-radius: 0; background: #5c7178; }
.lp-art--menu-bar i:nth-child(2) { left: 6px; top: 4px; width: 18px; height: 4px; background: #fff; }
.lp-art--menu-bar i:nth-child(3) { right: 6px; top: 4px; width: 30px; height: 4px; background: #fff; }
.lp-art--menu-center i:nth-child(1) { left: 0; right: 0; top: 0; height: 22px; border-radius: 0; background: #5c7178; }
.lp-art--menu-center i:nth-child(2) { left: calc(50% - 6px); top: 3px; width: 12px; height: 8px; background: #fff; }
.lp-art--menu-center i:nth-child(3) { left: calc(50% - 18px); top: 14px; width: 36px; height: 4px; background: #fff; }
.lp-art--menu-floating i:nth-child(1) { left: 6px; right: 6px; top: 5px; height: 11px; border-radius: 99px; background: #5c7178; }
.lp-art--menu-floating i:nth-child(2) { left: 12px; top: 9px; width: 14px; height: 3px; background: #fff; }
.lp-art--menu-floating i:nth-child(3) { right: 12px; top: 9px; width: 24px; height: 3px; background: #fff; }
.lp-art--menu-accent i:nth-child(1) { left: 0; right: 0; top: 0; height: 12px; border-radius: 0; background: var(--pc-orange); }
.lp-art--menu-accent i:nth-child(2) { left: 6px; top: 4px; width: 18px; height: 4px; background: #fff; }
.lp-art--menu-accent i:nth-child(3) { right: 6px; top: 4px; width: 30px; height: 4px; background: #fff; }
.lp-art--menu-minimal i:nth-child(1) { left: 6px; top: 5px; width: 18px; height: 4px; background: #5c7178; }
.lp-art--menu-minimal i:nth-child(2) { right: 6px; top: 5px; width: 30px; height: 4px; background: #5c7178; }
.lp-art--menu-minimal i:nth-child(3) { right: 26px; top: 11px; width: 10px; height: 2px; background: var(--pc-orange); }
.lp-art--footer-simple i:nth-child(1) { left: calc(50% - 16px); bottom: 14px; width: 32px; height: 5px; }
.lp-art--footer-simple i:nth-child(2) { left: calc(50% - 10px); bottom: 6px; width: 20px; height: 3px; }
.lp-art--footer-simple i:nth-child(3) { left: 0; right: 0; bottom: 24px; height: 1px; border-radius: 0; }
.lp-art--footer-columns i { bottom: 6px; height: 16px; background: #9fb3b9; }
.lp-art--footer-columns i:nth-child(1) { left: 6px; width: 36%; }
.lp-art--footer-columns i:nth-child(2) { left: 48%; width: 20%; }
.lp-art--footer-columns i:nth-child(3) { right: 6px; width: 20%; }
.lp-art--footer-line i:nth-child(1) { left: 0; right: 0; bottom: 16px; height: 1px; border-radius: 0; }
.lp-art--footer-line i:nth-child(2) { left: 6px; bottom: 7px; width: 26px; height: 3px; }
.lp-art--footer-line i:nth-child(3) { right: 6px; bottom: 6px; width: 22px; height: 5px; }
.lp-art--footer-accent i:nth-child(1) { left: 0; right: 0; bottom: 0; height: 18px; border-radius: 0; background: var(--pc-orange); }
.lp-art--footer-accent i:nth-child(2) { left: calc(50% - 14px); bottom: 9px; width: 28px; height: 4px; background: #fff; }
.lp-art--footer-accent i:nth-child(3) { left: calc(50% - 8px); bottom: 3px; width: 16px; height: 3px; background: #fff; }
.lp-art--box-soft i, .lp-art--box-outline i, .lp-art--box-shadow i, .lp-art--box-glass i, .lp-art--box-none i { top: 9px; width: 26%; height: 28px; }
[class*="lp-art--box-"] i:nth-child(1) { left: 6%; } [class*="lp-art--box-"] i:nth-child(2) { left: 37%; } [class*="lp-art--box-"] i:nth-child(3) { left: 68%; }
.lp-art--box-soft i { background: #c9d6da; }
.lp-art--box-outline i { background: transparent; border: 1.5px solid #5c7178; }
.lp-art--box-shadow i { background: #fff; box-shadow: 0 3px 6px rgba(0, 0, 0, .3); }
.lp-art--box-glass i { background: rgba(255, 255, 255, .6); border: 1px solid #c9d6da; }
.lp-art--box-none i { background: none; border-bottom: 3px solid #9fb3b9; height: 14px; top: 18px; border-radius: 0; }

/* Landing: the adafoods.com example above the custom-domain cards. */
.blx-dm-mock { max-width: 760px; margin: 0 auto 40px; border-radius: 14px; overflow: hidden; background: #1d2a30; box-shadow: var(--blx-shadow, 0 10px 30px rgba(0,0,0,.15)); }
.blx-dm-mock__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; }
.blx-dm-mock__bar span { width: 9px; height: 9px; border-radius: 50%; background: #5b6a70; }
.blx-dm-mock__bar b { margin-left: 8px; flex: 1; background: #2c3a40; color: #e8eef0; border-radius: 99px; padding: 3px 12px; font: 500 12px/1.4 system-ui, sans-serif; }
.blx-dm-mock__site { background: #3b1f0e; color: #fff; padding-bottom: 14px; font-family: system-ui, sans-serif; }
.blx-dm-mock__nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; background: rgba(0,0,0,.25); font-size: 14px; }
.blx-dm-mock__nav span { display: flex; gap: 4px; flex-wrap: wrap; }
.blx-dm-mock__nav i { font-style: normal; font-size: 12px; padding: 3px 9px; border-radius: 99px; opacity: .85; }
.blx-dm-mock__nav i.is-on { background: #e8892b; color: #2a1608; opacity: 1; }
.blx-dm-mock__hero { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px 16px 16px; text-align: center; }
.blx-dm-mock__hero strong { font-size: clamp(18px, 3vw, 24px); }
.blx-dm-mock__hero small { opacity: .85; font-size: 13px; }
.blx-dm-mock__hero em { font-style: normal; margin-top: 8px; background: #e8892b; color: #2a1608; font-weight: 700; font-size: 13px; padding: 7px 16px; border-radius: 10px; }
.blx-dm-mock__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 0 16px; }
.blx-dm-mock__grid div { background: rgba(255,255,255,.1); border-radius: 10px; overflow: hidden; }
.blx-dm-mock__grid i { display: block; aspect-ratio: 4 / 3; background: #d9772a; }
.blx-dm-mock__grid div:nth-child(2) i { background: #e6a940; }
.blx-dm-mock__grid div:nth-child(3) i { background: #8a3a22; }
.blx-dm-mock__grid small { display: block; padding: 6px 8px; font-size: 11px; font-weight: 600; }
.blx-dm-mock__foot { display: flex; justify-content: center; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.15); }
.blx-dm-mock__foot span { width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,.25); }
.lp-site-look .pc-link { font-size: 13px; font-weight: 600; text-align: left; }
.lp-site-look input[type="color"] { width: 64px; height: 36px; padding: 2px; border: 1px solid var(--pc-line); border-radius: 6px; background: var(--pc-surface); }
.dm-paused { text-align: center; padding: 28px 20px; }
.dm-paused .mdi { font-size: 40px; color: var(--pc-teal); }
.dm-paused p { margin: 8px auto 0; max-width: 46ch; color: var(--pc-muted); }

/* Landing: Brand Lab website vs custom website (#compare). */
.blx-compare-wrap { overflow-x: auto; border-radius: 16px; background: var(--pc-surface); box-shadow: var(--blx-shadow, 0 6px 24px rgba(0,0,0,.08)); }
.blx-compare { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.blx-compare th, .blx-compare td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--blx-line, #e5e5e5); }
.blx-compare thead th { font-size: 16px; font-weight: 700; color: var(--pc-ink); background: var(--pc-soft); }
.blx-compare thead th:nth-child(2) { color: #037a8e; }
.blx-compare tbody th { width: 22%; font-weight: 600; color: var(--pc-ink); }
.blx-compare td { width: 39%; color: var(--blx-muted, #555); }
.blx-compare tr:last-child th, .blx-compare tr:last-child td { border-bottom: 0; }
.blx-compare-note { text-align: center; margin: 22px auto 0; max-width: 60ch; color: var(--blx-muted, #555); }
.blx-compare-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
#compare .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* My domain: "Brand Lab website or custom website?" */
.dm-compare summary { cursor: pointer; font-weight: 700; color: var(--pc-ink); }
.dm-compare__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.dm-compare__col { border: 1px solid var(--pc-line); border-radius: var(--pc-radius); padding: 12px 14px; background: var(--pc-surface); }
.dm-compare__col h3 { font-size: 15px; margin: 0 0 6px; }
.dm-compare__col ul { margin: 0 0 10px; padding-left: 1.1em; font-size: 14px; color: var(--pc-muted); }
@media (max-width: 600px) { .dm-compare__grid { grid-template-columns: minmax(0, 1fr); } }

.dm-onebill { margin: 0 0 14px; border-left-color: var(--pc-ok); }
.dm-onebill .mdi { color: var(--pc-ok); }

/* "Confirm your email within 15 days": deliberately loud (domain rules). */
.dm-confirm { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 16px; padding: 14px 16px;
  background: var(--pc-warn-bg); border: 2px solid var(--pc-orange); border-radius: var(--pc-radius); color: var(--pc-ink); }
.dm-confirm .mdi { font-size: 26px; line-height: 1; color: var(--pc-orange); flex: none; }
.dm-confirm b { display: block; font-size: 15px; margin-bottom: 4px; }
.dm-confirm p { margin: 0; font-size: 14px; line-height: 1.5; }

/* Account: Change password and Delete account stay folded until opened. */
.pc-fold { padding-top: 0; }
.pc-fold > summary { list-style: none; display: flex; align-items: center; gap: 12px; cursor: pointer;
  padding: 14px 4px; border-radius: 10px; }
.pc-fold > summary::-webkit-details-marker { display: none; }
.pc-fold > summary:focus-visible { outline: 2px solid var(--pc-teal); outline-offset: 2px; }
.pc-fold > summary > .mdi:first-child { font-size: 22px; opacity: .8; }
.pc-fold__title { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.pc-fold__title b { font-size: 15px; font-weight: 600; }
.pc-fold__title small { font-size: 13px; color: var(--pc-muted); }
.pc-fold__chev { font-size: 22px; transition: transform .2s ease; }
.pc-fold[open] .pc-fold__chev { transform: rotate(180deg); }
.pc-fold[open] > .pc-form { padding: 4px 4px 14px; }
.pc-fold--danger > summary { color: var(--pc-bad); }
.pc-fold--danger[open] { background: var(--pc-bad-bg); border-radius: 12px; padding: 0 12px; border-top-color: transparent; }
.pc-fold__warn { display: flex; gap: 8px; align-items: flex-start; color: var(--pc-bad); font-size: 14px; margin: 0 0 12px; }
.pc-fold__warn .mdi { font-size: 20px; line-height: 1.1; }
.pc-danger-solid { background: var(--pc-bad); border-color: var(--pc-bad); color: #fff; }
.pc-danger-solid:hover, .pc-danger-solid:focus { background: #8f1c13; border-color: #8f1c13; color: #fff; }
.pc-danger-solid[disabled] { opacity: .45; cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) { .pc-fold__chev { transition: none; } }

/* Link page step 1: Pause orders (js/hudl-linkpage.js pauseBox). */
.lp-pause { margin: 12px 0 4px; padding: 12px 14px 2px; border: 1px solid var(--pc-line); border-radius: var(--pc-radius); }
.lp-pause.is-on { background: var(--pc-warn-bg); border-color: var(--pc-warn); }
.lp-pause .pc-toggle { margin-bottom: 10px; }
.lp-pause small.pc-hint { display: block; margin: 2px 0 0; }
/* Link page: the member's own domain is live (js/hudl-linkpage.js). */
.lp-domain-live { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; padding: 10px 12px;
  background: var(--pc-ok-bg); color: var(--pc-ink); border-radius: var(--pc-radius); font-size: 14px; }
.lp-domain-live .mdi { color: var(--pc-ok); font-size: 18px; line-height: 1.2; }
.lp-qr__link { display: grid; gap: 6px; margin: 4px 0 10px; }
.lp-qr__link .pc-segment { display: grid; grid-template-columns: 1fr 1fr; }
.lp-qr__link .pc-segment button { display: grid; gap: 2px; white-space: normal; text-align: left; min-width: 0; }
.lp-qr__link .pc-segment button small { font-size: 12px; opacity: .85; overflow-wrap: anywhere; }
@media (max-width: 480px) { .lp-qr__link .pc-segment { grid-template-columns: 1fr; } }
.lp-qr__link .pc-hint { margin: 0; }
/* Home: one-time "your QR code can use your domain" note (js/hudl-dashboard.js). */
.bl-qr-note { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 14px; align-items: center;
  padding: 16px; margin: 0 0 18px; border: 2px solid var(--pc-teal); border-radius: 14px; background: var(--pc-teal-soft); }
.bl-qr-note > .mdi { font-size: 30px; color: var(--pc-teal); }
.bl-qr-note b { display: block; font-size: 16px; }
.bl-qr-note p { margin: 2px 0 0; color: var(--pc-muted); font-size: 14px; }
.bl-qr-note .pc-row-actions { grid-column: 1 / -1; margin: 0; }

/* ------------------------------------------------ Website step, tabbed
   hudl-linkpage.js websiteStep(): switch + tabs + "top menu" page picker
   (usable while the step is locked), then one tab's content. Phone first:
   every button is at least 44px tall and nothing needs a sideways scroll. */
.lp-site-top { display: grid; gap: 12px; margin-bottom: 14px; }
.lp-site-switch { border: 1px solid var(--pc-line); border-radius: var(--pc-radius); padding: 12px 14px 4px; background: var(--pc-soft); }
.lp-site-switch .pc-toggle { margin: 0 0 6px; font-weight: 600; }
.lp-site-status { margin: 0 0 8px; font-size: 13.5px; color: var(--pc-muted); }
.lp-site-status--on { color: var(--pc-ok); }
.lp-site-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.lp-site-tab { display: flex; align-items: flex-start; gap: 10px; min-height: 56px; padding: 10px 12px; border: 1.5px solid var(--pc-line);
  border-radius: var(--pc-radius); background: var(--pc-surface); color: var(--pc-ink); font: inherit; text-align: left; cursor: pointer; }
.lp-site-tab:hover { border-color: var(--pc-teal); }
.lp-site-tab[aria-selected="true"] { border-color: var(--pc-teal); background: var(--pc-teal-soft); box-shadow: inset 0 0 0 1px var(--pc-teal); }
.lp-site-tab__num { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 700;
  background: var(--pc-soft); color: var(--pc-muted); border: 1px solid var(--pc-line); }
.lp-site-tab[aria-selected="true"] .lp-site-tab__num { background: var(--pc-teal); color: #fff; border-color: var(--pc-teal); }
.lp-site-tab__text { display: grid; gap: 1px; min-width: 0; }
.lp-site-tab__text b { font-size: 14.5px; }
.lp-site-tab__text b .mdi { color: var(--pc-teal); }
.lp-site-tab__text small { font-size: 12px; color: var(--pc-muted); line-height: 1.3; }

/* The page picker looks like a little website menu bar. */
.lp-site-menubar__label { margin: 0 0 6px; font-size: 14px; }
.lp-site-menubar__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px; border-radius: var(--pc-radius);
  background: #24343a; }
.lp-site-menubar__logo { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16);
  color: #fff; font-weight: 700; margin-right: 4px; }
.lp-site-chip { display: grid; gap: 0; min-height: 44px; padding: 5px 14px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .1);
  color: #fff; font: inherit; font-weight: 600; font-size: 14px; text-align: center; cursor: pointer; line-height: 1.2; }
.lp-site-chip small { font-size: 11px; font-weight: 500; opacity: .75; }
.lp-site-chip:hover { background: rgba(255, 255, 255, .2); }
.lp-site-chip[aria-pressed="true"] { background: var(--pc-orange); color: #2a1608; }
.lp-site-chip--add { display: inline-flex; align-items: center; background: transparent; border: 1.5px dashed rgba(255, 255, 255, .45); }
.lp-site-chip--add:disabled { opacity: .45; cursor: not-allowed; }
.lp-site-menubar__count { margin: 6px 0 0; }

/* A page: its settings card, then the numbered list, then the tiles. */
.lp-site-pagecard { border: 1px solid var(--pc-line); border-radius: var(--pc-radius); padding: 12px 14px; background: var(--pc-soft); margin-bottom: 6px; }
.lp-site-pagecard__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 6px 12px; margin-bottom: 8px; }
.lp-site-pagecard__title { font-size: 18px; font-weight: 700; margin: 0; color: var(--pc-ink); }
.lp-site-kicker { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--pc-teal); }
.lp-site-sub { display: flex; align-items: center; gap: 8px; font-size: 15px; margin: 18px 0 4px; }
.lp-site-sub__num { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: var(--pc-teal); color: #fff; font-size: 12px; }
.lp-site-outline { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.lp-site-row { border: 1px solid var(--pc-line); border-radius: var(--pc-radius); background: var(--pc-surface); min-width: 0; }
.lp-site-row.is-open { border-color: var(--pc-teal); box-shadow: 0 0 0 3px rgba(3, 122, 142, .12); }
.lp-site-row--part { background: var(--pc-teal-soft); }
.lp-site-row__head { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 10px; min-width: 0; }
.lp-site-row__num { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--pc-soft);
  border: 1px solid var(--pc-line); font-size: 12.5px; font-weight: 700; color: var(--pc-muted); }
.lp-site-row__icon { flex: none; font-size: 20px; color: var(--pc-teal); }
.lp-site-row__text { flex: 1; min-width: 0; display: grid; }
.lp-site-row__text b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; }
.lp-site-row__text small { font-size: 12px; color: var(--pc-muted); }
.lp-site-row__tools { flex: none; display: flex; align-items: center; gap: 2px; }
.lp-site-row__tools .pc-icon-btn { width: 40px; height: 40px; }
.lp-site-row__tools .pc-icon-btn:disabled { opacity: .3; }
.lp-site-row__edit { padding: 6px 12px; min-height: 40px; }
.lp-site-row__body { padding: 4px 12px 12px; border-top: 1px dashed var(--pc-line); }
.lp-site-row__move { margin-top: 6px; max-width: 360px; }
.lp-site-row__done { margin-top: 6px; }
.lp-site-empty { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1.5px dashed var(--pc-line); border-radius: var(--pc-radius);
  color: var(--pc-muted); font-size: 14px; }
.lp-site-empty .mdi { font-size: 22px; color: var(--pc-teal); }
.lp-site-addbox__group { margin: 12px 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--pc-muted); }
.lp-site-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.lp-site-tile { display: grid; justify-items: start; align-content: start; gap: 2px; min-height: 84px; padding: 10px 12px; text-align: left;
  border: 1.5px solid var(--pc-line); border-radius: var(--pc-radius); background: var(--pc-surface); color: var(--pc-ink); font: inherit; cursor: pointer; }
.lp-site-tile:hover:not(:disabled) { border-color: var(--pc-teal); background: var(--pc-teal-soft); }
.lp-site-tile__icon { font-size: 22px; color: var(--pc-teal); line-height: 1; margin-bottom: 4px; }
.lp-site-tile b { font-size: 14px; }
.lp-site-tile small { font-size: 12px; color: var(--pc-muted); line-height: 1.3; }
.lp-site-tile.is-here { opacity: .65; cursor: default; }
.lp-site-tile.is-here .lp-site-tile__icon { color: var(--pc-ok); }
.lp-site-photo { border: 1px solid var(--pc-line); border-radius: var(--pc-radius); padding: 10px 12px 2px; background: var(--pc-soft); }
.lp-site-photo .pc-toggle { margin: 6px 0 4px; }
.lp-site-contact__where { max-width: 380px; }
.lp-step--site .lp-step__head { flex-wrap: wrap; }
.lp-site-help { margin-left: auto; padding: 6px 12px; font-size: 14px; }
.lp-step.is-locked .lp-site-tile, .lp-step.is-locked .lp-site-row__tools .pc-icon-btn { opacity: .55; }

@media (max-width: 575.98px) {
  .lp-site-tabs { grid-template-columns: 1fr 1fr; }
  .lp-site-tab { padding: 9px 10px; gap: 8px; }
  .lp-site-tab__text small { display: none; }
  .lp-site-tiles { grid-template-columns: 1fr 1fr; }
  .lp-site-tile { min-height: 76px; padding: 9px 10px; }
  /* The row's tools move under its title so the title has room. */
  .lp-site-row__head { flex-wrap: wrap; row-gap: 4px; }
  .lp-site-row__text { flex-basis: calc(100% - 80px); }
  .lp-site-row__tools { width: 100%; justify-content: flex-end; border-top: 1px solid var(--pc-line); padding-top: 4px; }
  .lp-site-row__tools .pc-icon-btn { width: 44px; height: 44px; }
  .lp-site-row__edit { min-height: 44px; flex: 1; max-width: 140px; }
  .lp-site-row__body { padding: 4px 10px 12px; }
  .lp-site-row__done { width: 100%; min-height: 46px; }
  .lp-site-chip { padding: 5px 12px; }
  .lp-site-help { margin-left: 0; }
}

/* ---------------------------------------------------------- business card
   js/hudl-card.js, in the Brand Lab sheet. The pictures come from the
   server (huddles/cards.py); everything here is the choices around them. */
.bc { display: grid; gap: 12px; }
.bc-preview { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .bc-preview { grid-template-columns: minmax(0, 1fr); } }
.bc-side { margin: 0; }
.bc-side__img { display: block; width: 100%; aspect-ratio: 7 / 4; border-radius: 10px; background: var(--pc-line);
  box-shadow: 0 10px 24px -12px rgba(16, 24, 40, .35), 0 0 0 1px var(--pc-line); }
.bc-side figcaption { margin-top: 6px; font-size: 12px; color: var(--pc-muted); text-align: center; }
.bc-saving { min-height: 1.2em; margin: -4px 0 0; }
.bc-status { display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; align-items: start; padding: 12px 14px;
  border-radius: var(--pc-radius); border: 1px solid var(--pc-line); background: var(--pc-surface); }
.bc-status > .mdi { font-size: 20px; line-height: 1.3; color: var(--pc-teal); }
.bc-status p { margin: 0; font-size: 14px; line-height: 1.5; }
.bc-status .btn { grid-column: 2; justify-self: start; }
.bc-status--ok { border-color: rgba(14, 122, 90, .35); background: rgba(14, 122, 90, .07); }
.bc-status--ok > .mdi { color: #0e7a5a; }
.bc-status--warn { border-color: rgba(178, 106, 0, .4); background: rgba(255, 161, 50, .1); }
.bc-status--warn > .mdi { color: #b26a00; }
.bc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pc .bc-actions .btn { column-gap: 6px; }
.bc-h { margin: 10px 0 0; font-size: 15px; font-weight: 700; }
.bc-field { display: grid; gap: 6px; }
.bc-field .pc-segment { flex-wrap: wrap; max-width: 100%; }
.bc-styles { display: grid; gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 420px) { .bc-styles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bc-style { display: grid; gap: 6px; justify-items: center; padding: 10px 6px; border: 1px solid var(--pc-line);
  border-radius: var(--pc-radius); background: var(--pc-surface); color: inherit; font: 500 13px inherit;
  font-family: inherit; cursor: pointer; min-height: 44px; }
.bc-style[aria-pressed="true"] { border-color: var(--pc-teal); box-shadow: 0 0 0 2px var(--pc-teal) inset; }
.bc-style__art { width: 70px; height: 40px; border-radius: 5px; border: 1px solid var(--pc-line); background: #fff; position: relative; overflow: hidden; }
.bc-style--classic .bc-style__art { background: linear-gradient(var(--pc-teal), var(--pc-teal)) center 70% / 40% 3px no-repeat, #fff; }
.bc-style--split .bc-style__art { background: linear-gradient(90deg, var(--pc-teal) 38%, #fff 38%); }
.bc-style--bold .bc-style__art { background: var(--pc-teal); }
.bc-style--minimal .bc-style__art { background: linear-gradient(var(--pc-teal), var(--pc-teal)) bottom / 100% 4px no-repeat, #fff; }
.bc-style--band .bc-style__art { background: linear-gradient(var(--pc-teal), var(--pc-teal)) bottom / 100% 30% no-repeat, #fff; }
.bc-style--night .bc-style__art { background: #111827; }
.bc-colour { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.bc-colour input[type="color"] { width: 48px; height: 44px; padding: 2px; border: 1px solid var(--pc-line); border-radius: var(--pc-radius); background: var(--pc-surface); }
.bc-details { display: grid; gap: 8px; }
.bc-detail { display: grid; grid-template-columns: 22px minmax(0, 9em) minmax(0, 1fr); gap: 8px; align-items: center; margin: 0; }
.bc-detail input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--pc-teal); }
.bc-detail__name { font-size: 13px; font-weight: 600; }
.bc-detail input[type="text"]:disabled { opacity: .5; }
@media (max-width: 520px) {
  .bc-detail { grid-template-columns: 22px minmax(0, 1fr); }
  .bc-detail input[type="text"] { grid-column: 1 / -1; }
}

/* "Set it up for me" (js/hudl-setup.js) reuses the business card sheet's pieces. */
.su-kinds { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
.su-kinds button { display: grid; gap: 2px; text-align: left; white-space: normal; min-height: 52px; }
.su-kinds small { opacity: .8; }
.su-body { display: grid; gap: 12px; }
.su-thumbs { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); }
.su-thumbs:empty { display: none; }
.su-thumb { position: relative; margin: 0; }
.su-thumb img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; border: 1px solid var(--pc-line); }
.su-thumb .pc-icon-btn { position: absolute; top: 2px; right: 2px; background: rgba(0, 0, 0, .55); color: #fff; border-radius: 50%; width: 28px; height: 28px; }

/* "Reply as hello@<domain>" (js/hudl-domain.js replyGuide). */
.dm-reply-note { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: start; margin-top: 14px; padding: 12px 14px;
  border-radius: var(--pc-radius); background: var(--pc-surface); border: 1px dashed var(--pc-line); font-size: 14px; }
.dm-reply-note > .mdi { color: var(--pc-teal); font-size: 18px; line-height: 1.4; }
.dm-reply-note p { margin: 0; line-height: 1.5; }
.dm-reply-note .pc-link { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--pc-teal); text-decoration: underline; cursor: pointer; }
.dm-steps { list-style: none; margin: 8px 0 12px; padding: 0; display: grid; gap: 14px; }
.dm-step { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; }
.dm-step__n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--pc-teal); color: #fff; font-weight: 700; font-size: 14px; }
.dm-step b { display: block; margin: 4px 0 6px; font-size: 15px; color: var(--pc-ink); }
.dm-step p, .dm-step li { margin: 0 0 8px; font-size: 14px; line-height: 1.55; }
.dm-step ul { margin: 0; padding-left: 18px; }
.dm-records { display: grid; gap: 8px; margin-top: 6px; }
.dm-records textarea { font-family: ui-monospace, Menlo, monospace; font-size: 13px; }

/* The pricing ladder (js/hudl-brandlab.js planCards): Link Page, Complete,
   Website side by side; the Website card links to My domain. */
.bl-plan-grid--ladder { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.bl-plan--site { border-color: var(--pc-ink); }
.bl-plan__tag--alt { background: var(--pc-ink); color: var(--pc-surface); }
.bl-plan__setup { color: var(--pc-muted); }
.bl-plan--site .btn { margin-top: auto; }
.bl-once { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; margin: 4px 0 0; padding: 12px 14px;
  border: 1px solid var(--pc-line); border-radius: var(--pc-radius); background: var(--pc-surface); cursor: pointer; font-weight: 400; }
.bl-once[hidden] { display: none; }
.bl-once input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--pc-teal); }
.bl-once b { display: block; font-size: 14px; }
.bl-once small { color: var(--pc-muted); font-size: 13px; }
.bl-today { display: grid; gap: 6px; padding: 12px 14px; border-radius: var(--pc-radius); background: rgba(3, 122, 142, .07); }
.bl-today:empty { display: none; }
.bl-today p { display: flex; justify-content: space-between; gap: 12px; margin: 0; font-size: 14px; }
.bl-today span { color: var(--pc-muted); }
.bl-today b { text-align: right; }

/* Business card: paper swatches (any colour via the dropper) and the small
   floating preview shown while the big one is scrolled out of sight. */
.bc-paper { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.bc-swatch { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--pc-line); cursor: pointer;
  padding: 0; box-shadow: inset 0 0 0 3px var(--pc-surface); }
.bc-swatch[aria-pressed="true"] { border: 2px solid var(--pc-teal); }
.bc-swatch--any { display: grid; place-items: center; background: var(--pc-surface); color: var(--pc-teal); font-size: 20px; overflow: hidden; }
.bc-swatch--any input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.bc-paper .pc-hint { flex-basis: 100%; margin: 0; }
.bc-mini { position: fixed; z-index: 1300; display: grid; gap: 6px; width: 176px; padding: 6px; touch-action: none;
  border: 1px solid var(--pc-line); border-radius: 12px; background: var(--pc-surface); cursor: grab;
  box-shadow: 0 12px 28px -10px rgba(16, 24, 40, .35); }
.bc-mini[hidden], .bc-mini-pill[hidden], .bc-big[hidden] { display: none; }
.bc-mini.is-dragging { cursor: grabbing; opacity: .9; }
.bc-mini img { display: block; width: 100%; aspect-ratio: 7 / 4; border-radius: 6px; background: var(--pc-line); pointer-events: none; }
.bc-mini--br, .bc-mini-pill.bc-mini--br { right: 14px; bottom: 14px; }
.bc-mini--bl, .bc-mini-pill.bc-mini--bl { left: 14px; bottom: 14px; }
.bc-mini--tr, .bc-mini-pill.bc-mini--tr { right: 14px; top: 14px; }
.bc-mini--tl, .bc-mini-pill.bc-mini--tl { left: 14px; top: 14px; }
.bc-mini__close { position: absolute; top: -10px; right: -10px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--pc-line);
  background: var(--pc-surface); color: var(--pc-ink); display: grid; place-items: center; padding: 0; cursor: pointer; }
.bc-mini__spin { position: absolute; top: 10px; left: 10px; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(3, 122, 142, .25); border-top-color: var(--pc-teal); opacity: 0; }
.bc-updating .bc-mini__spin { opacity: 1; animation: bc-spin .7s linear infinite; }
@keyframes bc-spin { to { transform: rotate(360deg); } }
.bc-updating .bc-side__img, .bc-updating .bc-mini img { opacity: .6; transition: opacity .15s; }
.bc-mini-pill { position: fixed; z-index: 1300; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px;
  border: 0; border-radius: 999px; background: var(--pc-teal); color: #fff; font-weight: 600; cursor: pointer;
  box-shadow: 0 8px 20px -8px rgba(16, 24, 40, .45); }
.bc-big { position: fixed; inset: 0; z-index: 1400; display: grid; place-items: center; align-content: center; gap: 16px; padding: 16px;
  background: rgba(15, 28, 33, .82); }
.bc-big__cards { display: grid; gap: 12px; width: min(720px, 100%); }
.bc-big__cards img { display: block; width: 100%; aspect-ratio: 7 / 4; border-radius: 10px; background: #fff; }
@media (max-width: 520px) { .bc-mini { width: 132px; } }
@media (prefers-reduced-motion: reduce) { .bc-updating .bc-mini__spin { animation: none; } }
/* Logo controls */
.bc-logo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.bc-logo .pc-hint { margin: 0; flex-basis: 100%; }
.bc-size { display: grid; grid-template-columns: auto minmax(0, 1fr) auto 3.5em; gap: 10px; align-items: center; }
.bc-size input[type="range"] { width: 100%; accent-color: var(--pc-teal); }
.bc-size .mdi { color: var(--pc-muted); font-size: 18px; }
.bc-size__out { font-weight: 600; text-align: right; }

/* Checkout: what the time left on the current plan becomes (extra days). */
.bl-today .bl-today__carry { display: grid; grid-template-columns: auto 1fr; gap: 8px; justify-content: start; margin-top: 4px;
  padding-top: 8px; border-top: 1px dashed rgba(3, 122, 142, .3); color: var(--pc-ink); }
.bl-today .bl-today__carry .mdi { color: var(--pc-teal); font-size: 18px; }
.bl-today .bl-today__carry span { color: var(--pc-ink); }
/* Checkout: which ways to pay Paystack will show (card only for auto-renew). */
.bl-today .bl-today__how { display: grid; grid-template-columns: auto 1fr; gap: 8px; justify-content: start; margin-top: 4px;
  font-size: 13.5px; color: var(--pc-muted); }
.bl-today .bl-today__how .mdi { color: var(--pc-muted); font-size: 17px; }
.bl-today .bl-today__how span { color: var(--pc-muted); }

/* Text boxes in Brand Lab always show their edge (owner, 2026-11-15: the
   domain name search was almost invisible: the theme gives .form-control no
   border and a background the same grey as the page). */
#bl-dash .form-control, .pc-dialog .form-control {
  background: var(--pc-surface); border: 1px solid var(--pc-line); color: var(--pc-ink); }
#bl-dash .form-control:focus, .pc-dialog .form-control:focus {
  border-color: var(--pc-teal); box-shadow: 0 0 0 3px rgba(3, 122, 142, .15); outline: none; }
#bl-dash .form-control::placeholder, .pc-dialog .form-control::placeholder { color: var(--pc-muted); opacity: .8; }
.dm-search__row .form-control { min-height: 48px; font-size: 16px; }
.dm-result__price { margin-left: auto; margin-right: 8px; font-weight: 600; color: var(--pc-ink); white-space: nowrap; }
html[data-theme="dark"] #bl-dash .form-control, html[data-theme="dark"] .pc-dialog .form-control { border-color: #3d525a; }

/* Font Maker landing (font-maker.html): the hero picture, drawn in CSS like
   the Brand Lab landing's showcase. Flat colours, no gradients (owner rule). */
.fmx-showcase { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fmx-shot { height: 240px; display: grid; align-content: center; justify-items: center; gap: 12px; padding: 20px; }
.fmx-grid { display: grid; grid-template-columns: repeat(7, 14px); gap: 3px; }
.fmx-grid i { width: 14px; height: 14px; border-radius: 3px; background: #e6eef0; }
.fmx-grid i.on { background: #037a8e; }
.fmx-caption { font-size: 13px; color: var(--blx-muted); }
.fmx-big { font-size: 78px; line-height: 1; font-weight: 700; letter-spacing: -.03em; color: var(--blx-ink); font-family: "Courier New", monospace; }
.fmx-line { font-size: 16px; font-weight: 600; color: var(--blx-ink); font-family: "Courier New", monospace; }
.fmx-line--small { font-size: 11px; font-weight: 400; color: var(--blx-muted); letter-spacing: .06em; }
.fmx-file { position: relative; display: grid; place-items: center; width: 74px; height: 90px; color: #037a8e; }
.fmx-file .mdi { font-size: 90px; line-height: 1; }
.fmx-file b { position: absolute; bottom: 22px; font-size: 15px; color: #037a8e; }
.fmx-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: #037a8e;
  color: #fff; font-size: 13px; font-weight: 600; }
@media (max-width: 640px) {
  .fmx-showcase { grid-template-columns: minmax(0, 1fr); max-width: 320px; margin-left: auto; margin-right: auto; }
  .fmx-shot { height: auto; padding: 18px; }
  .fmx-shot--type, .fmx-shot--file { display: none; }
}

/* Accessibility check 2026-11-16: the yearly "save" note was 4:1 on white. */
.bl-interval__btn:not(.is-on) .bl-interval__save { color: #5b666b; opacity: 1; }

/* Brand Lab landing: businesses, designers and creators using Brand Lab
   (js/hudl-showcase.js). Cards in the page's own style (white card, soft
   shadow, 18px corners, flat teal, no gradients): the logo in a circle, the
   name, and a small tag with the kind's icon. Three show at a time in a row
   that scrolls sideways (and moves by itself when there are more than three).
   Works in light and dark. */
.blx-ucar { max-width: 1040px; margin: 0 auto; container-type: inline-size; }
.blx-ucar__view { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain; padding: 6px 2px 14px; border-radius: var(--blx-radius); }
.blx-ucar__view::-webkit-scrollbar { display: none; }
.blx-ucar__view:focus-visible { outline: 3px solid #037a8e; outline-offset: 2px; }
.blx-ucar.is-moving .blx-ucar__view { cursor: grab; }
.blx-ucar.is-dragging .blx-ucar__view { cursor: grabbing; user-select: none; }
.blx-ucar__track { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; width: max-content; min-width: 100%; }
.blx-ucar.is-still .blx-ucar__track { justify-content: center; }
/* Three across: each card is a third of the row, less the two gaps. */
.blx-ucar__item { flex: none; display: flex; min-width: 0;
  width: calc((100cqw - 4px - 28px) / 3); }
.blx-user { flex: 1; display: flex; align-items: center; gap: 14px; min-width: 0; min-height: 84px; padding: 14px 16px;
  background: var(--pc-surface); border: 1px solid var(--blx-line); border-radius: var(--blx-radius); box-shadow: var(--blx-shadow);
  color: var(--blx-ink); text-decoration: none; transition: transform .3s var(--blx-ease), box-shadow .3s var(--blx-ease), border-color .3s var(--blx-ease); }
a.blx-user:hover, a.blx-user:focus-visible { transform: translateY(-3px); box-shadow: var(--blx-shadow-2); border-color: #037a8e; text-decoration: none; }
a.blx-user:focus-visible { outline: 3px solid #037a8e; outline-offset: 3px; }
.blx-user__logo { flex: none; width: 52px; height: 52px; border-radius: 50%; overflow: hidden;
  background: var(--blx-soft); border: 1px solid var(--blx-line); }
.blx-user__logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blx-user__mono { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%;
  background: #037a8e; color: #fff; font-weight: 700; font-size: 21px; }
.blx-user__text { flex: 1; min-width: 0; display: grid; gap: 4px; justify-items: start; align-content: start; }
.blx-user__name { min-width: 0; max-width: 100%; font-weight: 600; font-size: 16px; line-height: 1.3; color: var(--blx-ink); overflow-wrap: anywhere; }
.blx-user__kind { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px 2px 7px; border-radius: 999px;
  font-size: 12px; font-weight: 600; line-height: 1.5; color: #04606f; background: #e3f2f4; }
.blx-user__kind .mdi { font-size: 14px; line-height: 1; }
html[data-theme="dark"] .blx-user__kind { color: #bfeaf1; background: #12353b; }
.blx-user__go { flex: none; font-size: 18px; color: #037a8e; opacity: .7; transition: opacity .3s var(--blx-ease), transform .3s var(--blx-ease); }
a.blx-user:hover .blx-user__go { opacity: 1; transform: translate(2px, -2px); }
html[data-theme="dark"] .blx-user__go { color: #4fc3d6; }
.blx-ucar__controls { display: flex; justify-content: center; gap: 10px; margin-top: 4px; }
.blx-ucar__controls[hidden] { display: none; }
.blx-ucar__btn { min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 999px; border: 1px solid var(--blx-line); background: var(--pc-surface); color: var(--blx-ink);
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.blx-ucar__btn .mdi { font-size: 22px; line-height: 1; color: #037a8e; }
html[data-theme="dark"] .blx-ucar__btn .mdi { color: #4fc3d6; }
.blx-ucar__btn:hover { border-color: #037a8e; }
.blx-ucar__btn:focus-visible { outline: 3px solid #037a8e; outline-offset: 2px; }
.blx-ucar__btn[hidden] { display: none; }
/* Phones: still three across, so each card stands up (circle on top). */
@media (max-width: 767.98px) {
  .blx-ucar__track { gap: 10px; }
  .blx-ucar__item { width: calc((100cqw - 4px - 20px) / 3); }
  .blx-user { flex-direction: column; justify-content: flex-start; text-align: center; gap: 8px; padding: 14px 8px 12px; min-height: 0; position: relative; }
  .blx-user__text { justify-items: center; }
  .blx-user__name { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: break-word; }
  .blx-user__kind { font-size: 11px; padding: 1px 7px 1px 5px; }
  .blx-user__logo, .blx-user__mono { width: 48px; height: 48px; }
  .blx-user__go { position: absolute; top: 6px; right: 6px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .blx-user, .blx-user__go { transition: none; }
  a.blx-user:hover, a.blx-user:focus-visible { transform: none; }
}
.blx-users .blx-head .blx-eyebrow { color: #037a8e; margin-bottom: 8px; }
html[data-theme="dark"] .blx-users .blx-head .blx-eyebrow { color: #4fc3d6; }

/* Website step (hudl-linkpage.js websiteStep): text boxes grow with their
   text; link page parts say whether they are on (have something in them)
   or empty; ready-made layouts for an empty page. Flat colours only. */
textarea.lp-grow { resize: vertical; overflow: hidden; min-height: 88px; line-height: 1.5; }
.lp-site-live { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; padding: 2px 8px 2px 6px; border-radius: 999px;
  font-size: 12px; font-weight: 600; line-height: 1.5; }
.lp-site-live .mdi { font-size: 14px; line-height: 1; }
.lp-site-live--on { color: #0b6b3a; background: #e3f4ea; }
.lp-site-live--off { color: #8a4b00; background: #fdf0dc; }
html[data-theme="dark"] .lp-site-live--on { color: #a6e8c0; background: #133524; }
html[data-theme="dark"] .lp-site-live--off { color: #f6cf95; background: #3a2a10; }
.lp-site-livekey { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.lp-site-livekey .lp-site-live { margin-top: 0; }
.lp-site-row.is-empty .lp-site-row__icon { color: #b26a00; }
.lp-site-row.is-empty small { color: #8a4b00; }
html[data-theme="dark"] .lp-site-row.is-empty small { color: #f6cf95; }
.lp-site-partinfo { display: grid; gap: 8px; justify-items: start; }
.lp-site-partinfo .pc-hint { margin: 0; }
.lp-site-starts { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 8px 0 4px; }
.lp-site-start { display: grid; justify-items: start; align-content: start; gap: 2px; min-height: 84px; padding: 10px 12px; text-align: left;
  border: 1px dashed var(--pc-teal); border-radius: var(--pc-radius); background: var(--pc-surface); color: var(--pc-ink); cursor: pointer; font: inherit; }
.lp-site-start:hover, .lp-site-start:focus-visible { background: var(--pc-teal-soft); }
.lp-site-start:focus-visible { outline: 3px solid var(--pc-teal); outline-offset: 2px; }
.lp-site-start b { font-size: 14px; }
.lp-site-start small { font-size: 12px; color: var(--pc-muted); line-height: 1.3; }
.lp-step.is-locked .lp-site-start { opacity: .55; }

/* Ready-made background pictures (hudl-linkpage.js bgPresetPicker): a row of
   portrait thumbnails that scrolls sideways; the chosen one has a teal ring. */
.lp-bgpre-wrap { margin: 6px 0 10px; }
.lp-bgpre__label { display: block; font-size: 13px; margin-bottom: 6px; }
.lp-bgpre__row { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: thin; }
.lp-bgpre { flex: none; width: 74px; display: grid; gap: 4px; justify-items: center; padding: 0; border: 0; background: none;
  color: var(--pc-ink); cursor: pointer; font: inherit; }
.lp-bgpre__img { width: 70px; height: 112px; border-radius: 10px; object-fit: cover; display: grid; place-items: center;
  border: 2px solid var(--pc-line); background: var(--pc-soft); font-size: 22px; color: var(--pc-muted); }
.lp-bgpre[aria-checked="true"] .lp-bgpre__img { border-color: var(--pc-teal); box-shadow: 0 0 0 2px var(--pc-teal); }
.lp-bgpre:focus-visible { outline: none; }
.lp-bgpre:focus-visible .lp-bgpre__img { outline: 3px solid var(--pc-teal); outline-offset: 2px; }
.lp-bgpre__name { font-size: 11px; line-height: 1.2; text-align: center; }
.lp-bgpre__note { margin: 0; }
/* "Show them" pictures for boxes: still rows, or a moving row (cut off at the edge). */
.lp-art--show-grid i { top: 9px; width: 26%; height: 28px; }
.lp-art--show-grid i:nth-child(1) { left: 8%; } .lp-art--show-grid i:nth-child(2) { left: 37%; } .lp-art--show-grid i:nth-child(3) { left: 66%; }
.lp-art--show-carousel i { top: 9px; width: 34%; height: 28px; background: #037a8e; opacity: .55; }
.lp-art--show-carousel i:nth-child(1) { left: -14%; } .lp-art--show-carousel i:nth-child(2) { left: 26%; opacity: .8; } .lp-art--show-carousel i:nth-child(3) { left: 66%; }

/* "Have an invite code?" in the sign-up form (hudl-brandlab.js setupInviteBox). */
.pc-invitecode { margin: 0 0 12px; }
.pc-invitecode[hidden] { display: none; }
.pc-invitecode > summary { cursor: pointer; color: var(--pc-teal, #037a8e); font-weight: 600; font-size: 14px; padding: 4px 0; }
.pc-invitecode > .pc-field { margin-top: 8px; }
.pc-invitecode input { text-transform: uppercase; letter-spacing: .06em; }
.pc-invitecode input::placeholder { letter-spacing: normal; }
