/* Business Card: Website Maker's look (/website-maker/wm.css: swatches, colours, grips, the welcome, QR box) plus the
   card previewed in a phone, the designs' swatches and the full-screen QR code. */
.bc-wrap { display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); max-width: 1100px; margin: 0 auto; }
@media (min-width: 960px) { .bc-wrap { grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; padding: 0 24px; } .bc-side { position: sticky; top: 0; align-self: start; padding-top: 12px; } .bc-wrap .form { padding-left: 0; padding-right: 0; } }
.phone { position: relative; margin: 6px auto 4px; width: min(100%, 340px); height: 640px; border-radius: 44px; padding: 10px; background: #111; box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 20px 50px rgba(0,0,0,.22); }
@media (min-width: 960px) { .phone { height: min(640px, calc(100dvh - 170px)); min-height: 460px; } }
@media (max-width: 959px) { .phone { height: min(560px, calc(100dvh - 230px)); min-height: 420px; width: min(calc(100% - 32px), 330px); } }
.phone-screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #fff; }
.phone .notch { position: absolute; top: 18px; left: 50%; width: 92px; height: 24px; margin-left: -46px; border-radius: 14px; background: #000; z-index: 2; pointer-events: none; }
.card-frame { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
.avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; background: var(--fill2); display: grid; place-items: center; font-weight: 700; color: var(--text2); font-size: 20px; }
.avatar.sm { width: 40px; height: 40px; font-size: 15px; }
.pic-th.logo { object-fit: contain; background: #fff; }
/* the designs' swatches: a tiny card on the design's ground */
.ds-card { position: relative; display: flex; flex-direction: column; gap: 4px; width: 40px; height: 58px; border-radius: 6px; overflow: hidden; padding: 0 0 6px; box-shadow: 0 1px 3px rgba(0,0,0,.18); }
.ds-top { display: block; width: 100%; flex: none; }
.ds-card i { display: block; height: 4px; border-radius: 2px; margin: 0 6px; width: 70%; }
.ds-card i:first-of-type { margin-top: 4px; }
.th .th-sw { align-items: center; padding-left: 0; }
.ds-minimal .ds-card { box-shadow: 0 0 0 .5px rgba(0,0,0,.2); }
/* the About and Yuzool rows are links */
a.about-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--text); text-decoration: none; min-height: 44px; }
a.about-row .label { display: inline-flex; align-items: center; gap: 12px; color: var(--tint); }
a.about-row .chev { color: var(--text3); }
/* the QR code full screen: white and bright, for someone to scan */
.qr-full { background: #fff !important; color: #111; display: grid; place-items: center; }
.qr-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 16px calc(24px + env(safe-area-inset-bottom)); text-align: center; }
.qr-wrap canvas { width: min(82vw, 62dvh, 520px); height: auto; aspect-ratio: 1; image-rendering: pixelated; }
.qr-name { margin: 8px 0 0; font: 700 22px/1.25 var(--sys, -apple-system, system-ui); color: #111; }
.qr-cap { margin: 0; font-size: 15px; color: #555; }
