/* Match the existing bottom navigation without coupling the two templates. */
.m-bottom .m-bottom-service {
    --jckefu-badge-top: 0px;
    --jckefu-badge-right: calc(50% - 27px);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    min-height: 52px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #697586;
    font: inherit;
    font-size: 12px;
    font-weight: 400;
    cursor: pointer;
}
.m-bottom .m-bottom-service:focus-visible { outline: 2px solid var(--m-blue); outline-offset: -3px; }
.m-bottom .m-bottom-service:active { color: var(--m-blue); }

/* 底栏电话咨询弹窗：不支持 <dialog> 时底栏链接直接拨号。 */
.m-contact-sheet { width: 100%; max-width: 520px; max-height: none; margin: auto auto 0; padding: 0; border: 0; background: transparent; color: var(--m-navy); overflow: visible; }
.m-contact-sheet::backdrop { background: #0e203673; }
.m-contact-sheet[open] .m-contact-sheet__panel { animation: m-contact-sheet-up .22s ease-out; }
.m-contact-sheet__panel { position: relative; display: grid; gap: 12px; padding: 10px 18px calc(18px + env(safe-area-inset-bottom, 0px)); background: #fff; border-radius: 18px 18px 0 0; box-shadow: 0 -10px 40px #0e203620; }
.m-contact-sheet__grab { justify-self: center; width: 38px; height: 4px; border-radius: 4px; background: var(--m-line); }
.m-contact-sheet__head { position: relative; padding: 4px 36px 4px 2px; }
.m-contact-sheet__head h2 { margin: 0; font-size: 19px; line-height: 1.4; color: var(--m-navy); }
.m-contact-sheet__head p { margin: 3px 0 0; font-size: 12px; line-height: 1.5; color: var(--m-muted); }
.m-contact-sheet__close { position: absolute; top: 0; right: -6px; width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--m-muted); font: 26px/1 sans-serif; cursor: pointer; }
.m-contact-sheet__row { display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 12px 12px 12px 14px; border: 1px solid var(--m-line); border-radius: 14px; background: #fbfcfe; color: inherit; text-decoration: none; }
.m-contact-sheet__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: #eaf2ff; }
.m-contact-sheet__icon .m-icon { width: 24px; height: 24px; }
.m-contact-sheet__call .m-contact-sheet__icon { color: var(--m-blue); }
.m-contact-sheet__wechat .m-contact-sheet__icon { color: #07a35a; }
.m-contact-sheet__text { display: grid; flex: 1; min-width: 0; gap: 1px; line-height: 1.45; }
.m-contact-sheet__text b { font-size: 15px; color: var(--m-navy); }
.m-contact-sheet__text small { font-size: 13px; color: var(--m-muted); overflow-wrap: anywhere; }
.m-contact-sheet__call .m-contact-sheet__text small { font: 600 17px/1.4 "Segoe UI", sans-serif; color: var(--m-blue); letter-spacing: .02em; }
.m-contact-sheet__action { flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 14px; border: 0; border-radius: 20px; font: inherit; font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.m-contact-sheet__call .m-contact-sheet__action { background: var(--m-blue); color: #fff; }
.m-contact-sheet__wechat .m-contact-sheet__action { background: #07c160; color: #fff; }
.m-contact-sheet__action[data-copied] { background: #e7f7ee; color: #078a4b; }
.m-contact-sheet__status { min-height: 20px; margin: -4px 2px 0; font-size: 12px; color: #078a4b; }
.m-contact-sheet__status:empty { display: none; }
.m-contact-sheet__enroll { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; border-radius: 12px; background: #fff3ea; color: #b4571d; font-size: 13px; text-decoration: none; }
.m-contact-sheet__enroll b { color: #e0661c; }
.m-contact-sheet__enroll .m-icon { width: 16px; height: 16px; }
@keyframes m-contact-sheet-up { from { transform: translateY(24px); opacity: .4; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .m-contact-sheet[open] .m-contact-sheet__panel { animation: none; } }
