/* CodyChat 10.1 — compact left menu matching the supplied reference. */
#left_menu {
    box-sizing: border-box;
    width: 68px !important;
    min-width: 68px !important;
    overflow: hidden;
    background: #fff !important;
    color: #202733;
    border-right: 1px solid #e2e5e9;
}
#left_menu_content {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 10px 3px 12px !important;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    direction: ltr;
    background: #fff !important;
    scrollbar-width: thin;
    scrollbar-color: #d5d9df transparent;
}
#left_menu_content > * { direction: ltr; }
#left_menu .leftmenu_profilehead {
    box-sizing: border-box;
    width: 62px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 0 0 8px;
    margin: 0 0 1px;
    border-bottom: 1px solid #e2e5e9;
}
#left_menu .leftmenu_settings {
    box-sizing: border-box;
    width: 50px;
    height: 29px;
    border-radius: 16px;
    background: #dedede;
    color: #182332;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
#left_menu .leftmenu_settings .i_btm { font-size: 18px; line-height: 1; }
#left_menu .leftmenu_profile {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    cursor: pointer;
}
#left_menu .leftmenu_avatar {
    box-sizing: border-box;
    display: block;
    width: 48px;
    height: 48px;
    object-fit: cover;
    border: 2px solid #e6e8eb;
    border-radius: 50%;
    background: #f1f2f4;
}
#left_menu .leftmenu_username {
    max-width: 62px;
    overflow: hidden;
    color: #111820;
    font: 700 15px/18px Arial, sans-serif;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#left_menu .left_menu_item {
    box-sizing: border-box;
    position: relative;
    display: flex !important;
    flex: 0 0 58px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 60px !important;
    height: 58px !important;
    margin: 0 !important;
    padding: 4px 2px 3px;
    overflow: hidden;
    border: 1px solid #e3e6e9 !important;
    border-bottom-color: #cfd4da !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #363c45 !important;
    box-shadow: 0 1px 2px rgba(20, 30, 45, .07) !important;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}
#left_menu .left_menu_item:hover,
#left_menu .left_menu_item:focus-visible {
    background: #f7f8fa !important;
    border-color: #cdd2d8 !important;
}
#left_menu .left_menu_item::after { content: none !important; display: none !important; }
#left_menu .left_menu_icon {
    box-sizing: border-box;
    position: relative;
    display: flex !important;
    flex: 0 0 24px;
    align-items: center;
    justify-content: center;
    width: 100%;
    line-height: 1;
    text-align: center;
}
#left_menu .left_menu_icon .i_btm {
    color: #101820;
    font-size: 20px;
    line-height: 1;
}
#left_menu .leftmenu_item_label {
    display: block;
    width: 100%;
    max-height: 22px;
    overflow: hidden;
    color: #202a38;
    font: 700 9px/11px Arial, sans-serif;
    text-align: center;
    overflow-wrap: anywhere;
}
#left_menu .left_menu_icon .side_notify {
    right: 2px !important;
    bottom: 0 !important;
}
@media (max-width: 600px) {
    #left_menu { width: 68px !important; min-width: 68px !important; }
}
