/* BU2 Connect: deep rustic cobalt accent (approved by Jordan, 24 Nov 2026).
   Cobalt = trust, verified, protected. Black and white stay dominant. */
:root{--cob:#173A5A;--cob-tex:radial-gradient(120% 80% at 20% 10%,rgba(255,255,255,.07),transparent 60%),radial-gradient(90% 70% at 85% 90%,rgba(0,0,0,.22),transparent 60%),radial-gradient(60% 50% at 60% 40%,rgba(255,255,255,.04),transparent 70%),#173A5A}
/* Home: statement block under the photo strip */
.c1-text,.c1-btns{background:var(--cob-tex) !important}
.c1-text{padding-top:30px !important}
.c1-eyebrow{color:#AFC3D6 !important}
.c1-p{color:#D5DEE7 !important}
.c1-solid{color:var(--cob) !important}
/* Search form */
.c2 .bu2-opt[aria-pressed="true"]{background:var(--cob) !important;border-color:var(--cob) !important}
.c2-range::-webkit-slider-runnable-track{background:linear-gradient(var(--cob),var(--cob)) 0 0/var(--fill,10%) 100% no-repeat,#CFD3D8 !important}
.c2-range::-webkit-slider-thumb{background:var(--cob) !important}
.c2-range::-moz-range-progress,.c2-range::-moz-range-thumb{background:var(--cob) !important}
.btn2{background:var(--cob) !important}
.c2-h1{border-left:3px solid var(--cob) !important;padding-left:12px !important}
.bu2-foot{border-top:0 !important}
/* App: trust, protection, confirmation */
#bu2-app .dark-box{background:var(--cob-tex) !important}
#bu2-app .b-tag--ver,#bu2-app .b-tag--trust{background:var(--cob) !important;color:#FAFAF8 !important}
#bu2-app .protect{border-color:var(--cob) !important;border-left:4px solid var(--cob) !important}
#bu2-app .b-tick,#bu2-app .me,#bu2-app #pay{background:var(--cob) !important}
#bu2-app .b-chip[aria-pressed="true"],#bu2-app .pill[aria-pressed="true"],#bu2-app .slot[aria-pressed="true"],#bu2-app .idseg button[aria-pressed="true"]{background:var(--cob) !important;border-color:var(--cob) !important}
#bu2-app .plan[aria-pressed="true"],#bu2-app .cert{border-color:var(--cob) !important}
#bu2-app .steps i.on,#bu2-app .tl .d.on,#bu2-app .road__bar i,#bu2-app .fill{background:var(--cob) !important;border-color:var(--cob) !important}
#bu2-app .countdown{border-color:var(--cob) !important;border-left:4px solid var(--cob) !important}
#bu2-app .rings i{background:var(--cob) !important}
#bu2-app .ring{border-color:var(--cob) !important}
#bu2-app .r--total{border-top-color:var(--cob) !important}
#bu2-app .tabs a[aria-current="page"]{color:var(--cob) !important;box-shadow:inset 0 -2px 0 var(--cob) !important}
#bu2-app .b-opt:has(input:checked){border-color:var(--cob) !important;box-shadow:inset 3px 0 0 var(--cob) !important}
#bu2-app .b-opt input,#bu2-app .chk input,#bu2-app .tg input{accent-color:var(--cob) !important}
/* Artist section (.s--dark screens such as #/join): white background, cobalt text */
#bu2-app .s--dark,#bu2-app .s--dark .top{background:#FFFFFF !important;color:var(--cob) !important}
#bu2-app .s--dark .top{border-bottom:1px solid rgba(23,58,90,.18) !important}
#bu2-app .s--dark *{color:var(--cob) !important;border-color:rgba(23,58,90,.22) !important}
#bu2-app .s--dark .jlab,#bu2-app .s--dark .lab{color:#5F7F9C !important}
#bu2-app .s--dark .chrome,#bu2-app .s--dark .chrome *{background:var(--cob) !important;color:#FAFAF8 !important;border-color:var(--cob) !important}
#bu2-app .s--dark .chrome *{background:transparent !important}
/* Home shows only the landing; the search form is its own screen (#search). Jordan, 24 Nov 2026 */
body[data-page="bu2"]:not(.bu2-searching) .c2{display:none !important}
body[data-page="bu2"].bu2-searching .c1{display:none !important}
.c2-back{display:inline-flex;align-items:center;gap:8px;margin:0 0 18px;font-family:Montserrat,sans-serif;font-size:10px;font-weight:500;letter-spacing:.22em;text-transform:uppercase;color:var(--cob);text-decoration:none}

/* Test mode tab: left edge, low down, so it never covers prices on the right */
.testbar{right:auto!important;left:0!important;top:auto!important;bottom:110px!important;opacity:.85}
.testbar>button{border-right:1px dashed var(--dash)!important;border-left:0!important}
.testpanel{right:auto!important;left:36px!important}

/* ---- Owner fixes, 24 Nov 2026 ---- */
/* Where toggle: clear line between the two options, clear selected state */
.c2-seg{border-color:var(--cob) !important}
.c2-seg .bu2-opt+.bu2-opt{border-left:1px solid var(--cob) !important}
.c2-seg .bu2-opt[aria-pressed="true"]{color:#FFFFFF !important;font-weight:600 !important}
.c2-seg .bu2-opt[aria-pressed="true"]::before{content:"\2713\00a0"}
/* Missing fields: red label, red border, short buzz */
.c2 .bu2-err{color:#C62828 !important;border-left-color:#C62828 !important;font-weight:500}
.c2-group.is-invalid>.lab,.c2-group.is-invalid>legend.lab,.c2-group.is-invalid .lab{color:#C62828 !important}
.c2-group.is-invalid .in,.c2-group.is-invalid .c2-seg{border-color:#C62828 !important;box-shadow:0 0 0 1px #C62828 inset}
.c2-group.is-invalid .c2-seg .bu2-opt+.bu2-opt{border-left-color:#C62828 !important}
.c2-group.is-invalid #bu2-svc .bu2-opt{border-color:#C62828 !important}
.is-buzz{animation:bu2-buzz .45s cubic-bezier(.36,.07,.19,.97) both}
@keyframes bu2-buzz{10%,90%{transform:translateX(-1px)}20%,80%{transform:translateX(3px)}30%,50%,70%{transform:translateX(-6px)}40%,60%{transform:translateX(6px)}}
@media (prefers-reduced-motion:reduce){.is-buzz{animation:none}}
/* Trusted badge: white with navy border and a gold star */
#bu2-app .b-tag--trust{background:#FFFFFF !important;color:var(--cob) !important;border:1px solid var(--cob) !important;padding:2px 7px !important;font-weight:600}
#bu2-app .b-tag--trust .b-tag__star{color:#173A5A !important}
/* Profile: packages you can tap to choose */
#bu2-app .pk-hint{padding-bottom:0;color:#5F7F9C}
#bu2-app .pk--pick{width:100%;background:none;border:0;border-top:1px solid var(--rule);font:inherit;color:inherit;text-align:left;cursor:pointer;align-items:center;gap:10px;min-height:46px;padding:10px 10px 10px 8px;-webkit-tap-highlight-color:transparent}
#bu2-app .pk--pick .pk__n{flex:1;min-width:0}
#bu2-app .pk__dot{flex:0 0 16px;width:16px;height:16px;border-radius:50%;border:1.5px solid #9AA6B2;box-sizing:border-box}
#bu2-app .pk--pick[aria-checked="true"]{background:#EEF2F6;box-shadow:inset 3px 0 0 var(--cob)}
#bu2-app .pk--pick[aria-checked="true"] .pk__dot{border:5px solid var(--cob)}
#bu2-app .pk--pick:focus-visible{outline:2px solid var(--cob);outline-offset:-2px}
/* Location errors from "Use my current location" show in red */
.c2 .bu2-search__msg[data-geo]:not(:empty){color:#C62828 !important;font-size:12px !important;line-height:1.5}


/* #11 clear Close photos control on the portfolio viewer */
#bu2-app .lightbox{z-index:200 !important;background:#0B0B0C !important}
#bu2-app .lightbox__strip{height:auto;min-height:calc(100dvh - 60px);background:#0B0B0C}
#bu2-app .lightbox__strip > div{height:calc(100dvh - 60px);background:#0B0B0C}
#bu2-app .lightbox__bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px 8px;background:#0B0B0C}
#bu2-app .s:has(.bar-foot) .s-body,#bu2-app .s:has(.foot) .s-body{padding-bottom:100px !important}
#bu2-app .lightbox__close{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border:1px solid #FFFFFF;background:#FFFFFF;color:#0B0B0C;font-family:Montserrat,sans-serif;font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;cursor:pointer}
#bu2-app .lightbox__close svg{display:block}
#bu2-app .lightbox__count{color:#FAFAF8;font-size:11px;letter-spacing:.16em;text-transform:uppercase;padding-right:8px}
/* #15 payment hold is a note, not a status header */
#bu2-app .sys{text-transform:none;letter-spacing:0;font-size:11px;line-height:1.45;max-width:280px}
/* #16 Certified artist option: black border */


/* Lightbox is appended to body, so do not scope these to #bu2-app */
.lightbox{position:fixed !important;inset:0 !important;z-index:9999 !important;background:#0B0B0C !important;width:100vw !important;height:100dvh !important;display:grid !important;grid-template-rows:auto 1fr !important}
.lightbox__bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px 8px;background:#0B0B0C}
.lightbox__close{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border:1px solid #FFFFFF;background:#FFFFFF;color:#0B0B0C;font-family:Montserrat,sans-serif;font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;cursor:pointer}
.lightbox__count{color:#FAFAF8;font-size:11px;letter-spacing:.16em;text-transform:uppercase;padding-right:8px}
.lightbox__strip{min-height:calc(100dvh - 60px) !important;background:#0B0B0C}.lightbox__strip > div{min-height:calc(100dvh - 60px) !important;height:calc(100dvh - 60px) !important}

/* Result cards: review highlight, not cancellation rules */
#bu2-app .b-card__rev{font-size:11px;line-height:1.45;color:#3A3D41;font-style:italic}
#bu2-app .b-card__who{font-style:normal;color:#5E646B}
#bu2-app .b-card__new{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--cob);font-weight:600}
/* Chat presence */
#bu2-app .chat-pres{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#5E646B}
#bu2-app .chat-pres::before{content:"";width:7px;height:7px;border-radius:50%;background:#9AA6B2}
#bu2-app .chat-pres--on{color:#1F9D55;font-weight:600}
#bu2-app .chat-pres--on::before{background:#1F9D55}
/* #21 thin white back arrow only */
.lightbox__back{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;background:transparent;color:#FFFFFF;cursor:pointer}
.lightbox__back svg{display:block}
.lightbox__close{display:none}
/* #22 Certified artist: solid black, white text, both states */
#bu2-app .cert,
#bu2-app .s--dark .cert,
#bu2-app a.cert{
  background:#000 !important;
  color:#FFF !important;
  border:0 !important;
  box-shadow:none;
  padding:16px 18px;
}
#bu2-app .cert span,
#bu2-app .s--dark .cert span,
#bu2-app .cert svg,
#bu2-app .s--dark .cert *{color:#FFF !important;stroke:#FFF !important;border-color:transparent !important}
#bu2-app a.cert:hover,#bu2-app a.cert:focus-visible{background:#000 !important;color:#FFF !important;box-shadow:inset 0 0 0 1px #FFF}
#bu2-app a.cert[aria-current="true"],#bu2-app a.cert.is-on{box-shadow:inset 0 0 0 1px #FFF}

/* Try again next to a location error (owner 25 Nov 2026). */
.c2 .bu2-search__msg .bu2-loc-retry{display:inline;margin-left:2px;padding:0;border:0;border-bottom:1px solid currentColor;background:none;color:inherit;font:inherit;font-weight:600;cursor:pointer;letter-spacing:0;text-transform:none;vertical-align:baseline}
.c2 .bu2-search__msg .bu2-loc-retry:focus-visible{outline:2px solid #C62828;outline-offset:2px}

/* Studio vs house-call prices (owner 25 Nov 2026). */
#bu2-app .pk-prices{display:flex;flex-direction:column;align-items:flex-end;gap:2px;flex:none;text-align:right}
#bu2-app .pk-price{font-size:12px;font-weight:500;color:#3A3D41;white-space:nowrap}
#bu2-app .pk-price__l{font-weight:400;color:#5E646B;margin-right:4px}
#bu2-app .pk-price.is-active{font-weight:600;color:#0B0B0C}
#bu2-app .pk--pick .pk-prices{margin-left:8px}
#bu2-app a.ghost + a.ghost{margin-top:8px}

/* Studio + house-call price fields share one row and the same top (owner 25 Nov 2026). */
#bu2-app .g2--prices{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px 10px;align-items:start}
#bu2-app .g2--prices > .f7{display:grid;grid-template-rows:2.6em 46px;gap:7px;min-width:0;align-items:stretch}
#bu2-app .g2--prices > .f7 .lab{min-height:2.6em;line-height:1.3em;display:flex;align-items:flex-end}
#bu2-app .g2--prices > .f7 .in{height:46px;min-height:46px;box-sizing:border-box}

/* ---- Footer and page edges: body and canvas are black, so nothing light shows below the footer (owner, 25 Nov 2026) ---- */
html,
body[data-page="bu2"],
body.bu2-in-app{
  background:#0B0B0C !important;
}
html{overscroll-behavior-y:auto}
body[data-page="bu2"]{
  min-height:100dvh;
  display:flex;
  flex-direction:column;
}
body[data-page="bu2"] > .bu2-page{background:transparent;flex:1 0 auto}
body[data-page="bu2"].bu2-searching > .bu2-page{background:#FAFAF8;display:flex;flex-direction:column}
body[data-page="bu2"].bu2-searching .c2{flex:1}
.bu2-foot{
  background:#0B0B0C !important;
  border:0 !important;
  box-shadow:none !important;
  padding-top:31px !important;
  margin-top:auto;
}
/* Photo viewer (owner 26 Nov 2026): whole photo, never cropped, never scaled by CSS transforms, letterboxed on black. */
.lightbox__strip .lb-slide{display:flex;align-items:center;justify-content:center;background:#0B0B0C;overflow:hidden;padding:0 0 env(safe-area-inset-bottom)}
.lightbox__strip .lb-slide img{width:100%;height:100%;object-fit:contain;object-position:50% 50%;display:block;transform:none;background:#0B0B0C}
/* profile hero and grids keep the top of a portrait in view when a tile has to crop */
.b-gal .b-ph img{object-position:50% 22%}