/* app/css/design-pages.css (t7, METHOD CHANGE 2026-11-11 "areas the design doesn't draw"): every customer page the design
   draws no board for (her account, sign-in and sign-up, orders, inbox, privacy and settings, the braiders and a braider's
   page, becoming a braider, bookings, help, the hair guide, the policies, the page not found, the circle and newsletter
   links, the try-on studio's own screens) is styled FROM the design: the Website boards' tokens (the four themes' ink, cream,
   paper, gold, deep gold), their type (Plus Jakarta Sans 500-800, the boards' own copy: the "bd" families of
   board-web-page.css), and their components (.ny-btn pills: ink, gold and ghost; .ny-chip; the cream band's paper cards
   with the deep-gold hairline, .ny-kit; the contact note's fields; .ny-eyebrow-ink; .ny-h2; .ny-tag).
   The frame around them is the boards' own (app.js DesignTop / DesignFoot, web-frame.js). Nothing here changes a page's
   words or its working parts: only its look. Scoped to main.dz-main on the customer surface; the admin and braider
   consoles keep their own look. Weights: :not(#dz) lifts every rule over atelier.css's customer rules. */

/* ---- tokens: the boards' own four themes (WebHome / WebCare :root and [data-theme]) ---- */
:root[data-surface="customer"] .dz-main, :root[data-surface="customer"] .dz-sheet { --dz-ink: #0B0A08; --dz-ink-rgb: 11,10,8; --dz-ink2: #15120E; --dz-cream: #F4EEE2; --dz-cream-rgb: 244,238,226; --dz-paper: #FBF7EE; --dz-gold: #E8CB7A; --dz-gold-rgb: 232,203,122; --dz-gold2: #D9B45E; --dz-gold2-rgb: 217,180,94; --dz-deep: #816627; --dz-deep-rgb: 154,122,46; }
:root[data-surface="customer"][data-theme="cocoa"] :is(.dz-main, .dz-sheet) { --dz-ink: #2B1A12; --dz-ink-rgb: 43,26,18; --dz-ink2: #3B2519; --dz-cream: #F8EFE4; --dz-cream-rgb: 248,239,228; --dz-paper: #FCF5EC; --dz-gold: #EBCB84; --dz-gold-rgb: 235,203,132; --dz-deep: #896628; --dz-deep-rgb: 143,106,42; }
:root[data-surface="customer"][data-theme="valentine"] :is(.dz-main, .dz-sheet) { --dz-ink: #4A0D18; --dz-ink-rgb: 74,13,24; --dz-ink2: #5E1421; --dz-cream: #FFF2F3; --dz-cream-rgb: 255,242,243; --dz-paper: #FFF8F8; --dz-gold: #FFB3C1; --dz-gold-rgb: 255,179,193; --dz-gold2: #F28CA0; --dz-gold2-rgb: 242,140,160; --dz-deep: #B4324F; --dz-deep-rgb: 180,50,79; }
:root[data-surface="customer"][data-theme="christmas"] :is(.dz-main, .dz-sheet) { --dz-ink: #0E3A2C; --dz-ink-rgb: 14,58,44; --dz-ink2: #154A39; --dz-cream: #FBF7EE; --dz-cream-rgb: 251,247,238; --dz-paper: #FFFBF2; --dz-deep: #B5322E; --dz-deep-rgb: 181,50,46; }

/* ---- the page: the boards' cream band (WebCare #care, WebAbout's promise and FAQ), the boards' type ---- */
:root[data-surface="customer"] main.dz-main:not(#dz) { background: var(--dz-cream); color: var(--dz-ink); font-family: "bd Plus Jakarta Sans", system-ui, sans-serif; font-weight: 500; }
:root[data-surface="customer"] .dz-main:not(#dz) :is(h1, h2, h3, h4, .t-1, .t-2, .t-3) { font-family: "bd Plus Jakarta Sans", system-ui, sans-serif; font-style: normal; color: var(--dz-ink); letter-spacing: -.03em; }
:root[data-surface="customer"] .dz-main:not(#dz) :is(h1, .t-1) { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02; font-weight: 800; }
:root[data-surface="customer"] .dz-main:not(#dz) :is(h2, .t-2) { font-size: clamp(26px, 3vw, 40px); line-height: 1.05; font-weight: 800; }
:root[data-surface="customer"] .dz-main:not(#dz) :is(h3, .t-3) { font-size: 20px; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
:root[data-surface="customer"] .dz-main:not(#dz) :is(h1, h2, h3) em, :root[data-surface="customer"] .dz-main:not(#dz) :is(h1, h2, h3) i { font-style: normal; color: inherit; }
:root[data-surface="customer"] .dz-main:not(#dz) :is(.eyebrow, .ny-eyebrow, .page-head > p:first-child) { margin: 0; font-family: inherit; font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--dz-deep); }
:root[data-surface="customer"] .dz-main:not(#dz) :is(p, li, dd, dt, label, .small, .note) { font-family: inherit; }
:root[data-surface="customer"] .dz-main:not(#dz) :is(.small, .muted, .note, .field-hint) { color: rgba(var(--dz-ink-rgb), .72); }
:root[data-surface="customer"] .dz-main:not(#dz) :is(.faint, .tiny) { color: rgba(var(--dz-ink-rgb), .66); }
/* a plain text link; a link drawn as its own control (a card's "Try on" pill, a tile) keeps its own colours */
:root[data-surface="customer"] .dz-main:not(#dz) a:not(.btn):not(.ny-btn):not(.chip):not(.try):not(.tryon-cta) { color: var(--dz-ink); text-decoration-color: var(--dz-deep); text-underline-offset: 3px; }

/* ---- buttons: the boards' .ny-btn pills (ink on cream, the gold one, the ghost) ---- */
:root[data-surface="customer"] :is(.dz-main, .dz-sheet):not(#dz) .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 14px 26px; border-radius: 999px; border: 1px solid transparent; font-family: "bd Plus Jakarta Sans", system-ui, sans-serif; font-size: 14px; font-weight: 800; letter-spacing: .03em; text-transform: none; box-shadow: none; box-sizing: border-box; text-decoration: none; cursor: pointer; }
:root[data-surface="customer"] :is(.dz-main, .dz-sheet):not(#dz) .btn-primary { background: var(--dz-ink); color: var(--dz-cream); border-color: var(--dz-ink); }
:root[data-surface="customer"] :is(.dz-main, .dz-sheet):not(#dz) .btn-gold { background: linear-gradient(90deg, var(--dz-gold2), var(--dz-gold)); color: var(--dz-ink); border-color: transparent; box-shadow: 0 12px 30px rgba(var(--dz-gold-rgb), .22); }
:root[data-surface="customer"] :is(.dz-main, .dz-sheet):not(#dz) :is(.btn-secondary, .btn-ghost) { background: transparent; color: var(--dz-ink); border-color: rgba(var(--dz-ink-rgb), .3); }
:root[data-surface="customer"] :is(.dz-main, .dz-sheet):not(#dz) .btn-danger { background: transparent; color: #8a2a1e; border-color: rgba(138, 42, 30, .45); }
:root[data-surface="customer"] :is(.dz-main, .dz-sheet):not(#dz) .btn-sm { min-height: 44px; padding: 10px 18px; font-size: 12px; }
:root[data-surface="customer"] :is(.dz-main, .dz-sheet):not(#dz) .btn-block { width: 100%; }
:root[data-surface="customer"] :is(.dz-main, .dz-sheet):not(#dz) .btn:is([disabled], [aria-disabled="true"]) { opacity: .45; }
:root[data-surface="customer"] :is(.dz-main, .dz-sheet):not(#dz) .link-btn { min-height: 44px; background: transparent; border: 0; padding: 0 4px; font-family: inherit; font-size: 14px; font-weight: 800; color: var(--dz-ink); text-decoration: underline; text-decoration-color: var(--dz-deep); text-underline-offset: 3px; cursor: pointer; }

/* ---- chips: the boards' .ny-chip (gold when chosen) ---- */
:root[data-surface="customer"] :is(.dz-main, .dz-sheet):not(#dz) :is(.chip, .chips > button, .chips > a, .chips-scroll > button, .chips-scroll > a) { display: inline-flex; align-items: center; min-height: 44px; padding: 12px 16px; border-radius: 999px; border: 1px solid rgba(var(--dz-ink-rgb), .25); background: transparent; color: var(--dz-ink); font-family: "bd Plus Jakarta Sans", system-ui, sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; box-sizing: border-box; cursor: pointer; text-decoration: none; box-shadow: none; }
:root[data-surface="customer"] :is(.dz-main, .dz-sheet):not(#dz) :is(.chip, .chips > button, .chips > a, .chips-scroll > button, .chips-scroll > a):is([aria-pressed="true"], [aria-checked="true"], [aria-current="page"], [aria-selected="true"], .on, .is-on) { border-color: var(--dz-gold); background: var(--dz-gold); color: var(--dz-ink); }

/* ---- a two-way choice (.seg: Sign in / Create account): two .ny-chip pills, the chosen one ink as the boards' ink pill ---- */
:root[data-surface="customer"] :is(.dz-main, .dz-sheet):not(#dz) .seg { display: flex; gap: 8px; background: transparent; border: 0; padding: 0; }
:root[data-surface="customer"] :is(.dz-main, .dz-sheet):not(#dz) .seg > button { flex: 1 1 0; min-height: 48px; padding: 12px 16px; border-radius: 999px; border: 1px solid rgba(var(--dz-ink-rgb), .25); background: transparent; color: var(--dz-ink); font-family: "bd Plus Jakarta Sans", system-ui, sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; box-shadow: none; cursor: pointer; }
:root[data-surface="customer"] :is(.dz-main, .dz-sheet):not(#dz) .seg > button[aria-checked="true"] { background: var(--dz-ink); border-color: var(--dz-ink); color: var(--dz-cream); }

/* ---- fields: Website · Our story's "Send a note" fields, on the cream band ---- */
:root[data-surface="customer"] :is(.dz-main, .dz-sheet):not(#dz) .field > label, :root[data-surface="customer"] :is(.dz-main, .dz-sheet):not(#dz) label.lbl { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(var(--dz-ink-rgb), .7); }
:root[data-surface="customer"] :is(.dz-main, .dz-sheet):not(#dz) :is(.input, .textarea, .select, select, input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="date"], input[type="number"], textarea) { min-height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid rgba(var(--dz-ink-rgb), .22); background: var(--dz-paper); color: var(--dz-ink); font-family: "bd Plus Jakarta Sans", system-ui, sans-serif; font-size: 15px; font-weight: 600; box-sizing: border-box; box-shadow: none; }
:root[data-surface="customer"] :is(.dz-main, .dz-sheet):not(#dz) :is(.textarea, textarea) { padding: 14px 16px; }
:root[data-surface="customer"] :is(.dz-main, .dz-sheet):not(#dz) :is(.input, .textarea, select, input, textarea)::placeholder { color: rgba(var(--dz-ink-rgb), .5); }
:root[data-surface="customer"] :is(.dz-main, .dz-sheet):not(#dz) .field-error { font-size: 13px; font-weight: 700; color: #8a2a1e; }
:root[data-surface="customer"] :is(.dz-main, .dz-sheet):not(#dz) .has-error :is(.input, .textarea, input, textarea, select) { border-color: #8a2a1e; }

/* ---- cards: the cream band's paper cards (.ny-kit: radius 20, the deep-gold hairline) ---- */
:root[data-surface="customer"] .dz-main:not(#dz) :is(.card, .bcard, .booking-card, .kv, .profile) { border-radius: 20px; border: 1px solid rgba(var(--dz-deep-rgb), .3); background: var(--dz-paper); color: var(--dz-ink); box-shadow: none; }
:root[data-surface="customer"] .dz-main:not(#dz) .card-pad { padding: 22px; }
:root[data-surface="customer"] .dz-main:not(#dz) :is(.badge, .pill) { display: inline-flex; align-items: center; padding: 7px 11px; border-radius: 999px; background: rgba(var(--dz-ink-rgb), .86); color: var(--dz-gold); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; border: 0; }
:root[data-surface="customer"] .dz-main:not(#dz) .back-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--dz-ink); text-decoration: none; }
/* a hairstyle on the phone: the back link stays AppProduct's round icon-only button on the photo (match-lookbook.css);
   its words stay its accessible name, never drawn clipped inside the circle */
@media (max-width: 600px) {
  :root[data-surface="customer"] .dz-main:not(#dz) .lb-detail .style-page > .back-link { display: flex; align-items: center; justify-content: center; gap: 0; min-height: 46px; font-size: 0; letter-spacing: 0; color: var(--lb-ink); }
}
:root[data-surface="customer"] .dz-main:not(#dz) .empty { text-align: center; }
:root[data-surface="customer"] .dz-main:not(#dz) .empty h3 { font-family: "bd Plus Jakarta Sans", system-ui, sans-serif; font-style: normal; font-size: 26px; font-weight: 800; }
:root[data-surface="customer"] .dz-main:not(#dz) .skeleton { border-radius: 20px; background: rgba(var(--dz-ink-rgb), .08); }
:root[data-surface="customer"] .dz-main:not(#dz) .warn { color: #8a2a1e; }
:root[data-surface="customer"] .dz-main:not(#dz) .ok { color: var(--dz-deep); }

/* ---- keyboard focus, as on the boards ---- */
:root[data-surface="customer"] :is(.dz-main, .dz-sheet):not(#dz) :is(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--dz-ink); outline-offset: 3px; }

/* ---- the sign-in sheet and every customer sheet: the cream band's card on the boards' dark veil ---- */
:root[data-surface="customer"] .sheet.dz-sheet:not(#dz), :root[data-surface="customer"] .dz-sheet .sheet:not(#dz) { background: var(--dz-cream); color: var(--dz-ink); font-family: "bd Plus Jakarta Sans", system-ui, sans-serif; border-radius: 24px 24px 0 0; border: 1px solid rgba(var(--dz-gold2-rgb), .42); }
:root[data-surface="customer"] .dz-sheet:not(#dz) :is(.sheet-head h2, h2, h3) { font-family: "bd Plus Jakarta Sans", system-ui, sans-serif; font-style: normal; font-weight: 800; letter-spacing: -.02em; color: var(--dz-ink); }

/* ---- the frame (app.js DesignTop / DesignFoot): the boards' top bar stays at the top of the screen as on the boards ---- */
.bd-web-page.bd-frame-top { position: sticky; top: 0; z-index: 20; }
.bd-web-page:not(#bd):not(#bd).bd-frame-top nav { position: relative; }
:is(.bd-web-page):not(#bd):not(#bd) :is(nav a, footer a, .ny-theme button) { position: relative; }
:is(.bd-web-page):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-page:not(#bd):not(#bd) :is(a, button):focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (max-width: 600px) { .bd-web-page.bd-frame-foot { display: none; } }

/* ---- the account pages' row to Hair care, Our story, the guide and Contact (phone-parts.js MoreFromNayeli): .ny-chip pills on the cream band ---- */
:root[data-surface="customer"] .phone-more:not(#dz) { background: #F4EEE2; font-family: "bd Plus Jakarta Sans", system-ui, sans-serif; }
:root[data-surface="customer"][data-theme="cocoa"] .phone-more:not(#dz) { background: #F8EFE4; }
:root[data-surface="customer"][data-theme="valentine"] .phone-more:not(#dz) { background: #FFF2F3; }
:root[data-surface="customer"][data-theme="christmas"] .phone-more:not(#dz) { background: #FBF7EE; }
:root[data-surface="customer"] .phone-more:not(#dz) a { min-height: 44px; padding: 12px 16px; border-radius: 999px; border: 1px solid rgba(11, 10, 8, .25); background: transparent; color: #0B0A08; font-family: inherit; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; box-shadow: none; }

/* ---- a dark card inside a page (the old hairstyle page's hair-guide card): the boards' dark card, cream words, the gold eyebrow and link ---- */
:root[data-surface="customer"] .dz-main:not(#dz):not(#dz) .lb-icard--ink :is(h1, h2, h3, p, li) { color: var(--dz-cream); }
:root[data-surface="customer"] .dz-main:not(#dz):not(#dz) .lb-icard--ink :is(.ny-eyebrow, .eyebrow, a) { color: var(--dz-gold); text-decoration-color: currentColor; }
/* t10, OWNER RULE b (contrast): in Christmas the design pages' faint greens read under WCAG AA on the cream (4.2 to 4.4:1,
   axe, release check 2026-11-15): set just less faint in Christmas only. */
:root[data-surface="customer"][data-theme="christmas"] .dz-main:not(#dz) :is(.faint, .tiny, .hs-k, .lb-priceguide, .lb-priceguide b, .lb-colours-head > p, .look-card-body > .fam, .lb-deliv li > span, .chip small) { color: rgba(var(--dz-ink-rgb), .82) !important; }
