@font-face{font-weight:400;font-family:vant-icon;font-style:normal;font-display:block;src:url(/assets/fonts/vant-icon.ttf) format("truetype")}
:root { --u: min(100px, calc(100vw / 10.24)); }
.oa-tabbar .vi{font-family:vant-icon;font-style:normal;font-weight:400;font-size:calc(var(--u) * 0.5625);line-height:1;display:block;-webkit-font-smoothing:antialiased}
.oa-tabbar .vi:before{display:block}
.oa-tabbar .vi-home:before{content:"\f06d"}
.oa-tabbar .vi-work:before{content:"\f05b"}
.oa-tabbar .vi-notice:before{content:"\f02d"}
.oa-tabbar .vi-mine:before{content:"\f0d4"}
body.has-oa-tabbar,
body.oa-tab-main {
    /* 底栏高度 + 中间到口凸起，避免工作页底部「办公台」被挡住 */
    padding-bottom: calc(var(--u) * 1.40625 + 28px);
}
.oa-tabbar {
    --u: min(100px, calc(100vw / 10.24));
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    transform: none;
    width: 100%;
    z-index: 1200;
    display: flex;
    align-items: flex-end;
    box-sizing: content-box;
    height: calc(var(--u) * 1.40625);
    padding-bottom: 0;
    background: #fff;
    border-top: 0;
    border-radius: 0;
    box-shadow: none;
}
html.oa-ios-home .oa-tabbar { padding-bottom: 24px; }
html.oa-ios-home body.has-oa-tabbar,
html.oa-ios-home body.oa-tab-main { padding-bottom: calc(var(--u) * 1.40625 + 52px); }
html.oa-ios-home .van-tabbar { box-sizing: content-box; padding-bottom: 24px !important; }
.oa-tabbar:before,
.oa-tabbar:after {
    content: "";
    position: absolute;
    top: 0;
    z-index: 0;
    width: calc(50% - 26px);
    border-top: 1px solid #ebedf0;
    transform: scaleY(.5);
}
.oa-tabbar:before { left: 0; transform-origin: 0 0; }
.oa-tabbar:after { right: 0; transform-origin: 100% 0; }
.oa-tabbar a,
.oa-tabbar button.oa-tab-ai { z-index: 1; }
.oa-tabbar a,
.oa-tabbar button.oa-tab-ai {
    flex: 1;
    min-width: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: calc(var(--u) * 0.104);
    height: calc(var(--u) * 1.40625);
    color: #646566;
    font-size: calc(var(--u) * 0.3125);
    line-height: 1;
    text-decoration: none;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}
.oa-tabbar button.oa-tab-ai {
    touch-action: none;
}
.oa-tabbar a.oa-tab-ai {
    touch-action: manipulation;
}
.oa-tabbar a.active,
.oa-tabbar button.oa-tab-ai.active { color: #1989fa; font-weight: 600; }
.oa-tabbar .oa-tab-ai {
    top: 0;
    height: calc(var(--u) * 1.40625);
    justify-content: center;
    gap: calc(var(--u) * 0.104);
    color: #646566;
    font-weight: 400;
    font-size: calc(var(--u) * 0.3125);
    overflow: visible;
}
.oa-tabbar .oa-tab-ai span { font-size: inherit; font-weight: inherit; line-height: 1; }
.oa-tabbar .oa-tab-ai img,
.oa-tabbar .oa-tab-ai .oa-tab-ai-icon {
    position: relative;
    z-index: 2;
    box-sizing: content-box;
    width: 40px;
    height: 40px;
    margin-top: calc(var(--u) * 0.5625 - 46px);
    margin-bottom: 0;
    border-radius: 50%;
    object-fit: cover;
    background-color: #fff;
    background-image: url(/assets/img/menling-logo.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(25, 137, 250, 0.25);
    flex: none;
    display: block;
    pointer-events: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}
.oa-tabbar .oa-tab-ai.speaking img,
.oa-tabbar .oa-tab-ai.speaking .oa-tab-ai-icon {
    transform: scale(1.12);
    box-shadow: 0 0 0 10px rgba(25, 137, 250, 0.22);
}
.oa-mic-toast {
    position: fixed;
    left: 50%;
    bottom: 96px;
    transform: translateX(-50%);
    z-index: 2100;
    max-width: 86%;
    background: #111;
    color: #fff;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 14px;
    display: none;
}
