/* Card Studio. A dark stage for the whole walk, door to Add to cart, like a camera app (Chris, 2026-11-01: "we need to make step 4 blend in with the studio's look and feel too").
   Only the landing is the public white. Inside .hps the quiet colors below are the stage's; --ink stays dark, for type on white (a filled button, a field, the envelope).
   Everything lives under .hps (the whole-screen studio) or .hp-studio (the landing, in the page). */
html.hps-open, html.hps-open body { overflow: hidden; }
.hps, .hp-studio { --ink: #1D1D1F; --body: #3A3A3E; --quiet: #6E6E73; --line: #E3E3E8; --line2: #D2D2D7; --grey: #F5F5F7; --violet: #725BE8; --deep: #5B46C7; --studio: #111113; --studio2: #1C1C1E; --good: #1E7F4F; --danger: #C4314B; }

.hps { --body: #B8B8BE; --quiet: #B8B8BE; --line: rgba(255, 255, 255, .14); --line2: rgba(255, 255, 255, .26); --grey: #1C1C1E; --deep: #BDB2FF; --good: #6FD39B; --danger: #FF8A9B; color-scheme: dark; }

/* The landing */
.hp-card-studio.hp-section { padding-left: 0; padding-right: 0; } /* the row of cards runs to the screen's edge; the hero and the tiles keep their own gutters */
.hp-studio__hero { text-align: center; padding: clamp(24px, 5vw, 56px) 16px 18px; }
.hp-studio__hero h1 { font-size: clamp(38px, 7vw, 72px); line-height: 1.06; font-weight: 700; margin: 0; text-wrap: balance; }
.hp-studio__hero > p { font-size: clamp(17px, 2.2vw, 22px); color: var(--body); max-width: 620px; margin: 14px auto 0; }
.hp-studio__by { font-weight: 500; color: var(--deep); }
.hp-studio__go { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 22px; }
.hp-studio__pill { min-height: 50px; min-width: 150px; padding: 14px 26px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: inherit; font-weight: 500; cursor: pointer; transition: background .2s; }
@media (hover: hover) { .hp-studio__pill:hover { background: var(--deep); } }
.hp-studio__link { background: none; border: 0; font: inherit; color: var(--deep); font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; cursor: pointer; text-decoration: none; }
.hp-studio__opening { width: 180px; height: 3px; border-radius: 9px; background: var(--line); overflow: hidden; margin: 8px 0 4px; }
.hp-studio__opening[hidden] { display: none; }
.hp-studio__opening i { display: block; height: 100%; width: 4%; background: var(--violet); transition: width .25s; }
.hp-studio__reel { display: flex; gap: 22px; overflow-x: auto; justify-content: safe center; padding: 18px 20px 34px; scrollbar-width: none; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.hp-studio__reel::-webkit-scrollbar { display: none; }
.hp-studio__card { flex: none; width: 224px; height: 314px; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; background: #fff; border-radius: 2px; box-shadow: 0 1px 2px rgba(0, 0, 0, .18), 0 10px 28px rgba(0, 0, 0, .22); scroll-snap-align: center; box-sizing: border-box; }
.hp-studio__card:nth-child(1) { transform: rotate(-1.5deg); }
.hp-studio__card:nth-child(2) { transform: rotate(1.2deg); }
.hp-studio__card:nth-child(3) { transform: rotate(-1deg); }
.hp-studio__card:nth-child(4) { transform: rotate(1.5deg); }
.hp-studio__card:nth-child(5) { transform: rotate(-1.2deg); }
.hp-studio__card:nth-child(6) { transform: rotate(1deg); }
.hp-studio__card:nth-child(7) { transform: rotate(-1.5deg); }
/* A wide photograph goes on a wide card, never cropped tall (Chris, 2026-11-01: "it cuts out the kids"). */
.hp-studio__card.is-wide { width: 314px; height: 224px; }
.hp-studio__card.is-full.is-wide svg { left: 20%; width: 60%; bottom: 22px; }
.hp-studio__card.is-gallery.is-wide { padding: 16px 16px 12px; }
.hp-studio__card.is-gallery.is-wide img { height: 150px; }
.hp-studio__card.is-green.is-wide { padding: 18px 18px 16px; }
.hp-studio__card.is-green.is-wide img { height: 126px; }
.hp-studio__card.is-green.is-wide svg { width: 56%; }
.hp-studio__card img { display: block; object-fit: cover; max-width: none; }
.hp-studio__card svg { display: block; fill: currentColor; }
.hp-studio__card.is-full img { width: 100%; height: 100%; }
.hp-studio__card.is-full svg { position: absolute; left: 12%; width: 76%; bottom: 34px; color: #fff; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); }
.hp-studio__card.is-gallery { padding: 20px 20px 16px; }
.hp-studio__card.is-gallery img { width: 100%; height: 220px; }
.hp-studio__card.is-gallery span { margin-top: auto; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.hp-studio__card.is-green { background: #12402F; padding: 24px 24px 22px; }
.hp-studio__card.is-green img { width: 100%; height: 192px; }
.hp-studio__card.is-green svg { margin-top: auto; width: 82%; color: #fff; }
.hp-studio__card.is-type { justify-content: center; }
.hp-studio__card.is-type::before { content: ""; position: absolute; inset: 14px; border: 1px solid var(--ink); }
.hp-studio__card.is-type strong { font-size: 34px; font-weight: 700; line-height: 1.05; text-align: center; color: var(--ink); }
@media (max-width: 620px) { .hp-studio__card { width: 200px; height: 280px; } .hp-studio__card.is-gallery img { height: 192px; } .hp-studio__card.is-green img { height: 168px; } }
.hp-studio__bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 1200px; margin: 0 auto; padding: 6px 16px 40px; }
.hp-studio__tile { background: var(--grey); border-radius: 24px; padding: 24px; min-width: 0; }
.hp-studio__tile h3 { font-size: 20px; font-weight: 700; margin: 0 0 6px; }
.hp-studio__tile p { color: var(--body); font-size: 15px; margin: 0; }
@media (max-width: 860px) { .hp-studio__bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .hp-studio__bento { gap: 12px; } .hp-studio__tile { border-radius: 20px; padding: 18px; } .hp-studio__tile h3 { font-size: 17px; } .hp-studio__tile p { font-size: 14px; } }
/* A card shared to show (#show=): in the page, read only */
.hp-studio__show { max-width: 760px; margin: 0 auto; padding: clamp(24px, 5vw, 56px) 16px 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hp-studio__show h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.08; font-weight: 700; margin: 0; }
.hp-studio__show > p { color: var(--body); margin: 0; }
.hps .hp-studio__show { padding-top: 8px; }
.hp-studio__show .hps-proof { width: 100%; margin: 8px 0; text-align: left; }

/* A card */
.hps-face { position: relative; overflow: hidden; flex: none; background: #fff; }
.hps-ly { position: absolute; touch-action: none; user-select: none; -webkit-user-select: none; transform-origin: center; }
.hps-ly--fixed { pointer-events: none; } /* a template's frame or rule: a finger goes through it, to the card or the photo under it */
.hps-ly > img { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; } /* a picture keeps its shape, whatever a browser makes of the box */
.hps-ly svg { pointer-events: none; }
.hps-ph { width: 100%; height: 100%; box-sizing: border-box; }
.hps-ph__clip { width: 100%; height: 100%; overflow: hidden; }
.hps-ph img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; max-width: none; }
.hps-ph--round .hps-ph__clip { border-radius: 6%; }
.hps-ph--circle .hps-ph__clip { border-radius: 50%; }
.hps-ph--print { background: #fff; } /* its shadow is in points, from the engine, so the proof is what prints */
.hps-ly--logo { z-index: 3; } /* over the strokes the pen adds while drawing, too: nothing covers it */
.hps-paper { box-shadow: 0 1px 2px rgba(0, 0, 0, .18), 0 10px 28px rgba(0, 0, 0, .26); border-radius: 2px; }

/* The studio */
.hps { position: fixed; inset: 0; z-index: 100000; display: flex; flex-direction: column; background: var(--studio); color: #fff; font: 400 16px/1.45 Satoshi, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.hps * { box-sizing: border-box; }
.hps { touch-action: manipulation; } /* a tap fires at once, and two quick taps are two taps, not a zoom */
.hps :where(button:not([class*="hp-v3d"])) { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: normal; text-transform: none; box-shadow: none; }
.hps button:focus-visible, .hps a:focus-visible, .hps input:focus-visible { outline: 2px solid #BDB2FF; outline-offset: 2px; }
.hps h1, .hps h2, .hps h3 { font-weight: 700; margin: 0; text-wrap: balance; color: inherit; letter-spacing: normal; }
.hps p { margin: 0; }
.hps-scroll { flex: 1; overflow: auto; -webkit-overflow-scrolling: touch; min-height: 0; }
.hps-col { max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.hps .hps-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 14px 26px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; transition: background .2s; cursor: pointer; }
@media (hover: hover) { .hps .hps-pill:hover { background: #EDE9FC; } .hps .hps-pill[disabled]:hover { background: var(--line2); } }
.hps .hps-pill[disabled] { background: var(--line2); color: rgba(255, 255, 255, .72); cursor: not-allowed; }
.hps-wide { width: 100%; }
.hps .hps-link { color: var(--deep); font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.hps .hps-link[hidden] { display: none; }
.hps-quiet { color: var(--quiet); font-size: 14px; }
.hps-bad { color: var(--danger); font-size: 14px; }
.hps-ok { color: var(--good); font-weight: 500; font-size: 14px; padding: 6px 0; }
.hps-mt { margin-top: 12px !important; }
.hps-mt6 { margin-top: 6px !important; }
.hps-c { text-align: center; }
.hps-sp { flex: 1; }

/* The bar: the steps as segments, like a story; then the way back and the step, the wolf and the words in the middle, the controls */
.hps-bar { flex: none; padding: calc(8px + env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) 4px max(12px, env(safe-area-inset-left, 0px)); position: relative; z-index: 5; }
.hps-segs { display: flex; gap: 4px; max-width: 1180px; margin: 0 auto; }
.hps-segs button { flex: 1; height: 18px; display: flex; align-items: center; }
.hps-segs i { display: block; width: 100%; height: 4px; border-radius: 9px; background: var(--line2); }
.hps-segs .on i { background: #fff; }
.hps-barrow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; max-width: 1180px; margin: 0 auto; min-height: 44px; }
.hps-barl, .hps-barr { display: flex; align-items: center; gap: 8px; min-width: 0; }
.hps-barr { justify-content: flex-end; }
.hps-back { width: 40px; height: 44px; display: flex; align-items: center; flex: none; }
.hps-barrow b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Chris, 2026-11-01: "use the wolf's head, but next to it, put the text 'Card Studio' using the light version of the satoshi font." The mark is the all-white logo's own, the file cropped to it. Weight 300 is the theme's variable Satoshi (theme.json: 300 900). */
.hps-lockup { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 18px; font-weight: 300; line-height: 1; letter-spacing: normal; white-space: nowrap; }
.hps-lockmark { display: block; height: 26px; width: 26px; flex: none; object-fit: cover; object-position: left center; }
.hps .hps-next { min-height: 40px; padding: 8px 20px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; white-space: nowrap; flex: none; }
.hps-mini { font-size: 14px; font-weight: 500; min-height: 40px; display: inline-flex; align-items: center; gap: 6px; opacity: .86; white-space: nowrap; }
.hps-ico { width: 34px; height: 40px; display: flex; align-items: center; justify-content: center; flex: none; }
@media (max-width: 359px) { .hps-lockup span { display: none; } } /* no room for the words beside the controls: the mark alone, as the brand allows in an app bar */
@media (max-width: 620px) {
  .hps-barrow { gap: 4px; }
  .hps-barl, .hps-barr { gap: 2px; }
  .hps-barrow b { font-size: 14px; }
  .hps-back { width: 30px; }
  .hps-barr { gap: 0; }
  .hps-ico { width: 26px; }
  .hps .hps-next { padding: 8px 10px; font-size: 14px; } /* so the controls stay right of the mark, which stays centered */
}
.hps-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Paperwork */
.hps-head { text-align: center; padding: 14px 0 18px; }
.hps-head h1 { font-size: clamp(28px, 4.5vw, 44px); line-height: 1.1; }
.hps-head p { color: var(--body); margin-top: 6px; }
.hps-foot { flex: none; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); border-top: 1px solid var(--line); }
.hps-foot > div { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 14px; }
.hps-sum { flex: 1; min-width: 0; line-height: 1.2; }
.hps-sum b { font-size: 22px; font-variant-numeric: tabular-nums; }
.hps-foot .hps-pill { min-width: 150px; }
.hps-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; padding-bottom: 24px; }
@media (max-width: 860px) { .hps-split { grid-template-columns: minmax(0, 1fr); } }
.hps-opt { background: var(--grey); border-radius: 24px; padding: 20px; margin-bottom: 14px; min-width: 0; }
.hps-opt h3 { font-size: 17px; margin-bottom: 4px; }
.hps-opt > p { color: var(--quiet); font-size: 14px; margin-bottom: 10px; }
.hps-opt > p.hps-note, .hps-note { color: var(--body); font-size: 14px; margin-top: 10px; margin-bottom: 0; }
.hps-seg { display: flex; background: rgba(255, 255, 255, .12); border-radius: 999px; padding: 3px; margin: 8px auto 0; max-width: 460px; }
.hps-seg button { flex: 1; min-height: 40px; border-radius: 999px; font-weight: 500; font-size: 15px; padding: 0 8px; }
.hps .hps-seg .on { background: #fff; color: var(--ink); }
.hps-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.hps .hps-chip { min-height: 44px; padding: 9px 15px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font-weight: 500; font-size: 15px; }
.hps .hps-chip.on { background: #fff; color: var(--ink); }
.hps-f { display: block; font-size: 13px; color: var(--quiet); margin-top: 10px; }
.hps-f input, .hps-f textarea { display: block; width: 100%; min-height: 44px; margin-top: 3px; border: 0; border-radius: 12px; padding: 9px 12px; background: #fff; font: inherit; font-size: 16px; color: var(--ink); }
.hps-f--dark { color: #B8B8BE; }
.hps-f--dark input { border: 0; background: none; padding: 0; }
.hps input[type=range] { width: 100%; accent-color: var(--violet); min-height: 32px; }
.hps-three { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 8px; }
.hps-sugglist { background: #fff; border-radius: 12px; margin-top: 4px; overflow: hidden; }
.hps .hps-sugglist button { display: block; width: 100%; text-align: left; padding: 10px 12px; min-height: 44px; font-size: 15px; color: var(--ink); }
.hps .hps-sugglist button:hover { background: #EDE9FC; }
.hps-rowh { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.hps-rowh h3 { margin: 0; }

/* Photos */
.hps-drop { display: block; cursor: pointer; border-radius: 24px; background: var(--grey); padding: 30px 20px; text-align: center; }
.hps-drop h3 { font-size: 20px; }
.hps-drop p { margin: 6px 0 14px; }
.hps-drop.hot { background: #2A2648; }
.hps-phgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; margin-top: 12px; }
.hps-phgrid figure { margin: 0; position: relative; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: var(--grey); }
.hps-phgrid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hps .hps-phgrid button { position: absolute; right: 6px; top: 6px; width: 28px; height: 28px; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; line-height: 1; }
.hps-keep { margin-top: 12px !important; background: var(--grey); border-radius: 16px; padding: 14px 16px; font-size: 14px; color: var(--body); }
.hps-keep b { color: #fff; }
.hps-keep a { color: var(--deep); font-weight: 500; white-space: nowrap; }
.hps-tile { background: var(--grey); border-radius: 24px; padding: 24px; margin-bottom: 14px; min-width: 0; }
.hps-tile h3 { font-size: 20px; margin-bottom: 6px; }
.hps-tile p { color: var(--body); font-size: 15px; }
.hps-hand { display: flex; gap: 18px; align-items: center; }
.hps-qr { width: 136px; height: 136px; background: #fff; border-radius: 12px; padding: 8px; flex: none; }
.hps-qr svg { width: 100%; height: 100%; display: block; }
@media (max-width: 620px) { .hps-widehand { display: none !important; } }
.hps-top { padding: 12px 0 0; }
.hps-logo { height: 38px; display: block; }
.hps-plist { margin: 12px 0; font-size: 15px; }
.hps-plist p { padding: 6px 0; border-bottom: 1px solid var(--line); }

/* The door: who does the mailing? The studio's own first screen, in the stage's look. Each picture's resting state is its last frame, so reduced motion simply has no animation. */
.hps-door { max-width: 900px; margin: 0 auto; padding: clamp(10px, 4vh, 44px) 16px 28px; text-align: center; }
.hps-door h1 { font-size: clamp(28px, 4.5vw, 44px); line-height: 1.1; margin-bottom: clamp(16px, 3vh, 30px); }
.hps-doorcards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hps-door.isone .hps-doorcards { grid-template-columns: minmax(0, 560px); justify-content: center; }
.hps .hps-doorcard { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 24px 24px 28px; border-radius: 24px; background: var(--studio2); color: #fff; min-width: 0; transition: background .2s; }
@media (hover: hover) { .hps .hps-doorcard:hover { background: #2A2A2E; } }
.hps-doorcard b { font-size: 26px; font-weight: 700; line-height: 1.15; }
.hps-doorcard span { font-size: 15px; line-height: 1.4; color: #B8B8BE; max-width: 36ch; }
.hps-doorcard .hps-doorprice { color: #fff; font-weight: 500; font-variant-numeric: tabular-nums; }
.hps-doorpic { display: block; width: min(100%, 240px); height: auto; fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; margin-bottom: 4px; }
.hps-doorpic path, .hps-doorpic g { transform-box: view-box; }
.hps-pic-fill { fill: var(--studio2); transition: fill .2s; }
@media (hover: hover) { .hps-doorcard:hover .hps-pic-fill { fill: #2A2A2E; } }
/* A card sliding into a mailbox along its length, then the flag going up, at the front of the box. */
.hps-box-mouth { fill: #09090A; }
.hps-pic-paper { fill: #fff; stroke: #fff; }
.hps-box-stamp { fill: none; stroke: var(--studio2); stroke-width: 1.4; }
.hps-box-lines { stroke: var(--studio2); stroke-width: 1.4; }
.hps-box-seam { stroke-opacity: .4; stroke-width: 1.4; }
.hps-box-flagcloth { fill: #BDB2FF; stroke: #BDB2FF; }
.hps-box-card { animation: hps-box-slide 2.2s cubic-bezier(.35, .75, .25, 1) both; }
.hps-box-flag { transform-origin: 124px 72px; animation: hps-box-flag 2.2s ease-in-out both; }
@keyframes hps-box-slide { 0%, 12% { transform: translate(-38px, 11.6px); opacity: 0; } 24% { transform: translate(-38px, 11.6px); opacity: 1; } 66%, 100% { transform: none; opacity: 1; } }
@keyframes hps-box-flag { 0%, 66% { transform: rotate(73deg); } 88%, 100% { transform: none; } }
/* A stack of cards and a stack of envelopes, squaring up. */
.hps-send { transform-box: fill-box; transform-origin: center; animation: hps-send-square 1.5s cubic-bezier(.35, .75, .25, 1) both; }
.hps-send-1 { --hps-from: translate(18px, 14px) rotate(9deg); }
.hps-send-2 { --hps-from: translate(-12px, 10px) rotate(-7deg); }
.hps-send-3 { --hps-from: translate(14px, -10px) rotate(6deg); }
.hps-send-4 { --hps-from: translate(-16px, 10px) rotate(-12deg); }
.hps-send-5 { --hps-from: translate(14px, 8px) rotate(9deg); }
.hps-send-6 { --hps-from: translate(-8px, -8px) rotate(-5deg); }
@keyframes hps-send-square { 0%, 12% { transform: var(--hps-from); } 100% { transform: none; } }
.hps-send-mark { stroke: #BDB2FF; animation: hps-send-last 1.5s linear both; }
@keyframes hps-send-last { 0%, 78% { opacity: 0; } 92%, 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hps-doorpic * { animation: none !important; } }
@media (max-width: 620px) {
  .hps-doorcards { grid-template-columns: minmax(0, 1fr); }
  .hps .hps-doorcard { padding: 14px 18px 18px; gap: 4px; }
  .hps-doorpic { width: 170px; }
  .hps-doorcard b { font-size: 22px; }
}

/* The people step, where we mail them. The envelope stays in view beside the typing. */
.hps-people { padding-bottom: 24px; }
.hps-peopleleft .hps-sumbox { padding: 0; }
.hps-peopleleft .hps-shiptile { margin-top: 0; margin-bottom: 14px; }
.hps-peopleright { min-width: 0; }
@media (min-width: 861px) { .hps-peopleright { position: sticky; top: 8px; } }
@media (max-width: 860px) { .hps-peopleright { order: -1; } .hps-peopleright .hps-envwrap { max-width: 320px; } }
.hps-peoplelist { padding-bottom: 8px; }
.hps-person { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 0; border-top: 1px solid var(--line); }
.hps-rowh + .hps-person { margin-top: 8px; }
.hps-person > div { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; }
.hps-person b { font-weight: 500; overflow-wrap: anywhere; }
.hps-person span { color: var(--quiet); font-size: 14px; }
.hps-person .hps-bad { color: var(--danger); width: 100%; }
.hps .hps-person .hps-link { flex: none; }
.hps .hps-small { min-height: 32px; font-size: 14px; }
.hps-peoplelinks { display: flex; flex-wrap: wrap; gap: 0 22px; margin-bottom: 10px; }
.hps-listacts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-top: 12px; }
.hps .hps-listacts .hps-next { flex: none; }
.hps-filelink { cursor: pointer; }
.hps-f textarea { resize: vertical; }
.hps-f input[maxlength="2"] { text-transform: uppercase; }
.hps-f textarea::placeholder { color: #8A8A90; }
.hps-sheetfoot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 16px; }

/* The feed */
.hps-pickbar { flex: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; width: 100%; max-width: 1180px; margin: 6px auto 0; padding: 0 12px 10px; }
.hps-which { flex: none; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.hps-whichhead { display: flex; align-items: baseline; gap: 12px; }
.hps-whichhead h2 { font-size: 17px; flex: none; }
.hps-specs0 { font-size: 13px; color: #B8B8BE; font-variant-numeric: tabular-nums; }
.hps-whichrow { display: flex; gap: 8px; align-items: stretch; overflow-x: auto; scrollbar-width: none; }
.hps-whichrow::-webkit-scrollbar { display: none; }
.hps-whichgap { flex: none; width: 10px; }
.hps .hps-product { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 76px; padding: 8px 14px; border-radius: 14px; background: rgba(255, 255, 255, .12); color: #fff; font-size: 13px; font-weight: 500; white-space: nowrap; }
.hps .hps-product.on { background: #fff; color: var(--ink); font-weight: 700; }
.hps-productpic { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; display: block; }
.hps .hps-shape { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 5px; min-width: 52px; padding: 4px 6px; color: #B8B8BE; font-size: 12px; font-weight: 500; }
.hps .hps-shape.on { color: #fff; font-weight: 700; }
.hps-shapepic { display: block; fill: none; stroke: currentColor; stroke-width: 1.5; }
.hps-shape.on .hps-shapepic rect { fill: #fff; stroke: #fff; }
.hps-shape.on .hps-shapepic path { stroke: var(--ink); }
.hps-occ { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; min-width: 0; }
@media (max-width: 1000px) {
  .hps-pickbar { flex-direction: column; align-items: stretch; gap: 10px; padding-bottom: 8px; }
  .hps-whichhead { justify-content: space-between; }
  .hps-occ { flex-wrap: nowrap; justify-content: safe center; overflow-x: auto; scrollbar-width: none; margin: 0 -12px; padding: 0 12px; }
}
.hps-occ::-webkit-scrollbar { display: none; }
.hps .hps-occ button { flex: none; min-height: 40px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: 14px; font-weight: 500; color: #fff; }
.hps .hps-occ .on { background: #fff; color: var(--ink); }
.hps-feed { flex: 1; min-height: 0; overflow: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px; padding: 10px 24px 34px; max-width: 1240px; width: 100%; margin: 0 auto; align-items: start; }
.hps .hps-pick { display: flex; flex-direction: column; align-items: center; gap: 10px; color: #fff; text-align: center; padding: 6px; border-radius: 14px; width: 100%; }
.hps-pick .hps-paper { transition: transform .25s; }
@media (hover: hover) { .hps-pick:hover .hps-paper { transform: translateY(-4px); } }
.hps-pick b { font-size: 15px; }
.hps-pick small { display: block; font-size: 13px; color: #B8B8BE; margin-top: -6px; }
.hps .hps-feednote { grid-column: 1 / -1; justify-self: center; }
@media (max-width: 620px) {
  .hps .hps-feednote { display: flex; justify-content: center; width: 100%; min-height: 64px; padding: 0 16px 10px; scroll-snap-align: end; }
  .hps-whichrow { gap: 6px; }
  .hps-whichgap { width: 2px; }
  .hps .hps-product { padding: 6px 10px; font-size: 12px; min-height: 70px; }
  .hps-whichhead { flex-wrap: wrap; gap: 0 10px; }
}
@media (max-width: 620px) {
  .hps-feed { display: block; scroll-snap-type: y mandatory; padding: 0; }
  .hps .hps-pick { scroll-snap-align: start; scroll-snap-stop: always; height: calc(100% - 44px); justify-content: flex-start; padding-top: 4px; } /* the next card shows under this one, so the feed says it scrolls */
  .hps .hps-feed.iswide .hps-pick { height: auto; padding-bottom: 26px; } /* folded at the top a card is short: the next one comes up close */
}

/* The editor */
.hps-edit { flex: 1; min-height: 0; display: grid; grid-template-columns: 76px minmax(0, 1fr) 320px; grid-template-rows: minmax(0, 1fr) auto; position: relative; }
.hps-rail { grid-row: 1 / 3; display: flex; flex-direction: column; gap: 4px; padding: 8px; align-items: center; overflow: auto; }
.hps .hps-rail button { width: 60px; min-height: 58px; border-radius: 14px; color: #fff; font-size: 11px; font-weight: 500; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; flex: none; }
.hps-rail svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hps .hps-rail .on { background: rgba(255, 255, 255, .16); }
.hps-stage { position: relative; touch-action: none; display: flex; align-items: center; justify-content: center; overflow: hidden; min-height: 0; min-width: 0; }
.hps-stage.tophold { align-items: flex-start; padding-top: 8px; }
.hps-panel { grid-row: 1 / 3; grid-column: 3; background: var(--studio2); padding: 16px; overflow: auto; border-radius: 20px 0 0 20px; color: #fff; }
.hps-panel h3 { font-size: 17px; margin-bottom: 8px; }
.hps-panel p { font-size: 14px; color: #B8B8BE; margin-bottom: 10px; }
.hps-under { grid-row: 2; grid-column: 2; min-width: 0; }
.hps-hint { text-align: center; font-size: 13px; color: #B8B8BE; padding: 0 16px 6px; }
/* The live 3D card, in the right column when no tool is open, and in the stage for a phone's 3D stop */
.hps-panel--live { display: flex; flex-direction: column; gap: 10px; }
.hps-liveslot { flex: 1; min-height: 240px; }
.hps-livehost { width: 100%; height: 100%; }
.hps .hps-panel--live .hps-hint { padding: 0 4px; margin: 0; flex: none; }
.hps-stage--live { display: block; }
.hps-stage--live .hp-v3d__sheet { border-radius: 0; grid-template-rows: minmax(0, 1fr); }
.hps-stage--live .hp-v3d__foot { position: absolute; left: 0; right: 0; bottom: 14px; padding: 0; }
.hps-edit.isd3 { grid-template-columns: minmax(0, 1fr); }
.hps-3dpic { display: block; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
/* The price and the specs while designing: quiet, and a way to Buy. */
.hps .hps-specs { display: block; width: 100%; padding: 4px 12px 0; text-align: center; font-size: 13px; line-height: 1.3; color: #B8B8BE; font-variant-numeric: tabular-nums; text-wrap: balance; }
@media (hover: hover) { .hps .hps-specs:hover { color: #fff; } }
.hps-sayit { display: flex; align-items: center; gap: 6px; overflow-x: auto; padding: 0 12px 8px; scrollbar-width: none; }
.hps-sayit::-webkit-scrollbar { display: none; }
.hps .hps-sayit button { flex: none; max-width: 240px; min-height: 40px; padding: 6px 12px; border-radius: 14px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 13px; text-align: left; }
.hps-panel .hps-sayit { flex-wrap: wrap; overflow: visible; padding: 8px 0 0; }
.hps-panel .hps-sayit .hps-linehead { width: 100%; }
.hps-panel .hps-sayit button { max-width: none; flex: 1 1 100%; }
.hps-stops { display: flex; gap: 14px; justify-content: center; padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px)); }
.hps .hps-stops button { color: #B8B8BE; font-size: 12px; font-weight: 500; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 5px 7px; border-radius: 10px; flex: none; }
.hps .hps-stops .on { color: #fff; background: rgba(255, 255, 255, .14); }
.hps-tw { display: flex; }
.hps-tw.tall { flex-direction: column; }
.hps-spread { display: flex; position: relative; flex: none; }
.hps-spread.tall { flex-direction: column; }
.hps-crease { position: absolute; pointer-events: none; left: 50%; top: 0; bottom: 0; width: 6px; transform: translateX(-50%); background: linear-gradient(90deg, rgba(0, 0, 0, .14), rgba(255, 255, 255, .3), rgba(0, 0, 0, .05)); }
.hps-spread.tall .hps-crease { left: 0; right: 0; top: 50%; bottom: auto; width: auto; height: 6px; transform: translateY(-50%); background: linear-gradient(rgba(0, 0, 0, .14), rgba(255, 255, 255, .3), rgba(0, 0, 0, .05)); }
.hps-selbox { position: absolute; border: 1.5px solid #fff; outline: 1px solid rgba(0, 0, 0, .4); pointer-events: none; z-index: 4; }
.hps-hdl { position: absolute; right: -13px; bottom: -13px; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--violet); pointer-events: auto; touch-action: none; cursor: nwse-resize; }
@media (hover: none) { .hps-hdl { display: none; } }
.hps-guide { position: absolute; background: #FF4D8D; pointer-events: none; z-index: 4; }
.hps-safe { position: absolute; border: 1px dashed rgba(114, 91, 232, .55); pointer-events: none; } /* faint, and always on: where the cut could reach */
.hps-trash { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: flex; align-items: center; justify-content: center; transition: transform .15s, background .15s; z-index: 6; pointer-events: none; }
.hps-trash.hot { background: #C4314B; transform: translateX(-50%) scale(1.25); }
.hps-trash svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hps-quick { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); display: flex; gap: 4px; background: rgba(40, 40, 44, .92); border-radius: 999px; padding: 4px; z-index: 6; max-width: calc(100% - 16px); overflow-x: auto; scrollbar-width: none; }
.hps .hps-quick button { min-height: 38px; padding: 4px 12px; border-radius: 999px; color: #fff; font-size: 13px; font-weight: 500; white-space: nowrap; }
.hps .hps-quick button:hover { background: rgba(255, 255, 255, .14); }
.hps-toast { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); font-size: 30px; font-weight: 700; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); pointer-events: none; z-index: 7; animation: hps-fade 1s forwards; }
@keyframes hps-fade { 70% { opacity: 1; } 100% { opacity: 0; } }
.hps-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.hps .hps-strip button { flex: none; width: 66px; color: #D8D8DC; font-size: 11px; text-align: center; }
.hps-strip canvas { width: 60px; height: 60px; border-radius: 50%; display: block; margin: 0 auto 4px; border: 2px solid transparent; }
.hps-strip .on canvas { border-color: #fff; }
.hps-dots { display: flex; flex-wrap: wrap; gap: 8px; }
.hps .hps-dots button { width: 36px; height: 36px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .28); }
.hps .hps-dots .on { border-color: #fff; box-shadow: 0 0 0 2px var(--violet); }
.hps-grounds { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 8px; }
.hps .hps-grounds button { aspect-ratio: 1; border-radius: 12px; border: 2px solid rgba(255, 255, 255, .2); }
.hps-stk { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.hps-stk--small { grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); }
.hps .hps-stk button { aspect-ratio: 1; border-radius: 14px; background: rgba(255, 255, 255, .08); padding: 8px; display: flex; justify-content: center; align-items: center; }
.hps-stk img { width: 100%; height: 100%; display: block; object-fit: contain; }
.hps-closepanel { display: none; }
@media (max-width: 860px) {
  .hps-edit { grid-template-columns: minmax(0, 1fr) 54px; grid-template-rows: minmax(0, 1fr) auto; }
  .hps-stage { grid-row: 1; grid-column: 1; }
  .hps-rail { grid-row: 1; grid-column: 2; padding: 4px 2px; gap: 2px; justify-content: safe center; }
  .hps .hps-rail button { width: 50px; min-height: 50px; font-size: 10px; }
  .hps-panel { grid-row: 1; grid-column: 1 / 3; align-self: end; position: relative; max-height: 44%; border-radius: 20px 20px 0 0; z-index: 6; background: rgba(28, 28, 30, .97); }
  .hps .hps-closepanel { display: block; position: absolute; right: 10px; top: 8px; min-width: 44px; min-height: 40px; color: #fff; font-weight: 700; }
  .hps-under { grid-row: 2; grid-column: 1 / 3; }
  .hps-quick { left: 8px; transform: none; max-width: calc(100% - 16px); width: max-content; }
}

/* Words on a dimmed screen */
.hps-typing { position: absolute; inset: 0; background: rgba(0, 0, 0, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); z-index: 20; display: flex; flex-direction: column; color: #fff; }
.hps-row1 { display: flex; align-items: center; gap: 8px; padding: calc(8px + env(safe-area-inset-top, 0px)) 12px 8px; flex: none; }
.hps-box { border: 1px solid rgba(255, 255, 255, .4) !important; border-radius: 10px !important; padding: 0 12px !important; }
.hps-fonts { display: flex; gap: 6px; overflow-x: auto; padding: 4px 12px; flex: none; scrollbar-width: none; }
.hps .hps-fonts button { flex: none; min-height: 42px; padding: 4px 14px; border-radius: 12px; background: rgba(255, 255, 255, .14); font-size: 17px; color: #fff; white-space: nowrap; }
.hps .hps-fonts .on { background: #fff; color: var(--ink); }
.hps-colors { display: flex; gap: 8px; overflow-x: auto; padding: 6px 12px; flex: none; scrollbar-width: none; }
.hps .hps-colors button { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); }
.hps .hps-colors .on { border-color: #fff; box-shadow: 0 0 0 2px var(--violet); }
.hps-bodyt { flex: 1; min-height: 0; display: flex; align-items: flex-start; justify-content: center; padding: 14px 18px 14px 46px; position: relative; }
.hps-typing textarea { width: 100%; max-width: 640px; height: 100%; min-height: 90px; background: none; border: 0; outline: 0; resize: none; line-height: 1.16; }
.hps input.hps-sizer { position: absolute; left: 0; top: 50%; width: 150px; transform: translate(-50px, -50%) rotate(-90deg); }
.hps-lines { display: flex; align-items: center; gap: 6px; overflow-x: auto; padding: 6px 12px calc(12px + env(safe-area-inset-bottom, 0px)); flex: none; scrollbar-width: none; }
.hps-linehead { flex: none; font-size: 13px; font-weight: 700; padding-right: 4px; }
.hps .hps-lines button { flex: none; max-width: 240px; min-height: 44px; padding: 6px 12px; border-radius: 14px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 13px; text-align: left; }
.hps .hps-lines .hps-aibtn { background: #fff; color: var(--ink); font-weight: 700; }
.hps .hps-aimsg { display: block; width: 100%; text-align: left; background: rgba(255, 255, 255, .1); border-radius: 14px; padding: 12px 14px; margin-bottom: 8px; font-size: 15px; }
.hps .hps-aimsg:hover { background: rgba(255, 255, 255, .18); }

/* Buy */
/* The 3D card is the hero (Chris, 2026-11-01: "It should probably be a hero type view"): all of the wider column, tall. */
.hps-buy { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 22px; align-items: start; padding-bottom: 24px; }
.hps-buy .hps-proof .hp-v3d__sheet { height: min(74vh, 720px); }
.hps-buycol { min-width: 0; }
@media (max-width: 860px) {
  .hps-buy { display: flex; flex-direction: column; gap: 0; align-items: stretch; } /* stretch, or a long address in a row widens the whole column past the screen */
  .hps-buycol { display: contents; }
  #hps-proofwrap { order: 1; } #hps-buyprice { order: 2; } #hps-rows { order: 3; } #hps-check { order: 4; } #hps-proofbox { order: 5; } #hps-notesbox { order: 6; }
  .hps-buy .hps-proof .hp-v3d__sheet { height: 60vh; border-radius: 20px; }
  .hps-buy .hp-v3d__head { padding-top: .75rem; }
}
@media (max-width: 620px) { .hps-head { padding: 6px 0 10px; } .hps-head h1 { font-size: 26px; } .hps-head p { font-size: 14px; margin-top: 2px; } }
.hps .hps-optlink { margin-top: 2px; font-variant-numeric: tabular-nums; }
.hps-optrows { padding-bottom: 4px; }
.hps-prooflinks { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 8px; }
.hps-rowbody { background: var(--grey); border-radius: 16px; padding: 14px; margin: 8px 0 10px; }
.hps-rowbody .hps-note:first-child { margin-top: 0; }
.hps-shiptile { margin-top: 14px; margin-bottom: 0; }
.hps-footgo { flex: none; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.hps-gohint { font-size: 12px; color: var(--quiet); text-align: center; line-height: 1.2; }
.hps-gohint:empty { display: none; }
.hps-proof { margin-bottom: 6px; }
.hps-cards { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; padding: 8px; }
.hps-flag { position: absolute; border: 2px solid #E8476B; border-radius: 3px; background: rgba(196, 49, 75, .12); pointer-events: none; animation: hps-pulse 1.6s ease-in-out infinite; }
@keyframes hps-pulse { 50% { background: rgba(196, 49, 75, .26); } }
@media (prefers-reduced-motion: reduce) { .hps-flag { animation: none; } }
.hps-find { display: flex; gap: 10px; align-items: baseline; color: var(--danger); font-size: 14px; padding: 6px 0; }
.hps-find.note { color: var(--body); }
.hps-find span { flex: 1; }
.hps-find .hps-link { min-height: 0; white-space: nowrap; }
.hps-price { font-size: 44px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.hps-sumbox { padding: 0 4px; margin-bottom: 14px; }
.hps-sumrow { display: flex; gap: 10px; align-items: center; min-height: 44px; border-bottom: 1px solid var(--line); font-size: 15px; }
.hps-sumrow span { width: 66px; color: var(--quiet); font-size: 13px; flex: none; }
.hps-sumrow b { flex: 1; font-weight: 500; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
/* Gloss or Matte: the customer's choice, in view on Buy */
.hps-extrow .hps-seg { flex: 1; margin: 6px 0; max-width: none; }
.hps-extrow { min-height: 56px; }
.hps .hps-tick { display: flex; gap: 12px; align-items: center; background: rgba(255, 255, 255, .08); border-radius: 16px; padding: 14px; width: 100%; text-align: left; font-weight: 500; margin-top: 12px; }
.hps-tick i { width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid rgba(255, 255, 255, .5); flex: none; display: flex; align-items: center; justify-content: center; color: var(--ink); font-style: normal; font-weight: 700; }
.hps-tick.on i { background: #fff; border-color: #fff; }

/* The envelope on a mailed card's Buy: to scale, 7.25 x 5.25 in, following the typing */
.hps-envwrap { margin: 12px auto 6px; max-width: 440px; }
.hps-envmore { text-align: center; color: #fff; font-weight: 500; font-size: 15px; font-variant-numeric: tabular-nums; }
.hps-envmore:empty { display: none; }
.hps-envline { text-align: center; color: var(--quiet); font-size: 15px; margin: 2px 0 8px; }
/* On a wide screen the card and its envelope stay in view beside the typing. */
@media (min-width: 861px) {
  .hps-buy.ismail { align-items: stretch; }
  .hps-buy.ismail #hps-proofwrap { position: sticky; top: 8px; z-index: 1; }
  .hps-buy.ismail .hps-proof .hp-v3d__sheet { height: 38vh; }
  .hps-buy.ismail .hp-v3d__head, .hps-buy.ismail .hp-v3d__row { display: none; }
  .hps-buy.ismail .hp-v3d__sheet { grid-template-rows: minmax(0, 1fr) auto; }
}
.hps-env { position: relative; width: 100%; aspect-ratio: 7.25 / 5.25; background: #fff; border-radius: 3px; box-shadow: 0 1px 2px rgba(0, 0, 0, .18), 0 8px 24px rgba(0, 0, 0, .14); container-type: inline-size; color: var(--ink); overflow: hidden; }
.hps-envfrom { position: absolute; left: 3.4%; top: 4.4%; max-width: 60%; font-size: 2.3cqw; line-height: 1.3; }
.hps-envstamp { position: absolute; right: 3.4%; top: 4.4%; width: 9.2cqw; height: 11.2cqw; object-fit: cover; object-position: left center; padding: 1.1cqw; background: var(--violet); border-radius: 2px; }
.hps-envto { position: absolute; left: 6.9%; right: 6.9%; top: 47.6%; display: flex; justify-content: center; font-size: 3cqw; line-height: 1.28; text-align: left; font-weight: 500; } /* centered across, its top 2 3/4 in up from the bottom: as near the middle as USPS allows */
.hps-envbars { position: absolute; left: 44.8%; width: 41.4%; bottom: 3.6%; height: 6%; background: repeating-linear-gradient(90deg, #A1A1A6 0 1px, transparent 1px 3px); } /* placeholders for The Den's marks: the barcode, from 4 in to 1 in from the right edge */
.hps-envserial { position: absolute; left: 3.4%; bottom: 3.6%; font-size: 1.9cqw; letter-spacing: .08em; color: #A1A1A6; font-variant-numeric: tabular-nums; }
.hps-envblank { color: #A1A1A6; font-weight: 400; }
.hps-envfrom div, .hps-envto div { overflow-wrap: anywhere; }

/* Windows */
.hps-veil { position: absolute; inset: 0; background: rgba(0, 0, 0, .7); z-index: 40; display: flex; align-items: center; justify-content: center; padding: 16px; }
.hps-win { background: #1C1C1E; color: #fff; border-radius: 24px; padding: 22px; max-width: 560px; width: 100%; max-height: 92%; overflow: auto; position: relative; }
.hps-win h2 { font-size: 24px; margin-bottom: 6px; padding-right: 30px; }
.hps .hps-x { position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; font-size: 22px; }
.hps-bar2 { height: 6px; border-radius: 9px; background: var(--line); overflow: hidden; margin: 12px 0; }
.hps-bar2 i { display: block; height: 100%; width: 5%; background: var(--violet); transition: width .3s; }
body > .hps-veil { position: fixed; z-index: 100002; }
.hp-v3d:not(.hp-v3d--inline) { z-index: 100001; }

/* A finished design: the customer's own file (docs/CARD-STUDIO.md) */
.hps-twotiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hps-twotiles .hps-tile { margin-bottom: 0; display: flex; flex-direction: column; align-items: flex-start; }
.hps-twotiles .hps-link { margin-top: auto; }
.hps-filesplit { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 22px; align-items: start; padding-bottom: 24px; }
.hps-filesplit .hps-keep { margin-top: 14px !important; }
.hps-tile .hps-keep { background: none; padding: 14px 0 0; border-radius: 0; border-top: 1px solid var(--line); }
.hps-fileno { margin-top: 14px; margin-bottom: 0; }
.hps-filewait { text-align: center; padding: 60px 24px; }
.hps-sheets { display: flex; gap: 20px; justify-content: center; align-items: flex-start; }
.hps-sheet { margin: 0; flex: 1 1 0; min-width: 0; max-width: 320px; }
.hps-sheetpage { position: relative; background: #fff; width: 100%; margin: 0 auto; overflow: hidden; }
.hps-sheet.istall { max-width: 220px; }
.hps-sheetpage img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hps-sheetcut { position: absolute; border: 1px solid var(--violet); pointer-events: none; }
.hps-sheetfold { position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1.5px dashed var(--violet); pointer-events: none; }
.hps-sheetfold.istop { left: 0; right: 0; top: 50%; bottom: auto; border-left: 0; border-top: 1.5px dashed var(--violet); }
.hps-sheet figcaption { text-align: center; font-weight: 700; font-size: 14px; margin-top: 8px; }
.hps-sheetpick { display: none; }
.hps-readrow { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.hps-readrow span { color: var(--body); flex: none; }
.hps-readrow b { text-align: right; min-width: 0; }
.hps-readlinks { display: flex; flex-direction: column; align-items: flex-start; margin-top: 8px; }
.hps-compare { display: flex; gap: 28px; justify-content: center; align-items: center; flex-wrap: wrap; padding: 10px 0 14px; }
.hps-compare figure { margin: 0; text-align: center; font-size: 14px; color: var(--body); width: 210px; max-width: 100%; }
.hps-compare img { display: block; max-width: 100%; max-height: 240px; margin: 0 auto 8px; }
.hps-compare figcaption b { display: block; color: #fff; margin-top: 2px; }
.hps-nearcard { display: block; width: 100%; border: 2px dashed var(--deep); box-sizing: border-box; margin-bottom: 8px; position: relative; }
.hps-nearcard::after { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1.5px dashed var(--deep); }
.hps-shaperow { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 15px; border-bottom: 1px solid var(--line); min-height: 44px; }
.hps-shaperow span { color: var(--body); }
.hps-shapelinks { display: flex; gap: 12px; }
.hps-filespec { font-size: 14px; color: var(--body); min-width: 0; }
@media (max-width: 860px) {
  .hps-filesplit { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .hps-twotiles { grid-template-columns: minmax(0, 1fr); }
  .hps-sheetpick { display: block; margin-bottom: 12px; }
  .hps-sheet { display: none; max-width: 100%; }
  .hps-sheet.on { display: block; }
  .hps-sheet figcaption { display: none; }
  .hps-shaperow { grid-template-columns: minmax(0, 1fr) auto; }
  .hps-shaperow > span:nth-child(2) { grid-column: 1; grid-row: 2; font-size: 14px; padding-bottom: 8px; }
  .hps-shapelinks { grid-column: 2; grid-row: 1 / span 2; }
}
/* The USPS check on the people step: what USPS has, and the two answers. */
.hps-person .hps-uspsfix { width: 100%; font-size: 14px; color: var(--quiet); }
.hps-person .hps-uspsacts { width: 100%; display: flex; flex-wrap: wrap; gap: 4px 16px; }
