/* BU2 Connect artist dashboard: cobalt on paper, square corners, Cormorant + Montserrat. Bottom tabs on phones, side nav from 900px. */
#bu2-app .dsh { --cob: #173A5A; --cobl: #E9EDF2; min-height: 100dvh; background: var(--paper); font-variant-numeric: lining-nums; }
#bu2-app .dsh .serif, #bu2-app .dsh b { font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum" 1; }
#bu2-app .dsh-main { max-width: 560px; margin: 0 auto; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
#bu2-app .dsh-head { position: sticky; top: 0; z-index: 20; background: var(--paper); padding: 14px 20px 12px; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 6px; }
#bu2-app .dsh-back { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--lab); min-height: 24px; display: inline-flex; align-items: center; }
#bu2-app .dsh-name { font-size: 26px; line-height: 1.05; }
#bu2-app .dsh-badges { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
#bu2-app .dsh-ver { background: var(--cob); color: #FAFAF8; }
#bu2-app .dsh-pulse { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #1F7A3F; margin-right: 5px; vertical-align: 1px; }
#bu2-app .dsh-body { padding: 16px 20px 24px; display: flex; flex-direction: column; gap: 22px; }
#bu2-app .dsh-hello h1 { font-size: 32px; line-height: 1.1; }
#bu2-app .dsh-hello p { font-size: 13px; color: var(--t2); margin-top: 6px; }
#bu2-app .dsh-h1 { font-size: 32px; line-height: 1.1; }
#bu2-app .dsh-sec { display: flex; flex-direction: column; gap: 10px; }
#bu2-app .dsh-sec > h2.lab { margin: 0; font-weight: 500; }
#bu2-app .dsh-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
#bu2-app .dsh-link { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--cob); text-decoration: underline; text-underline-offset: 3px; min-height: 32px; display: inline-flex; align-items: center; }
/* week strip */
#bu2-app .dsh-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
#bu2-app .dsh-wd { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 6px; border: 1px solid var(--rule); background: #fff; min-height: 64px; }
#bu2-app .dsh-wd span { font-size: 10px; color: var(--lab); letter-spacing: .08em; }
#bu2-app .dsh-wd b { font-size: 16px; font-weight: 500; }
#bu2-app .dsh-wd i, #bu2-app .dsh-day i { font-style: normal; font-size: 7px; color: var(--cob); letter-spacing: 1px; line-height: 1; min-height: 8px; }
#bu2-app .dsh-wd.is-today { background: var(--cob); border-color: var(--cob); color: #FAFAF8; }
#bu2-app .dsh-wd.is-today span, #bu2-app .dsh-wd.is-today i { color: #D5DEE7; }
/* stats */
#bu2-app .dsh-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
#bu2-app .dsh-stat { display: flex; flex-direction: column; gap: 4px; padding: 14px 12px; background: #fff; border: 1px solid var(--rule); border-left: 3px solid var(--cob); min-height: 78px; }
#bu2-app .dsh-stat b { font-size: 28px; line-height: 1; font-weight: 400; }
#bu2-app .dsh-stat span { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--lab); }
#bu2-app .dsh-stats--3 { grid-template-columns: repeat(3, 1fr); }
#bu2-app .dsh-stats--3 .dsh-stat b { font-size: 20px; }
/* booking cards */
#bu2-app .dsh-list { display: flex; flex-direction: column; gap: 8px; }
#bu2-app .dsh-bk { display: flex; gap: 12px; padding: 12px; background: #fff; border: 1px solid var(--rule); }
#bu2-app .dsh-next .dsh-bk { border: 1px solid var(--cob); box-shadow: inset 3px 0 0 var(--cob); }
#bu2-app .dsh-bk__when { flex: none; width: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--cobl); color: var(--cob); padding: 6px 0; align-self: flex-start; }
#bu2-app .dsh-bk__when b { font-family: "Cormorant Garamond", serif; font-size: 26px; font-weight: 400; line-height: 1; }
#bu2-app .dsh-bk__when span { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
#bu2-app .dsh-bk__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
#bu2-app .dsh-bk__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
#bu2-app .dsh-bk__who { font-size: 15px; font-weight: 600; }
#bu2-app .dsh-bk__svc { font-size: 13px; }
#bu2-app .dsh-bk__meta { font-size: 12px; color: var(--t2); }
#bu2-app .dsh-bk__amt { font-size: 12px; font-weight: 600; color: var(--cob); margin-top: 2px; }
#bu2-app .dsh-st { flex: none; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; padding: 3px 6px; }
#bu2-app .dsh-st--up { background: var(--cobl); color: var(--cob); }
#bu2-app .dsh-st--wait { background: #EEF0F2; color: #3A3D41; }
#bu2-app .dsh-st--ok { background: #E7F1EA; color: #1F5130; }
#bu2-app .dsh-st--x { background: #F6E8EA; color: #8A1F2A; }
#bu2-app .dsh-offer { display: flex; flex-direction: column; gap: 8px; }
/* empty state */
#bu2-app .dsh-empty { padding: 22px 18px; background: var(--cobl); display: flex; flex-direction: column; gap: 10px; }
#bu2-app .dsh-empty__t { font-size: 24px; color: var(--cob); }
#bu2-app .dsh-empty p { font-size: 13px; line-height: 1.6; color: var(--t2); }
#bu2-app .dsh-qa { display: grid; gap: 8px; }
#bu2-app .dsh-qa .ghost { width: 100%; margin: 0; min-height: 48px; box-sizing: border-box; }
/* bookings segment */
#bu2-app .dsh-seg { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ink); }
#bu2-app .dsh-seg a { min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; border-left: 1px solid var(--ink); }
#bu2-app .dsh-seg a:first-child { border-left: 0; }
#bu2-app .dsh-seg a.is-on { background: var(--ink); color: var(--paper); }
#bu2-app .dsh-seg i { font-style: normal; font-size: 9px; opacity: .8; }
/* calendar */
#bu2-app .dsh-cal { background: #fff; border: 1px solid var(--rule); padding: 10px; }
#bu2-app .dsh-cal__bar { display: flex; align-items: center; justify-content: space-between; padding-bottom: 8px; }
#bu2-app .dsh-cal__bar a { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 26px; }
#bu2-app .dsh-cal__bar b { font-family: "Cormorant Garamond", serif; font-size: 22px; font-weight: 400; }
#bu2-app .dsh-cal__dow, #bu2-app .dsh-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
#bu2-app .dsh-cal__dow span { font-size: 10px; color: var(--lab); padding: 4px 0; }
#bu2-app .dsh-day { min-height: 46px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; }
#bu2-app .dsh-day b { font-size: 14px; font-weight: 400; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
#bu2-app .dsh-day.is-today b { border: 1px solid var(--cob); }
#bu2-app .dsh-day.is-sel b { background: var(--cob); color: #FAFAF8; }
/* profile */
#bu2-app .dsh-svc { background: #fff; border: 1px solid var(--rule); padding: 12px; }
#bu2-app .dsh-svc__t { font-size: 13px; font-weight: 600; margin-bottom: 6px; }
#bu2-app .dsh-pk { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 7px 0; border-top: 1px solid var(--rule); }
#bu2-app .dsh-pk b { font-weight: 500; text-align: right; }
#bu2-app .dsh-pk em { font-style: normal; color: var(--lab); font-size: 11px; }
#bu2-app .dsh-where { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
#bu2-app .dsh-where > div { background: #fff; padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; }
#bu2-app .dsh-where b { font-size: 14px; font-weight: 500; }
#bu2-app .dsh-ph { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
#bu2-app .dsh-ph button { padding: 0; border: 0; aspect-ratio: 1; background: var(--soft); }
#bu2-app .dsh-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* plan */
#bu2-app .dsh-box { background: #fff; border: 1px solid var(--rule); padding: 14px; }
#bu2-app .dsh-box--soft { background: var(--cobl); border-color: var(--cobl); }
#bu2-app .dsh-big { font-size: 34px; line-height: 1; }
#bu2-app .dsh-mid { font-size: 24px; color: var(--cob); }
#bu2-app .dsh-sub { font-size: 13px; line-height: 1.6; color: var(--t2); }
#bu2-app .dsh-box .dsh-row > span { font-size: 13px; }
/* nav: bottom tab bar on phones */
#bu2-app .dsh-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--paper); border-top: 1px solid var(--rule); padding-bottom: env(safe-area-inset-bottom); }
#bu2-app .dsh-brand { display: none; }
#bu2-app .dsh-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 60px; color: var(--lab); font-size: 9px; text-align: center; line-height: 1.15; padding: 4px 2px; }
#bu2-app .dsh-tab.is-on { color: var(--cob); font-weight: 600; box-shadow: inset 0 2px 0 var(--cob); }
@media (min-width: 900px) {
  #bu2-app .dsh { display: grid; grid-template-columns: 240px 1fr; }
  #bu2-app .dsh-nav { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; gap: 2px; border-top: 0; border-right: 1px solid var(--rule); padding: 24px 14px; }
  #bu2-app .dsh-brand { display: flex; padding: 0 10px 22px; }
  #bu2-app .dsh-tab { flex-direction: row; justify-content: flex-start; gap: 12px; min-height: 46px; padding: 0 12px; font-size: 13px; text-align: left; }
  #bu2-app .dsh-tab.is-on { background: var(--cobl); box-shadow: inset 3px 0 0 var(--cob); }
  #bu2-app .dsh-main { max-width: 980px; width: 100%; margin: 0; padding: 0 0 40px; }
  #bu2-app .dsh-head { padding: 22px 36px 16px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px; }
  #bu2-app .dsh-back { display: none; }
  #bu2-app .dsh-name { font-size: 30px; }
  #bu2-app .dsh-body { padding: 26px 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; align-items: start; }
  #bu2-app .dsh-body > * { grid-column: 1 / -1; }
  #bu2-app .dsh-stats { grid-template-columns: repeat(3, 1fr); }
  #bu2-app .dsh-qa { grid-template-columns: repeat(3, 1fr); }
  #bu2-app .dsh-cal__grid .dsh-day { min-height: 64px; }
  #bu2-app .dsh-ph { grid-template-columns: repeat(5, 1fr); }
}
@media (prefers-reduced-motion: reduce) { #bu2-app .dsh * { transition: none !important; animation: none !important; } }
/* Profile picture or logo (owner 26 Nov 2026): dashboard avatar, upload card, shared link preview; client profile header */
#bu2-app .dsh-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
#bu2-app .dsh-av, #bu2-app .dsh-pp__av, #bu2-app .dsh-pp-cta__av { flex: none; border-radius: 50%; overflow: hidden; background: var(--cobl); display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--rule); }
#bu2-app .dsh-av { width: 44px; height: 44px; }
#bu2-app .dsh-pp__av { width: 96px; height: 96px; }
#bu2-app .dsh-pp-cta__av { width: 64px; height: 64px; }
#bu2-app .dsh-av img, #bu2-app .dsh-pp__av img, #bu2-app .dsh-pp-cta__av img { width: 100%; height: 100%; object-fit: cover; display: block; }
#bu2-app .dsh-av b, #bu2-app .dsh-pp__av b, #bu2-app .dsh-pp-cta__av b { font-size: 20px; font-weight: 500; color: var(--cob); }
#bu2-app .dsh-pp, #bu2-app .dsh-pp-cta { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--rule); padding: 16px; }
#bu2-app .dsh-pp-cta { border-color: var(--cob); background: var(--cobl); }
#bu2-app .dsh-pp__txt, #bu2-app .dsh-pp-cta > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; flex: 1; }
#bu2-app .dsh-pp p, #bu2-app .dsh-pp-cta p { font-size: 12px; line-height: 1.55; color: var(--t2); margin: 0; }
#bu2-app .dsh-pp-cta__t { font-size: 15px; font-weight: 600; }
#bu2-app .dsh-pp .err:empty, #bu2-app .dsh-pp-cta .err:empty, #bu2-app .dsh-pp .note:empty { display: none; }
#bu2-app button.dsh-link { background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
#bu2-app .dsh-og { display: flex; border: 1px solid var(--rule); background: #F0F2F5; max-width: 380px; }
#bu2-app .dsh-og img { width: 96px; height: 96px; object-fit: cover; flex: none; display: block; }
#bu2-app .dsh-og__t { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; min-width: 0; font-size: 12px; }
#bu2-app .dsh-og__t b { font-weight: 600; }
#bu2-app .dsh-og__t span { color: #3A3D41; line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
#bu2-app .dsh-og__t i { font-style: normal; color: #5E646B; font-size: 11px; }
#bu2-app .pp-head { display: flex; gap: 14px; align-items: center; }
#bu2-app .pp-av { flex: none; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: #E4E2DD; border: 1px solid var(--rule); }
#bu2-app .pp-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
#bu2-app .b-ph.pp-big .pp-big__bg { position: absolute; inset: -24px; background-size: cover; background-position: center; filter: blur(22px); opacity: .55; }
#bu2-app .b-ph.pp-big img { position: relative; object-fit: contain; }
/* ---- Bottom bars on iPhone Safari (owner 26 Nov 2026: the dashboard tab bar jumped while the Safari toolbar collapsed).
   1. Heights use svh (small viewport), never dvh: dvh changes on every toolbar collapse and re-lays out the page mid-scroll.
   2. The tab bar is position: fixed; bottom: 0 with no transformed, filtered or contained ancestor (checked in tests), so the
      browser keeps it glued to the visible bottom edge. No JavaScript moves it. env(safe-area-inset-bottom) needs
      viewport-fit=cover (bu2-connect.html), so the bar sits above the home indicator.
   3. html.bu2-still (default on phones, see bu2-connect.html): the dashboard scrolls inside its own panel, so Safari's toolbar
      never collapses there and the tab bar does not move at all. ?bar=glued turns this off. ---- */
body[data-page="bu2"] { min-height: 100vh; min-height: 100svh; padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
#bu2-app .dsh { min-height: 100vh; min-height: 100svh; }
#bu2-app .dsh-nav { bottom: 0; transform: none; will-change: auto; padding-bottom: env(safe-area-inset-bottom); padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
#bu2-app .dsh-main { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
@media (max-width: 899px) {
  html.bu2-still:has(#bu2-app .dsh), html.bu2-still:has(#bu2-app .dsh) body { height: 100%; overflow: hidden; overscroll-behavior: none; }
  html.bu2-still #bu2-app .dsh { min-height: 0; }
  html.bu2-still #bu2-app .dsh-main { position: fixed; top: 0; left: 0; right: 0; bottom: calc(61px + env(safe-area-inset-bottom)); max-width: none; margin: 0; padding-bottom: 24px; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
  html.bu2-still #bu2-app .dsh-main > * { max-width: 560px; margin-left: auto; margin-right: auto; }
}
@media (min-width: 900px) { #bu2-app .dsh-nav { height: 100vh; height: 100svh; padding-bottom: 24px; } }

/* Support: above the tab bar on phones, pinned under the side nav on desktop. */
#bu2-app .dsh-nav .bu2-sup { display: none; }
#bu2-app .dsh-body > .bu2-sup { margin-top: 4px; }
@media (min-width: 900px) {
  #bu2-app .dsh-nav .bu2-sup { display: block; margin-top: auto; padding: 12px 10px; }
  #bu2-app .dsh-nav .bu2-sup__links { flex-direction: column; gap: 6px; }
  #bu2-app .dsh-nav .bu2-sup__dot { display: none; }
  #bu2-app .dsh-body > .bu2-sup { display: none; }
}