/* font smoothing for Inter */
html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

#page {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-height: 100vh;
}

#header {
    height: 22px;
    background: linear-gradient(to right, #000080, #1084d0);
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding: 0 4px 0 8px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    position: relative;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#site-title {
    font-size: 11px;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 0.02em;
    -ms-flex: 1;
    flex: 1;
}

.win-controls {
    display: -ms-flexbox;
    display: flex;
}

.win-btn {
    width: 16px;
    height: 14px;
    background: #c0c0c0;
    border: none;
    box-shadow: inset -1px -1px #000000, inset 1px 1px #ffffff, inset -2px -2px #808080, inset 2px 2px #dfdfdf;
    font-size: 8px;
    line-height: 12px;
    text-align: center;
    color: #000;
    font-family: "Inter", Tahoma, "Segoe UI", Verdana, sans-serif;
    font-weight: bold;
    cursor: default;
    margin-left: 2px;
}

.win-btn.close-btn {
    background: #c0c0c0;
    color: #000;
}

.win-btn:active {
    box-shadow: inset 1px 1px #000000, inset -1px -1px #ffffff, inset 2px 2px #808080, inset -2px -2px #dfdfdf;
    padding-top: 1px;
}

#menubar {
    height: 24px;
    background: #c0c0c0;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding: 0;
    border-bottom: 1px solid #808080;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

#main {
    display: -ms-flexbox;
    display: flex;
    -ms-flex: 1;
    flex: 1;
    overflow: hidden;
    background: #c0c0c0;
}

#content {
    -ms-flex: 1;
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    min-width: 0;
    background: #ffffff;
}

#statusbar {
    height: 20px;
    background: #c0c0c0;
    border-top: 1px solid #808080;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding: 0 4px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.sbar-cell {
    font-size: 10px;
    color: #666666;
    padding: 0 8px;
    height: 14px;
    line-height: 14px;
    border-right: 1px solid #808080;
    box-shadow: inset 1px 1px #808080, inset -1px -1px #ffffff;
    white-space: nowrap;
}

#taskbar {
    height: 30px;
    background: #c0c0c0;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding: 2px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 2px 0 #dfdfdf;
    border-top: 1px solid #808080;
    position: relative;
    z-index: 100;
}

.start-btn {
    height: 22px;
    padding: 0 8px;
    background: #c0c0c0;
    border: none;
    color: #000;
    font: bold 11px "Inter", Tahoma, "Segoe UI", Verdana, sans-serif;
    cursor: pointer;
    box-shadow: inset -1px -1px #000000, inset 1px 1px #ffffff, inset -2px -2px #808080, inset 2px 2px #dfdfdf;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    margin-right: 2px;
}

.start-btn:active {
    box-shadow: inset 1px 1px #000000, inset -1px -1px #ffffff, inset 2px 2px #808080, inset -2px -2px #dfdfdf;
    padding-top: 1px;
}

.taskbar-sep {
    width: 4px;
    height: 20px;
    background: transparent;
    border-left: 1px solid #808080;
    border-right: 1px solid #ffffff;
    margin: 0 2px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.taskbar-tab {
    height: 22px;
    padding: 0 10px;
    background: #c0c0c0;
    border: none;
    box-shadow: inset -1px -1px #000000, inset 1px 1px #ffffff, inset -2px -2px #808080, inset 2px 2px #dfdfdf;
    color: #000;
    font: bold 11px "Inter", Tahoma, "Segoe UI", Verdana, sans-serif;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin-right: 2px;
}

.taskbar-tab.active {
    background: #dfdfdf;
    box-shadow: inset 1px 1px #000000, inset -1px -1px #ffffff, inset 2px 2px #808080, inset -2px -2px #dfdfdf;
}

.taskbar-tab:hover,
.taskbar-tab:visited {
    color: #000;
    text-decoration: none;
}

.system-tray {
    margin-left: auto;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    height: 22px;
    padding: 0 8px;
    box-shadow: inset 1px 1px #000000, inset -1px -1px #ffffff, inset 2px 2px #808080, inset -2px -2px #dfdfdf;
}

.tray-clock {
    font-size: 10px;
    color: #000;
    white-space: nowrap;
}