/* The hub's shell, "the studio in lavender" (Chris, 2026-10-12; docs/HUB-REDESIGN.md): the lavender band under the site's own
   header with the hub's pills and the page's head, then the page on white: the bento of tiles on the front page, lists and
   forms elsewhere, the order page's two columns. includes/hub-shell.php and includes/hub-now.php draw it; the source of the
   look is the chosen mockup (dev/design/hub/D-desktop.dc.html, D-phone.dc.html). Mobile first; every target 44 px; text
   colors checked against their grounds (violet #5B46C7 on the lavender 5.6:1, body #3A3A3E on it 9:1; the quiet grey only on
   white or the light grey). */

.hp-shell, .hp-more {
  --s-ink: #1D1D1F;
  --s-body: #3A3A3E;
  --s-quiet: #6E6E73;
  --s-line: #E8E8ED;
  --s-line-2: #E3E3E8;
  --s-tile: #F5F5F7;
  --s-band: #FFFFFF; /* the band was lavender (#EDE9FC) until Chris found it "overkill" (2026-10-12); now white like the page */
  --s-brand: #5B46C7;
  --s-brand-hover: #4A37A8;
  --s-bright: #725BE8;
  --s-soft: #D6CEF7;
  --s-gutter: var(--wp--style--root--padding-left, 1.5rem);
  --s-width: var(--wp--style--global--wide-size, 1200px);
}

/* The page under the site's header starts with the band: no space above it, and WooCommerce's account layout stands down. */
body.hp-hub-shell main.hp-main { padding-top: 0 !important; padding-bottom: 0 !important; margin-top: 0 !important; }
.hp-shell { box-sizing: border-box; width: auto; margin-top: 0 !important; margin-bottom: 0 !important; color: var(--s-body); }
.hp-shell *, .hp-more * { box-sizing: border-box; }
.hp-shell .wp-block-post-content, .hp-shell .wp-block-post-content > .woocommerce { max-width: none !important; margin: 0 !important; padding: 0; }
.woocommerce-account.logged-in .hp-shell .woocommerce { display: block !important; }
.woocommerce-account .hp-shell .woocommerce-MyAccount-content { background: none; border-radius: 0; padding: 0; overflow: visible; }
.hp-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---- The band -------------------------------------------------------------------------------------------------------- */

.hp-band { background: var(--s-band); color: var(--s-ink); }
.hp-band__in { max-width: calc(var(--s-width) + 2 * var(--s-gutter)); margin: 0 auto; padding: 14px var(--s-gutter) 28px; }
.hp-band--now .hp-band__in { padding-bottom: 32px; }
@media (min-width: 768px) {
  .hp-band__in { padding-top: 18px; padding-bottom: 40px; }
  .hp-band--now .hp-band__in, .hp-band--order .hp-band__in { padding-bottom: 64px; }
}

/* The row at the top: the pills and the initials. */
.hp-band__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hp-pills { min-width: 0; flex: 1 1 auto; }
.hp-pills__list { display: flex; gap: 2px; width: max-content; max-width: 100%; margin: 0; padding: 3px; list-style: none; border-radius: 999px; background: var(--s-tile); border: 0; }
.hp-pills__item { margin: 0; }
.hp-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: 15px; line-height: 1.2; color: var(--s-body); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 160ms ease, color 160ms ease; }
.hp-pill:hover { background: #fff; color: var(--s-ink); }
.hp-pill.is-on, .hp-pill.is-on:hover { background: var(--s-ink); color: #fff; font-weight: 600; }
.hp-pill:focus-visible, .hp-me__button:focus-visible, .hp-more__close:focus-visible { outline: 2px solid var(--s-brand); outline-offset: 2px; }
.hp-pills__item--more { display: none; }

.hp-me { position: relative; display: flex; align-items: center; gap: 10px; flex: none; font-size: 14px; color: var(--s-body); }
.hp-me__button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--s-ink); color: #fff; font: inherit; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; cursor: pointer; }
.hp-me__button:hover, .hp-me__button[aria-expanded="true"] { background: var(--s-brand); }
.hp-me__menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 15rem; margin: 0; padding: 6px; list-style: none; background: #fff; border-radius: 16px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 16px 40px rgba(40, 25, 110, 0.16); }
.hp-me__menu[hidden] { display: none; }
.hp-me__menu li { margin: 0; }
.hp-me__menu a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; color: var(--s-ink); font-size: 15px; text-decoration: none; }
.hp-me__menu a:hover { background: var(--s-tile); }
/* Focus keeps a 2px brand ring (review M5): the hover tint alone is barely different from white. */
.hp-me__menu a:focus-visible { background: var(--s-tile); outline: 2px solid var(--s-brand); outline-offset: -2px; }
.hp-me__menu a[aria-current="page"] { font-weight: 600; }
.hp-me__who { padding: 10px 14px 8px; font-size: 13px; color: var(--s-quiet); overflow-wrap: anywhere; border-bottom: 1px solid var(--s-line); margin-bottom: 4px !important; }

/* A phone: Now, Orders, Quotes and More across the band; the rest, Settings and Sign out in the panel More opens. */
@media (max-width: 767px) {
  .hp-pills__item--wide, .hp-me { display: none; }
  .hp-pills__item--more { display: list-item; }
  .hp-pills__list { width: 100%; }
  .hp-pills__item { flex: 1 1 0; }
  .hp-pill { width: 100%; padding: 0 10px; }
}

/* The panel from the side (assets/hub2.js: a real dialog, focus kept inside, Escape and Close). */
.hp-more { position: fixed; inset: 0; z-index: 1000; }
.hp-more[hidden] { display: none; }
.hp-more__scrim { position: absolute; inset: 0; background: rgba(29, 29, 31, 0.32); opacity: 0; transition: opacity 220ms ease; }
.hp-more__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(20rem, 86vw); display: flex; flex-direction: column; padding: 14px 16px 24px; background: #fff; color: var(--s-ink); box-shadow: -16px 0 40px rgba(40, 25, 110, 0.14); transform: translateX(100%); transition: transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1); overflow-y: auto; }
.hp-more.is-open .hp-more__scrim { opacity: 1; }
.hp-more.is-open .hp-more__panel { transform: none; }
.hp-more__head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 8px; }
.hp-more__title { margin: 0 0 0 4px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--s-quiet); }
.hp-more__close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--s-tile); color: var(--s-ink); cursor: pointer; }
.hp-more__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.hp-more__list { margin: 0; padding: 0; list-style: none; }
.hp-more__list li { margin: 0; }
.hp-more__link { display: flex; align-items: center; min-height: 52px; padding: 0 12px; border-radius: 12px; font-size: 19px; font-weight: 600; color: var(--s-ink); text-decoration: none; }
.hp-more__link:hover { background: var(--s-tile); }
.hp-more__link:focus-visible { background: var(--s-tile); outline: 2px solid var(--s-brand); outline-offset: 2px; }
.hp-more__link[aria-current="page"]:focus-visible { background: var(--s-ink); color: #fff; }
.hp-more__link[aria-current="page"] { background: var(--s-ink); color: #fff; }
.hp-more__who { margin: auto 0 0; padding: 16px 12px 0; font-size: 13px; color: var(--s-quiet); overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) { .hp-more__panel, .hp-more__scrim { transition: none; } }

/* ---- The head: big on the front page and the order page, small anywhere else ------------------------------------------- */

.hp-band .hp-now { display: flex; flex-direction: column; gap: 0; padding-top: 26px; }
.hp-band .hp-now__text { display: contents; }
.hp-band .hp-now__hi { order: 1; margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--s-brand); }
.hp-band .hp-now__big { order: 2; margin: 0; font-size: 34px; font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; color: var(--s-ink); }
.hp-band .hp-now__lead { order: 3; margin: 12px 0 0; font-size: 16px; line-height: 1.45; color: var(--s-body); max-width: 30rem; }
.hp-band .hp-now__shot { order: 4; height: 210px; margin: 14px 0 6px; }
.hp-band .hp-now__actions { order: 5; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.hp-band .hp-now__actions .hp-btn { flex: 1 1 100%; min-height: 50px; }
.hp-band__back { order: 0; margin: 0 0 4px; }
.hp-band__back a { display: inline-flex; align-items: center; min-height: 44px; color: var(--s-brand); font-weight: 500; text-decoration: none; }
.hp-band__back a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
@media (min-width: 768px) {
  .hp-band .hp-now { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; padding-top: 48px; }
  .hp-band .hp-now__text { display: block; flex: 1 1 22rem; min-width: 0; }
  .hp-band .hp-now__hi { margin-bottom: 12px; font-size: 15px; }
  .hp-band .hp-now__big { font-size: 44px; line-height: 1.05; letter-spacing: -0.015em; }
  .hp-band .hp-now__lead { margin-top: 14px; font-size: 18px; max-width: 28rem; }
  .hp-band .hp-now__actions { gap: 12px; margin-top: 28px; }
  .hp-band .hp-now__actions .hp-btn { flex: none; min-height: 46px; }
  .hp-band .hp-now__shot { flex: 0 1 18rem; height: 230px; margin: 0; }
}
@media (min-width: 1000px) {
  .hp-band .hp-now { padding-top: 56px; }
  .hp-band .hp-now__big { font-size: 52px; }
  .hp-band .hp-now__shot { flex-basis: 27.5rem; height: 300px; }
  .hp-band .hp-now--order .hp-now__big { font-size: 48px; }
}

/* A small head: the page's heading, a line under it, and a segmented control when the page has one. */
.hp-band__head { padding-top: 24px; }
.hp-band .hp-band__title { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; color: var(--s-ink); }
.hp-band__lede { margin: 8px 0 0; max-width: 40rem; font-size: 16px; line-height: 1.5; color: var(--s-body); }
@media (min-width: 768px) {
  .hp-band__head { padding-top: 36px; }
  .hp-band .hp-band__title { font-size: 32px; }
  .hp-band__lede { font-size: 17px; }
}

/* Buttons: one dark pill for the thing to do, a white one for the second. */
.hp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 24px; border: 1px solid var(--s-ink); border-radius: 999px; background: var(--s-ink); color: #fff; font-size: 16px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; transition: background-color 160ms ease, border-color 160ms ease; }
.hp-btn:hover, .hp-btn:focus-visible { background: var(--s-brand); border-color: var(--s-brand); color: #fff; }
.hp-btn--light { background: #fff; color: var(--s-ink); border-color: #D2D2D7; }
.hp-btn--light:hover, .hp-btn--light:focus-visible { background: #fff; color: var(--s-ink); border-color: var(--s-ink); }
.hp-btn:focus-visible { outline: 2px solid var(--s-brand); outline-offset: 3px; }

/* ---- The piece pictured ----------------------------------------------------------------------------------------------- */

.hp-shot { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; margin: 0; }
.hp-shot .hp-draw { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.14)); }
.hp-shot__back { position: absolute; left: 22%; right: 14%; top: 10%; bottom: 14%; border-radius: 6px; background: var(--s-line-2); transform: rotate(5deg); }
.hp-shot__img, .hp-shot canvas { position: relative; display: block; max-width: 80%; max-height: 88%; width: auto; height: auto; padding: 8px; border-radius: 6px; background: #fff; object-fit: contain; transform: rotate(-4deg); box-shadow: 0 2px 4px rgba(40, 25, 110, 0.06), 0 30px 60px rgba(40, 25, 110, 0.22); }
.hp-shot--pdf.is-drawn .hp-draw { display: none; }

/* A list's small picture: the file, or the drawing on a tint of its kind. */
.hp-thumb { display: flex; align-items: center; justify-content: center; flex: none; width: 52px; height: 52px; border-radius: 12px; overflow: hidden; background: #E9E5F8; }
.hp-thumb .hp-draw { width: 100%; height: 100%; }
.hp-thumb--file { background: #fff; border: 1px solid var(--s-line); }
.hp-thumb--file img { width: 100%; height: 100%; object-fit: cover; }
.hp-thumb--card { background: #E8DCCB; }
.hp-thumb--greeting { background: #C9D7E6; }
.hp-thumb--booklet { background: #DCD6F4; }
.hp-thumb--poster { background: #DDE5D7; }
.hp-thumb--print { background: #E6E0D2; }
.hp-thumb--flyer { background: #D9E4EC; }

/* ---- The page under the band ----------------------------------------------------------------------------------------- */

.hp-shell__body { max-width: calc(var(--s-width) + 2 * var(--s-gutter)); margin: 0 auto; padding: 20px var(--s-gutter) 56px; }
@media (min-width: 768px) { .hp-shell__body { padding-top: 36px; padding-bottom: 64px; } }
.hp-shell__body > .wp-block-post-content > .woocommerce > .woocommerce-notices-wrapper:empty { display: none; }

/* Quiet lines above the tiles (an email to confirm, a company joined). */
.hp-nowpage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.hp-nowpage > * { margin: 0; min-width: 0; }
.hp-notice, .hp-shell .hp-company__note { margin: 0; padding: 14px 18px; border-radius: 16px; background: var(--s-tile); color: var(--s-body); line-height: 1.5; }
.hp-notice p { margin: 0; }

/* The bento (hub-now.php, hp_ops_hub_pack()): each tile as tall as what it holds. On a phone one column; at the middle size the
   map's two small tiles pair up; from 900 px the map sits beside them (two rows high) and the rest fall into two columns, the
   wider main one and a side one, whose bottoms come out close; Order again runs across the foot. */
.hp-bento, .hp-bento__cols, .hp-bento__col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; align-content: start; }
.hp-bento__top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.hp-tile { min-width: 0; margin: 0; padding: 20px; border-radius: 24px; background: var(--s-tile); color: var(--s-body); }
@media (min-width: 640px) {
  .hp-bento, .hp-bento__cols, .hp-bento__col, .hp-bento__top { gap: 16px; }
  .hp-tile { padding: 24px; }
  .hp-bento__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-bento__top > .hp-tile--track { grid-column: 1 / -1; grid-row: 2; } /* under the two small tiles, as the page orders them (review M104) */
}
@media (min-width: 900px) {
  .hp-bento, .hp-bento__cols, .hp-bento__col, .hp-bento__top { gap: 20px; }
  .hp-tile { padding: 28px; border-radius: 28px; }
  .hp-bento__top { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); grid-template-rows: auto auto; }
  .hp-bento__top > .hp-tile--track { grid-column: 2; grid-row: 1 / span 2; }
  .hp-bento__top > .hp-tile:not(.hp-tile--track) { grid-column: 1; }
  .hp-bento__cols--two { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
.hp-tile > :first-child { margin-top: 0; }
.hp-tile__eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; line-height: 1.3; text-transform: uppercase; color: var(--s-quiet); }
.hp-tile__eyebrow--brand { color: var(--s-brand); }
.hp-shell .hp-tile__title { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.25; color: var(--s-ink); }
.hp-tile__p { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--s-body); }
.hp-tile__amount { margin: 0; font-size: 30px; font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; color: var(--s-ink); font-variant-numeric: tabular-nums; }
.hp-tile__go { margin: 18px 0 0; }
.hp-tile__go .hp-btn { min-height: 46px; }
.hp-tile__more { margin: 6px 0 0; }
.hp-tile__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.hp-tile__link { display: inline-flex; align-items: center; min-height: 44px; color: var(--s-brand); font-weight: 500; text-decoration: none; white-space: nowrap; }
.hp-tile__link:hover { color: var(--s-brand-hover); text-decoration: underline; text-underline-offset: 0.2em; }
@media (max-width: 639px) { .hp-tile__go .hp-btn { width: 100%; min-height: 48px; } }
@media (min-width: 640px) {
  .hp-shell .hp-tile__title { font-size: 21px; }
  .hp-tile__amount { font-size: 42px; }
  .hp-tile__go { margin-top: 22px; }
}

/* A tile's short list (more balances, quotes, events): each row a link. */
.hp-tile__list { margin: 12px 0 0; padding: 0; list-style: none; }
.hp-tile__list li { margin: 0; border-top: 1px solid var(--s-line-2); }
.hp-tile__list a, .hp-tile__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 8px 0; color: var(--s-ink); text-decoration: none; font-weight: 500; }
.hp-tile__list a > span:last-child { color: var(--s-brand); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hp-tile__list a:hover > span:first-child { text-decoration: underline; text-underline-offset: 0.2em; }
.hp-tile__list strong { display: block; font-weight: 600; }
.hp-tile__list small { display: block; font-size: 14px; font-weight: 400; color: var(--s-quiet); }
.hp-tile__list--quiet { margin-top: 18px; }

/* The tiles with a ground of their own: In progress on white with a line, the brand locker in lavender. */
.hp-tile--progress { background: #fff; border: 1px solid var(--s-line); }
.hp-tile--locker { background: #EDE9FC; }

/* The orders, as In progress and the Orders page list them: the picture, what it is, where it stands, its steps. */
.hp-orders { margin: 6px 0 0; padding: 0; list-style: none; }
.hp-orders li { margin: 0; }
.hp-orders li + li .hp-order { border-top: 1px solid var(--s-line-2); }
.hp-order { display: flex; align-items: center; gap: 14px; min-height: 44px; padding: 14px 0; color: var(--s-body); text-decoration: none; }
.hp-order__body { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.hp-order__what { font-weight: 600; color: var(--s-ink); overflow-wrap: anywhere; }
.hp-order:hover .hp-order__what { text-decoration: underline; text-underline-offset: 0.2em; }
.hp-order__status { font-size: 14px; color: var(--s-quiet); overflow-wrap: anywhere; }
.hp-order__side { display: flex; flex-direction: column; align-items: flex-end; flex: none; gap: 2px; font-size: 14px; text-align: right; }
.hp-order__num { color: var(--s-quiet); white-space: nowrap; }
.hp-order__due { font-weight: 600; color: var(--s-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hp-tile--progress .hp-order__num { display: none; }
@media (max-width: 479px) { .hp-order__num { display: none; } }

/* The steps: a segment each, done in ink, the one under way in violet, the rest grey. */
.hp-stepbar { display: flex; gap: 4px; margin-top: 8px; }
.hp-stepbar__step { display: block; flex: 1 1 0; max-width: 40px; height: 4px; border-radius: 2px; background: #D2D2D7; }
.hp-stepbar__step--done { background: var(--s-ink); }
.hp-stepbar__step--current, .hp-stepbar__step--open { background: var(--s-bright); }
.hp-stepbar__step--stopped { background: var(--s-quiet); }

/* Pickup times: chips, the first one ready to tap. */
.hp-slots { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.hp-slots li { margin: 0; }
.hp-slot { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--s-line); border-radius: 999px; background: #fff; color: var(--s-ink); font-size: 14px; text-decoration: none; font-variant-numeric: tabular-nums; }
.hp-slot:hover, .hp-slot:focus-visible { background: var(--s-ink); border-color: var(--s-ink); color: #fff; }
.hp-slot--more { border-color: transparent; background: none; color: var(--s-brand); font-weight: 500; }
.hp-slot--more:hover, .hp-slot--more:focus-visible { background: none; border-color: transparent; color: var(--s-brand-hover); text-decoration: underline; }

/* The brand locker's peek: the logo on white, the colors as dots. */
.hp-peek { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.hp-peek:empty { display: none; }
.hp-peek__logo { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 16px; background: #fff; overflow: hidden; }
.hp-peek__logo img { max-width: 44px; max-height: 44px; object-fit: contain; }
.hp-peek__swatch { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(29, 29, 31, 0.08); }

/* On its way: the tracking section (tracking.php) inside the tile, its scans left for the order page. */
.hp-tile--track { position: relative; }
.hp-tile--track .hp-tile__head { align-items: center; margin-bottom: -6px; }
.hp-tile--track .hp-tile__head .hp-tile__eyebrow { margin: 0; }
.hp-tile--track .hp-track { gap: 12px; padding: 0; background: none; }
.hp-tile--track .hp-track > h2 { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.25; color: var(--s-ink); }
.hp-tile--track .hp-track__status { font-size: 15px; color: var(--s-body); }
.hp-tile--track .hp-track__map { height: 180px; margin-top: 4px; border-radius: 18px; border: 0; background: #E9E9EE; }
.hp-tile--track .hp-track__head, .hp-tile--track .hp-track__scans, .hp-tile--track .hp-track__more, .hp-tile--track .hp-track__foot { display: none; }
.hp-tile--track .hp-track__places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 4px; font-size: 14px; }
.hp-tile--track .hp-track__place { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.hp-tile--track .hp-track__dot { display: none; }
.hp-tile--track .hp-track__place-note { color: var(--s-quiet); }
.hp-tile--track .hp-track__place-name { font-weight: 600; }
@media (min-width: 640px) { .hp-tile--track .hp-track > h2 { font-size: 21px; } }
@media (min-width: 1000px) { .hp-tile--track .hp-track__map { height: 220px; } }

/* A company's invitation: Join, or No thanks. */
.hp-tile--invite .hp-company__invite + .hp-company__invite { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--s-line-2); }
.hp-tile--invite .hp-company__line { margin: 8px 0 0; line-height: 1.5; }
.hp-tile--invite .hp-company__answer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 16px; }
.hp-tile--invite .hp-company__answer form { margin: 0; }

/* Order again: the pieces as pictures, each back in the cart in one tap. */
.hp-tile--again { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 24px; }
.hp-again__text { flex: 1 1 18rem; min-width: 0; }
.hp-again { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; padding: 0; list-style: none; }
.hp-again li { margin: 0; }
.hp-again__item { display: block; width: 136px; color: var(--s-ink); text-decoration: none; }
.hp-again__pic { display: flex; align-items: center; justify-content: center; height: 96px; border-radius: 16px; overflow: hidden; background: #E9E5F8; }
.hp-again__pic .hp-draw { width: 72px; height: 72px; }
.hp-again__pic--file { background: #fff; border: 1px solid var(--s-line); }
.hp-again__pic--file img { width: 100%; height: 100%; object-fit: cover; }
.hp-again__pic--card { background: #E8DCCB; }
.hp-again__pic--greeting { background: #C9D7E6; }
.hp-again__pic--poster { background: #DDE5D7; }
.hp-again__pic--print { background: #E6E0D2; }
.hp-again__pic--flyer { background: #D9E4EC; }
.hp-again__name { display: block; margin-top: 8px; font-size: 14px; font-weight: 600; line-height: 1.3; }
.hp-again__item:hover .hp-again__name { text-decoration: underline; text-underline-offset: 0.2em; }
@media (max-width: 479px) {
  .hp-again { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .hp-again__item { width: auto; }
}
@media (min-width: 1000px) { .hp-again__item { width: 150px; } .hp-again__pic { height: 104px; } }

/* ---- The other account pages: a segmented control, lists of rows, the forms ------------------------------------------ */

.hp-page { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.hp-page > * { margin: 0; min-width: 0; }
.hp-page__more { margin: 0; }
.hp-empty { margin: 0; color: var(--s-quiet); line-height: 1.5; }
.hp-tile--list .hp-empty { padding: 14px 0; }
.hp-empty__go { margin: 4px 0 14px; }

/* The segmented control (STYLE.md: a visible track, the chosen option a white pill, centered over what it controls). */
.hp-seg { display: flex; justify-self: center; margin-inline: auto !important; gap: 2px; width: max-content; max-width: 100%; padding: 3px; border-radius: 999px; background: #E8E8ED; }
.hp-seg__opt { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 999px; color: var(--s-body); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.hp-seg__opt:hover { color: var(--s-ink); }
.hp-seg__opt.is-on { background: #fff; color: var(--s-ink); font-weight: 600; box-shadow: 0 1px 3px rgba(29, 29, 31, 0.12); }
.hp-seg__n { font-size: 13px; color: var(--s-body); font-variant-numeric: tabular-nums; } /* the body color on the tinted track (review M103: the quiet grey came to about 4 to 1) */
.hp-seg--band { margin: 18px 0 0 !important; background: rgba(29, 29, 31, 0.07); }
.hp-seg--band .hp-seg__opt { color: var(--s-ink); }

/* Rows: a list's lines (quotes, projects, files), the main words left, the amount and where it stands right. */
.hp-tile--list { padding-top: 6px; padding-bottom: 6px; }
.hp-tile--list > .hp-tile__title { padding: 14px 0 6px; }
.hp-rows { margin: 0; padding: 0; list-style: none; }
.hp-rows > li { margin: 0; }
.hp-rows > li + li { border-top: 1px solid var(--s-line-2); }
.hp-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 14px 0; color: var(--s-body); text-decoration: none; }
.hp-row__main { display: flex; flex-direction: column; min-width: 0; }
.hp-row__what, .hp-files__name { font-weight: 600; color: var(--s-ink); overflow-wrap: anywhere; }
a.hp-files__name { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; }
a.hp-row:hover .hp-row__what, a.hp-files__name:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.hp-row__meta { font-size: 14px; color: var(--s-quiet); overflow-wrap: anywhere; }
.hp-row__side { display: flex; flex-direction: column; align-items: flex-end; flex: none; gap: 2px; max-width: 45%; text-align: right; }
.hp-row__amount { color: var(--s-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hp-row__status { font-size: 14px; color: var(--s-quiet); }
.hp-row__status--ask { color: var(--s-brand); font-weight: 600; }
.hp-tile--list .hp-orders { margin: 0; }
.hp-files__order { display: inline-flex; align-items: center; min-height: 32px; color: var(--s-brand); font-weight: 500; text-decoration: none; white-space: nowrap; }
.hp-files__remove { min-height: 44px; padding: 0; border: 0; background: none; color: var(--s-brand); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.hp-files__remove:hover { text-decoration: underline; }
.hp-files__lede { margin: 0; font-size: 14px; line-height: 1.55; color: var(--s-quiet); max-width: 52rem; }
@media (max-width: 479px) { .hp-row--file { flex-wrap: wrap; } .hp-row--file .hp-row__side { align-items: flex-start; max-width: none; text-align: left; } }

/* The pages other files draw (the locker, the company, a quote): their tiles grey on the white page. */
.hp-shell__body .hp-hub { gap: 16px; }
.hp-shell__body .hp-hub__tile { background: var(--s-tile); border-radius: 24px; }
.hp-shell__body .hp-hub__tile > h3 { font-size: 19px; }
@media (min-width: 640px) { .hp-shell__body .hp-hub__tile { padding: 24px 28px; } }
.hp-shell--quotes .hp-quote { max-width: 56rem; }

/* Settings: WooCommerce's account details and address forms, in a grey tile, the fields white. */
.hp-shell--edit-account .woocommerce-MyAccount-content > form, .hp-shell--edit-address .woocommerce-MyAccount-content > form,
.hp-shell--edit-address .woocommerce-Addresses .woocommerce-Address { margin: 0; padding: 20px; border-radius: 24px; background: var(--s-tile); }
.hp-shell--edit-address .woocommerce-MyAccount-content > p:first-of-type { margin: 0 0 16px; color: var(--s-quiet); }
.hp-shell--edit-account form fieldset { margin: 24px 0 0; padding: 20px 0 0; border: 0; border-top: 1px solid var(--s-line-2); }
.hp-shell--edit-account form legend { padding: 0; font-size: 19px; font-weight: 700; color: var(--s-ink); }
.hp-shell form .form-row { margin: 0 0 16px; padding: 0; }
.hp-shell form .form-row label { display: block; margin-bottom: 6px; font-weight: 500; color: var(--s-ink); }
.hp-shell form .form-row input.input-text, .hp-shell form .form-row select, .hp-shell form .form-row textarea { box-sizing: border-box; width: 100%; max-width: 32rem; min-height: 48px; background: #fff; }
.hp-shell form .form-row .select2-container { max-width: 32rem; }
.hp-shell form em, .hp-shell form .description { display: block; margin-top: 6px; font-size: 14px; font-style: normal; color: var(--s-quiet); }
.hp-shell form .woocommerce-Button, .hp-shell form button[type="submit"] { min-height: 48px; }
.hp-shell--edit-address .woocommerce-Addresses { display: grid; gap: 16px; }
.hp-shell--edit-address .woocommerce-Address-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.hp-shell--edit-address .woocommerce-Address-title h2 { margin: 0; font-size: 19px; font-weight: 700; color: var(--s-ink); }
.hp-shell--edit-address .woocommerce-Address-title a { display: inline-flex; align-items: center; min-height: 44px; color: var(--s-brand); font-weight: 500; text-decoration: none; }
.hp-shell--edit-address .woocommerce-Address address { margin: 8px 0 0; font-style: normal; line-height: 1.6; color: var(--s-body); }
.hp-shell--edit-address form h2, .hp-shell--edit-address form h3 { margin: 0 0 16px; font-size: 19px; color: var(--s-ink); }
@media (min-width: 640px) {
  .hp-shell--edit-account .woocommerce-MyAccount-content > form, .hp-shell--edit-address .woocommerce-MyAccount-content > form, .hp-shell--edit-address .woocommerce-Addresses .woocommerce-Address { padding: 28px; }
  .hp-shell--edit-address .woocommerce-Addresses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-shell--edit-address .woocommerce-Addresses::before, .hp-shell--edit-address .woocommerce-Addresses::after { display: none; }
  .hp-shell--edit-address .woocommerce-Addresses .woocommerce-Address { float: none; width: auto; }
}

/* ---- Signed out: the boxes in the band, stacked, full width (Chris's answer 6); the site's tile on the white band ------------- */

.hp-band--out .hp-band__in { padding-bottom: 56px; }
.hp-band__body { margin-top: 24px; }
.hp-band--out .hp-band__head { padding-top: 32px; }
.hp-band--out .woocommerce { max-width: none; }
.hp-band--out #customer_login .u-column1, .hp-band--out #customer_login .u-column2, .hp-band--out .hp-signin, .hp-band--out .hp-hub--guest .hp-hub__tile,
.hp-band--out .woocommerce-ResetPassword, .hp-band--out form.lost_reset_password { background: var(--s-tile) !important; border-radius: 24px; box-shadow: none; }
.hp-band--out form.lost_reset_password { margin: 0; padding: 24px; }
.hp-band--out .hp-hub--guest .hp-hub__head { display: none; }
.hp-band--out .woocommerce-message, .hp-band--out .woocommerce-info, .hp-band--out .woocommerce-error { background: var(--s-tile); }
@media (min-width: 768px) { .hp-band--out .hp-band__head { padding-top: 40px; } }

/* ---- The order page: its band, then the two columns; any other answer at its address in a plain band --------------------- */

.hp-shell--order .hp-shell__body > .hp-jobpage { max-width: none; margin: 0; }
@container (min-width: 840px) {
  .hp-shell--order .hp-jobpage__layout > .hp-jobpage__side { grid-row: 1 / -1; }
}
.hp-band--gate .hp-band__in { padding-bottom: 56px; }
.hp-band--gate .hp-band__body { margin-top: 0; }
.hp-band--gate .hp-jobpage h1 { color: var(--s-ink); }
.hp-band--gate .hp-jobpage__sub { color: var(--s-body); }
.hp-band--gate .hp-jobpage, .hp-band--gate .hp-jobpage--gate { padding-top: 32px; padding-bottom: 8px; }
.hp-shell--edit-address .woocommerce-Address-title::before, .hp-shell--edit-address .woocommerce-Address-title::after { display: none; }
.hp-filelist { margin: 0; }
.hp-band--gate .hp-jobpage h1 { font-size: 28px; line-height: 1.15; }
@media (min-width: 768px) { .hp-band--gate .hp-jobpage h1 { font-size: 36px; } }

/* The order page's proof cards (proofs.php, with more than one line proofed): one line each, opened one at a time. */
.hp-proofcard { margin: 12px 0 0; border-radius: 18px; background: #fff; }
.hp-proofcard__head { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.hp-proofcard__what { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.hp-proofcard__name { font-weight: 600; color: var(--s-ink, #1D1D1F); overflow-wrap: anywhere; }
.hp-proofcard__status { font-size: 14px; color: var(--s-quiet, #6E6E73); }
.hp-proofcard__status--waiting { color: var(--s-brand, #5B46C7); font-weight: 600; }
.hp-proofcard__toggle { flex: none; min-height: 44px; padding: 0 18px; border: 1px solid #1D1D1F; border-radius: 999px; background: #1D1D1F; color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.hp-proofcard__toggle:hover, .hp-proofcard__toggle:focus-visible { background: #5B46C7; border-color: #5B46C7; }
.hp-proofcard.is-open .hp-proofcard__toggle { background: #fff; color: #1D1D1F; border-color: #D2D2D7; }
.hp-proofcard__body { padding: 0 16px 16px; }
.hp-proofcard__body[hidden] { display: none; }
.hp-jobpage--order .hp-proofcard .hp-proof { background: none; padding: 0; }
@media (max-width: 479px) {
  .hp-proofcard__head { flex-wrap: wrap; }
  .hp-proofcard__toggle { width: 100%; }
}

/* A tile across the foot of the bento, laid out wide: the words on the left, the picture on the right. */
@media (min-width: 640px) {
  .hp-bento > .hp-tile--locker, .hp-bento > .hp-tile--invite, .hp-bento > .hp-tile--events, .hp-bento > .hp-tile--quotes { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; align-items: start; }
  .hp-bento > .hp-tile--locker > *, .hp-bento > .hp-tile--quotes > * { grid-column: 1; }
  .hp-bento > .hp-tile--locker .hp-peek { grid-column: 2; grid-row: 1 / span 4; align-self: center; margin: 0; }
  .hp-bento > .hp-tile--invite > *, .hp-bento > .hp-tile--events > * { grid-column: 1 / -1; }
}
.hp-proofcard, .hp-proofs__anchor { scroll-margin-top: calc(var(--hp-header-height, 4rem) + 16px); }
.hp-proofs__anchor { display: block; }
.hp-shell--edit-address .woocommerce-Address-title h2 { flex: 1 1 auto; text-align: left; }
.hp-shell--edit-address .woocommerce-Address-title a { flex: none; }
@media (min-width: 900px) { .hp-bento__cols:not(.hp-bento__cols--two) > .hp-bento__col--side { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hp-shell--edit-address .woocommerce-Address-title { padding: 0 !important; margin: 0 !important; }

/* Settings' three choices on a phone (Account, Addresses, Payment methods: review S4) fit the width. */
@media (max-width: 479px) {
  .hp-seg--band { max-width: 100%; }
  .hp-seg--band .hp-seg__opt { padding: 0 11px; font-size: 14px; }
}
/* Payment methods: WooCommerce's list of saved cards and its button, in a grey tile like the other settings. */
.hp-shell--payment-methods .woocommerce-MyAccount-content, .hp-shell--add-payment-method .woocommerce-MyAccount-content { padding: 20px; border-radius: 24px; background: var(--s-tile); }
.hp-shell--payment-methods .woocommerce-MyAccount-content > * + .button, .hp-shell--payment-methods .woocommerce-MyAccount-content > * + a.button { margin-top: 16px; }
.hp-shell--payment-methods .woocommerce-info { margin: 0; background: #fff; }
@media (min-width: 640px) { .hp-shell--payment-methods .woocommerce-MyAccount-content, .hp-shell--add-payment-method .woocommerce-MyAccount-content { padding: 28px; } }
