/* app/css/board-frame.css: how a phone board's frame sits on a real screen (METHOD CHANGE 2026-11-11). Not the design's
   look: the board's own CSS is app/css/board-<board>.css (generated, unchanged). Only these frame and access rules are ours:
   - the board's 390 x 844 phone frame IS the screen (design/boards/app-shop/slots.md section 4): the page is fixed to the
     viewport, its list scrolls inside, the tab bar stays pinned; the device draws its own status bar and home indicator;
   - the tab bar on every phone page is the board's own .a-tabs, pinned to the bottom of the screen (fixed instead of absolute
     in the frame: the same place), shown wherever the site shows the phone tab bar (below 960 px);
   - board defects not copied (OWNER RULE b): 44 px tap targets for the 40 px chips and the 38 px card buttons, and a visible
     keyboard focus, both without changing what the board draws. */
main#main.board-main { padding: 0; margin: 0; max-width: none; min-height: 0; }
.bd-app-shop.bd-page { position: relative; height: 100vh; height: 100dvh; } /* in flow, not fixed: a fixed layer would lose the board's sharp text */
.bd-app-shop.bd-page .ap { padding-top: env(safe-area-inset-top, 0px); box-sizing: border-box; }
/* t10 (CONTROLLER RULING 2026-11-13): a control that takes keyboard focus scrolls clear of the pinned tab bar (scroll-padding
   sized to the bar; invisible, the pixel pass is unchanged) */
.bd-app-shop [data-list] { scroll-padding-bottom: 100px; }
.bd-app-shop.bd-tabbar .a-tabs { position: fixed; z-index: 30; padding-bottom: env(safe-area-inset-bottom, 0px); }
.bd-app-shop.bd-tabbar.bd-inframe .a-tabs { position: absolute; } /* a board page is exactly one screen tall: the frame's own place */
@media (min-width: 960px) { .bd-app-shop.bd-tabbar { display: none; } }
:root[data-surface="admin"] .bd-tabbar, :root[data-surface="stylist"] .bd-tabbar { display: none; }

/* 44 px targets drawn at 40 / 38 px: an invisible hit area around them */
.bd-app-shop .ny-chip, .bd-app-shop [data-try], .bd-app-shop [data-bag] { position: relative; }
.bd-app-shop .ny-chip::after { content: ""; position: absolute; left: 0; right: 0; top: -2px; bottom: -2px; }
.bd-app-shop [data-try]::after, .bd-app-shop [data-bag]::after { content: ""; position: absolute; left: -3px; right: -3px; top: -3px; bottom: -3px; }
.bd-app-shop [data-pill] { cursor: pointer; }
/* keyboard focus */
.bd-app-shop a:focus-visible, .bd-app-shop button:focus-visible { outline: 2px solid #c99a42; outline-offset: 2px; }
.bd-app-shop .a-tabs a:focus-visible { outline: 2px solid #8a6020; outline-offset: -4px; }

/* t1 round 2 (OWNER RULE b), widths the board does not draw. The 390 board is unchanged by these (the pixel check):
   - the "All" chip is 40 px wide: its hit area grows to 44 px both ways (a chip already 44 px or more keeps its own box);
   - below 390 px a card is too narrow for the tag ("17 COLOURS", "CUSTOMER", "THE HAIR") beside the "Try it on" pill: the
     tag sits under the pill instead of running under it (at 390 only the tag's padding tucks under the pill, as on the board);
   - a card's name wraps instead of being cut with "…" (see below). */
.bd-app-shop .ny-chip::after { left: min(0px, calc(50% - 22px)); right: min(0px, calc(50% - 22px)); top: min(-2px, calc(50% - 22px)); bottom: min(-2px, calc(50% - 22px)); }
@media (max-width: 389.98px) { .bd-app-shop [data-card] [data-tag] { top: 46px !important; } }
/* OWNER RULE (b), at every phone width including the board's own 390: a long name wraps instead of being cut with "…" (the
   file cuts "Mocha Radiance · custo…", a mock-up fault not copied), and a row's buttons stay level when one card's name or
   "from" line takes two lines (the file lets them sit at different heights, also not copied). fixtures.json notCopied sets
   these boxes aside in the pixel check. */
.bd-app-shop [data-card] [data-name] { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; overflow-wrap: break-word; }
.bd-app-shop [data-card] > [data-actions] { margin-top: auto; }

/* t2: Home at >= 601 px is the owner's Website · Home file (app/css/board-web-home.css, generated). Only access fixes are
   ours here (OWNER RULE b), none of them visible in the board's resting state:
   - 44 px targets for the links the file draws smaller (the top bar's links 40 px tall and its 38 px logo, the cards' 36 px
     "Try it on" pills, the cards' text links, the footer's 29 px links and 15 px legal links): an invisible hit area around
     each, centred on it, never smaller than the link itself;
   - a visible keyboard focus (the file has none). */
.bd-web-home:not(#bd):not(#bd) :is(nav a, #trio a:not(.ny-btn), #care a:not(.ny-btn), footer a, .ny-theme button) { position: relative; }
.bd-web-home:not(#bd):not(#bd) :is(nav a, .ny-try, #trio a:not(.ny-btn), #care a:not(.ny-btn), footer a, .ny-theme button)::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: max(100%, 44px); transform: translate(-50%, -50%); }
.bd-web-home:not(#bd):not(#bd) :is(a, button, input, video):focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
/* - WCAG 2.2.2: the banner film plays by itself, and the file gives no way to stop it. Its pause button sits in the film's
     corner, invisible until it has keyboard focus (Tab reaches it after the top bar); a click on it, Enter or Space pauses the
     film and the photos behind it, and plays them again. The films band's own films pause on a click, Enter or Space. */
.bd-web-home:not(#bd):not(#bd) .bd-pause { position: absolute; right: 28px; bottom: 28px; z-index: 2; width: 44px; height: 44px; padding: 0; border-radius: 22px;
  border: 1px solid var(--gold); background: rgba(var(--ink-rgb), .7); color: var(--gold); cursor: pointer; opacity: 0; display: flex; align-items: center; justify-content: center; }
.bd-web-home:not(#bd):not(#bd) .bd-pause:focus-visible { opacity: 1; outline-offset: 3px; }
.bd-web-home:not(#bd):not(#bd) .bd-pause::before { content: ""; width: 4px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; box-sizing: content-box; }
.bd-web-home:not(#bd):not(#bd) .bd-pause[aria-pressed="true"]::before { width: 0; height: 0; border-style: solid; border-color: transparent transparent transparent currentColor; border-width: 8px 0 8px 13px; margin-left: 4px; }
.bd-web-home:not(#bd):not(#bd) video[data-ny="reel"] { cursor: pointer; }
/* - text contrast (WCAG AA 4.5:1): the file's deep gold (#9A7A2E in Noir, #8F6A2A in Cocoa) reads 3.5:1 and 4.3:1 on its cream
     (the collection's eyebrow, prices and "Shop", the trio's and care's gold links and step numbers). The same gold, a shade
     darker, reaches 4.7:1 and 4.6:1; Valentine and Christmas already pass. design/boards/web-home/fixtures.json notCopiedRules
     puts the file's own value back for the pixel check. */
.bd-web-home:not(#bd):not(#bd) [data-theme="noir"] { --gold-deep: #816627; }
.bd-web-home:not(#bd):not(#bd) [data-theme="cocoa"] { --gold-deep: #896628; }
/*   The same for the file's faint small text: "Prices in naira per bundle, as of …" (ink at .5 on cream, 3.6:1), the hair
     guide's "Hair" and "Length" (ink at .55 on paper, 4.3:1) and the footer's legal line (cream at .45 on ink, 4.1:1) are set
     just less faint (.58, .57, .49), each at 4.6:1. Put back for the pixel check by fixtures.json notCopiedRules. */
.bd-web-home:not(#bd):not(#bd) [data-asof] { color: rgba(var(--ink-rgb), .58) !important; }
.bd-web-home:not(#bd):not(#bd) [data-glab] { color: rgba(var(--ink-rgb), .57) !important; }
.bd-web-home:not(#bd):not(#bd) footer [data-legal-line] { color: rgba(var(--cream-rgb), .49); }
/*   The other three themes (release check, 2026-11-12): their ink is lighter than Noir's (brown, burgundy, green), so the same
     faint small texts fall under 4.5:1 there: the hair cards' "12\" to 30\" · 3 to 5 bundles" (ink at .6 on cream: 4.3, 4.3 and
     3.7:1 in Cocoa, Valentine and Christmas), "Prices in naira …" and the guide's "Hair" and "Length" (down to 3.4:1), the
     trust strip's second lines in Christmas (ink at .65: 4.2:1), and the footer's four small headings and legal line (cream at
     .5 and .49 on ink: 4.4 and 4.2:1 in Valentine and Christmas). Each is set just less faint, to 4.6:1, in its own theme
     only; Noir is untouched, so the pixel check against the owner's file is too. */
.bd-web-home:not(#bd):not(#bd) [data-theme="cocoa"] :is([data-meta], [data-asof], [data-glab]) { color: rgba(var(--ink-rgb), .63) !important; }
.bd-web-home:not(#bd):not(#bd) [data-theme="cocoa"] footer :is(.ny-eyebrow, [data-legal-line]) { color: rgba(var(--cream-rgb), .5) !important; }
.bd-web-home:not(#bd):not(#bd) [data-theme="valentine"] :is([data-meta], [data-asof], [data-glab]) { color: rgba(var(--ink-rgb), .63) !important; }
.bd-web-home:not(#bd):not(#bd) [data-theme="valentine"] footer :is(.ny-eyebrow, [data-legal-line]) { color: rgba(var(--cream-rgb), .52) !important; }
.bd-web-home:not(#bd):not(#bd) [data-theme="christmas"] :is([data-meta], [data-asof], [data-glab]) { color: rgba(var(--ink-rgb), .68) !important; }
.bd-web-home:not(#bd):not(#bd) [data-theme="christmas"] .ny-trust-item p + p { color: rgba(var(--ink-rgb), .69) !important; }
.bd-web-home:not(#bd):not(#bd) [data-theme="christmas"] footer :is(.ny-eyebrow, [data-legal-line]) { color: rgba(var(--cream-rgb), .55) !important; }
/* OWNER RULE b (real data and the placeholder): the Circle's link field shows the link that is really shared (the shop's, or her
   own), not the file's "nayelihair.com/r/yourname". In the file that field is exactly as wide as its placeholder (its text's
   min-content, 14.9772em of its 13 px type) and "Share my link" takes the rest of the row (three lines at 1440). The field keeps
   that width as its minimum, so with a shorter or longer link the row is drawn as the file draws it; a longer link wraps
   inside the field (which grows from the file's 46 px only when it must) instead of pushing the button past the card's edge. */
/* OWNER RULE b (clipped layout in the file itself): the file's row needs 332.4 px (field 224.7 + gap 8 + the button's narrowest
   99.7), more than a narrow card holds. Down to a 301 px row (cards from 367 px: 1280, 1366, 1440, 1920) the file lets the
   button run into the card's 32 px padding and it stays whole, so that is drawn as the file draws it. In a narrower card
   (601-1247 px windows such as 700, 768 and 1180) the file pushes the button past the card's edge and cuts its words off;
   there the field gives way instead (its link wraps inside it) and the button stays whole, inside the card's padding.
   138px = gap 8 + button 99.7 + the field's own padding and border 30; the *1000 term is the 301 px switch. */
.bd-web-home:not(#bd):not(#bd) [data-circle-link] { min-width: min(14.9772em, max(100% - 138px, (100% - 301px) * 1000)); overflow-wrap: anywhere; height: auto !important; min-height: 32px; padding-top: 7px !important; padding-bottom: 7px !important; }
/*   t2 fix round 2: the file gives the field no room above or below (padding 0 14px, one line centred in a 46 px content box),
     so a link that wrapped to three or more lines sat 1 px (the border) from the top and bottom of its box. 7 px each side with
     a 32 px minimum: one and two lines (16 px each) still make exactly the file's box (7 + 32 + 7 = 46, 48 with the border),
     so the pixel-checked widths are untouched; from three lines the box grows and keeps the same room. */

/* t3: the phone's Looks tab (#/home at <= 600 px) is the design's App · Looks board (app/css/board-app-home.css, generated).
   Frame, as the Shop: the board's 390 x 844 phone frame IS the screen, its list scrolls inside, the app's tab bar is pinned. */
.bd-app-home.bd-page { position: relative; height: 100vh; height: 100dvh; }
.bd-app-home.bd-page .ap { padding-top: env(safe-area-inset-top, 0px); box-sizing: border-box; }
/* t10 (CONTROLLER RULING 2026-11-13): focus scrolls clear of the pinned tab bar, as on the Shop */
.bd-app-home [data-list] { scroll-padding-bottom: 100px; }
/* The board's opening card (photo of two friends, "Lookbook", the page's only h1 "See it on you before you braid.", 210 px in
   its markup) is squeezed by the board's own scrolling list to a 2 px gold line. A card collapsed by its list is broken layout
   (OWNER RULE b; t3 verify 1), not design: the site draws the card whole, at the 210 px the designer wrote.
   design/boards/app-home/fixtures.json notCopiedRules puts the squeeze back for the pixel check. */
.bd-app-home [data-hero] { flex-shrink: 0; }
/* Drawn whole, the card shows a second fault the squeeze had hidden (OWNER RULE b: unreadable contrast): its words lie on the
   bright veranda wall behind the two friends, and the board's own shade is too light there. Measured against the photo's own
   pixels: "LOOKBOOK" 1.0 to 1.7:1, the gold "before you braid." 1.0 to 1.9:1, "See it on you" down to 1.4:1. Fixed as the
   Lookbook's reveal captions are (t3): a soft dark fade under the words, which stay exactly where the board puts them (the
   box grows to the card's edges, its padding is the board's 16 px and 14 px), and the photo is framed so both faces sit above
   the words instead of behind them (their faces 40 px from the card's top at every phone width; the board's "50% 30%" put them
   behind "LOOKBOOK"). After it every word reads 4.8:1 or more at 320 to 600 px. fixtures.json puts the board's own back. */
.bd-app-home [data-hero] > img { object-position: 50% calc(61px - 52.5vw) !important; }
.bd-app-home [data-hero] > div:last-child { left: 0 !important; right: 0 !important; bottom: 0 !important; padding: 22px 16px 14px;
  background: linear-gradient(180deg, rgba(18, 19, 23, 0), rgba(18, 19, 23, .83) 20px, rgba(18, 19, 23, .88) 100%); }
/* Other board defects not copied (OWNER RULE b), none of them visible in the board's resting state:
   - 44 px targets for the 40 px chips and share chips and the 38 px card buttons: an invisible hit area around each;
   - the films say "Tap to play" but the board gives them no way to play: a tap, Enter or Space plays and pauses them;
   - a visible keyboard focus;
   - below 390 px a card is too narrow for its tag beside the "Try it on" pill: the tag sits under the pill. */
.bd-app-home .ny-chip, .bd-app-home [data-try], .bd-app-home [data-bag], .bd-app-home [data-share] :is(a, button) { position: relative; }
.bd-app-home .ny-chip::after, .bd-app-home [data-share] :is(a, button)::after { content: ""; position: absolute; left: min(0px, calc(50% - 22px)); right: min(0px, calc(50% - 22px)); top: min(-2px, calc(50% - 22px)); bottom: min(-2px, calc(50% - 22px)); }
/* (the hit areas grow up and to the left only: an area past a button's right edge would count as its text running over) */
.bd-app-home [data-try]::after { content: ""; position: absolute; left: 0; right: 0; top: -3px; bottom: -3px; }
.bd-app-home [data-bag]::after { content: ""; position: absolute; left: -6px; right: 0; top: -3px; bottom: -3px; }
.bd-app-home [data-pill], .bd-app-home video[data-film] { cursor: pointer; }
/* the Look of the week's text link ("See it worn · try it on") is one line of 12.5 px type: a 44 px hit area around it */
.bd-app-home [data-lotw] div > a { position: relative; }
.bd-app-home [data-lotw] div > a::after { content: ""; position: absolute; left: -6px; right: -6px; top: 50%; height: 44px; transform: translateY(-50%); }
.bd-app-home :is(a, button, video):focus-visible { outline: 2px solid #c99a42; outline-offset: 2px; }
@media (max-width: 389.98px) { .bd-app-home [data-card] [data-tag] { top: 46px !important; } }
/* - a row's buttons stay level when one card's "from" line takes two lines ("Boho Deep Wave · from ₦10,000" beside "Bone
     Straight · from ₦8,000": the board lets them sit at different heights). fixtures.json notCopiedRules puts the board's own
     rule back for the pixel check, because the level row moves by a line. */
.bd-app-home [data-card] > [data-actions] { margin-top: auto; }

/* t3: the Lookbook at >= 601 px is the design's Website · Lookbook board (app/css/board-web-shop.css, generated). Only access
   fixes are ours here (OWNER RULE b), none of them visible in the board's resting state:
   - 44 px targets for what the board draws smaller (the top bar's links, the chips, the 36 px "Try it on" pills, the footer's
     links, the owner's theme chips): an invisible hit area around each, centred on it, never smaller than the control;
   - a visible keyboard focus (the board has none); the reveal films play on a click, Enter or Space. */
.bd-web-shop:not(#bd):not(#bd) :is(nav a, .ny-chip, footer a, .ny-theme button) { position: relative; }
.bd-web-shop:not(#bd):not(#bd) :is(nav a, .ny-chip, .ny-try, footer a, .ny-theme button)::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: max(100%, 44px); transform: translate(-50%, -50%); }
.bd-web-shop:not(#bd):not(#bd) :is(a, button, video):focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.bd-web-shop:not(#bd):not(#bd) nav :is(a, button):focus-visible, .bd-web-shop:not(#bd):not(#bd) .ny-card-dark :is(a, button):focus-visible, .bd-web-shop:not(#bd):not(#bd) footer :is(a, button):focus-visible { outline-color: var(--gold); }
.bd-web-shop:not(#bd):not(#bd) video[data-film] { cursor: pointer; }
/* the owner's theme chips are the last thing on the page: their hit areas must not make the page 7 px taller than the board */
.bd-web-shop:not(#bd):not(#bd) footer { overflow: clip; }
/* - text contrast (WCAG AA 4.5:1), as on Home (t2): the board's deep gold (#9A7A2E in Noir, #8F6A2A in Cocoa) reads 3.5:1 and
     4.3:1 on its cream (the eyebrows, "hairstyle.", the cards' prices). The same gold, a shade darker, reaches 4.7:1 and 4.6:1;
     Valentine and Christmas already pass. The board's faintest small texts (a bundle photo's "French Curl · from ..." at ink
     .55, the phone number at ink .55, the footer's as-of line at cream .45) are set just less faint. fixtures.json
     notCopiedRules puts the board's own values back for the pixel check. */
.bd-web-shop:not(#bd):not(#bd) [data-theme="noir"] { --gold-deep: #816627; }
.bd-web-shop:not(#bd):not(#bd) [data-theme="cocoa"] { --gold-deep: #896628; }
.bd-web-shop:not(#bd):not(#bd) :is([data-shades] a p + p, [data-phone]) { color: rgba(var(--ink-rgb), .58) !important; }
.bd-web-shop:not(#bd):not(#bd) [data-asof] { color: rgba(var(--cream-rgb), .49) !important; }
.bd-web-shop:not(#bd):not(#bd) :is([data-theme="cocoa"], [data-theme="valentine"]) :is([data-shades] a p + p, [data-phone], [data-lens], [data-vibe], [data-count-line], [data-sub]) { color: rgba(var(--ink-rgb), .66) !important; }
.bd-web-shop:not(#bd):not(#bd) [data-theme="christmas"] :is([data-shades] a p + p, [data-phone], [data-lens], [data-vibe], [data-count-line], [data-sub]) { color: rgba(var(--ink-rgb), .7) !important; }
.bd-web-shop:not(#bd):not(#bd) :is([data-theme="cocoa"], [data-theme="valentine"], [data-theme="christmas"]) [data-asof] { color: rgba(var(--cream-rgb), .56) !important; }
/*   t3 verify 3: the lift above held for Noir and for the lines it named only. Measured with real data in the other themes, the
     sections' sub-lines ([data-sub]: "Already know your braider? ...", "Real photos of every bundle we sell ...", "Every video
     and photo here was sent in ...", ink at .6 and .65 on cream) read 3.7 to 4.3:1, and in Christmas the finder's step labels
     ([data-step]: "1 · Your vibe", cream at .55 on the dark card) 4.1:1. Each is set just less faint in its own theme only;
     Noir is untouched. The owner's own "Site theme · admin" label (cream at .45 on the footer) reads 3.7 to 4.05:1 in all four:
     it takes the as-of line's value, and fixtures.json notCopiedRules puts the board's back for the Noir pixel check. */
.bd-web-shop:not(#bd):not(#bd) [data-theme="christmas"] [data-step] { color: rgba(var(--cream-rgb), .62) !important; }
.bd-web-shop:not(#bd):not(#bd) .ny-theme > span { color: rgba(var(--cream-rgb), .49); }
.bd-web-shop:not(#bd):not(#bd) :is([data-theme="cocoa"], [data-theme="valentine"], [data-theme="christmas"]) .ny-theme > span { color: rgba(var(--cream-rgb), .56); }
/*   In the dark "start here" card the board's own deep gold already reads 4.6:1 in Noir (it is kept there); in the other themes the
     card's eyebrows take the theme's bright gold. */
.bd-web-shop:not(#bd):not(#bd) [data-theme="noir"] .ny-card-dark { --gold-deep: #9A7A2E; }
.bd-web-shop:not(#bd):not(#bd) :is([data-theme="cocoa"], [data-theme="valentine"], [data-theme="christmas"]) .ny-card-dark { --gold-deep: var(--gold); }
/* - unreadable text in the board itself (OWNER RULE b): the finder's answer ("French Curl · Chestnut Grace · 30"") is drawn in the
     page's ink on the dark card, 1.06:1, all but invisible: the site writes it in the card's cream, like the lines around it;
   - a reveal's caption is white type straight on the customer's photo or film: a soft dark fade under the caption (the caption's
     own box, the words stay exactly where the board puts them) keeps it readable on a bright picture.
     fixtures.json notCopiedRules puts both back as the board draws them for the pixel check. */
.bd-web-shop:not(#bd):not(#bd) [data-find-name] { color: var(--cream); }
.bd-web-shop:not(#bd):not(#bd) .ny-rev > span:last-child { left: 0 !important; right: 0 !important; bottom: 0 !important; padding: 26px 10px 10px; background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .62) 45%); pointer-events: none; }
/* - covered, overlapping text in the board itself (OWNER RULE b; t3 verify 2): on every look card the board puts the "N colours"
     chip at the same top-right corner as the "Try it on" pill, so the pill covers its words and only a black sliver of the chip
     shows at the pill's left. The site does not draw the chip (the pill stands alone, as it reads on the board); the count
     stays in the page for screen readers, and each hair's count is written on its card under "The hair". fixtures.json
     notCopiedRules puts the chip back for the pixel check. */
.bd-web-shop:not(#bd):not(#bd) [data-card] span[data-count] { clip-path: inset(50%); }

/* t4: a look's page and a hair's page on a computer (#/lookbook/<look>, #/shop/<look or shade> at >= 601 px) are the design's
   Website · look page board (app/css/board-web-product.css, generated). Only these access rules are ours (OWNER RULE b);
   design/boards/web-product/fixtures.json notCopiedRules puts each back for the pixel check.
   - 44 px hit areas around the smaller links and buttons, and a visible keyboard focus, with no visible change; */
.bd-web-product:not(#bd):not(#bd) :is(nav a, footer a, .ny-theme button, [data-stepper] button, [data-cards] a) { position: relative; }
.bd-web-product:not(#bd):not(#bd) :is(nav a, footer a, .ny-theme button, [data-stepper] button, [data-cards] a)::after, .bd-web-product:not(#bd):not(#bd) .ny-try::after {
  content: ""; position: absolute; left: min(0px, calc(50% - 22px)); right: min(0px, calc(50% - 22px)); top: min(0px, calc(50% - 22px)); bottom: min(0px, calc(50% - 22px)); }
.bd-web-product:not(#bd):not(#bd) :is(a, button, video):focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.bd-web-product:not(#bd):not(#bd) :is(nav[aria-label="Site"], [data-buybar], [data-xsell]) :is(a, button):focus-visible { outline-color: var(--gold); }
.bd-web-product:not(#bd):not(#bd) video[data-film] { cursor: pointer; }
.bd-web-product:not(#bd):not(#bd) button:disabled { cursor: default; opacity: .35; }
/* - the board lays its "Try it on" pill over the heart (the heart cannot be seen whole or pressed): the heart sits in the
     photo's other top corner, whole; */
.bd-web-product:not(#bd):not(#bd) [data-save] { right: auto !important; left: 16px !important; }
/* - the deep gold text a shade darker in Noir and Cocoa and the faintest small texts less faint (WCAG AA, as on Home and the
     Lookbook); */
.bd-web-product:not(#bd):not(#bd) [data-theme="noir"] { --gold-deep: #816627; }
.bd-web-product:not(#bd):not(#bd) [data-theme="cocoa"] { --gold-deep: #896628; }
.bd-web-product:not(#bd):not(#bd) :is([data-crumbs], [data-shades-label], [data-lab], [data-foot]) { color: rgba(var(--ink-rgb), .6) !important; }
.bd-web-product:not(#bd):not(#bd) :is([data-theme="cocoa"], [data-theme="valentine"]) :is([data-crumbs], [data-shades-label], [data-lab], [data-foot]) { color: rgba(var(--ink-rgb), .66) !important; }
.bd-web-product:not(#bd):not(#bd) [data-theme="christmas"] :is([data-crumbs], [data-shades-label], [data-lab], [data-foot]) { color: rgba(var(--ink-rgb), .7) !important; }
/* - the owner's "Site theme · admin" row is drawn in the dark footer's cream on this page's light footer (it cannot be read):
     the same row in the page's ink. */
.bd-web-product:not(#bd):not(#bd) .ny-theme { border-top-color: rgba(var(--ink-rgb), .12); color: rgba(var(--ink-rgb), .74); }
.bd-web-product:not(#bd):not(#bd) .ny-theme button { border-color: rgba(var(--ink-rgb), .3); color: rgba(var(--ink-rgb), .8); }
.bd-web-product:not(#bd):not(#bd) .ny-theme button.on { border-color: var(--gold-deep); color: var(--gold-deep); }

/* t4: a look's page and a hair's page on the phone (<= 600 px) are the design's App · look page board
   (app/css/board-app-product.css, generated). Frame, as the Shop: the board's 390 x 844 phone frame IS the screen, its list
   scrolls inside, the price bar sits above the app's tab bar. Ours (OWNER RULE b), with no visible change at 390:
   44 px hit areas around the 24 px colour dots, the 36 px stepper buttons, the 40 px share chips and the small text links,
   a visible keyboard focus, and a name for screen readers only. */
.bd-app-product.bd-page { position: relative; height: 100vh; height: 100dvh; }
.bd-app-product.bd-page .ap { box-sizing: border-box; }
.bd-app-product .bd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bd-app-product :is(.ny-sw, [data-stepper] button, [data-share] :is(a, button), [data-all-looks], [data-next="close"], .ny-chip) { position: relative; }
.bd-app-product :is([data-stepper] button, [data-share] :is(a, button), [data-all-looks], [data-next="close"], .ny-chip)::after { content: ""; position: absolute; left: min(0px, calc(50% - 22px)); right: min(0px, calc(50% - 22px)); top: min(0px, calc(50% - 22px)); bottom: min(0px, calc(50% - 22px)); }
.bd-app-product .ny-sw::after { content: ""; position: absolute; left: -4px; right: -4px; top: -10px; bottom: -10px; }
.bd-app-product :is(a, button):focus-visible { outline: 2px solid #8a6020; outline-offset: 2px; }
.bd-app-product [data-buybar] :is(a, button):focus-visible { outline-color: #f1f0ee; }
.bd-app-product button:disabled { cursor: default; opacity: .35; }
@media (prefers-reduced-motion: reduce) { .bd-app-product .ny-bf, .bd-app-product .ny-bf * { animation: none !important; transition: none !important; } }
.bd-app-product [role="dialog"]:focus { outline: none; }
/* A phone's browser is much shorter than the board's 844 px (its address bar): in the fixed frame the 380 px photo, the price
   bar and the tab bar would leave a slit of the list, or none, and the colours, lengths and bundles could not be reached
   (clipped layout at a size the board does not draw: OWNER RULE b, METHOD CHANGE "in-between" sizes; t4 re-verify 1). Below
   760 px of height the photo scrolls away with the list: the frame itself scrolls, the price bar, the bag sheet and the tab
   bar stay where the board pins them. From 760 px up (the board's 844 included) nothing changes.
   The page marks itself [data-short] (app-product.js useShort, the same height query heard in script) instead of a CSS
   media query here: a screenshot tool shrinks the window for an instant, and a CSS query would flip the frame and lose the
   list's place in mid-capture (tools/board-diff.mjs holds the script's query events, as for the phone switch). */
.bd-app-product.bd-page[data-short] > .ap { overflow: hidden auto !important; overscroll-behavior: contain; }
.bd-app-product.bd-page[data-short] > .ap > :is([data-main], [data-list]) { flex: none !important; }
.bd-app-product.bd-page[data-short] > .ap > [data-list] { overflow: visible !important; }
/* on the shortest screens the photo is no taller than the room above the price bar (127 px) and the tab bar (86 px), so
   the shade's name and "Try it on" on it are seen as the page opens, not under the bar */
.bd-app-product.bd-page[data-short] > .ap > [data-main] { height: min(380px, calc(100vh - 213px)) !important; height: min(380px, calc(100dvh - 213px)) !important; }
.bd-app-product.bd-page[data-short] > .ap > :is([data-buybar], [data-next-sheet]) { position: fixed !important; }
.bd-app-product.bd-page[data-short] .bd-tabbar.bd-inframe .a-tabs { position: fixed; }
/* The board lays its bag sheet under the tab bar: its last row ("Pick date & braider", "Continue shopping") and half of
   "Complete order" cannot be seen or pressed there. The sheet ends where the tab bar begins (its content scrolls inside);
   design/boards/app-product/fixtures-next.json notCopiedRules puts it back for the pixel check. */
.bd-app-product [data-next-sheet] { bottom: 94px !important; } /* the bar's 86 px, its 7 px padding and its 1 px line */
/* The sheet is a column that scrolls: with less room (the tab bar, a short phone) its parts must keep their own height
   and the sheet scroll, never squeeze ("Complete order ..." is the board's 52 px at every phone size; t4 verify 1). */
.bd-app-product [data-next-sheet] > [role="dialog"] > * { flex-shrink: 0; }
/* The board's own scrolling list squeezes its "See it on you before you buy" card (the Her / You pictures, the line, "Upload
   your photo") to a 30 px strip: a card collapsed by its list is broken layout (OWNER RULE b, as the Looks tab's opening card,
   t3 verify 1), not design. The site draws the card whole, as the designer wrote it; fixtures.json notCopiedRules puts the
   squeeze back for the pixel check. */
.bd-app-product [data-try-card] { flex-shrink: 0; }
/* Cut-off text (OWNER RULE b; t4 verify 4, as the Shop's card names, t1): the board cuts the names under "Similar looks"
   with "…" (its own sample too) and would cut the label on the photo on a narrow phone. Every name is written out, on a
   second line where it must; fixtures.json notCopiedRules puts the cut back under "Similar looks" for the pixel check. */
.bd-app-product [data-similar] [data-name], .bd-app-product [data-main] :is([data-on], [data-title]) { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; overflow-wrap: break-word; }
/* The card's parts (and the share row) are lifted one layer in the board, which makes them slide OVER the price bar as the
   list scrolls; the price bar stays on top of the list, under the bag sheet and the tab bar. */
.bd-app-product [data-buybar] { z-index: 5; }
/* Contrast (WCAG AA, OWNER RULE b): the board's small labels are ink at .55 on its toile (3.96:1) and on white (4.1:1): just
   less faint. "Her" and "You" are white type straight on the two pictures of the try-on card: a soft dark ground under each
   word, the word where the board puts it. fixtures.json notCopiedRules puts the labels back for the pixel check. */
.bd-app-product .ny-lab, .bd-app-product [data-lab] { color: rgba(18, 19, 23, .64) !important; }
.bd-app-product [data-try-card] span.a-it { padding: 1px 8px 3px; margin: 0 -8px -3px; background: rgba(18, 19, 23, .62); }

/* ============================================================================================================ t5
   The bag and the booking (App · One bag, App · Book, Website · Book a braider; the computer bag in the Website boards'
   language). The boards' own CSS is generated (board-app-bag.css, board-app-book.css, board-web-book.css); only the frame,
   the access fixes and the areas the boards do not draw are ours here (OWNER RULE b, METHOD CHANGE "areas the design
   doesn't draw": built from the boards' own tokens, type, radii and rows). */
.bd-app-bag.bd-page, .bd-app-book.bd-page { position: relative; height: 100vh; height: 100dvh; }
.bd-app-bag.bd-page .ap, .bd-app-book.bd-page .ap { box-sizing: border-box; }
/* the board prints its pay block outside the dark frame, so its total is black on the dark page (unreadable): the frame's own cream */
.bd-app-bag [data-paybar] { color: #f1f0ee; }
/* the board's list cannot be scrolled (a second hair line, the details and the delivery areas would be out of reach) */
.bd-app-bag [data-list] { overflow: hidden auto !important; overscroll-behavior: contain; }
.bd-app-bag [data-list] > * { flex-shrink: 0; }
/* A screen too short for the pinned sheet (app/js/boards/pinned.js marks the page [data-short]; the board's 844 px never is):
   the sheet would cover the list it serves (clipped layout, OWNER RULE b), so the page scrolls as a whole and the sheet
   follows the list, its parts unchanged; the tab bar stays pinned, and a focused control is scrolled to above it. */
.bd-app-book.bd-page[data-short] > .ap { overflow: hidden auto !important; overscroll-behavior: contain; padding-bottom: 86px; scroll-padding-bottom: 94px; }
.bd-app-book.bd-page[data-short] > .ap > [data-list] { flex: none !important; overflow: visible !important; }
.bd-app-book.bd-page[data-short] > .ap > [data-book-bar] { position: relative !important; bottom: auto !important; flex: none; }
/* the bag's pay block sits outside its frame (as the board draws it): there the page itself scrolls */
.bd-app-bag.bd-page[data-short] { overflow: hidden auto; overscroll-behavior: contain; padding-bottom: 86px; scroll-padding-bottom: 94px; box-sizing: border-box; background: rgb(18, 19, 23); }
.bd-app-bag.bd-page[data-short] > .ap { height: auto !important; overflow: visible !important; }
.bd-app-bag.bd-page[data-short] > .ap > [data-list] { flex: none !important; overflow: visible !important; }
.bd-app-bag.bd-page[data-short] > [data-paybar] { position: relative !important; bottom: auto !important; }
:is(.bd-app-bag, .bd-app-book).bd-page[data-short] .bd-tabbar.bd-inframe .a-tabs { position: fixed; }
.bd-app-bag :is(a, button, input):focus-visible { outline: 2px solid #c99a42; outline-offset: 2px; }
.bd-app-bag button:disabled { cursor: default; opacity: .45; }
.bd-app-bag [data-stepper] button, .bd-app-bag [data-edit-slot], .bd-app-bag [data-logo] { position: relative; }
.bd-app-bag :is([data-stepper] button, [data-edit-slot], .ny-row > button, .ny-row > div > :is(button, a))::after { content: ""; position: absolute; left: min(0px, calc(50% - 22px)); right: min(0px, calc(50% - 22px)); top: min(0px, calc(50% - 22px)); bottom: min(0px, calc(50% - 22px)); }
.bd-app-bag .ny-row > button, .bd-app-bag .ny-row > div > :is(button, a) { position: relative; }
.bd-app-bag [data-logo], .bd-app-book [data-logo] { display: block; width: fit-content; }
.bd-app-bag [hidden] { display: none !important; }
/* her details and the delivery areas (not drawn on the board): the board's row card, its small gold label, its pills */
.bd-app-bag .bd-form, .bd-web-book:not(#bd):not(#bd) .bd-form { display: flex; flex-direction: column; gap: 10px; }
.bd-app-bag .bd-form .nyod { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 18px; border: 1px solid rgba(201,154,66,.3); background: #1d1e24; }
:is(.bd-app-bag, .bd-app-book) .bd-form h2 { margin: 0; font-size: 11px; font-weight: 500 !important; letter-spacing: .18em !important; text-transform: uppercase; color: #c99a42; }
:is(.bd-app-bag, .bd-app-book) .bd-form :is(.form-grid, fieldset) { display: flex; flex-direction: column; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
:is(.bd-app-bag, .bd-app-book) .bd-form [hidden] { display: none !important; }
:is(.bd-app-bag, .bd-app-book) .bd-form legend { padding: 0; margin: 0 0 8px; font-size: 12px; font-weight: 600; }
:is(.bd-app-bag, .bd-app-book) .bd-form .field { display: flex; flex-direction: column; gap: 4px; }
:is(.bd-app-bag, .bd-app-book) .bd-form :is(label, .nyod-k) { font-size: 12px; font-weight: 600; }
:is(.bd-app-bag, .bd-app-book) .bd-form :is(.input, .textarea) { height: 46px; padding: 0 12px; border-radius: 12px; border: 1px solid rgba(201,154,66,.5); background: transparent; color: inherit; font-family: inherit; font-size: 16px; font-weight: 500; box-sizing: border-box; width: 100%; }
:is(.bd-app-bag, .bd-app-book) .bd-form .textarea { height: 88px; padding: 10px 12px; }
:is(.bd-app-bag, .bd-app-book) .bd-form .input[readonly] { opacity: .75; }
:is(.bd-app-bag, .bd-app-book) .bd-form :is(.field-hint, .small, .field-error, .nyod-check span) { margin: 0; font-size: 12px; font-weight: 600; line-height: 1.4; }
.bd-app-bag .bd-form :is(.field-hint, .small) { color: rgba(241,240,238,.65); }
.bd-app-book .bd-form :is(.field-hint, .small) { color: rgba(18,19,23,.7); }
.bd-app-bag .bd-form .field-error { color: #e7d3a6; }
.bd-app-book .bd-form .field-error { color: #8a2a1a; }
:is(.bd-app-bag, .bd-app-book) .bd-form .nyod-check { display: flex; gap: 10px; align-items: flex-start; min-height: 44px; }
:is(.bd-app-bag, .bd-app-book) .bd-form .nyod-check input { width: 22px; height: 22px; flex: none; margin: 0; accent-color: #c99a42; }
:is(.bd-app-bag, .bd-app-book) .bd-form :is(.link-btn, .nyod-fold, .btn) { min-height: 44px; padding: 0 14px; border: 1px solid rgba(201,154,66,.5); background: transparent; color: #c99a42; font-family: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.bd-app-book .bd-form :is(.link-btn, .nyod-fold, .btn) { border-color: rgba(18,19,23,.3); color: #121317; }
:is(.bd-app-bag, .bd-app-book) .bd-form .nyod-fold { display: flex; justify-content: space-between; align-items: center; width: 100%; text-align: left; }
:is(.bd-app-bag, .bd-app-book) .bd-form .link-btn { margin-top: 6px; display: inline-block; }
:is(.bd-app-bag, .bd-app-book) .bd-form :is(label, legend, .nyod-k, .nyod-check span) { color: inherit; }
:is(.bd-app-bag, .bd-app-book) .bd-form a { color: inherit; text-decoration: underline; }
/* the computer pages (the bag, the booking's details): the Website · Book a braider board's cards, labels, chips and type */
.bd-web-book:not(#bd):not(#bd) :is(a, button, input, textarea):focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.bd-web-book:not(#bd):not(#bd) [data-summary] :is(a, button, input):focus-visible { outline-color: var(--ink); }
.bd-web-book:not(#bd):not(#bd) button:disabled { cursor: default; opacity: .4; }
.bd-web-book:not(#bd):not(#bd) [hidden] { display: none !important; }
.bd-web-book:not(#bd):not(#bd) :is(nav a, footer a, .ny-theme button, [data-edit-slot], [data-hist] a) { position: relative; }
.bd-web-book:not(#bd):not(#bd) :is(nav a, footer a, .ny-theme button, [data-edit-slot], [data-hist] a)::after { content: ""; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: max(100%, 44px); transform: translate(-50%, -50%); }
.bd-web-book:not(#bd):not(#bd) .bd-form .nyod { display: flex; flex-direction: column; gap: 16px; }
.bd-web-book:not(#bd):not(#bd) .bd-form h2 { margin: 0; font-size: 12px; font-weight: 700 !important; letter-spacing: .2em !important; text-transform: uppercase; color: rgba(var(--cream-rgb), .55); }
.bd-web-book:not(#bd):not(#bd) .bd-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bd-web-book:not(#bd):not(#bd) .bd-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.bd-web-book:not(#bd):not(#bd) .bd-form legend { padding: 0; margin: 0 0 12px; font-size: 14px; font-weight: 700; color: var(--gold); }
.bd-web-book:not(#bd):not(#bd) .bd-form .field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bd-web-book:not(#bd):not(#bd) .bd-form :is(label, .nyod-k) { font-size: 13px; font-weight: 700; color: rgba(var(--cream-rgb), .85); }
.bd-web-book:not(#bd):not(#bd) .bd-form :is(.input, .textarea) { height: 50px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(var(--cream-rgb), .22); background: transparent; color: var(--cream); font-family: inherit; font-size: 15px; font-weight: 600; box-sizing: border-box; width: 100%; }
.bd-web-book:not(#bd):not(#bd) .bd-form .textarea { height: 112px; padding: 14px 18px; border-radius: 24px; }
.bd-web-book:not(#bd):not(#bd) .bd-form .input::placeholder { color: rgba(var(--cream-rgb), .45); }
.bd-web-book:not(#bd):not(#bd) .bd-form .input[readonly] { opacity: .75; }
.bd-web-book:not(#bd):not(#bd) .bd-form :is(.field-hint, .small, .nyod-check span) { margin: 0; font-size: 13px; font-weight: 600; line-height: 1.45; color: rgba(var(--cream-rgb), .7); }
.bd-web-book:not(#bd):not(#bd) .bd-form .field-error { margin: 0; font-size: 13px; font-weight: 700; color: var(--gold); }
.bd-web-book:not(#bd):not(#bd) .bd-form .nyod-check { display: flex; gap: 10px; align-items: flex-start; min-height: 44px; }
.bd-web-book:not(#bd):not(#bd) .bd-form .nyod-check input { width: 22px; height: 22px; flex: none; margin: 0; accent-color: var(--gold-2); }
.bd-web-book:not(#bd):not(#bd) .bd-form :is(.link-btn, .nyod-fold, .btn) { min-height: 44px; padding: 12px 16px; border-radius: 999px; border: 1px solid rgba(var(--cream-rgb), .22); background: transparent; color: rgba(var(--cream-rgb), .85); font-family: inherit; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; box-sizing: border-box; }
.bd-web-book:not(#bd):not(#bd) .bd-form .nyod-fold { display: flex; justify-content: space-between; align-items: center; width: 100%; text-align: left; }
.bd-web-book:not(#bd):not(#bd) .bd-form .link-btn { margin-left: 8px; }
.bd-web-book:not(#bd):not(#bd) .bd-form-light :is(.nyod-check span, .field-error, label) { color: var(--ink); }
.bd-web-book:not(#bd):not(#bd) .bd-form-light a { color: var(--ink); text-decoration: underline; }
@media (max-width: 760px) { .bd-web-book:not(#bd):not(#bd) .bd-form .form-grid { grid-template-columns: 1fr; } }
/* App · Book (the phone's booking page). Board faults not copied (OWNER RULE b): the back arrow is cream on the cream page
   (drawn in ink); the group card's title and sentence are ink on its near-black ground (drawn in the card's cream); the
   list squeezes its sections (each keeps its own height, the list scrolls); a row of times too long for the screen wraps;
   a past look's name is written out, never cut with "…". */
.bd-app-book [data-back] svg { stroke: #121317; }
.bd-app-book [data-group] { color: #f1f0ee; }
.bd-app-book [data-group] [data-squad-line] { color: rgba(241, 240, 238, .75) !important; }
.bd-app-book [data-list] > * { flex-shrink: 0; }
.bd-app-book [data-times] { flex-wrap: wrap; }
.bd-app-book [data-hist] [data-name] { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; overflow-wrap: break-word; }
.bd-app-book :is(a, button, input, textarea):focus-visible { outline: 2px solid #8a6020; outline-offset: 2px; }
.bd-app-book [data-group] :is(a, button):focus-visible { outline-color: #c99a42; }
.bd-app-book button:disabled { cursor: default; opacity: .4; }
.bd-app-book [hidden] { display: none !important; }
.bd-app-book :is(.ny-chip, [data-stepper] button, [data-shop-again], [data-logo]) { position: relative; }
.bd-app-book :is(.ny-chip, [data-stepper] button, [data-shop-again])::after { content: ""; position: absolute; left: min(0px, calc(50% - 22px)); right: min(0px, calc(50% - 22px)); top: min(0px, calc(50% - 22px)); bottom: min(0px, calc(50% - 22px)); }
.bd-app-book [data-undrawn] a, .bd-app-book [data-when-note] a { color: #8a6020; text-decoration: underline; }
.bd-app-book :is(.a-lbl, .a-sub, [data-lab]) { color: #5c5852; }
.bd-app-book .ny-lab:not([style*="color"]) { color: rgba(18, 19, 23, .64); }
.bd-web-book:not(#bd):not(#bd) [data-undrawn] small { font-size: inherit; opacity: .8; }
.bd-web-book:not(#bd):not(#bd) [data-braiders] button { border-color: rgba(var(--cream-rgb), .22); }
.bd-web-book:not(#bd):not(#bd) :is([data-undrawn], [data-when-note], [data-area-msg]) a { text-decoration: underline; }
/* a made-up braider keeps her machine mark (the checks read it); no word is shown (OWNER RULE c) */
:is(.bd-app-book, .bd-app-bag) [data-demo-tag], .bd-web-book:not(#bd):not(#bd) [data-demo-tag] { display: none !important; }
/* Website · Book a braider and the computer bag: on the cream booking card the board's deep gold eyebrow and its faintest small
   line read under WCAG AA's 4.5:1 (OWNER RULE b); a shade darker, as Home's (t2). */
.bd-web-book:not(#bd):not(#bd) [data-theme="noir"] [data-summary] { --gold-deep: #816627; }
.bd-web-book:not(#bd):not(#bd) [data-theme="cocoa"] [data-summary] { --gold-deep: #896628; }
.bd-web-book:not(#bd):not(#bd) [data-summary] [data-fine] { color: rgba(var(--ink-rgb), .68) !important; }
/* The review of a held time (#/book/review, boards/book-review.js; t5): the booking boards in their held state. What they do
   not draw (her details, the note, her friends' places, the bag in the same payment, full or deposit, the refund lines) is
   set in the boards' own type, rows and controls. */
.bd-app-book.bd-review [data-book-bar] { max-height: calc(100% - 86px - 132px); box-sizing: border-box; overflow: hidden auto; overscroll-behavior: contain; }
:is(.bd-app-book, .bd-web-book:not(#bd):not(#bd)) :is(.bd-steps, .nygr-seats) { list-style: none; margin: 0; padding: 0; }
:is(.bd-app-book, .bd-web-book:not(#bd):not(#bd)) .bd-steps { display: flex; flex-wrap: wrap; gap: 8px; }
:is(.bd-app-book, .bd-web-book:not(#bd):not(#bd)) .bd-steps li { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; font-size: 12px; font-weight: 600; }
.bd-app-book .bd-steps li { box-shadow: rgba(18, 19, 23, .14) 0 0 0 1px inset; color: #121317; }
.bd-app-book .bd-steps li.is-done { background: #121317; color: #f1f0ee; box-shadow: none; }
.bd-app-book .bd-steps li span { color: #8a6020; }
.bd-app-book .bd-steps li.is-done span { color: #c99a42; }
.bd-web-book:not(#bd):not(#bd) .bd-steps li { border-radius: 999px; border: 1px solid rgba(var(--cream-rgb), .22); color: rgba(var(--cream-rgb), .85); font-weight: 700; }
.bd-web-book:not(#bd):not(#bd) .bd-steps li.is-done { border-color: var(--gold); background: var(--gold); color: var(--ink); }
.bd-web-book:not(#bd):not(#bd) .bd-steps li span { color: var(--gold); }
.bd-web-book:not(#bd):not(#bd) .bd-steps li.is-done span { color: var(--ink); }
:is(.bd-app-book, .bd-web-book:not(#bd):not(#bd)) .bd-policy { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0 0 0 16px; list-style: disc; font-size: 12px; font-weight: 500; line-height: 1.4; }
.bd-app-book .bd-policy { color: rgba(18, 19, 23, .72); }
.bd-web-book:not(#bd):not(#bd) .bd-policy { color: rgba(var(--ink-rgb), .7); font-weight: 600; }
/* the server's price lines, as the boards' own rows */
:is(.bd-app-book, .bd-web-book:not(#bd):not(#bd)) .summary .lines { display: flex; flex-direction: column; gap: inherit; margin: 0; padding: 0; border: 0; background: none; }
:is(.bd-app-book, .bd-web-book:not(#bd):not(#bd)) .summary .lines :is(.ln, .total-row) { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0; padding: 0; border: 0; font: inherit; color: inherit; }
:is(.bd-app-book, .bd-web-book:not(#bd):not(#bd)) .summary .lines :is(.muted, .small, .tiny, .faint, b) { font-size: inherit; color: inherit; }
:is(.bd-app-book, .bd-web-book:not(#bd):not(#bd)) .summary .lines p { margin: 0; font-size: 11px; opacity: .85; }
.bd-app-book .summary .lines .agreed .small { font-family: var(--serif); font-style: italic; color: #8a6020; }
.bd-app-book .summary .lines .total-row b { font-family: inherit; font-style: normal; font-weight: 600; color: #121317; }
.bd-web-book:not(#bd):not(#bd) .summary .lines .total-row b { font-family: inherit; font-style: normal; font-weight: 800; }
.bd-web-book:not(#bd):not(#bd) .summary .lines .agreed .small { padding: 3px 8px; border-radius: 999px; background: var(--ink); color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
/* pay in full or the deposit: the phone board's two-part control (its City control); on a computer the board's chips */
:is(.bd-app-book, .bd-web-book:not(#bd):not(#bd)) .bd-mode .seg { margin: 0; padding: 0; border: 0; background: none; border-radius: 0; }
.bd-app-book .bd-mode .seg { display: grid; grid-template-columns: 1fr 1fr; box-shadow: rgba(18, 19, 23, .14) 0 0 0 1px inset; }
.bd-app-book .bd-mode .seg button { min-height: 46px; padding: 0 8px; border: 0; border-radius: 0; background: transparent; color: #121317; font-family: inherit; font-size: 14.5px; font-weight: 500; cursor: pointer; box-shadow: none; }
.bd-app-book .bd-mode .seg button[aria-checked="true"] { background: #121317; color: #f1f0ee; }
.bd-web-book:not(#bd):not(#bd) .bd-mode .seg { display: flex; flex-wrap: wrap; gap: 8px; }
.bd-web-book:not(#bd):not(#bd) .bd-mode .seg button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(var(--ink-rgb), .3); background: transparent; color: var(--ink); font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; box-shadow: none; }
.bd-web-book:not(#bd):not(#bd) .bd-mode .seg button[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: var(--gold); }
:is(.bd-app-book, .bd-web-book:not(#bd):not(#bd)) .bd-mode { display: flex; flex-direction: column; gap: 8px; }
:is(.bd-app-book, .bd-web-book:not(#bd):not(#bd)) .bd-mode p { margin: 0; font-size: 12px; font-weight: 600; color: inherit; opacity: .8; }
/* the bag in the same payment */
:is(.bd-app-book, .bd-web-book:not(#bd):not(#bd)) .bag-same { display: flex; gap: 10px; align-items: flex-start; min-height: 44px; margin: 0; padding: 0; border: 0; background: none; font-size: 13px; font-weight: 600; color: inherit; cursor: pointer; }
:is(.bd-app-book, .bd-web-book:not(#bd):not(#bd)) .bag-same input { width: 22px; height: 22px; flex: none; margin: 0; accent-color: #c99a42; }
:is(.bd-app-book, .bd-web-book:not(#bd):not(#bd)) .bag-same .tiny { font-size: 12px; font-weight: 500; color: inherit; opacity: .8; }
:is(.bd-app-book, .bd-web-book:not(#bd):not(#bd)) .bd-bagsame .note { margin: 6px 0 0; padding: 0; border: 0; background: none; font-size: 12px; font-weight: 600; color: inherit; }
/* her friends' places */
:is(.bd-app-book, .bd-web-book:not(#bd):not(#bd)) .bd-group .nygr-card { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
:is(.bd-app-book, .bd-web-book:not(#bd):not(#bd)) .bd-group :is(.nybk-note, .nybk-squad, .nybk-fine, .note) { margin: 0; padding: 0; border: 0; background: none; font-size: 13px; font-weight: 600; line-height: 1.45; }
.bd-app-book .bd-group :is(.nybk-note, .nybk-fine, .note) { color: rgba(18, 19, 23, .72); font-size: 12px; }
.bd-app-book .bd-group .nybk-squad { color: #8a6020; font-size: 12px; }
.bd-web-book:not(#bd):not(#bd) .bd-group :is(.nybk-note, .nybk-fine, .note) { color: rgba(var(--cream-rgb), .7); }
.bd-web-book:not(#bd):not(#bd) .bd-group .nybk-squad { color: var(--gold); font-weight: 700; }
:is(.bd-app-book, .bd-web-book:not(#bd):not(#bd)) .bd-group .nygr-seats { display: flex; flex-direction: column; gap: 10px; }
:is(.bd-app-book, .bd-web-book:not(#bd):not(#bd)) .bd-group .nygr-seat { display: flex; flex-direction: column; gap: 8px; padding: 14px; background: none; }
.bd-app-book .bd-group .nygr-seat { box-shadow: rgba(18, 19, 23, .14) 0 0 0 1px inset; }
.bd-web-book:not(#bd):not(#bd) .bd-group .nygr-seat { border-radius: 18px; border: 1px solid rgba(var(--cream-rgb), .16); }
:is(.bd-app-book, .bd-web-book:not(#bd):not(#bd)) .bd-group .nygr-seat-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13px; }
:is(.bd-app-book, .bd-web-book:not(#bd):not(#bd)) .bd-group .nygr-st { padding: 0; border: 0; background: none; font-size: 12px; font-weight: 600; }
.bd-app-book .bd-group .nygr-st { color: #8a6020; }
.bd-web-book:not(#bd):not(#bd) .bd-group .nygr-st { color: var(--gold); }
:is(.bd-app-book, .bd-web-book:not(#bd):not(#bd)) .bd-group .nygr-btns { display: flex; flex-wrap: wrap; gap: 8px; }
:is(.bd-app-book, .bd-web-book:not(#bd):not(#bd)) .bd-group .btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: none; }
.bd-app-book .bd-form .btn { border-radius: 0; }
.bd-app-book .bd-form .btn-primary { min-height: 50px; border: 0; background: #121317; color: #c99a42; font-size: 14px; font-weight: 500; }
.bd-web-book:not(#bd):not(#bd) .bd-form .btn-primary { min-height: 52px; border-color: var(--gold); background: var(--gold); color: var(--ink); }
.bd-web-book:not(#bd):not(#bd) .bd-form-light .btn { border-color: rgba(var(--ink-rgb), .3); color: var(--ink); }
.bd-web-book:not(#bd):not(#bd) [data-summary] :is(.ny-chip, .ny-btn):disabled { opacity: .45; }
:is(.bd-app-book, .bd-web-book:not(#bd):not(#bd)) [data-countdown] { font: inherit; color: inherit; font-variant-numeric: tabular-nums; }
/* the phone's small headings on the cream page read at WCAG AA (the bag's gold is for its dark page) */
.bd-app-book .bd-form h2 { color: #8a6020; }
/* OWNER RULE b (cut-off text): a longer day than the board's sample ("Sat 21 Nov · 10 am") is written out in the sheet, not cut */
.bd-app-book [data-www] [data-bar] { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; overflow-wrap: break-word; }

/* t6: Try it on at >= 601 px is the design's Website · Try it on board (app/css/board-web-tryon.css, generated). Only access
   fixes are ours here (OWNER RULE b), none visible in the board's resting state: 44 px hit areas around the top bar's links,
   the footer's links and the owner's theme chips; a visible keyboard focus; the studio section's deep gold eyebrow on the
   cream and the footer's legal line raised to WCAG AA (as on Home). fixtures.json notCopiedRules puts the board's values back. */
.bd-web-tryon:not(#bd):not(#bd) :is(nav a, footer a, .ny-theme button) { position: relative; }
.bd-web-tryon:not(#bd):not(#bd) :is(nav a, footer a, .ny-theme button)::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: max(100%, 44px); transform: translate(-50%, -50%); }
.bd-web-tryon:not(#bd):not(#bd) :is(a, button):focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.bd-web-tryon:not(#bd):not(#bd) #tryon :is(a, button):focus-visible { outline-color: var(--gold-deep); }
.bd-web-tryon:not(#bd):not(#bd) footer { overflow: clip; }
.bd-web-tryon:not(#bd):not(#bd) [data-theme="noir"] #tryon { --gold-deep: #816627; }
.bd-web-tryon:not(#bd):not(#bd) [data-theme="cocoa"] #tryon { --gold-deep: #896628; }
.bd-web-tryon:not(#bd):not(#bd) footer [data-legal-line] { color: rgba(var(--cream-rgb), .49); }

/* t6: the opening is the design's own loader boards (app/js/boards/opening.js; board-web-loader.css, board-app-main.css,
   generated). While it is up the page under it does not scroll (it covers the whole screen), so the page is held to the
   screen's height; nothing of this shows. */
html.opening-on { overflow: hidden; height: 100%; }
html.opening-on body { overflow: hidden; height: 100%; }
.board-opening .bd-web-loader, .board-opening .bd-app-main { display: block; }
.board-opening :is(a, button):focus-visible { outline: 2px solid #c99a42; outline-offset: 3px; }

/* t6: the Hair Diary on the phone is the design's App · Hair Diary board (app/css/board-app-passport.css, generated). Its
   390 x 844 frame is the screen; the list scrolls inside it, clear of the tab bar (scroll-padding sized to the bar, CONTROLLER
   RULING 2026-11-13), as the board draws it. Only access fixes are ours: 44 px hit areas, a visible keyboard focus. */
.bd-app-passport.bd-page { position: relative; height: 100vh; height: 100dvh; }
.bd-app-passport.bd-page .ap { box-sizing: border-box; padding-top: env(safe-area-inset-top, 0px); }
.bd-app-passport [data-list] { overscroll-behavior: contain; scroll-padding-bottom: 96px; }
.bd-app-passport :is(a, button, input):focus-visible { outline: 2px solid #c99a42; outline-offset: 2px; }
.bd-app-passport :is([data-add-past], [data-change-hair], .pass-stamp a, .pass-stamp button, a[href="#/tryon"]) { position: relative; }
.bd-app-passport :is([data-add-past], [data-change-hair], .pass-stamp a, .pass-stamp button, a[href="#/tryon"])::after { content: ""; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: max(100%, 44px); transform: translate(-50%, -50%); }
.bd-app-passport .dy-pick { position: relative; display: inline-block; }
.bd-app-passport .dy-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.bd-app-passport .pp-addph { border: 0px; background: transparent; padding: 0px; font-family: inherit; font-size: 12px; font-weight: 500; color: rgb(18, 19, 23); cursor: pointer; text-decoration: underline; }
.bd-app-passport .dy-msg { display: block; font-size: 12px; color: #8a2a1e; }
/* the computer Hair Diary: the board's diary as a page between the Website boards' top bar and footer */
.bd-app-passport.bd-webdiary [data-list] > * { box-sizing: border-box; }
.bd-app-passport.bd-webdiary .pass-stamps { grid-template-columns: repeat(3, minmax(0px, 1fr)); }
/* t6: Try it on's butterfly flaps only while it is seen; under reduced motion nothing on the board moves (WCAG 2.3.3) */
.bd-web-tryon:not(#bd):not(#bd) .ny-bf:not(.fly):not(.land):not(.rest) .w { animation: none; }
@media (prefers-reduced-motion: reduce) { .bd-web-tryon:not(#bd):not(#bd) *, .bd-app-passport *, .board-opening * { animation: none !important; transition: none !important; } }
/* t6 (CONTROLLER RULING 2026-11-13): on App · look page (the look page and the phone's Try it on) a control that takes keyboard
   focus scrolls clear of the pinned price bar and the tab bar (scroll-padding sized to the two bars; invisible) */
.bd-app-product [data-list] { scroll-padding-bottom: 250px; scroll-padding-top: 8px; }
.bd-app-product.bd-page[data-short] > .ap { scroll-padding-bottom: 250px; }
/* t6, OWNER RULE b (contrast): on a stamp the board sets the "Our model" label's words in its ash grey on the dark tag
   (1.9:1) and the month seal's deep gold reads 4.3:1 on the cream seal: the label takes its tag's own veil gold, the seal a
   deep gold a shade darker (fixtures.json notCopiedRules puts the board's back for the pixel pass) */
.bd-app-passport .pass-stamp > div > span > span { color: inherit; }
.bd-app-passport .pass-stamp .seal { color: #7a5418; }

/* t7: Hair care (Website · Hair care, app/css/board-web-care.css) and Our story (Website · Our story, board-web-about.css),
   generated. Only access fixes are ours (OWNER RULE b), none visible at rest: 44 px hit areas around the links the boards draw
   smaller, a visible keyboard focus, the hero film's pause button (invisible until keyboard focus, WCAG 2.2.2), and the
   cream bands' deep gold raised to AA (fixtures.json notCopiedRules puts the board's back for the pixel pass). */
:is(.bd-web-care, .bd-web-about):not(#bd):not(#bd) :is(nav a, footer a, .ny-theme button, [data-region="contact"] a) { position: relative; }
:is(.bd-web-care, .bd-web-about):not(#bd):not(#bd) :is(nav a, footer a, .ny-theme button, .ny-try)::after { content: ""; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: max(100%, 44px); transform: translate(-50%, -50%); }
:is(.bd-web-care, .bd-web-about):not(#bd):not(#bd) :is(a, button, input, textarea, video):focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
:is(.bd-web-care, .bd-web-about):not(#bd):not(#bd) [id="care"] :is(a, button):focus-visible, .bd-web-about:not(#bd):not(#bd) [data-region="promise"] :is(a, button):focus-visible, .bd-web-about:not(#bd):not(#bd) [data-region="faq"] :is(a, button):focus-visible { outline-color: var(--ink); }
.bd-web-care:not(#bd):not(#bd) section > .bd-pause { position: absolute !important; right: 28px; bottom: 28px; z-index: 2 !important; width: 44px; height: 44px; padding: 0; border-radius: 22px;
  border: 1px solid var(--gold); background: rgba(var(--ink-rgb), .7); color: var(--gold); cursor: pointer; opacity: 0; display: flex; align-items: center; justify-content: center; }
.bd-web-care:not(#bd):not(#bd) section > .bd-pause:focus-visible { opacity: 1; }
.bd-web-care:not(#bd):not(#bd) .bd-pause::before { content: ""; width: 4px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; box-sizing: content-box; }
.bd-web-care:not(#bd):not(#bd) .bd-pause[aria-pressed="true"]::before { width: 0; height: 0; border-style: solid; border-color: transparent transparent transparent currentColor; border-width: 8px 0 8px 13px; margin-left: 4px; }
:is(.bd-web-care, .bd-web-about):not(#bd):not(#bd) [data-theme="noir"] :is(#care, [data-region="promise"], [data-region="faq"]) { --gold-deep: #816627; }
:is(.bd-web-care, .bd-web-about):not(#bd):not(#bd) [data-theme="cocoa"] :is(#care, [data-region="promise"], [data-region="faq"]) { --gold-deep: #896628; }
@media (prefers-reduced-motion: reduce) { :is(.bd-web-care, .bd-web-about):not(#bd):not(#bd) * { animation: none !important; transition: none !important; } }
/* t7: at <= 600 px Hair care and Our story are the same boards under the App boards' head row, the page scrolling as a whole,
   clear of the tab bar (scroll-padding sized to the bar: a focused control is never under it, CONTROLLER RULING 2026-11-13) */
:is(.bd-web-care, .bd-web-about).bd-wphone { padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); background: var(--bd-ink, #0B0A08); }
html:has(.bd-wphone) { scroll-padding-bottom: 96px; }
/* t7, OWNER RULE b (contrast), as on Home: the boards' faint small text reads under WCAG AA's 4.5:1 and is set just less
   faint, each to 4.6:1 or more, in the same place and style: the footer's legal line ("© Nayeli Hair & Co · Prices in naira
   …", cream at .45 on ink, 4.1:1) on Hair care and on every page in the boards' frame, and Hair care's six-week labels
   ("Day 1", "Week 1" …, ink at .5 on cream, 3.6:1). The lighter inks of the other three themes take a little more, as on
   Home. fixtures.json notCopiedRules puts the board's values back for the pixel pass. */
:is(.bd-web-care, .bd-web-page):not(#bd):not(#bd) footer [data-legal-line] { color: rgba(var(--cream-rgb), .49); }
:is(.bd-web-care, .bd-web-page):not(#bd):not(#bd) [data-theme="cocoa"] footer [data-legal-line] { color: rgba(var(--cream-rgb), .5); }
:is(.bd-web-care, .bd-web-page):not(#bd):not(#bd) [data-theme="valentine"] footer :is(.ny-eyebrow, [data-legal-line]) { color: rgba(var(--cream-rgb), .52) !important; }
:is(.bd-web-care, .bd-web-page):not(#bd):not(#bd) [data-theme="christmas"] footer :is(.ny-eyebrow, [data-legal-line]) { color: rgba(var(--cream-rgb), .55) !important; }
.bd-web-care:not(#bd):not(#bd) [data-wlab] { color: rgba(var(--ink-rgb), .58) !important; }
.bd-web-care:not(#bd):not(#bd) :is([data-theme="cocoa"], [data-theme="valentine"], [data-theme="christmas"]) [data-wlab] { color: rgba(var(--ink-rgb), .63) !important; }
/* t7, OWNER RULE b (contrast): Our story's hero words sit on the photo under the board's scrim; on a computer its gold "Our
   story" reads 4.3:1 on the photo's lighter pixels, and on a phone the same words fall over the women's bright dresses (1.4:1).
   The scrim's clear middle ends a little higher on a computer (30% instead of 40%), and on a phone it deepens under the words
   (the board draws no phone hero). fixtures.json notCopiedRules puts the board's scrim back for the pixel pass. */
.bd-web-about:not(#bd):not(#bd) [data-region="hero"] > [data-scrim] { background: linear-gradient(180deg, rgba(var(--ink-rgb), .5) 0%, rgba(var(--ink-rgb), .1) 30%, rgba(var(--ink-rgb), .97) 100%) !important; }
.bd-web-about.bd-wphone:not(#bd):not(#bd) [data-region="hero"] > [data-scrim] { background: linear-gradient(180deg, rgba(var(--ink-rgb), .5) 0%, rgba(var(--ink-rgb), .1) 25%, rgba(var(--ink-rgb), .86) 50%, rgba(var(--ink-rgb), .97) 75%) !important; }

/* t10, OWNER RULE b (contrast) in the three themes the owner can switch to: on the computer pages built from the Website
   boards (Book a braider, the bag, Try it on, Our story, Hair care, the computer Hair Diary and the frame pages) the boards'
   faint inline inks read under WCAG AA's 4.5:1 in Cocoa, Valentine and Christmas (axe, release check 2026-11-15). Each is
   set just less faint in those themes only; Noir, the live theme and the pixel pass, is untouched. */
:is(.bd-web-book, .bd-web-tryon, .bd-web-about, .bd-web-care, .bd-web-page):not(#bd):not(#bd) :is([data-theme="cocoa"], [data-theme="valentine"], [data-theme="christmas"]) :is([style^="color: rgba(var(--ink-rgb),.5"], [style*="; color: rgba(var(--ink-rgb),.5"], [style^="color: rgba(var(--ink-rgb),.6"], [style*="; color: rgba(var(--ink-rgb),.6"], [style^="color: rgba(var(--ink-rgb),.7"], [style*="; color: rgba(var(--ink-rgb),.7"]) { color: rgba(var(--ink-rgb), .86) !important; }
:is(.bd-web-book, .bd-web-tryon, .bd-web-about, .bd-web-care, .bd-web-page):not(#bd):not(#bd) :is([data-theme="cocoa"], [data-theme="valentine"], [data-theme="christmas"]) :is([style^="color: rgba(var(--cream-rgb),.4"], [style*="; color: rgba(var(--cream-rgb),.4"], [style^="color: rgba(var(--cream-rgb),.5"], [style*="; color: rgba(var(--cream-rgb),.5"], .ny-lab, .ny-card-dark .nyod > h2) { color: rgba(var(--cream-rgb), .74) !important; }
:is(.bd-web-book, .bd-web-tryon, .bd-web-about, .bd-web-care, .bd-web-page):not(#bd):not(#bd) :is([data-theme="cocoa"], [data-theme="valentine"], [data-theme="christmas"]) footer :is(.ny-eyebrow, [data-legal-line], span) { color: rgba(var(--cream-rgb), .7) !important; }
.bd-web-care:not(#bd):not(#bd) [data-theme="christmas"] [data-wlab] { color: rgba(var(--ink-rgb), .8) !important; }

/* The iPhone and Android apps (mobile/, OWNER GO 2026-11-15): app.js sets :root[data-inapp] when the page runs inside the
   app's web view. The app draws the design's tab bar natively over the foot of the web view, exactly where the page keeps
   its own (94 px as drawn), so the page's own bar is hidden but keeps its place, and the home indicator is the app bar's to clear.
   Nothing here applies in a browser. */
:root[data-inapp] .bd-tabbar { visibility: hidden; pointer-events: none; }
:root[data-inapp] { padding-bottom: 0 !important; }
@media (min-width: 960px) { :root[data-inapp] body { padding-bottom: 94px; } }
