/* The set up path (plan CHILD-SETUP-001, row T-1B, D8): the parts of the 16 set up screens the owner approved
   on 24 November 2026 (designs/setup-flow/, Screens 30, 10, 29, 13, 15, 18, 19, 34, 38, 37, 24, 40, 20, 22, 31,
   28), moved from the mock-ups' own css/mock.css and css/flow.css with their class names kept (.m-* the Home
   parts, .f-* the step parts), only the classes those 16 screens use. Loaded after site.css, places.css and
   setup.css by the set up pages and Home (SETUP_FLOW_STYLES of src/pages/setup-parts.mjs), in the mock-ups' order.
   Every colour, font, radius, shadow and space is a token (--bx-* of bx/tokens.css, --px-space-* of
   bx/components.css); a size with no token (a row's height, an icon box, the QR's width) is the mock-up's own,
   written in rem as site.css writes it. No colour literal. The mock-ups' system font (mock.css line 6) is not
   carried: the site keeps the kit's font on every page. */

/* ---------- Home's parts (mock.css) ---------- */
.m-home { display: flex; flex-direction: column; gap: var(--px-space-large-100); }
.m-home h1, .m-home h2, .m-home p { margin: 0; }
.m-one { white-space: nowrap; overflow: visible; }

/* the welcome line (D11) */
.m-welcome { display: flex; flex-direction: column; gap: var(--px-space-small-200); }
.m-welcome__h { font-size: var(--bx-font-size-display); font-weight: var(--bx-font-weight-bold); line-height: 1.25; color: rgb(var(--bx-color-text)); }
.m-welcome__p { font-size: var(--bx-font-size-list-primary); color: rgb(var(--bx-color-text-secondary)); line-height: 1.4; }

/* the card */
.m-card { background: rgb(var(--bx-color-bg-surface)); border-radius: var(--bx-radius-card); padding: var(--px-space-base); box-shadow: 0 0 0 .0625rem rgb(var(--bx-color-border-secondary)); display: flex; flex-direction: column; gap: var(--px-space-small); }
.m-card--flush { padding: 0; gap: 0; overflow: hidden; }

/* the one main button of a block or of the dock, 48 high */
.m-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 3rem; margin-top: var(--px-space-small-200); white-space: nowrap; font-size: var(--bx-font-size-list-primary) !important; }

/* rows: one line each, 56 high, icon box 24 */
.m-rows { list-style: none; margin: 0; padding: 0; }
.m-row { display: flex; align-items: center; gap: var(--px-space-small); min-height: 3.5rem; padding: 0 var(--px-space-base); border-top: .0625rem solid rgb(var(--bx-color-border-secondary)); font-size: var(--bx-font-size-list-primary); color: rgb(var(--bx-color-text)); white-space: nowrap; text-decoration: none; }
.m-rows > li:first-child .m-row, .m-rows > .m-row:first-child { border-top: 0; }
.m-row__t { flex: 1 1 auto; min-width: 0; }
.m-row__v { color: rgb(var(--bx-color-text-secondary)); }
.m-ic { flex: 0 0 1.5rem; width: 1.5rem; height: 1.5rem; display: inline-flex; align-items: center; justify-content: center; color: rgb(var(--bx-color-icon-secondary)); }
.m-go { flex: 0 0 1.5rem; width: 1.5rem; height: 1.5rem; display: inline-flex; align-items: center; justify-content: center; color: rgb(var(--bx-color-icon-secondary)); }
.m-av { flex: 0 0 2rem; width: 2rem; height: 2rem; border-radius: 50%; display: block; }

/* the open step: its button under its row */
.m-open { padding: 0 var(--px-space-base) var(--px-space-base); border-top: 0; }
.m-open .m-btn { margin-top: 0; }
.m-head { display: flex; align-items: center; justify-content: space-between; gap: var(--px-space-small); padding: var(--px-space-base); white-space: nowrap; }
.m-head__t { font-size: calc(var(--bx-font-size-list-primary) * 1.2); font-weight: var(--bx-font-weight-bold); color: rgb(var(--bx-color-text)); }
.m-head__v { font-size: var(--bx-font-size-body); color: rgb(var(--bx-color-text-secondary)); }

/* a section title above a card */
.m-group { display: flex; flex-direction: column; gap: var(--px-space-small); }
.m-sec { font-size: var(--bx-font-size-page-section-title); font-weight: var(--bx-font-weight-bold); color: rgb(var(--bx-color-text)); margin: 0 !important; white-space: nowrap; }

/* the child line (hero) */
.m-hero { display: flex; align-items: center; gap: var(--px-space-small); white-space: nowrap; }
.m-hero__big { font-size: var(--bx-font-size-list-heading); font-weight: var(--bx-font-weight-bold); color: rgb(var(--bx-color-text)); line-height: 1.3; }
/* CHILD-SETUP-001 T-L2 (ruling R4-1): the big line wraps to a second line, never under the map button */
.m-hero__big { white-space: normal; overflow-wrap: anywhere; }
.m-hero__small { font-size: var(--bx-font-size-body); color: rgb(var(--bx-color-text-secondary)); }

/* the small map's frame (the live map is drawn inside it by the page) */
.m-map { position: relative; height: 15rem; border-radius: var(--bx-radius-card); overflow: hidden; box-shadow: 0 0 0 .0625rem rgb(var(--bx-color-border-secondary)); background: rgb(var(--bx-color-bg-fill-tertiary)); }
.m-map--small { height: 10.5rem; }
.m-map__pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; }
.m-map__pin .m-av { box-shadow: 0 0 0 .1875rem rgb(var(--bx-color-bg-surface)), var(--bx-shadow-popover); background: rgb(var(--bx-color-bg-surface)); }

/* one icon set (24 grid, stroke 2, drawn about 20 x 20; flowIcon of setup-parts.mjs) */
svg.m-i { width: 1.5rem; height: 1.5rem; display: block; }
.m-ic svg.m-i { width: 1.5rem !important; height: 1.5rem !important; }
.m-go svg.m-i { width: 1.5rem !important; height: 1.5rem !important; }

/* ONE green for done, the token bg-fill-success, everywhere */
.m-home .px-badge--success { background: rgb(var(--bx-color-bg-fill-success)) !important; color: rgb(var(--bx-color-text-success)) !important; }
/* badges never wrap */
.m-home .px-badge { white-space: nowrap; flex: 0 0 auto; }

/* the "All set" strip, one line, the one green (D16) */
.m-strip { display: flex; align-items: center; gap: var(--px-space-small); min-height: 3rem; padding: 0 var(--px-space-small) 0 var(--px-space-base); border-radius: var(--bx-radius-card); background: rgb(var(--bx-color-bg-fill-success)); color: rgb(var(--bx-color-text-success)); font-size: var(--bx-font-size-list-primary); font-weight: var(--bx-font-weight-medium); white-space: nowrap; }
.m-strip__t { flex: 1 1 auto; }
.m-map .m-strip { position: absolute; left: var(--px-space-small-200); right: var(--px-space-small-200); top: var(--px-space-small-200); box-shadow: var(--bx-shadow-popover); }
.m-x { flex: 0 0 1.5rem; width: 1.5rem; height: 1.5rem; padding: 0; border: 0; background: none; color: rgb(var(--bx-color-text-success) / 0.7); display: inline-flex; }

/* ---------- the step pages (flow.css) ---------- */
/* the step head: back arrow, "Step n of 4", the title; one block */
.f-head { display: flex; flex-direction: column; gap: var(--px-space-small-200); }
.f-head__row { display: flex; align-items: center; gap: var(--px-space-small-200); margin-left: calc(-1 * var(--px-space-small-200)); }
.f-back { flex: 0 0 2.75rem; width: 2.75rem; height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: rgb(var(--bx-color-icon)); }
.f-back:focus-visible { outline: var(--bx-focus-ring-width) solid rgb(var(--bx-color-border-focus)); outline-offset: 0; }
.f-step { font-size: var(--bx-font-size-body); color: rgb(var(--bx-color-text-secondary)); white-space: nowrap; }
.f-title { font-size: var(--bx-font-size-display); font-weight: var(--bx-font-weight-bold); line-height: 1.25; color: rgb(var(--bx-color-text)); white-space: nowrap; margin: 0; }

/* a form card: label above the field, one line each */
.f-form { display: flex; flex-direction: column; gap: var(--px-space-base); }
.f-form .px-field { display: flex; flex-direction: column; gap: var(--px-space-small-200); margin: 0; }
.f-form .px-label { white-space: nowrap; font-size: var(--bx-font-size-body); font-weight: var(--bx-font-weight-medium); color: rgb(var(--bx-color-text)); }
.f-form .px-input { box-sizing: border-box; width: 100%; min-height: 3rem; font-size: 1rem; white-space: nowrap; }

/* the 8 pictures, four a line, pictures only; the page's radio sits inside each, out of sight */
.f-avs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--px-space-small-200); border: 0; margin: 0; padding: 0; min-width: 0; }
.f-av { position: relative; display: flex; align-items: center; justify-content: center; min-height: 4rem; border-radius: var(--bx-radius-card); background: rgb(var(--bx-color-bg-surface)); box-shadow: 0 0 0 .0625rem rgb(var(--bx-color-border-secondary)); cursor: pointer; }
.f-av img { width: 3rem; height: 3rem; display: block; }
.f-av.is-on { background: rgb(var(--bx-color-bg-surface-selected)); box-shadow: inset 0 0 0 .125rem rgb(var(--bx-color-border-focus)); }
.f-av:has(input:checked) { background: rgb(var(--bx-color-bg-surface-selected)); box-shadow: inset 0 0 0 .125rem rgb(var(--bx-color-border-focus)); }
.f-av > input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.f-av:has(input:focus-visible) { outline: var(--bx-focus-ring-width) solid rgb(var(--bx-color-border-focus)); outline-offset: .0625rem; }

/* the QR code and the big code */
.f-qr { display: flex; flex-direction: column; align-items: center; gap: var(--px-space-small); }
.f-qr svg, .f-qr img { width: 10.5rem; height: 10.5rem; display: block; }
.f-big__code { margin: 0; font-size: 2rem; line-height: 1.2; font-weight: var(--bx-font-weight-bold); letter-spacing: .15em; color: rgb(var(--bx-color-text)); white-space: nowrap; }

/* the person's initial (the Zalo name, D12) */
.f-init { flex: 0 0 2rem; width: 2rem; height: 2rem; border-radius: 50%; background: rgb(var(--bx-color-bg-fill-tertiary)); color: rgb(var(--bx-color-text)); font-weight: var(--bx-font-weight-bold); display: inline-flex; align-items: center; justify-content: center; font-size: var(--bx-font-size-body); }

/* the dock: the one button where the menu was (dockHtml of setup-parts.mjs) */
.cl-dock .m-btn { margin-top: 0; }
.cl-dock button.m-btn[disabled] { box-sizing: border-box; padding-left: var(--px-space-base); padding-right: var(--px-space-base); gap: var(--px-space-small); color: rgb(var(--bx-color-text-secondary)); background: rgb(var(--bx-color-bg-fill-tertiary)); box-shadow: none; border: 0; }
.f-spin { width: 1.25rem; height: 1.25rem; border-radius: 50%; border: .125rem solid rgb(var(--bx-color-text-secondary) / 0.3); border-top-color: rgb(var(--bx-color-text)); box-sizing: border-box; flex: 0 0 1.25rem; animation: f-spin 1s linear infinite; }
@keyframes f-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .f-spin { animation: none; } }

/* the year field he taps: a field, the value, a chevron down at its right end */
.f-form .px-input.f-pick { display: flex; align-items: center; justify-content: space-between; gap: var(--px-space-small); cursor: pointer; padding-right: calc(var(--px-space-small) - .3125rem); text-align: start; color: rgb(var(--bx-color-text)); }
.f-pick__ic { flex: 0 0 1.5rem; width: 1.5rem; height: 1.5rem; display: inline-flex; color: rgb(var(--bx-color-icon-secondary)); }

/* the year list: the page dimmed, a white sheet from the bottom edge (yearSheetHtml) */
.f-dim { position: fixed; inset: 0; z-index: 60; background: rgb(var(--bx-color-bg-fill-transparent-hover) / .45); }
.f-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; display: flex; flex-direction: column; background: rgb(var(--bx-color-bg-surface)); border-radius: var(--bx-radius-card) var(--bx-radius-card) 0 0; padding: var(--px-space-small-200) var(--px-space-base) calc(var(--px-space-small-100) + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -.125rem .75rem rgb(var(--bx-color-bg-fill-strong) / .15); }
.f-grab { align-self: center; width: 2.5rem; height: .3125rem; border-radius: .1875rem; background: rgb(var(--bx-color-border)); margin-bottom: var(--px-space-small); }
.f-sheet__t { margin: 0 0 var(--px-space-small-200); font-size: var(--bx-font-size-list-heading); font-weight: var(--bx-font-weight-bold); color: rgb(var(--bx-color-text)); white-space: nowrap; line-height: 1.3; }
.f-yrs { list-style: none; margin: 0 0 var(--px-space-small); padding: 0; max-height: calc(9 * 3rem); overflow-y: auto; }
.f-yr { display: flex; align-items: center; justify-content: space-between; height: 3rem; padding: 0 var(--px-space-small-200); border-radius: var(--bx-radius-control); font-size: var(--bx-font-size-list-primary); color: rgb(var(--bx-color-text)); white-space: nowrap; cursor: pointer; }
.f-yr.is-on { font-weight: var(--bx-font-weight-bold); background: rgb(var(--bx-color-bg-surface-selected)); }
.f-yr:focus-visible { outline: var(--bx-focus-ring-width) solid rgb(var(--bx-color-border-focus)); outline-offset: -.125rem; }
.f-yr__ic { flex: 0 0 1.5rem; width: 1.5rem; height: 1.5rem; display: inline-flex; color: rgb(var(--bx-color-text)); }
.f-yr:not(.is-on) .f-yr__ic { visibility: hidden; }
.f-sheet__btn { margin-top: 0; }

/* the set up list on Home: every row a link, one line, 56 high, a chevron at its right end; a done row: Done, then
   the chevron; the open step's title is not bold, the button under it marks it as next */
.m-rows--s .m-row { min-height: 3.5rem; color: rgb(var(--bx-color-text)); font-weight: var(--bx-font-weight-regular); }
.m-rows--s .m-row.is-now { font-weight: var(--bx-font-weight-regular); }
.m-rows--s .m-li-now .m-row { min-height: 3.5rem; }

/* one chevron size everywhere: the right chevron's ink sits 5 inside its 24 box, so the box moves 5 out */
.m-go { margin-right: -.3125rem; }

/* the map button on the child's card (opens Google Maps at the child's position): 44 x 44, a thin round border */
.m-hero__tx { flex: 1 1 auto; min-width: 0; }
.m-mapbtn { flex: 0 0 2.75rem; width: 2.75rem; height: 2.75rem; margin: -.375rem -.375rem -.375rem 0; box-sizing: border-box; border-radius: 50%; border: .0625rem solid rgb(var(--bx-color-border)); background: rgb(var(--bx-color-bg-surface)); color: rgb(var(--bx-color-icon)); display: inline-flex; align-items: center; justify-content: center; }
.m-mapbtn svg.m-i { width: 1.5rem; height: 1.5rem; }

/* step 3: the address field with a search icon and the hint word; the map with the place's circle and its pin */
.f-form .px-input.f-addr { justify-content: flex-start; padding-left: var(--px-space-small); }
.f-addr:focus-within { box-shadow: var(--bx-shadow-input-focus); }
.f-addr > input { flex: 1 1 auto; min-width: 0; margin: 0; padding: 0; border: 0; outline: 0; background: transparent; color: rgb(var(--bx-color-text)); font: inherit; }
.f-addr > input::placeholder { color: rgb(var(--bx-color-text-secondary)); opacity: 1; }
.f-addr__ic { flex: 0 0 1.5rem; width: 1.5rem; height: 1.5rem; display: inline-flex; color: rgb(var(--bx-color-icon-secondary)); }
.f-ph { color: rgb(var(--bx-color-text-secondary)); }
.f-val { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* "Use current location": one quiet action row under the address, the link colour, 44 high */
.f-here { display: flex; align-items: center; gap: var(--px-space-small); min-height: 2.75rem; margin-top: calc(-1 * var(--px-space-small-200)); color: rgb(var(--bx-color-text-link)); font-size: var(--bx-font-size-list-primary); font-weight: var(--bx-font-weight-medium); text-decoration: none; white-space: nowrap; }
.f-here svg.m-i { flex: 0 0 1.5rem; }
.m-map__ring { position: absolute; left: 50%; top: 50%; width: 7rem; height: 7rem; transform: translate(-50%, -50%); border-radius: 50%; background: rgb(var(--bx-color-icon-info) / 0.15); box-shadow: inset 0 0 0 .125rem rgb(var(--bx-color-icon-info) / 0.7); }
.m-pin { display: inline-flex; color: rgb(var(--bx-color-text)); }
.m-pin svg.m-i { width: 2rem; height: 2rem; }

/* suggestions while he types (Screen 38): the field in use carries the focus border; the list hangs from it
   inside the same border, rows one line, 48 high, a thin divider */
.f-combo { border-radius: var(--bx-radius-control); background: rgb(var(--bx-color-input-bg)); box-shadow: var(--bx-shadow-input-focus); overflow: hidden; }
.f-combo .px-input.f-addr.is-active { box-shadow: none; border-radius: 0; background: transparent; }
.f-typed { color: rgb(var(--bx-color-text)); display: inline-flex; align-items: center; }
.f-caret { display: inline-block; width: .125rem; height: 1.25em; margin-left: .0625rem; background: rgb(var(--bx-color-border-focus)); }
.f-sugg { list-style: none; margin: 0; padding: 0; border-top: .0625rem solid rgb(var(--bx-color-border-secondary)); }
.f-sugg__row { display: flex; align-items: center; gap: var(--px-space-small); min-height: 3rem; padding: 0 var(--px-space-small); font-size: 1rem; color: rgb(var(--bx-color-text)); white-space: nowrap; cursor: pointer; }
.f-sugg__row + .f-sugg__row { border-top: .0625rem solid rgb(var(--bx-color-border-secondary)); }
.f-sugg__ic { flex: 0 0 1.5rem; width: 1.5rem; height: 1.5rem; display: inline-flex; color: rgb(var(--bx-color-icon-secondary)); }
.f-sugg__t { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* the secondary button inside the child's card ("Add this place"): white, a thin border, dark text, so the black
   "Add home" stays the one main action; the map circle (44) sits 1 inside the two text lines (46), the card's top
   padding gives that 1 back */
.m-card:has(> .m-btn--line) { padding-top: calc(var(--px-space-base) - .0625rem); }
.m-card .m-btn--line { margin-top: calc(var(--px-space-base) - var(--px-space-small) + var(--px-space-small-500)); min-height: 2.75rem; background: rgb(var(--bx-color-bg-surface)); color: rgb(var(--bx-color-text)); box-shadow: inset 0 0 0 .0625rem rgb(var(--bx-color-border)); }

/* a numbered row's QR code or code, centred under the row text, in the open block */
.f-mid { display: flex; justify-content: center; }
.f-mid:has(> .f-qr) { margin-top: calc(-1 * var(--px-space-small-200)); }
.m-open.f-mid:has(> .f-qr) { margin-top: 0; padding-bottom: var(--px-space-large); }
.f-mid:has(> .f-big__code) { margin-top: calc(-1 * var(--px-space-small)); }
/* a leading icon in the 32 box of the avatar, so the row text starts at the same x as beside an avatar */
.m-row .m-ic.f-lead { flex: 0 0 2rem; width: 2rem; height: 2rem; }
/* the big code's letter spacing also sits after its last digit; the same amount taken back at the right */
.f-mid > .f-big__code { margin-right: -.15em; }

/* Screen 15: "Copy link" under the QR code, in the link style of .f-here, centred, 44 high */
.f-qr .f-here.f-copy { margin-top: 0; justify-content: center; padding: 0 var(--px-space-base); background: none; border: 0; font-family: inherit; cursor: pointer; }
.m-open.f-mid:has(> .f-qr > .f-copy) { padding-bottom: var(--px-space-small); }
.f-qr:has(> .f-copy) { gap: 0; }
.f-qr > .f-here.f-copy { margin-top: var(--px-space-small-500); }

/* Screen 40 (Alerts): the Email row ends in the kit's switch, the Zalo row in a small outlined button "Connect"
   (36 high); a Zalo alert as it arrives: a white chat bubble at the left */
.m-row .px-switch.f-switch { margin: 0; }
.m-row .f-connect { flex: 0 0 auto; min-height: 2.25rem; padding: 0 var(--px-space-base); white-space: nowrap; font-size: var(--bx-font-size-body); background: rgb(var(--bx-color-bg-surface)); color: rgb(var(--bx-color-text)); box-shadow: inset 0 0 0 .0625rem rgb(var(--bx-color-border)); }
.f-bubble { align-self: flex-start; max-width: 100%; box-sizing: border-box; display: flex; flex-direction: column; gap: var(--px-space-small-400); padding: var(--px-space-small) var(--px-space-base); background: rgb(var(--bx-color-bg-surface)); border-radius: var(--bx-radius-focus) var(--bx-radius-card) var(--bx-radius-card) var(--bx-radius-card); box-shadow: 0 0 0 .0625rem rgb(var(--bx-color-border-secondary)); font-size: var(--bx-font-size-list-primary); line-height: 1.4; color: rgb(var(--bx-color-text)); }
.f-bubble__a { color: rgb(var(--bx-color-text)); text-decoration: none; }

/* CHILD-SETUP-001 T-L4, the look repairs (rulings R5-2, R5-3, R5-6, R5-7; R5-5 is the .f-dim colour above, black
   at .45 as mock.css draws it) */
/* R5-2: the Set up card on Home sits 24 under the part above it (mock.css .m-home gap; .cl-home-part gives 16),
   and its header line has 8 under it, not 16 (mock.css .m-card--flush > .m-head), so row 1 keeps its place */
.cl-home-part > * + #sf-setup { margin-top: var(--px-space-small-200); }
.m-card--flush > .m-head { padding-bottom: var(--px-space-small-200); }
/* R5-3: Screen 15's QR svg holds a quiet margin of 4 modules (viewBox 53, 45 drawn); drawn 11.5rem so the code
   itself is 156 wide as in the mock-up, the 8 of extra margin each side taken back so the layout keeps 10.5rem */
#sp-qr svg { width: 11.5rem; height: 11.5rem; margin: calc(-1 * var(--px-space-small-200)) 0; }
/* R5-6: "Get directions" right under the child card, as f28.html draws it (style="margin-top:0") */
.m-home #cl-directions { margin-top: 0; }
/* CHILD-BUGS-040 D-10: Home's small map box when no map is drawn (the empty card shown): the box follows its
   content, nothing cut, the same room above the first part and below the last; 10.5rem holds while a map is drawn */
.m-map--small:has(.map-empty:not([hidden])) { height: auto; }
.m-map .map.cl-bigmap:has(> .map-empty:not([hidden])) { aspect-ratio: auto; min-height: 0; height: auto; }
.m-map #cl-map-fail { padding: var(--px-space-base); }

/* ---------- CHILD-LOGIN-001: the sign-in window (Screen 41, designs/sign-in-flow/f41.html and f41b.html) and Your
   name (Screen 42, f42.html); the drawings' own rules (css/flow.css 213 to 221 and the style block of f41.html),
   tokens only, sizes in rem ---------- */
/* the white button of the window ("Get code", "Send again", "Continue", "Sign in"): the drawing's "Continue with
   Google" look, the kit's white surface, its text colour and its 1 px border, 48 high as every field here */
.f-form .f-google { margin-top: 0; gap: var(--px-space-small); background: rgb(var(--bx-color-bg-surface)); color: rgb(var(--bx-color-text)); box-shadow: inset 0 0 0 .0625rem rgb(var(--bx-color-border)); }
/* Google's own button (D1: drawn by Google's script into this slot), the card's inner width, 48 high */
.f-form .f-gslot { width: 100%; min-height: 3rem; display: flex; align-items: center; justify-content: center; }
/* "or" between the two ways: a hairline each side in the card's border colour */
.f-or { display: flex; align-items: center; gap: var(--px-space-small); font-size: var(--bx-font-size-body); color: rgb(var(--bx-color-text-secondary)); white-space: nowrap; }
.f-or::before, .f-or::after { content: ""; flex: 1 1 0; height: .0625rem; background: rgb(var(--bx-color-border-secondary)); }
/* a field on its own line and its button under it, both the card's whole inner width, the kit's small gap (8)
   between them; a field's message stands under the field, in that gap */
.f-join { display: flex; flex-direction: column; gap: var(--px-space-small-200); }
.f-join > .px-input { width: 100%; }
.f-join > .px-button { width: 100%; height: 3rem; min-height: 3rem; margin: 0; white-space: nowrap; }
/* "Use password", "Forgot password?", "Use a code": the kit's plain link, one line each, 48 tap height, pulled 8 up
   so the last button stands 8 above it; a second link right under the first; medium weight as "Use current
   location" */
.f-form .f-link { align-self: flex-start; display: flex; align-items: center; min-height: 3rem; margin-top: calc(-1 * var(--px-space-small-200)); font-size: var(--bx-font-size-list-primary); font-weight: var(--bx-font-weight-medium); white-space: nowrap; }
.f-form .f-link + .f-link { margin-top: calc(-1 * var(--px-space-base)); }
/* "Send again" switched off for 30 seconds after a send (F2): the kit's disabled text, the same white button */
.f-join > .px-button[disabled] { color: rgb(var(--bx-color-text-disabled)); cursor: default; }

/* ---------- the computer width ---------- */
/* D20 point 12: a block shown from the computer width on (WIDE_ONLY_CLASS of setup-parts.mjs) */
.f-wide { display: none; }
@media (min-width: 900px) {
  .f-wide { display: block; }
  /* D8: during the set up the menu of the left column goes too (the brand and the account button stay) */
  body.cl-nomenu .cl-rail .cl-rail__list { display: none; }
  /* CHILD-LOGIN-001 T-1B2 (MISS 1): site.css's computer rule for the buttons in .cl-main (width fit-content, the
     kit's 28 high, specificity 0,7,0) outranks .f-join > .px-button (0,2,0); the same selector under .f-join
     (0,8,0) keeps each button under a field as wide as its field and 48 high */
  .cl-main .f-join > .px-button:not(.px-button--micro):not(.px-button--icon):not(.px-button--fill):not(.cl-auth .px-button) { width: 100%; height: 3rem; min-height: 3rem; }
}
