:root{--bc-bg:#fbfafc;--bc-panel:#fff;--bc-ink:#14172a;--bc-soft:#71758a;--bc-line:#e9e7ef;--bc-violet:#6c55f7;--bc-serif:Georgia,"Times New Roman",serif;--bc-sans:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
/* Same quiet header language as ToolsForModels: one bar, no floating brand pill. */
.bodycert-platform-chrome{position:fixed;z-index:95;top:0;left:0;right:0;height:68px;padding:0 max(18px,calc((100vw - 1180px)/2));display:flex;align-items:center;justify-content:space-between;background:rgba(251,250,252,.89);backdrop-filter:blur(18px) saturate(1.3);border-bottom:1px solid rgba(229,226,235,.84);pointer-events:none}.bodycert-platform-chrome>*{pointer-events:auto}.bc-platform-home{font:700 23px/1 var(--bc-serif);letter-spacing:-.035em;color:var(--bc-ink);text-decoration:none;white-space:nowrap}.bc-platform-actions{display:flex;gap:8px;align-items:center;margin-right:52px}.bc-unit-toggle,.bc-account-link{min-height:36px;border:1px solid #dedbe7;background:#fff;color:var(--bc-ink);border-radius:999px;padding:7px 13px;font:800 11px/1 var(--bc-sans);text-decoration:none}.bc-account-link{display:inline-flex;align-items:center;gap:7px}.bc-account-icon{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}.bodycert-capture-active .bodycert-platform-chrome{opacity:0;pointer-events:none}
.bodycert-height-imperial{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%}.bodycert-height-imperial label{display:flex;align-items:center;border:1px solid rgba(20,23,42,.18);background:#fff;border-radius:12px;overflow:hidden}.bodycert-height-imperial input{min-width:0;width:100%;border:0;background:transparent;color:inherit;padding:13px 10px;font-size:24px;outline:0;text-align:right}.bodycert-height-imperial span{padding:0 12px 0 2px;color:#777;font-size:12px;font-weight:700}
.bodycert-height-control{width:100%;display:grid;gap:12px}.bodycert-height-units{justify-self:center;display:grid;grid-template-columns:1fr 1fr;gap:3px;padding:3px;border:1px solid var(--bc-line);border-radius:999px;background:#f1eff5}.bodycert-height-units button{min-width:74px;height:34px;padding:0 12px;border:0;border-radius:999px;background:transparent;color:#737486;font:800 11px/1 var(--bc-sans);cursor:pointer}.bodycert-height-units button[aria-pressed="true"]{background:#111426;color:#fff;box-shadow:0 2px 8px rgba(17,20,38,.14)}.bodycert-height-input{width:100%}.bodycert-height-input input{color:var(--bc-ink)!important}.bodycert-height-input span{color:var(--bc-soft)!important}
.bc-account-gate{position:fixed;z-index:300;inset:0;background:rgba(15,16,25,.58);display:grid;place-items:center;padding:18px;backdrop-filter:blur(12px)}.bc-account-gate-card{position:relative;width:min(100%,560px);background:#fff;color:var(--bc-ink);border:1px solid var(--bc-line);border-radius:28px;padding:34px;box-shadow:0 30px 90px rgba(20,23,42,.26)}.bc-account-gate-card h2{font:700 clamp(34px,6vw,50px)/.98 var(--bc-serif);letter-spacing:-.045em;margin:10px 0 16px}.bc-account-gate-card p{color:var(--bc-soft);line-height:1.55;margin:0}.bc-gate-kicker{font:850 9px/1 var(--bc-sans);letter-spacing:.18em;text-transform:uppercase;color:#6558a9}.bc-gate-close{position:absolute;right:15px;top:15px;border:0;background:#f3f3f5;width:38px;height:38px;border-radius:50%;font-size:24px;color:#4d4f5c}.bc-gate-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:26px}.bc-btn-primary,.bc-btn-secondary{display:inline-flex;align-items:center;justify-content:center;min-height:48px;border-radius:999px;padding:12px 19px;text-decoration:none;font-weight:850;font-size:12px}.bc-btn-primary{background:#111426;color:#fff}.bc-btn-secondary{border:1px solid var(--bc-line);color:var(--bc-ink);background:#fff}.bc-gate-dismiss{border:0;background:transparent;color:#858796;font-size:11px;margin-top:18px;text-decoration:underline;cursor:pointer}
body:not(.bodycert-capture-active){background:var(--bc-bg)!important;color:var(--bc-ink)!important;font-family:var(--bc-sans)!important}.screen:not(.camera-screen):not(.preparation-screen):not(.garment-camera-screen){color:var(--bc-ink)!important;padding-top:max(88px,calc(env(safe-area-inset-top) + 76px))!important}.screen.center:not(.camera-screen):not(.preparation-screen){background:transparent!important}.screen h1,.screen h2,.result-card h2{font-family:var(--bc-serif)!important}.btn{border-radius:999px!important}.btn.primary{background:#111426!important;color:#fff!important;border-color:#111426!important}.btn.ghost{background:#fff!important;color:var(--bc-ink)!important;border-color:var(--bc-line)!important}.mode,.result-card,.setup-panel,.record-card,.output-card{background:#fff!important;border-color:var(--bc-line)!important;box-shadow:0 7px 22px rgba(43,37,65,.035)!important}.result-card{border-radius:14px!important}
/* Language stays inside the same visual header row. */
.lang-trigger{right:max(14px,calc((100vw - 1180px)/2))!important;top:15px!important;min-width:42px!important;height:38px!important;background:#fff!important;border:1px solid #dedbe7!important;box-shadow:none!important;color:var(--bc-ink)!important;font-size:11px!important;font-weight:800!important}
body:not(.bodycert-capture-active) .lang-trigger{z-index:100}
@media(max-width:760px){.bodycert-platform-chrome{height:60px;padding:0 14px}.bc-platform-home{font-size:20px}.bc-platform-actions{margin-right:46px;gap:6px}.bc-unit-toggle,.bc-account-link{min-height:34px;padding:6px 10px}.bc-account-link{width:34px;justify-content:center;padding:0}.bc-account-link span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.bc-account-icon{width:17px;height:17px}.lang-trigger{top:13px!important;right:10px!important;min-width:38px!important;height:34px!important}.bc-account-gate-card{padding:28px 22px;border-radius:22px}.bc-gate-actions{display:grid}.bc-btn-primary,.bc-btn-secondary{width:100%}}
@media(max-width:380px){.bodycert-platform-chrome{padding-left:10px}.bc-platform-home{font-size:18px}.bc-platform-actions{gap:4px;margin-right:43px}.bc-unit-toggle{min-width:35px;padding:6px 8px;font-size:10px}.bc-account-link{width:32px;min-width:32px}.lang-trigger{right:8px!important;min-width:34px!important}}
/* Remove the old duplicate brand treatment from protocol landings: the shared header already carries the brand. */
body:not(.bodycert-capture-active) .screen.center:not(.camera-screen):not(.preparation-screen)::before{display:none!important}
body:not(.bodycert-capture-active) .landing .landing-brand{display:none!important}
body:not(.bodycert-capture-active) .landing .landing-vertical{font:700 clamp(46px,10vw,76px)/.92 var(--bc-serif)!important;letter-spacing:-.05em!important;text-transform:none!important;color:var(--bc-ink)!important;margin:0!important}
body:not(.bodycert-capture-active) .landing p{color:var(--bc-soft)!important;font-size:15px!important;line-height:1.5!important;max-width:520px!important;margin-top:17px!important}
:root .bc-measurement-start-error{max-width:42rem;margin:1.5rem auto;padding:1.25rem;border:1px solid currentColor;border-radius:12px;text-align:center}
