/* V63 location choice: floating, dismissible and responsive */
.bcm-location-dialog[hidden]{display:none!important}.bcm-location-dialog{position:fixed;z-index:9997;right:22px;bottom:24px;width:min(420px,calc(100vw - 32px));box-sizing:border-box;background:#fffdf9;color:#17293b;border:1px solid #e7ded0;border-radius:20px;padding:24px;box-shadow:0 18px 65px rgba(11,26,40,.23);font-family:inherit;line-height:1.55}.bcm-location-dialog-top{display:flex;align-items:center;gap:10px;margin-bottom:12px}.bcm-location-icon{display:grid;place-items:center;width:37px;height:37px;background:#f4ead7;border-radius:12px;color:#a57c3c;font-size:27px}.bcm-location-eyebrow{font-size:10px;letter-spacing:.14em;font-weight:800;color:#967744;flex:1}.bcm-location-close{border:0!important;background:transparent!important;color:#526170!important;font-size:27px!important;line-height:1!important;cursor:pointer;padding:5px!important}.bcm-location-dialog h2{font-size:25px!important;line-height:1.2!important;letter-spacing:-.025em;margin:0 0 12px!important;color:#15283a!important}.bcm-location-dialog p{font-size:13px;margin:0 0 14px;color:#536070}.bcm-location-privacy{font-size:12px;color:#596c67;background:#f0f5f0;border-left:3px solid #7b9c83;padding:11px 13px;border-radius:6px;margin:12px 0 17px}.bcm-location-actions{display:flex;gap:9px;flex-wrap:wrap}.bcm-location-actions button{border-radius:9px;padding:12px 16px;font-size:12px;font-weight:700;cursor:pointer}.bcm-location-allow{background:#172e43;color:#fff;border:1px solid #172e43}.bcm-location-skip{background:#fff;color:#172e43;border:1px solid #c8d0d5}.bcm-location-foot{margin:15px 0 0!important}.bcm-location-foot a{font-size:11px;color:#8e6a32;text-decoration:underline}.bcm-location-dialog #bcm-location-status{margin:10px 0 0;font-size:12px}.bcm-location-dialog button:focus-visible{outline:3px solid #c69d5c;outline-offset:2px}@media(max-width:640px){.bcm-location-dialog{left:12px;right:12px;bottom:calc(76px + env(safe-area-inset-bottom,0px));width:auto;padding:19px;border-radius:17px}.bcm-location-dialog h2{font-size:21px!important}.bcm-location-dialog p{font-size:12px}}

.bcm-location-dialog{max-height:min(85vh,720px);overflow-y:auto}.bcm-location-form{display:grid;gap:9px}.bcm-location-form>label:not(.bcm-location-check){display:grid;gap:4px;font-size:12px;font-weight:650}.bcm-location-form input:not([type=checkbox]){width:100%;box-sizing:border-box;border:1px solid #c9d1d6;border-radius:8px;padding:10px 12px;background:white;color:#15283a;font:inherit}.bcm-location-check{display:flex;align-items:flex-start;gap:9px;font-size:11px;line-height:1.45;color:#34495a}.bcm-location-check input{margin-top:3px;flex:none}.bcm-location-channels:not([hidden]){display:flex;gap:16px}.bcm-location-dialog .bcm-location-privacy{margin:3px 0;font-size:11px}.bcm-location-dialog button:disabled{opacity:.6;cursor:wait}

/* V69 premium, accessible acknowledgement; animation only after a confirmed server save. */
.bcm-location-success[hidden]{display:none!important}.bcm-location-complete{background:linear-gradient(155deg,#fffdf9,#f5f8fb);border-color:#dfd5c4}.bcm-location-success{text-align:center;padding:10px 2px 4px}.bcm-success-halo{width:118px;height:118px;margin:0 auto 20px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle,#e8f7ef 0%,#e8f7ef 48%,rgba(215,238,226,.45) 49%,rgba(215,238,226,.45) 68%,transparent 69%);animation:bcm-halo .65s ease-out both}.bcm-success-ring{width:73px;height:73px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,#238765,#146448);color:white;box-shadow:0 8px 22px rgba(22,113,80,.26);animation:bcm-pop .5s cubic-bezier(.2,1.6,.4,1) both}.bcm-success-ring svg{width:50px;height:50px}.bcm-success-tick{stroke-dasharray:60;stroke-dashoffset:60;animation:bcm-draw .65s .3s ease forwards}.bcm-success-eyebrow{font-size:10px;letter-spacing:.18em;color:#8b713f;font-weight:800;display:block;margin-bottom:12px}.bcm-location-success h2{font-size:26px!important;line-height:1.23!important;margin:0 0 14px!important;color:#172d42!important}.bcm-location-success p{font-size:13px;line-height:1.8;color:#4c6072;margin:0 0 15px}.bcm-success-reference{display:inline-block;background:#f1f5f5;border:1px solid #dce7e2;border-radius:9px;padding:9px 15px;font-size:12px;font-weight:800;color:#2a6654;letter-spacing:.04em;margin-bottom:14px}.bcm-location-success .bcm-success-email-note{font-size:11px;color:#5d6d7b}.bcm-success-done{width:100%;background:#182e45!important;color:white!important;border:0!important;border-radius:11px!important;padding:14px!important;font-size:12px!important;font-weight:800!important;cursor:pointer}.bcm-success-done span{margin-left:7px;color:#d8b77d}@keyframes bcm-pop{from{transform:scale(.4);opacity:0}to{transform:scale(1);opacity:1}}@keyframes bcm-draw{to{stroke-dashoffset:0}}@keyframes bcm-halo{from{transform:scale(.7);opacity:0}to{transform:scale(1);opacity:1}}@media(prefers-reduced-motion:reduce){.bcm-success-halo,.bcm-success-ring,.bcm-success-tick{animation:none}.bcm-success-tick{stroke-dashoffset:0}}

/* V70: BCM-branded completion animation. Isolated to the success state. */
.bcm-location-success{position:relative;isolation:isolate;padding:12px 4px 6px}
.bcm-location-complete{background:radial-gradient(ellipse at 50% 0%,#fff8e8 0%,#fffdf8 38%,#f5f8fb 100%);border:1px solid #e4d5b8}
.bcm-success-stage{position:relative;width:190px;height:166px;margin:0 auto 20px;display:grid;place-items:center}
.bcm-success-orbit{position:absolute;left:50%;top:49%;border:1px solid rgba(177,139,76,.35);border-radius:50%;transform:translate(-50%,-50%) scale(.45);opacity:0;animation:bcm-v70-orbit 1.25s .1s cubic-bezier(.2,.7,.2,1) both}
.bcm-orbit-one{width:158px;height:158px}.bcm-orbit-two{width:186px;height:186px;animation-delay:.27s;border-color:rgba(25,47,70,.13)}
.bcm-success-medallion{width:126px;height:126px;border-radius:50%;position:relative;display:grid;place-items:center;background:linear-gradient(140deg,#f5dca4,#b58a48 38%,#f2d79e 75%,#b88645);padding:4px;box-shadow:0 17px 40px rgba(21,43,65,.18),0 2px 10px rgba(173,128,59,.2);animation:bcm-v70-rise .75s cubic-bezier(.2,1.35,.3,1) both}
.bcm-success-logo-wrap{width:100%;height:100%;border-radius:50%;display:grid;place-items:center;background:linear-gradient(150deg,#fffdf7,#f7f1e5);border:3px solid #fff;overflow:hidden}
.bcm-success-brand-logo{display:block;width:89px;max-height:62px;height:auto;object-fit:contain;filter:drop-shadow(0 2px 2px rgba(0,0,0,.08))}
.bcm-success-seal{position:absolute;right:-12px;bottom:-5px;width:53px;height:53px;border-radius:50%;background:#153a37;color:white;border:4px solid #fff;box-shadow:0 7px 18px rgba(15,55,51,.3);display:grid;place-items:center;transform:scale(0);animation:bcm-v70-seal .52s .52s cubic-bezier(.17,1.7,.35,1) forwards}
.bcm-success-seal svg{width:45px;height:45px}.bcm-success-seal-circle{stroke:#d7b77a;stroke-width:1.6}.bcm-success-seal-check{stroke-dasharray:35;stroke-dashoffset:35;animation:bcm-v70-check .52s .92s ease forwards}
.bcm-success-spark{position:absolute;width:7px;height:7px;background:#d6ae6b;border-radius:2px;opacity:0;animation:bcm-v70-spark 1.05s .7s ease-out both}.bcm-spark-a{left:5px;top:41px;--dx:-9px;--dy:-13px}.bcm-spark-b{right:10px;top:21px;--dx:14px;--dy:-13px}.bcm-spark-c{left:22px;bottom:18px;--dx:-12px;--dy:12px}.bcm-spark-d{right:1px;bottom:32px;--dx:12px;--dy:9px}
.bcm-location-success h2{font-weight:750!important;letter-spacing:-.025em}.bcm-success-eyebrow{color:#9d7337;letter-spacing:.15em}
@keyframes bcm-v70-rise{from{opacity:0;transform:translateY(18px) scale(.6) rotate(-9deg)}to{opacity:1;transform:translateY(0) scale(1) rotate(0)}}
@keyframes bcm-v70-orbit{0%{opacity:0;transform:translate(-50%,-50%) scale(.45)}45%{opacity:.9}100%{opacity:.7;transform:translate(-50%,-50%) scale(1)}}
@keyframes bcm-v70-seal{to{transform:scale(1)}}@keyframes bcm-v70-check{to{stroke-dashoffset:0}}
@keyframes bcm-v70-spark{0%{opacity:0;transform:scale(.2)}30%{opacity:1;transform:scale(1.15)}100%{opacity:0;transform:translate(var(--dx),var(--dy)) scale(.4)}}
@media(prefers-reduced-motion:reduce){.bcm-success-stage *{animation:none!important}.bcm-success-medallion{opacity:1;transform:none}.bcm-success-seal{transform:scale(1)}.bcm-success-seal-check{stroke-dashoffset:0}.bcm-success-orbit{opacity:.6;transform:translate(-50%,-50%) scale(1)}}

/* V72: success REPLACES the form in the same popup, never appends beneath it. */
#bcm-location-form[hidden], #bcm-location-success[hidden]{display:none!important;}
#bcm-location-dialog.bcm-location-complete > #bcm-location-heading,
#bcm-location-dialog.bcm-location-complete > #bcm-location-heading + p{display:none!important;}
#bcm-location-dialog.bcm-location-complete{overflow-y:auto;max-height:min(88dvh,760px);}
#bcm-location-dialog.bcm-location-complete .bcm-location-dialog-top{margin-bottom:10px;}
#bcm-location-success:not([hidden]){display:block;animation:bcm-v72-enter .5s cubic-bezier(.2,.8,.2,1) both;}
@keyframes bcm-v72-enter{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){#bcm-location-success:not([hidden]){animation:none}}

/* V92: non-blocking mobile location enquiry. Never auto-open the full form. */
@media(max-width:640px){
 #bcm-location-dialog.bcm-location-dialog{position:fixed;top:auto;left:10px;right:10px;bottom:calc(76px + env(safe-area-inset-bottom,0px));width:auto;max-height:min(66dvh,480px);overflow-y:auto;overscroll-behavior:contain;padding:14px 15px;border-radius:16px;z-index:9997;box-shadow:0 12px 36px rgba(13,39,40,.19)}
 #bcm-location-dialog .bcm-location-dialog-top{margin-bottom:7px}
 #bcm-location-dialog h2{font-size:18px!important;margin-bottom:6px!important}
 #bcm-location-dialog p{margin-bottom:8px}
 #bcm-location-dialog .bcm-location-form{gap:7px}
 #bcm-location-dialog .bcm-location-form input:not([type=checkbox]){padding:8px 10px}
 .bcm-location-mobile-tab{position:fixed;z-index:9996;left:12px;right:12px;bottom:calc(78px + env(safe-area-inset-bottom,0px));display:flex;align-items:center;gap:11px;padding:11px 14px;border:1px solid #d4c6a9;border-radius:15px;background:#fffdf8;color:#173d39;box-shadow:0 9px 30px rgba(12,42,43,.16);text-align:left;font:inherit;cursor:pointer;animation:bcm-location-tab-in .4s ease-out both}
 .bcm-location-mobile-tab>span:first-child{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:11px;background:#edf3ee;color:#315a51;font-size:25px}
 .bcm-location-mobile-tab>span:nth-child(2){flex:1;min-width:0;display:grid;gap:2px}
 .bcm-location-mobile-tab strong{font-size:13px;font-weight:750;line-height:1.25}
 .bcm-location-mobile-tab small{font-size:11px;line-height:1.35;color:#687875}
 .bcm-location-mobile-tab>span:last-child{font-size:19px;color:#9c7b46}
 @keyframes bcm-location-tab-in{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
}
@media(prefers-reduced-motion:reduce){.bcm-location-mobile-tab{animation:none}}
