:root {
    --neutralLighterAltOpacity: #faf9f8cc;
    --neutralLighterAlt: #faf9f8;
    --neutralLighter: #f3f2f1;
    --neutralLight: #edebe9;
    --neutralQuaternaryAlt: #e1dfdd;
    --neutralQuaternary: #d2d0ce;
    --neutralTertiaryAlt: #c8c6c4;
    --neutralTertiary: #a19f9d;
    --neutralSecondaryAlt: #8a8886;
    --neutralSecondary: #605e5c;
    --neutralPrimaryAlt: #3b3a39;
    --neutralPrimary: #323130;
    --neutralDark: #201f1e;
    --neutralDarker: #161514;
    --black: #000;
    --white: #fff;
    --whiteConstant: #fff;
    --primary: #0f6cbd;
    --navHeight: 32px;
    --transition-timing: cubic-bezier(0.1, 0.9, 0.2, 1);
    --blur: saturate(150%) blur(20px);
}
@media (prefers-color-scheme: dark) {
    :root {
        --neutralLighterAltOpacity: #282828cc;
        --neutralLighterAlt: #282828;
        --neutralLighter: #313131;
        --neutralLight: #3f3f3f;
        --neutralQuaternaryAlt: #484848;
        --neutralQuaternary: #4f4f4f;
        --neutralTertiaryAlt: #6d6d6d;
        --neutralTertiary: #c8c8c8;
        --neutralSecondaryAlt: #d2d0ce;
        --neutralSecondary: #d0d0d0;
        --neutralPrimaryAlt: #dadada;
        --neutralPrimary: #ffffff;
        --neutralDark: #f4f4f4;
        --neutralDarker: #f4f4f4;
        --black: #f8f8f8;
        --white: #1f1f1f;
        --whiteConstant: #fff;
        --primary: #2886de;
    }
}
body.darwin {
    --navHeight: 38px;
}

html,
body {
    background-color: transparent;
    font-family: "Segoe UI", "Source Han Sans Regular", sans-serif;
    height: 100%;
    overflow: hidden;
    margin: 0;
}
body:lang(zh-CN) {
    font-family: "Segoe UI", "Source Han Sans SC Regular", "Microsoft YaHei",
        sans-serif;
}
body:lang(zh-TW) {
    font-family: "Segoe UI", "Source Han Sans TC Regular", "Microsoft JhengHei",
        sans-serif;
}
body:lang(ja) {
    font-family: "Segoe UI", "Source Han Sans JP Regular", "Yu Gothic UI",
        sans-serif;
}
body:lang(ko) {
    font-family: "Segoe UI", "Source Han Sans KR Regular", "Malgun Gothic",
        sans-serif;
}
body.win32,
body.linux {
    background-color: var(--neutralLighterAlt);
}
#root {
    height: 100%;
}

.ms-Link {
    user-select: none;
}
.ms-ContextualMenu-link,
.ms-Button,
.ms-ContextualMenu-item button {
    cursor: default;
    font-size: 13px;
    user-select: none;
}
.ms-Button--primary.danger {
    background: #d13438;
    border-color: #d13438;
}
.ms-Button--primary.danger:hover {
    background: #ba2d32;
    border-color: #ba2d32;
}
.ms-Button--primary.danger:active {
    background: #a4262c;
    border-color: #a4262c;
}
.ms-Button--primary.danger.is-disabled {
    background: var(--neutralLighter);
    border-color: var(--neutralLighter);
}
.ms-Button--commandBar.active {
    background-color: var(--neutralLight);
    color: var(--neutralDark);
}
.ms-Button--commandBar.active .ms-Button-icon {
    color: #005a9e;
}
.ms-ActivityItem-activityTypeIcon,
.ms-ActivityItem-timeStamp {
    user-select: none;
}
.ms-Label {
    user-select: none;
}
.ms-ActivityItem,
.ms-ActivityItem-commentText {
    color: var(--neutralSecondary);
}
.ms-ActivityItem-timeStamp {
    color: var(--neutralSecondaryAlt);
}
.ms-MessageBar {
    user-select: none;
    margin-bottom: 8px;
}
.ms-MessageBar:not(.ms-MessageBar--warning) {
    background: var(--neutralLighter);
    color: var(--neutralPrimary);
}
.ms-MessageBar:not(.ms-MessageBar--warning) i[data-icon-name="Info"] {
    color: var(--neutralPrimary);
}

.ms-Callout-main {
    border-radius: 5px;
}

#root > nav {
    height: var(--navHeight);
    -webkit-app-region: drag;
    user-select: none;
    overflow: hidden;
}
#root > nav span {
    z-index: 1;
    position: relative;
}
i[data-icon-name="StatusCircleCheckmark"] {
    top: -1px;
    left: 0px;
}
.ms-ProgressIndicator-itemProgress {
    padding: 0;
}
.ms-ProgressIndicator-progressTrack {
    background: none;
}
#root > nav span.title {
    font-size: 12px;
    line-height: var(--navHeight);
    vertical-align: top;
    letter-spacing: 2px;
    margin: 0 4px;
    display: inline-block;
    max-width: 280px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: var(--black);
}
body.darwin #root > nav span.title {
    max-width: 220px;
}
