.bcw-dialog{--bcw-brown:#987752;--bcw-ink:#303033;box-sizing:border-box;width:min(540px,calc(100vw - 32px));max-width:540px;height:min(760px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #eeeae5;border-radius:24px;background:#fff;color:var(--bcw-ink);box-shadow:0 24px 90px #241c1940;font-family:inherit;overflow:hidden}
.bcw-dialog::backdrop{background:rgba(33,28,24,.52);backdrop-filter:blur(3px)}
.bcw-dialog *{box-sizing:border-box}.bcw-dialog button,.bcw-dialog input{font:inherit}.bcw-dialog button{cursor:pointer}.bcw-dialog button:disabled{cursor:not-allowed;opacity:1;background:#e9e4dc;color:#999086;border-color:#e9e4dc}.bcw-dialog button:focus-visible,.bcw-dialog input:focus-visible{outline:3px solid #98775280;outline-offset:3px}.bcw-shell{display:flex;flex-direction:column;height:100%;min-height:0}.bcw-top{display:flex;align-items:center;justify-content:space-between;flex:none;padding:18px 24px 8px;color:#74716d;font-size:13px;font-weight:650}.bcw-close{width:36px;height:36px;background:#f7f5f2;border:0;border-radius:50%;color:#655a4e;font-size:26px!important;line-height:1}.bcw-progress{display:flex;gap:5px;margin:6px 28px 0;flex:none}.bcw-progress span{height:4px;flex:1;border-radius:4px;background:#eeeae5}.bcw-progress .is-active{background:var(--bcw-brown)}.bcw-scroll{overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:0;padding:28px 28px 20px;scrollbar-width:thin}.bcw-step{color:var(--bcw-brown);font-size:11px;font-weight:750;letter-spacing:1.6px;margin-bottom:12px}.bcw-dialog h2{font-size:24px;line-height:1.4;letter-spacing:-.8px;margin:0 0 10px;word-break:keep-all;outline:none}.bcw-intro{font-size:14px;color:#898177;line-height:1.7;margin:0 0 26px;word-break:keep-all}.bcw-choices{display:grid;gap:10px}.bcw-choice{position:relative;width:100%;min-height:68px;padding:17px 48px 17px 18px;border:1px solid #e8e3dd;border-radius:12px;text-align:left;background:#fff;color:#504a43;font-size:15px;font-weight:650;transition:background .15s,border-color .15s}.bcw-choice small{display:block;margin-top:5px;font-size:12px;font-weight:400;color:#898177;line-height:1.5}.bcw-choice:hover{background:#fcfaf7}.bcw-choice.is-selected{background:#f8f3ec;border-color:var(--bcw-brown);color:#785b3b}.bcw-check{position:absolute;right:17px;top:50%;transform:translateY(-50%);width:20px;height:20px;border:1px solid #e5ddd3;border-radius:50%;font-size:12px;display:grid;place-items:center;color:#fff}.is-selected .bcw-check{border-color:var(--bcw-brown);background:var(--bcw-brown)}.bcw-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.bcw-grid .bcw-choice{min-height:50px;padding:13px 6px;text-align:center;font-size:14px;word-break:keep-all}.bcw-grid .bcw-check{display:none}.bcw-footer{flex:none;border-top:1px solid #f1eee9;background:#fff;padding:18px 28px 20px}.bcw-actions{display:flex;gap:10px}.bcw-primary,.bcw-secondary{min-height:48px;border:1px solid var(--bcw-brown);border-radius:12px;padding:12px 20px;font-weight:700;font-size:15px}.bcw-primary{flex:1;background:var(--bcw-brown);color:#fff}.bcw-secondary{background:#fff;color:#7f664c;min-width:95px}.bcw-primary span{margin-left:8px}.bcw-footnote{margin:13px 0 0;text-align:center;font-size:11px;color:#898177;line-height:1.5}.bcw-text{display:block;margin:14px auto 0;padding:4px 8px;border:0;background:none;color:#81705c;font-size:12px;text-decoration:underline;text-underline-offset:3px}.bcw-hint{margin:18px 0 14px;font-size:12px;line-height:1.7;color:#898177;word-break:keep-all}.bcw-label{display:block;margin:14px 0 8px;font-size:13px;font-weight:650}.bcw-input{width:100%;padding:13px 14px;border:1px solid #dfd7cc;border-radius:9px;background:#fff;color:#303033;font-size:16px!important}.bcw-summary{margin:0;border:1px solid #e9e3da;border-radius:14px;padding:7px 18px;background:#fcfaf7}.bcw-summary div{display:flex;gap:18px;justify-content:space-between;padding:12px 0;border-bottom:1px solid #eeeae5;font-size:13px;line-height:1.6}.bcw-summary div:last-child{border:0}.bcw-summary dt{flex-shrink:0;color:#898177}.bcw-summary dd{margin:0;text-align:right;color:#51473c;overflow-wrap:anywhere;font-weight:600}.bcw-advice{margin:20px 0 0;padding:16px;border-radius:12px;background:#f6f5f2;font-size:13px;line-height:1.7}.bcw-advice strong{color:#665848}.bcw-advice p{color:#817a72;font-size:12px;margin:7px 0 0}
@media(max-width:540px){.bcw-dialog{width:calc(100vw - 20px);height:min(760px,calc(100dvh - 20px));max-height:calc(100dvh - 20px);border-radius:20px}.bcw-top{padding:12px 18px 6px}.bcw-progress{margin:6px 22px 0}.bcw-scroll{padding:24px 22px 18px}.bcw-dialog h2{font-size:22px}.bcw-footer{padding:14px 22px 16px}.bcw-choice{min-height:64px}.bcw-grid .bcw-choice{min-height:47px}.bcw-intro{margin-bottom:22px}}
@media(prefers-reduced-motion:reduce){.bcw-choice{transition:none}}

.bcw-source{margin:16px 0 10px;color:#898177;font-size:12px;line-height:1.7}.bcw-source summary{cursor:pointer;color:#81705c}.bcw-source p{margin:6px 0 0}

/* Facility-specific consultation keeps its selected facility through Back. */
.bfc-dialog{height:min(650px,calc(100dvh - 40px))}.bfc-dialog .bcw-scroll{padding-top:22px}.bfc-context{border:1px solid #e5dbce;border-radius:16px;background:#faf7f2;padding:20px}.bfc-context>span{display:block;color:#85725b;font-size:12px;font-weight:650;line-height:1.5}.bfc-context strong{display:block;margin-top:8px;color:#45382c;font-size:20px;line-height:1.55;letter-spacing:-.5px;overflow-wrap:anywhere;word-break:keep-all}.bfc-context p{margin:8px 0 0;color:#7b7064;font-size:12px;line-height:1.7}.bfc-explanation{margin:20px 0 0;color:#6e665f;font-size:14px;line-height:1.85;word-break:keep-all}.bfc-dialog .bfc-note{color:#766a5e}.bfc-advice{margin-top:18px}.bfc-channels{display:grid;gap:10px}.bfc-channels .bcw-secondary{display:flex;align-items:center;justify-content:space-between;gap:12px}.bfc-channels .bcw-secondary span{font-size:13px;font-weight:500;white-space:nowrap}.bfc-connect{display:flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;line-height:1.5}.bfc-connect:focus-visible{outline:3px solid #98775280;outline-offset:3px}
@media(max-width:540px){.bfc-dialog{height:min(650px,calc(100dvh - 20px))}.bfc-context{padding:17px}.bfc-context strong{font-size:18px}.bfc-dialog .bcw-actions{gap:8px}.bfc-dialog .bcw-actions .bcw-secondary{min-width:85px;padding-inline:12px}.bfc-connect{padding-inline:12px;font-size:14px}}
