/* Optional WeChat entry stays in normal layout flow. It never owns the mobile bar. */
.booking-entry{display:inline-flex;vertical-align:middle;box-sizing:border-box;margin-left:10px;color:var(--ink,#173d44);font:inherit}
.booking-entry[hidden],.booking-entry [hidden],.booking-entry-sheet[hidden],.booking-entry-sheet [hidden]{display:none!important}
.booking-entry-bar{display:flex;align-items:center}.booking-entry-bar>div{display:none}
.booking-entry-toggle{font:inherit;font-size:14px;font-weight:500;color:var(--action,#235a54);background:transparent;border:1px solid #bacdcc;border-radius:8px;min-height:44px;padding:10px 16px;white-space:nowrap;cursor:pointer}
.booking-entry-toggle:hover{background:#edf4f3}
.booking-entry-suspended{visibility:hidden;pointer-events:none}
.booking-entry-inline{display:block;margin:12px 0 0;text-align:center}
.booking-entry-inline .booking-entry-bar{justify-content:center}
.booking-entry-inline .booking-entry-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid #bacdcc;border-radius:8px;background:#fff;text-decoration:none;font-size:14px;font-weight:500}
.booking-entry :focus-visible,.booking-entry-sheet :focus-visible{outline:3px solid #82b8b0;outline-offset:3px}
.booking-entry-sheet{position:fixed;inset:0;box-sizing:border-box;margin:auto;width:min(400px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:24px;border:1px solid #d9e3e3;border-radius:14px;overflow:auto;overscroll-behavior:contain;background:#fff;color:#173d44;box-shadow:0 20px 70px #173d4426;font:16px/1.75 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
.booking-entry-sheet:not([open]){display:none}
.booking-entry-sheet::backdrop{background:#173d445c;backdrop-filter:blur(3px)}
.booking-entry-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.booking-entry-sheet-head h2{font-family:inherit;font-size:24px;font-weight:600;line-height:1.4;margin:0}
.booking-entry-sheet-head button{font:inherit;font-size:14px;background:transparent;color:#52666a;border:0;border-radius:8px;min-width:44px;min-height:44px;cursor:pointer}
.booking-entry-panel{padding:0}
.booking-entry-qr{text-align:center}.booking-entry-qr h3{display:none}.booking-entry-qr img{display:block;width:224px;height:auto;max-width:100%;margin:8px auto 18px;background:#fff}.booking-entry-qr p{font-size:14px;line-height:1.75;margin:8px 0;color:#52666a}
.booking-entry-web{display:flex;align-items:center;justify-content:center;text-decoration:none;font:inherit;font-size:15px;font-weight:500;min-height:46px;padding:8px 16px;margin-top:24px;border:1px solid #bacdcc;border-radius:8px;color:#235a54!important;background:#fff}
.booking-entry-web:hover{background:#edf4f3}
@media(max-width:1099px){.booking-entry{margin-left:0}.booking-entry-sheet{padding:20px}.booking-entry-sheet-head h2{font-size:22px}}
@media(prefers-reduced-motion:no-preference){.booking-entry-toggle,.booking-entry-web{transition:background .15s ease}}
@media print{.booking-entry,.booking-entry-sheet{display:none!important}}
.booking-entry-inline .booking-entry-panel{margin:12px 0 0;padding:16px;border:1px solid #d9e3e3;border-radius:12px;background:#fff}
.booking-entry-inline .booking-entry-qr img{width:208px;margin:4px auto 12px}
.booking-entry-inline .booking-entry-web{display:none}
@media(min-width:1280px){
 .entity-main-layout.has-booking-entry{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:36px;align-items:start}
 .entity-main-layout.has-booking-entry>.booking-entry-in-sidebar{display:block;position:sticky;top:106px;align-self:start;margin:76px 0 30px;padding:20px 16px;border:1px solid #d9e3e3;border-radius:14px;background:#fff;min-width:0}
 .booking-entry-in-sidebar .booking-entry-bar{display:block;text-align:center}
 .booking-entry-in-sidebar .booking-entry-toggle{border:0;font-size:16px;font-weight:600;padding:0 0 8px;min-height:36px;background:transparent}
 .booking-entry-in-sidebar .booking-entry-qr img{width:208px;max-width:100%;margin:0 auto 10px}
 .booking-entry-in-sidebar .booking-entry-qr p{font-size:13px;line-height:1.65;margin:8px 0}
 .booking-entry-in-sidebar .booking-entry-web{margin-top:16px;padding:8px;font-size:14px;min-height:44px}
 .entity-main-layout.has-booking-entry .entity-project-layout{grid-template-columns:180px minmax(0,1fr);gap:24px}
 .entity-main-layout.has-booking-entry .entity-project-panel{padding:28px}
}

@media(max-width:1099px){.booking-entry-inline{margin:18px 0 0;text-align:left}.booking-entry-inline .booking-entry-bar{justify-content:flex-start}.booking-entry-inline .booking-entry-toggle{min-height:44px;padding:10px 16px}.booking-entry-inline .booking-entry-panel{max-width:320px;padding:20px;margin-top:10px}.booking-entry-inline .booking-entry-web{display:none}}

.booking-entry-content-aside{display:block!important;margin:0 0 24px!important;padding:20px 16px;border:1px solid #d9e3e3;border-radius:14px;background:#fff}.booking-entry-content-aside .booking-entry-bar{display:block;text-align:center}.booking-entry-content-aside .booking-entry-toggle{border:0;font-weight:600}.booking-entry-content-aside .booking-entry-qr img{max-width:208px}.booking-entry-inline{max-width:100%}

/* Entity pages use the same accent as the appointment action, with a quieter outline. */
.entity-site .booking-entry:not(.booking-entry-in-sidebar) .booking-entry-toggle{font-size:14px;font-weight:500;line-height:1.5;min-height:44px;padding:10px 16px;color:var(--brand,#315ae3);border-color:#cbd6f1;background:#fff}
.entity-site .booking-entry:not(.booking-entry-in-sidebar) .booking-entry-toggle:hover{background:#f2f5ff;border-color:#a7b9ea}
.entity-site .booking-entry-toggle:focus-visible{outline-color:#9db3f1}
