/* Brand gold. Risk/status charts intentionally retain their semantic colours. */
:root,:root[data-theme="light"]{--ba-action:#e1b94d;--ba-action-hover:#f0cb69;--ba-action-ink:#211904;--ba-accent-soft:#fbf2d9;--bhn-gold:#8a620f;--bhn-gold2:#795409;--bhn-border-gold:#cdb775}
:root:not([data-theme="light"]){--bhn-gold:#e1b94d;--bhn-gold2:#f2d58b;--bhn-border-gold:#78602d;--ba-accent-soft:#332c1b}
body :is(.bhn-btn,.bhn-btn--gold,.bhn-services-button,.wp-block-button__link,.ba-original-continue,.ba-original-submit,.ba-wheel-spin,.ba-services-update button,.ba111-selector button,.ba-image-actions button,.ba-update-notice button){background:var(--ba-action)!important;color:var(--ba-action-ink)!important;border-color:var(--ba-action)!important;box-shadow:none}
body :is(.bhn-btn,.wp-block-button__link,.ba-services-update button,.ba-image-actions button):hover{background:var(--ba-action-hover)!important;color:var(--ba-action-ink)!important}
html body .ba-original-platform .ba-original-actions button{background:var(--ba-action)!important;color:var(--ba-action-ink)!important;border-color:var(--ba-action)!important}
html[data-theme="light"] body .bhn-kicker{color:var(--bhn-gold2)}
body :is(button,a,input,select,textarea):focus-visible{outline:3px solid var(--bhn-gold);outline-offset:3px}
body .ba-inline-check,body .ba-original-consent label:has(input[type="checkbox"]),body .woocommerce-form__label-for-checkbox{display:flex!important;align-items:flex-start;gap:10px;line-height:1.9;text-align:start;max-width:100%}
body input:is([type="checkbox"],[type="radio"]){width:20px!important;min-width:20px!important;height:20px!important;flex:0 0 20px;margin:5px 0 0!important;padding:0!important;accent-color:#a47616;display:inline-block!important}
.ba-inline-check a,.ba-original-consent label a{display:inline;color:var(--bhn-gold2);text-underline-offset:4px}
.ba-original-consent label:has(input[type="checkbox"]){flex-wrap:nowrap}.ba-original-consent label span{min-width:0}
body input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]),body select,body textarea{font-size:max(16px,1rem);max-width:100%;min-width:0}
.bhn-brand__logo-image{max-width:128px!important;max-height:78px!important;object-fit:contain;image-rendering:auto}
.bhn-header__inner{display:flex!important;align-items:center;justify-content:space-between;gap:20px;padding-block:12px!important}
.bhn-header .bhn-nav{display:none!important}.bhn-header .bhn-menu-toggle{display:flex!important;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-width:44px;min-height:44px}
.bhn-header__actions{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:9px!important;margin-inline-start:auto;min-width:0}
.bhn-header .bhn-mobile-nav{display:none!important;border-top:1px solid var(--bhn-border);max-height:70vh;overflow:auto}
.bhn-header .bhn-mobile-nav.is-open{display:block!important}
.ba-drawer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding-block:20px}
.ba-drawer-grid h2{font-size:17px;margin:0 0 8px;color:var(--bhn-gold2)}.ba-drawer-grid a{display:block;padding:8px 0;min-height:42px;color:var(--bhn-text);text-decoration:none}.ba-drawer-grid a:hover{color:var(--bhn-gold2)}
.bhn-footer__grid{grid-template-columns:minmax(0,2fr) minmax(0,1fr)!important;gap:24px!important}.bhn-footer{padding-top:28px!important}.bhn-footer__bottom{font-size:14px!important;gap:14px!important}.bhn-footer p{font-size:16px;line-height:1.9}
.ba-footer-links{display:flex;flex-wrap:wrap;gap:16px;margin-block:12px}.ba-footer-links a{color:var(--bhn-gold2)}
body .bhn-footer__grid{grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr) minmax(300px,1fr)!important;padding-block:8px!important;gap:16px!important;align-items:start}body .bhn-footer__about p{max-width:46ch;margin-block:8px}body .bhn-footer .ba-footer-trust{padding:0;margin:0;border:0;background:transparent}body .bhn-footer .ba-footer-trust>div:first-child{display:none}body .bhn-footer .ba-footer-trust__badges{justify-content:center;gap:12px}body .bhn-footer__bottom{padding-block:12px!important}@media(max-width:900px){body .bhn-footer__grid{grid-template-columns:1fr 1fr!important}body .bhn-footer .ba-footer-trust{grid-column:1/-1}}@media(max-width:600px){body .bhn-footer__grid{grid-template-columns:1fr!important}}
.ba-free-studio{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start;margin-block:40px;scroll-margin-top:110px}.ba-free-studio>*{min-width:0}
.ba-free-studio__wheel,.ba-image-tool{padding:clamp(18px,2.4vw,30px);border:1px solid var(--bhn-border);background:var(--bhn-surface);border-radius:24px;color:var(--bhn-text)}
.ba-free-studio h2{font-size:clamp(24px,2.5vw,30px);line-height:1.6;margin:8px 0 14px}.ba-free-studio p{font-size:16px;line-height:1.9}
.ba-free-studio .ba-wheel-layout{display:flex;flex-direction:column}.ba-free-studio .ba-wheel{max-width:100%}.ba-free-studio .ba-wheel-wrap{max-width:100%;margin-inline:auto}
.ba-image-drop{display:grid;gap:12px;border:2px dashed var(--bhn-border-gold);border-radius:16px;padding:20px;margin-block:18px;background:var(--ba-accent-soft);cursor:pointer;font-weight:700}.ba-image-drop.is-dragging{outline:3px solid var(--bhn-gold)}.ba-image-drop small{font-size:13px;font-weight:400;line-height:1.9}.ba-image-drop input{width:100%;font:inherit}
.ba-image-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ba-image-controls label{display:grid;gap:6px;font-size:15px}.ba-image-controls input,.ba-image-controls select{width:100%;padding:9px;border:1px solid var(--bhn-border);border-radius:10px;background:var(--bhn-bg);color:var(--bhn-text);min-height:44px;font:inherit}.ba-image-controls input[type="range"]{accent-color:#a47616;padding:0}.ba-image-controls output{display:inline}
.ba-image-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}.ba-image-actions button,.ba-image-actions a,.ba-update-notice button{font:inherit;font-weight:700;padding:10px 16px;border-radius:10px;min-height:44px;cursor:pointer}.ba-image-actions button:disabled{opacity:.5;cursor:not-allowed}.ba-image-tool figure{margin:16px 0 0}.ba-image-tool figure img{display:block;max-width:100%;max-height:320px;object-fit:contain;margin-inline:auto}.ba-image-tool figcaption{font-size:14px;text-align:center;margin-top:10px}.ba-image-tool [hidden],.ba-update-notice[hidden]{display:none!important}
.ba-update-notice{position:fixed;z-index:99990;inset:auto 20px 20px auto;max-width:min(440px,calc(100vw - 40px));padding:20px;border:1px solid var(--bhn-border-gold);border-radius:18px;background:var(--bhn-surface);color:var(--bhn-text);box-shadow:0 12px 40px #0004;font-size:15px}.ba-update-notice p{margin-top:0}.ba-update-notice [data-ba-app-status]:empty{display:none}
@media(max-width:1000px){.bhn-account small,.bhn-logout,.bhn-account__text,.bhn-theme-toggle__label,.bhn-cart-link__label{display:none!important}.bhn-account{min-width:44px;min-height:44px}.ba-free-studio{grid-template-columns:1fr}.ba-drawer-grid{gap:18px}}
@media(max-width:600px){.bhn-brand__logo-image{max-width:64px!important;max-height:46px!important}.bhn-brand__copy small{display:none}.bhn-brand__copy strong{font-size:15px}.bhn-header__inner{gap:8px;padding-block:10px!important}.bhn-header__actions{gap:5px!important}.bhn-header .bhn-install-app{font-size:13px;padding-inline:8px;min-width:40px}.bhn-header .bhn-install-app span:first-child{display:none}.bhn-theme-toggle{min-width:38px!important}.bhn-brand{gap:6px}.bhn-footer__grid,.ba-drawer-grid{grid-template-columns:1fr!important}.ba-drawer-grid{gap:12px}.ba-drawer-grid>section{border-bottom:1px solid var(--bhn-border);padding-bottom:10px}.ba-image-controls{gap:10px}.ba-free-studio{gap:18px}.bhn-footer__bottom{flex-direction:column;align-items:flex-start}}
@media(max-width:380px){.bhn-brand__copy{display:none}.bhn-header__actions{gap:4px!important}.ba-image-actions>*{width:100%;text-align:center}}
@media(max-width:600px){.bhn-header .bhn-install-app span:last-child{display:inline!important;font-size:12px}}
@media(prefers-reduced-motion:reduce){.ba-free-studio *{animation:none!important;transition:none!important}}
/* Build gold.2: explicit controls beat historical olive inline/component styles. */
body :is(.ba-service-filters button,.ba111-choices button,.ba-service-form button,.ba-auth button,.digits-form button,.ba-platform-outputs button,.ba-wellness button,.woocommerce button.button,.woocommerce a.button,.ba-customer-dashboard button,.ba-cx-coupons button,.bhn-install-app){background:linear-gradient(135deg,#f0d17c,#ddb044)!important;color:#251b06!important;border:1px solid #c59b36!important;border-radius:13px;min-height:44px;font:inherit;font-weight:750;padding:10px 18px;cursor:pointer;box-shadow:0 3px 10px #9e752018!important;transition:transform .18s,box-shadow .18s}
body .ba-service-filters button[aria-pressed="true"]{background:#7d580d!important;color:#fff!important;border-color:#7d580d!important}
body :is(.bhn-btn,.wp-block-button__link,.ba-service-filters button,.ba-wellness button):hover{transform:translateY(-1px);box-shadow:0 5px 18px #9e75202b!important}
body [hidden],body .bhn-install-app[hidden]{display:none!important}
.ba-free-studio{padding:clamp(12px,2vw,24px);border:1px solid var(--bhn-border-gold);border-radius:28px;background:var(--ba-accent-soft);align-items:stretch;overflow:clip;box-sizing:border-box}
.ba-free-studio__wheel,.ba-free-studio__image{min-width:0;width:100%;height:100%;box-sizing:border-box;overflow:clip;border-radius:20px;background:var(--bhn-surface)}
.ba-free-studio__image .ba-image-tool{height:100%;box-sizing:border-box;margin:0}.ba-free-studio__wheel{display:flex;flex-direction:column}
.ba-free-studio .ba-wheel,.ba-free-studio .ba-wheel__card{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
.ba-free-studio .ba-wheel__card{border:0;padding:12px;box-shadow:none;background:transparent}
.ba-free-studio .ba-wheel__stage{width:min(100%,330px);max-width:100%;flex-shrink:0}.ba-free-studio .ba-wheel__spin{min-width:0;max-width:100%;white-space:normal}
.ba-free-studio .ba-wheel__label{width:76px;max-width:28%;font-size:11px;line-height:1.6;overflow-wrap:anywhere;transform:rotate(calc(var(--wheel-index)*45deg)) translateY(-105px) rotate(calc(var(--wheel-index)*-45deg))}
.bhn-site-main :is(section,article,form,.wp-block-column){min-width:0;box-sizing:border-box}.bhn-site-main :is(canvas,iframe,table,img){max-width:100%}
.bhn-header{border-bottom:1px solid var(--bhn-border-gold);background:var(--bhn-bg);box-shadow:0 4px 24px #00000008}.bhn-header__inner{max-width:1320px!important;margin:auto}.bhn-header .bhn-brand{flex-shrink:0}.bhn-brand__logo-image{width:78px!important;height:78px!important;max-height:78px!important;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;object-fit:contain}
.ba-header-quick{display:flex;align-items:center;gap:20px;margin-inline:20px}.ba-header-quick a{font-size:15px;color:var(--bhn-text);text-decoration:none;white-space:nowrap}.ba-header-quick a:hover{color:var(--bhn-gold2)}
.bhn-header .bhn-account{border:1px solid var(--bhn-border-gold);border-radius:12px;padding:8px 12px}.bhn-header .bhn-account small{display:none}.bhn-header .bhn-account__text strong{font-size:14px}.bhn-header .bhn-logout{font-size:14px}
.bhn-footer{margin-top:48px;border-top:1px solid var(--bhn-border-gold);background:var(--bhn-surface)}.bhn-footer__grid{grid-template-columns:1.4fr 1fr 1fr!important;padding-block:18px}.bhn-footer__brand .bhn-brand__logo-image{width:72px!important;height:72px!important}.ba-footer-services{display:grid;gap:8px;align-content:start}.ba-footer-services a{color:var(--bhn-text);text-decoration:none;min-height:32px}.ba-footer-services h3{margin-bottom:8px}.bhn-footer__bottom{border-top:1px solid var(--bhn-border);padding-block:18px;line-height:1.9}
.ba-gold-hero{text-align:center;padding:clamp(36px,6vw,88px) 20px}.ba-gold-hero h1{max-width:1000px;margin:16px auto;font-size:clamp(31px,5.1vw,68px);line-height:1.6;letter-spacing:-1px}.ba-hero-rule{width:100px;height:3px;border:0;background:#ddb044;margin:22px auto}.ba-gold-hero>p{max-width:850px;margin:0 auto 24px;line-height:2;color:var(--bhn-muted)}.ba-hero-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}.ba-hero-actions a{min-height:48px}
.ba-wellness{border:1px solid var(--bhn-border-gold);border-radius:24px;padding:clamp(16px,3vw,32px);margin-block:24px;background:var(--bhn-surface);color:var(--bhn-text);overflow-wrap:anywhere}.ba-wellness h2{font-size:clamp(24px,3vw,32px)}.ba-food-controls{display:grid;grid-template-columns:2fr 1fr 1fr;gap:14px;align-items:end}.ba-wellness label{display:grid;gap:6px}.ba-wellness :is(input,select){background:var(--bhn-bg);color:var(--bhn-text);border:1px solid var(--bhn-border);border-radius:10px;padding:10px;width:100%;box-sizing:border-box;min-height:44px}.ba-food-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-block:20px}.ba-food-totals>div{background:var(--ba-accent-soft);padding:14px;border-radius:12px}.ba-food-totals strong{display:block;font-size:24px}.ba-food-items{display:grid;gap:10px;padding:0;list-style:none}.ba-food-items li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid var(--bhn-border);border-radius:12px}.ba-food-items small{display:block;line-height:1.9}.ba-food-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}.ba-food-note{font-size:14px;line-height:2}.ba-food-history{display:grid;gap:12px}.ba-food-history article{border:1px solid var(--bhn-border);padding:16px;border-radius:14px}.ba-food-history ul{line-height:2}.ba-wellness [role="status"]{line-height:2}.ba-wellness :disabled{opacity:.55;cursor:not-allowed}.ba-food-recipe{font-size:14px;line-height:2;padding:12px;background:var(--ba-accent-soft);border-radius:12px;margin-top:12px}
@media(max-width:1150px){.ba-header-quick{display:none}.bhn-header__actions{gap:6px!important}}
@media(max-width:700px){.bhn-footer__grid{grid-template-columns:1fr!important}.ba-food-controls{grid-template-columns:1fr}.ba-food-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.ba-food-items li{align-items:flex-start}.ba-gold-hero{padding-inline:12px}.ba-hero-actions>a{flex:1 1 43%;text-align:center;padding-inline:10px}.bhn-header .bhn-brand__logo-image{width:42px!important;height:42px!important;max-height:42px!important}.bhn-header .bhn-brand__copy strong{font-size:13px}.ba-free-studio{grid-template-columns:1fr}.ba-free-studio__image{height:auto}}
@media(max-width:360px){.ba-free-studio .ba-wheel__label{font-size:9px;transform:rotate(calc(var(--wheel-index)*45deg)) translateY(-82px) rotate(calc(var(--wheel-index)*-45deg))}.ba-free-studio .ba-wheel__stage{max-width:260px}.bhn-header .bhn-account{padding:7px}.bhn-header .bhn-brand__copy{display:none}}
@media(prefers-reduced-motion:reduce){body :is(button,.bhn-btn,.wp-block-button__link){transition:none!important;transform:none!important}}
.bhn-install-app{white-space:nowrap;flex-shrink:0}.ba-wellness select{min-width:0;max-width:100%}.ba-free-studio>div{max-width:100%}
.ba-gold-hero .ba-services-eyebrow,.ba-gold-hero>.wp-block-paragraph:first-child{color:var(--bhn-gold2,#9b7318)}
/* Equal-size primary actions; long Persian labels remain inside the grid. */
.ba-hero-actions{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));max-width:960px;margin-inline:auto;align-items:stretch!important}
.ba-hero-actions>.wp-block-button{display:flex;min-width:0;width:100%;margin:0}
.ba-hero-actions a{display:flex;justify-content:center;align-items:center;min-width:0;min-height:52px;width:100%;height:100%;text-align:center;white-space:normal;box-sizing:border-box;line-height:1.8}
/* Reset Digits floating-label rules for our consent block, also in modals. */
.ba-auth-policy-consent{display:block!important;position:static!important;clear:both!important;float:none!important;width:100%!important;height:auto!important;grid-column:1/-1;margin:16px 0!important;box-sizing:border-box}
.ba-auth-policy-consent label{display:flex!important;position:static!important;align-items:flex-start!important;gap:10px!important;float:none!important;transform:none!important;height:auto!important;line-height:1.9!important;white-space:normal!important;text-align:start!important;padding:0!important}
.ba-auth-policy-consent input[type=checkbox]{position:static!important;appearance:auto!important;opacity:1!important;width:20px!important;height:20px!important;min-width:20px!important;flex:0 0 20px!important;margin:5px 0 0!important;accent-color:#ad801d}
.ba-auth-policy-consent label span{position:static!important;transform:none!important;white-space:normal!important;line-height:inherit!important}
@media(max-width:850px){.ba-hero-actions{grid-template-columns:repeat(2,minmax(0,1fr));max-width:620px}}
@media(max-width:360px){.ba-hero-actions{grid-template-columns:1fr}}
.ba-coach-choice{margin-block:24px;padding:clamp(16px,3vw,28px);max-width:100%;overflow-wrap:anywhere}
.ba-coach-choice form{display:grid;grid-template-columns:1fr;gap:12px;margin-block:16px}.ba-coach-choice label{display:grid;gap:8px}.ba-coach-choice :is(select,textarea,input[type=search]){width:100%;min-width:0;min-height:48px;box-sizing:border-box;background:var(--bhn-bg);color:var(--bhn-text);font:inherit;padding:12px;border:1px solid var(--bhn-border);border-radius:10px}
.ba-coach-choice button{min-height:48px;max-width:100%;padding:12px 20px;border:1px solid var(--ba-action);border-radius:12px;background:var(--ba-action);color:var(--ba-action-ink);font:inherit;font-weight:700;cursor:pointer;white-space:normal;line-height:1.8}
.ba-coach-choice button:hover{background:var(--ba-action-hover)}
.ba-coach-choice textarea{min-height:110px}.ba-coach-choice details{margin-top:18px}.ba-coach-choice details article{border-top:1px solid var(--bhn-border);padding-block:12px}
/* Full, uncropped brand mark with room for the mobile header controls. */
.bhn-header .bhn-brand__logo-image{max-width:78px!important;flex-shrink:0}
@media(max-width:700px){.bhn-header .bhn-brand__logo-image{width:44px!important;height:44px!important;max-width:44px!important;max-height:44px!important}}
