* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    background-color: #000000;
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
}

body * {
    font-family: inherit;
}

#indexMain {
    width: 100%;
    height: 100vh;
    background-color: #000000;
    padding: 10px;
    overflow: hidden;
}

#indexInner {
    width: 100%;
    height: 100%;
    background-color: #f1f4f9;
    border-radius: 20px;
    display: flex;
    overflow: hidden;
    gap: 0;
    padding: 10px;
    box-sizing: border-box;
}

#indexMenu {
    width: 72px;
    min-width: 72px;
    height: 100%;
    flex-shrink: 0;
    flex-grow: 0;
    background-color: #f1f4f9;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

#menuTop, #menuMiddle, #menuBottom {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#menuTop {
    justify-content: flex-start;
}

#menuMiddle {
    justify-content: center;
    gap: 12px;
    flex: 1;
}

#menuBottom {
    justify-content: flex-end;
    gap: 12px;
}

#menuLogo {
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#menuLogoImg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.menuItem, #menuConfig {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 5px;
    background-color: #e8ebf2;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #000000;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    box-sizing: border-box;
}

.menuItem svg, #menuConfig svg {
    display: block;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.menuItemActive {
    background-color: #000000;
    color: #ffffff;
}

#menuProfile {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 5px;
    overflow: visible;
    background-color: #e8ebf2;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    box-sizing: border-box;
}

#menuProfile svg {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

#indexContent {
    flex: 1;
    height: 100%;
    background-color: #ffffff;
    border: 1px solid #ebeff0;
    border-radius: 20px;
    margin: 0 0 0 10px;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

#indexContentTop {
    width: 100%;
    flex-shrink: 0;
    padding: 20px;
    border-bottom: 1px solid #ebeff0;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#indexTopLeft {
    display: flex;
    flex-direction: column;
}

#indexTopHello {
    color: #000000;
    font-weight: 600;
    font-size: 1.375em;
}

#indexTopDate {
    color: #7f8083;
    margin-top: 4px;
    font-size: 0.8125em;
}

#indexTopRight {
    display: flex;
    align-items: center;
}

#indexContentBody {
    flex: 1;
    width: 100%;
    padding: 20px;
    overflow-y: auto;
    box-sizing: border-box;
}

#homeContent {
    width: 100%;
    height: 100%;
    display: flex;
    gap: 20px;
    box-sizing: border-box;
}

#homeLeftWrap, #homeRightWrap {
    height: 100%;
    display: flex;
    align-items: stretch;
    box-sizing: border-box;
    position: relative;
    overflow: visible;
    min-width: 0;
    max-width: none;
    flex: none;
    flex-shrink: 0;
    flex-grow: 0;
    transition: width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: width;
    z-index: 1;
}

#homeLeftWrap {
    width: 560px;
}

#homeLeftWrap.homeLeftFill {
    width: calc(100% - 60px);
}

#homeLeftWrap.homeLeftCollapsed {
}

#homeRightWrap {
    width: calc(100% - 580px);
}

#homeRightWrap.homeRightFill {
    width: calc(100% - 60px);
}

#homeRightWrap.homeRightCollapsed {
}

#homeLeft {
    width: 100%;
    flex: none;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
    position: relative;
    opacity: 1;
    transition: opacity 120ms ease 0ms;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#homeCards {
    width: 100%;
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

#homeCards .boxCard {
    flex: 1;
}

#homeTableCard {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

#homeRight {
    width: 100%;
    flex: none;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    position: relative;
    opacity: 1;
    transition: opacity 120ms ease 0ms;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

#homeRightCard {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* ===== Vertical Rails (collapsed state bars) ===== */
.homeRail {
    width: 40px;
    min-width: 40px;
    max-width: 40px;
    height: 100%;
    background-color: #ffffff;
    border: 1px solid #ebeff0;
    border-radius: 12px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    box-sizing: border-box;
    padding: 4px 0;
    flex-shrink: 0;
    color: #000000;
    transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
    user-select: none;
    position: relative;
    z-index: 2;
}

.homeRail:hover {
    background-color: #f6f8fd;
    border-color: #dfe4ea;
}

.homeRailLeft {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.homeRailRight {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.railVText {
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-weight: 600;
    font-size: 0.8125em;
    color: #000000;
    letter-spacing: 0.04em;
    white-space: nowrap;
    line-height: 1;
    user-select: none;
}

.railIcon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #000000;
    order: 3;
}

.railIcon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.railArrow {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #473bf0;
    order: 1;
}

.railArrow svg {
    width: 100%;
    height: 100%;
    display: block;
}

.railVText {
    order: 2;
}

/* ===== Collapsed States ===== */
#homeLeftWrap.homeLeftCollapsed {
    width: 40px;
}

#homeLeftWrap.homeLeftCollapsed #homeLeft {
    opacity: 0;
}

#homeLeftWrap.homeLeftCollapsed #homeLeftRail {
    display: flex;
}

#homeRightWrap.homeRightCollapsed {
    width: 40px;
}

#homeRightWrap.homeRightCollapsed #homeRight {
    opacity: 0;
}

#homeRightWrap.homeRightCollapsed #homeRightRail {
    display: flex;
}

.hiddenPanel {
    display: none !important;
}

.boxCard {
    background-color: #ffffff;
    border: 1px solid #ebeff0;
    border-radius: 12px;
    overflow: hidden;
    box-sizing: border-box;
}

.boxTop {
    width: 100%;
    height: 40px;
    min-height: 40px;
    padding: 0 12px;
    border-bottom: 1px solid #ebeff0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.boxTopLeft {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.boxTopRight {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.boxIcon {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.boxIcon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.boxTitle {
    color: #000000;
    font-weight: 400;
    font-size: 0.875em;
    white-space: nowrap;
}

.machFilter {
    width: 32px;
    height: 28px;
    min-width: 32px;
    min-height: 28px;
    border-radius: 6px;
    background-color: #f1f4f9;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 150ms ease;
    position: relative;
}

.machFilter:hover {
    background-color: #e5e8f0;
}

.machFilter svg {
    width: 16px;
    height: 16px;
    display: block;
}

.machCsvExport {
    width: 32px;
    height: 28px;
    min-width: 32px;
    min-height: 28px;
    border-radius: 6px;
    background-color: #f1f4f9;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
    border: 1px solid transparent;
    position: relative;
}

.machCsvExport:hover {
    background-color: #e5e8f0;
    border-color: #473bf0;
    color: #473bf0;
}

.machCsvExport:active {
    transform: scale(0.97);
}

.machCsvExport svg {
    width: 17px;
    height: 17px;
    display: block;
}

.machCsvExportLoading svg {
    animation: orqSpin 900ms linear infinite !important;
}

.machFilterBadge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    min-height: 16px;
    padding: 0 5px;
    border-radius: 999px;
    background-color: #ef4444;
    color: #ffffff;
    font-size: 0.68em;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16);
    pointer-events: none;
    letter-spacing: 0.01em;
}

.machRefreshBtn {
    width: 32px;
    height: 28px;
    min-width: 32px;
    min-height: 28px;
    border-radius: 6px;
    background-color: #f1f4f9;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 150ms ease, transform 250ms ease;
}

.machRefreshBtn:hover {
    background-color: #e5e8f0;
}

.machRefreshBtn svg {
    width: 16px;
    height: 16px;
    display: block;
}

.machRefreshBtn.machRefreshRunning svg {
    animation: machSpin 900ms linear infinite;
}

@keyframes machSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.machSearchWrap {
    width: 280px;
    min-width: 200px;
    height: 28px;
    min-height: 28px;
    max-height: 28px;
    padding: 0 8px;
    border: 1px solid #ebeff0;
    border-radius: 6px;
    background-color: #ffffff;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: text;
    transition: border-color 150ms ease, background-color 150ms ease;
}

.machSearchWrap:hover {
    border-color: #dfe4ea;
    background-color: #fafcff;
}

.machSearchWrap.machSearchFocused {
    border-color: #473bf0;
    background-color: #ffffff;
}

.machSearchIcon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.machSearchIcon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.machSearch {
    flex: 1 1 auto;
    min-width: 0;
    height: 22px;
    border: 0;
    padding: 0;
    margin: 0;
    background-color: transparent;
    color: #000000;
    font-size: 0.8125em;
    box-sizing: border-box;
    outline: none;
}

.machSearch::placeholder {
    color: #a9aab0;
}

.machSearchClear {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    flex-shrink: 0;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    opacity: 0.85;
    transition: opacity 120ms ease, background-color 120ms ease;
}

.machSearchClear:hover {
    opacity: 1;
    background-color: #fdecec;
}

.machSearchClear svg {
    width: 14px;
    height: 14px;
    display: block;
}

.machSearchWrap.machSearchHasValue .machSearchClear {
    display: flex;
}

.boxBody {
    flex: 1;
    width: 100%;
    padding: 16px;
    box-sizing: border-box;
    overflow: hidden;
}

#homeRightCard .boxBody {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

#homeRightCard .tblHeader {
    flex-shrink: 0;
    margin-bottom: 0;
}

#homeRightCard .tblBody {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.tblHeader {
    width: 100%;
    display: flex;
    padding: 0 4px 12px 4px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.tblBody {
    flex: 1;
    width: 100%;
    overflow-y: auto;
    min-height: 0;
    padding: 0 4px 8px 4px;
    box-sizing: border-box;
    scrollbar-gutter: stable;
}

#homeRightCard .tblBody {
    padding-right: 4px;
}

#homeRightCard .tblHeader {
    padding-right: 20px;
}

.tblRow {
    width: 100%;
    display: flex;
    padding: 10px 4px;
    border-radius: 6px;
    border-bottom: none;
}

#homeTableCard .tblBody .tblRow:nth-child(odd) {
    background-color: #f1f4f9;
}

#homeTableCard .tblBody .tblRow:nth-child(even) {
    background-color: #ffffff;
}

#homeRightCard .tblBody .rowZebra.rowOdd {
    background-color: #f1f4f9;
}

#homeRightCard .tblBody .rowZebra.rowEven {
    background-color: #ffffff;
}

#homeRightCard .tblBody .tblRow.rowClickable {
    cursor: pointer;
    transition: background-color 150ms ease, border-radius 150ms ease;
}

#homeRightCard .tblBody .tblRow.rowClickable:hover {
    background-color: #e5e8f0 !important;
}

#homeRightCard .tblBody .tblRow.rowClickable.rowOpen {
    background-color: #ecefff !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    position: relative;
    z-index: 2;
    margin-bottom: -1px;
}

.rowDetail {
    display: none;
    width: 100%;
    padding: 16px 4px 20px 4px;
    box-sizing: border-box;
    border-radius: 8px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin-top: -1px;
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
}

.rowDetail {
    background-color: #ffffff;
    border: 1px solid #ebeff0;
}

/* detail grid */
.dGrid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    padding-bottom: 16px;
    border-bottom: none;
}

.dItem {
    width: calc(33.333% - 16px);
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dItem.dFull {
    width: 100%;
}

.dLabel {
    font-size: 0.75em;
    font-weight: 400;
    color: #7f8083;
    letter-spacing: 0.02em;
}

.dValue {
    font-size: 0.9375em;
    color: #000000;
    font-weight: 400;
    word-break: break-word;
}

.dTags {
    font-family: ui-monospace, Consolas, monospace;
    font-size: 0.8125em;
    background-color: #f6f7fa;
    border: 1px solid #ebeff0;
    border-radius: 6px;
    padding: 8px 12px;
    white-space: pre-wrap;
}

/* section (instances list inside vmss) */
.dSection {
    padding-top: 20px;
    padding-bottom: 16px;
    margin-top: 4px;
    width: 100%;
    display: flex;
    flex-direction: column;
    border-top: 1px solid #ebeff0;
    border-bottom: none;
}

.dSectionTitle {
    width: 100%;
    font-size: 0.9375em;
    font-weight: 600;
    color: #000000;
    padding-bottom: 12px;
}

.iHead, .iRow {
    width: 100%;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 10px 12px;
    font-size: 0.8125em;
    border-radius: 6px;
}

.iHead {
    background-color: #f1f4f9;
    color: #7f8083;
    font-weight: 400;
    margin-bottom: 4px;
}

.iRow {
    color: #000000;
    border-bottom: 1px solid #f1f4f9;
    border-radius: 0;
}

.iRow:nth-last-child(1) {
    border-bottom: none;
}

.iCell {
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.iColId {
    width: 56px;
    min-width: 56px;
    font-weight: 600;
    color: #7f8083;
}

.iColHost {
    flex: 1;
    min-width: 0;
    padding-left: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.iHostSub {
    font-size: 0.8125em;
    color: #b5b6ba;
    font-weight: 400;
}

.iHostMain {
    font-weight: 600;
    color: #000000;
}

.iColSku {
    width: 160px;
    min-width: 160px;
    padding-left: 12px;
}

.iColPw {
    width: 130px;
    min-width: 130px;
    padding-left: 12px;
}

.iColProv {
    width: 130px;
    min-width: 130px;
    padding-left: 12px;
}

.iColMi {
    width: 90px;
    min-width: 90px;
    padding-left: 12px;
}

.iColGo {
    width: 40px;
    min-width: 40px;
    padding-left: 12px;
    justify-content: flex-end;
}

.mGoSmall {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
}

.mGoSmall svg {
    width: 14px;
    height: 14px;
}

.iEmpty {
    padding: 20px 12px;
    color: #7f8083;
    font-size: 0.875em;
    text-align: center;
}

.mGoLink:hover {
    background-color: #473bf0;
    color: #ffffff;
}

.tblCell {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    font-size: 0.875em;
}

.tblHeader .tblCell {
    font-weight: 400;
    color: #7f8083;
}

.tblBody .tblCell {
    color: #000000;
}

.tblColName {
    flex: 1;
    min-width: 0;
    padding-right: 12px;
}

.tblColNum {
    width: 80px;
    min-width: 80px;
    justify-content: flex-end;
    padding-left: 12px;
}

.mColType {
    width: 72px;
    min-width: 72px;
    max-width: 72px;
    flex-basis: 72px;
    flex-shrink: 0;
    flex-grow: 0;
    padding-right: 12px;
}

.mColHost {
    flex: 1;
    min-width: 0;
    padding-right: 12px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mColStatus {
    width: 160px;
    min-width: 160px;
    max-width: 160px;
    flex-basis: 160px;
    flex-shrink: 0;
    flex-grow: 0;
    padding-right: 12px;
    overflow: hidden;
    white-space: nowrap;
}

.mColIdentity {
    width: 80px;
    min-width: 80px;
    max-width: 80px;
    flex-basis: 80px;
    flex-shrink: 0;
    flex-grow: 0;
    padding-right: 12px;
    justify-content: center;
}

.mColReg {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
    flex-basis: 140px;
    flex-shrink: 0;
    flex-grow: 0;
    padding-right: 12px;
    overflow: hidden;
    white-space: nowrap;
}

.mColOs {
    width: 80px;
    min-width: 80px;
    max-width: 80px;
    flex-basis: 80px;
    flex-shrink: 0;
    flex-grow: 0;
    padding-right: 12px;
    justify-content: center;
}

.mColGo {
    width: 56px;
    min-width: 56px;
    max-width: 56px;
    flex-basis: 56px;
    flex-shrink: 0;
    flex-grow: 0;
    justify-content: flex-end;
    overflow: visible;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.mTag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 32px;
    min-width: 36px;
    min-height: 32px;
    border-radius: 6px;
}

.mTag svg {
    width: 20px;
    height: 20px;
    display: block;
}

.mTagVm {
    background-color: #e5e7ff;
    color: #473bf0;
}

.mTagVmss {
    background-color: #fff2e5;
    color: #c15d00;
}

.mStatus {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125em;
    text-transform: capitalize;
}

.mStatus::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mStatusRunning {
    color: #1c7c54;
}

.mStatusRunning::before {
    background-color: #23a26d;
}

.mStatusStopped {
    color: #8f3e2e;
}

.mStatusStopped::before {
    background-color: #d9534f;
}

.mStatusOther {
    color: #7f8083;
}

.mStatusOther::before {
    background-color: #b5b6ba;
}

.mRegiao {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125em;
}

.mFlag {
    width: 22px;
    height: 15px;
    display: block;
    border-radius: 2px;
    object-fit: cover;
    flex-shrink: 0;
}

.mGoLink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    border-radius: 6px;
    background-color: transparent;
    cursor: pointer;
    color: #0089D6;
    box-sizing: border-box;
    flex-shrink: 0;
    overflow: visible;
}

.mGoLink svg {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    display: block;
    flex-shrink: 0;
    overflow: visible;
}

.mGoLink:hover {
    background-color: #473bf0;
    color: #ffffff;
}

.mGoSmall {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
}

.mGoSmall svg {
    width: 14px;
    height: 14px;
}

.mKey {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    border-radius: 6px;
    background-color: transparent;
}

.mKey svg {
    width: 20px;
    height: 20px;
    display: block;
}

.mKey.mKeyInactive {
    background-color: transparent;
}

.mOs {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    border-radius: 6px;
    background-color: #f1f4f9;
}

.mOs svg {
    width: 18px;
    height: 18px;
    display: block;
}

.mOs.mOsUnknown {
    background-color: transparent;
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 0;
    gap: 6px;
}

.mOsText {
    font-size: 0.8125em;
    font-style: italic;
    color: #7f8083;
    opacity: 0.7;
}

.dInline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.iColOs {
    width: 64px;
    min-width: 64px;
    padding-left: 12px;
}

.dFooter {
    width: 100%;
    padding-top: 6px;
    margin-top: 2px;
    border-top: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 0.6875em;
    font-weight: 400;
    color: #9e9fa3;
    letter-spacing: 0.02em;
    text-align: right;
    box-sizing: border-box;
}

#homeCards .boxCard .boxBody {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 88px;
}

.cardValue {
    color: #000000;
    font-weight: 700;
    font-size: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#homeTableCard .boxBody {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

#homeTableCard .tblHeader {
    flex-shrink: 0;
    margin-bottom: 0;
    padding-right: 20px;
}

#homeTableCard .tblBody {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    scrollbar-gutter: stable;
    padding-right: 4px;
}

.tblColNumQueue {
    width: 80px;
    min-width: 80px;
    justify-content: center !important;
    padding-left: 0;
    padding-right: 0;
}

.tblColOrqQueue {
    width: 34px;
    min-width: 34px;
    max-width: 34px;
    justify-content: center !important;
    padding-left: 4px;
    padding-right: 4px;
}

.tblColNameQueue {
    flex: 1;
    min-width: 0;
    padding-right: 12px;
}

.qOrqCell {
    user-select: none;
}

.qOrq {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qOrq svg {
    width: 16px;
    height: 16px;
    display: block;
}

.qOrqOk svg {
    color: #1c7c54;
}

.qOrqNo svg {
    color: #d43d3d;
}

.qEllipsis {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

#refreshTimer {
    position: relative;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 12px;
    overflow: visible;
    --rt-progress-deg: 0deg;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
#rtProgressFill {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: conic-gradient(#5850ec var(--rt-progress-deg), transparent 0deg);
    opacity: 1;
    pointer-events: none;
    z-index: 1;
}
#rtFace {
    position: absolute;
    left: 2px;
    top: 2px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    border-radius: 10px;
    border: 1px solid #dfe3ea;
    background: #ffffff;
    pointer-events: none;
    z-index: 2;
}
#rtContent {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
#rtText {
    font-size: 0.75em;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
    letter-spacing: 0.01em;
}

.slotLine {
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
    white-space: nowrap;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.slotLine .sWrap {
    position: relative;
    height: 1em;
    overflow: hidden;
    display: inline-block;
    line-height: 1;
    vertical-align: baseline;
    text-align: center;
    flex-shrink: 0;
}
.slotLine .sCol {
    display: flex;
    flex-direction: column;
    transform: translateY(0);
    transition: transform 460ms cubic-bezier(.22,.61,.36,1);
    will-change: transform;
    backface-visibility: hidden;
}
.slotLine .sDigit {
    height: 1em;
    line-height: 1;
    display: block;
    flex-shrink: 0;
    text-align: center;
}
.slotLine .sSep {
    display: inline-block;
    line-height: 1;
    height: 1em;
    flex-shrink: 0;
    text-align: center;
}

.tblBodyQueue .tblRow.queueInsert {
    animation: qFadeIn 260ms ease;
}
.tblBodyQueue .tblRow.queueRemove {
    animation: qFadeOut 220ms ease forwards;
}
@keyframes qFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes qFadeOut {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(6px); }
}

#loginMain {
    width: 100%;
    height: 100vh;
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(76,122,255,0.20), transparent 60%),
        radial-gradient(900px 500px at -10% 110%, rgba(129,188,6,0.18), transparent 60%),
        linear-gradient(135deg, #060712 0%, #0c0e1f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 24px 64px 24px;
    box-sizing: border-box;
    overflow-y: auto;
    position: relative;
}
#loginCreditos {
    position: absolute;
    bottom: 18px;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
    color: #ffffff;
    font-family: 'Inter', Arial, sans-serif;
    font-style: italic;
    font-size: 0.78em;
    font-weight: 400;
    letter-spacing: 0.03em;
    opacity: 0.68;
    user-select: none;
    pointer-events: none;
}
#loginBox {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.50), 0 2px 6px rgba(0,0,0,0.20);
    padding: 36px 32px 28px 32px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}
#loginLogoWrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}
#loginLogoImg {
    width: 72px;
    height: 72px;
    min-width: 72px;
    min-height: 72px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    box-sizing: border-box;
}
#loginLogo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background:
        radial-gradient(120% 120% at 30% 20%, #8ab4ff 0%, #4c7aff 40%, #2b4fd1 100%);
    box-shadow: 0 10px 24px rgba(43,79,209,0.35);
    position: relative;
}
#loginLogo::before {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.02));
    backdrop-filter: blur(2px);
}
#loginLogo::after {
    content: "";
    position: absolute;
    left: 18px; top: 18px; right: 18px; bottom: 18px;
    background: linear-gradient(135deg, #ffffff 0%, #eef2ff 100%);
    clip-path: polygon(0% 0%, 60% 0%, 100% 40%, 100% 100%, 40% 100%, 0% 60%);
    opacity: 0.96;
}
#loginSubtitle {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.75em;
    font-weight: 500;
    color: #6a6f7c;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
#loginTitle {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1.5em;
    font-weight: 700;
    color: #141823;
    text-align: center;
    line-height: 1.2;
}
#loginDesc {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.88em;
    font-weight: 400;
    color: #4f5564;
    text-align: center;
    line-height: 1.5;
}
#loginBtnMicrosoft {
    margin-top: 6px;
    width: 100%;
    min-height: 48px;
    border-radius: 12px;
    border: 1px solid #dfe3ea;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 16px;
    box-sizing: border-box;
    cursor: pointer;
    text-decoration: none;
    color: #1a1d26;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 600;
    font-size: 0.92em;
    transition: transform 140ms ease, box-shadow 180ms ease, border-color 140ms ease, background 140ms ease;
    box-shadow: 0 2px 4px rgba(20,22,30,0.04);
    user-select: none;
}
#loginBtnMicrosoft:hover {
    border-color: #b9c0cc;
    background: #fafbff;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(20,22,30,0.08);
}
#loginBtnMicrosoft:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(20,22,30,0.08);
}
#loginMsIcon {
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
#loginMsIcon svg {
    width: 22px;
    height: 22px;
    display: block;
}
#loginMsText {
    display: inline-block;
    line-height: 1;
}
#loginFooter {
    margin-top: 8px;
    text-align: center;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.72em;
    color: #8a90a0;
    letter-spacing: 0.02em;
}
#loginError {
    width: 100%;
    background: #fff3f3;
    border: 1px solid #f3c9c9;
    border-radius: 12px;
    padding: 18px 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}
#loginErrorText {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 500;
    font-size: 0.88em;
    color: #8a1f1f;
    line-height: 1.4;
}
#loginErrorCode {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
    color: #8a1f1f;
}
#loginRetryBtn, #loginBackBtn {
    width: 100%;
    min-height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 600;
    font-size: 0.88em;
    text-decoration: none;
    cursor: pointer;
    transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
    box-sizing: border-box;
    padding: 0 14px;
}
#loginRetryBtn {
    background: #2b4fd1;
    color: #ffffff;
    border: 1px solid #2b4fd1;
}
#loginRetryBtn:hover {
    background: #1f3eb0;
    border-color: #1f3eb0;
}
#loginBackBtn {
    background: #ffffff;
    color: #1a1d26;
    border: 1px solid #dfe3ea;
}
#loginBackBtn:hover {
    background: #f5f7fb;
    border-color: #b9c0cc;
}

#menuProfile {
    position: relative;
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
    border-radius: 50%;
    cursor: pointer;
    overflow: visible;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 140ms ease, box-shadow 180ms ease;
}
#menuProfile:hover {
    box-shadow: 0 6px 14px rgba(20,22,30,0.12);
}
#menuProfile img {
    display: none;
}
#menuProfileFoto, #menuProfileAvatar {
    overflow: hidden;
    border-radius: 50%;
}
#profileDropdown {
    position: fixed;
    animation: profileFadeIn 160ms ease forwards;
    transform-origin: bottom left;
    opacity: 1;
}
#profileDropdown #profileLogoutBtn:hover {
    background: #f5f7fb;
}
@keyframes profileFadeIn {
    from { opacity: 0; transform: translateX(-4px) scale(0.98); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}

/* ===================== Login Alert (white list) ===================== */
.loginAlert {
    width: 100%;
    border-radius: 12px;
    padding: 14px 16px;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
    font-family: 'Inter', Arial, sans-serif;
    animation: loginAlertIn 220ms ease;
}
@keyframes loginAlertIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}
.loginAlertIcon {
    width: 22px;
    min-width: 22px;
    height: 22px;
    min-height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
    color: currentColor;
}
.loginAlertIcon svg {
    width: 20px;
    height: 20px;
    display: block;
}
.loginAlertText {
    flex: 1;
    min-width: 0;
    font-weight: 500;
    font-size: 0.88em;
    line-height: 1.45;
    color: inherit;
    word-break: break-word;
}
.loginAlertPendente {
    background: #fff8e1;
    border: 1px solid #ffe08a;
    color: #8a5a00;
}
.loginAlertBloqueado {
    background: #fff3f3;
    border: 1px solid #f3c4c4;
    color: #8a1f1f;
}
.loginAlertInfo {
    background: #eff4ff;
    border: 1px solid #c7d7ff;
    color: #123f9a;
}

/* ===================== Admin Page ===================== */
.adminTblCell {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    font-size: 0.875em;
}
.adminTblHeader .adminTblCell {
    font-weight: 400;
    color: #7f8083;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.8125em;
}
.adminTblBody .adminTblCell {
    color: #000;
}
.adminColUser {
    flex: 1;
    min-width: 220px;
    padding-right: 12px;
}
.adminColRole {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    flex-basis: 200px;
    flex-shrink: 0;
    flex-grow: 0;
    padding-right: 12px;
}
.adminColStatus {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
    flex-basis: 120px;
    flex-shrink: 0;
    flex-grow: 0;
    padding-right: 12px;
}
.adminColDtCad {
    width: 160px;
    min-width: 160px;
    max-width: 160px;
    flex-basis: 160px;
    flex-shrink: 0;
    flex-grow: 0;
    padding-right: 12px;
}
.adminColDtUlt {
    width: 160px;
    min-width: 160px;
    max-width: 160px;
    flex-basis: 160px;
    flex-shrink: 0;
    flex-grow: 0;
    padding-right: 12px;
}
.adminColAcoes {
    width: 170px;
    min-width: 170px;
    max-width: 170px;
    flex-basis: 170px;
    flex-shrink: 0;
    flex-grow: 0;
    justify-content: flex-end;
    padding: 0;
    margin: 0;
}

.adminRow {
    width: 100%;
    display: flex;
    padding: 12px 4px;
    border-radius: 8px;
    border-bottom: none;
    align-items: center;
    transition: background-color 150ms ease;
}
.adminRow:hover {
    background-color: #eef1f8 !important;
}
.adminTblBody .adminRow.rowOdd {
    background-color: #ffffff;
}
.adminTblBody .adminRow.rowEven {
    background-color: #f7f9fd;
}

/* Role Select */
.adminRoleWrap {
    width: 100%;
}
.adminRoleSelect {
    width: 100%;
    height: 32px;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid #dfe3ea;
    border-radius: 6px;
    background: #ffffff;
    color: #000000;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.8125em;
    font-weight: 500;
    outline: none;
    cursor: pointer;
    transition: border-color 140ms ease, background-color 140ms ease;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236a6f7c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 32px;
}
.adminRoleSelect:hover {
    border-color: #b9c0cc;
    background-color: #fafcff;
}
.adminRoleSelect:focus {
    border-color: #473bf0;
    background-color: #ffffff;
}
.adminRoleSelect:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #f5f7fb;
}

/* Status Badges */
.adminBadge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px;
    border-radius: 999px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.75em;
    font-weight: 600;
    line-height: 1.1;
}
.adminBadge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}
.adminBadgeAtivo {
    background-color: #e9f8ee;
    color: #146636;
}
.adminBadgeAtivo::before {
    background-color: #23a26d;
}
.adminBadgePendente {
    background-color: #fff5d6;
    color: #8a5a00;
}
.adminBadgePendente::before {
    background-color: #d69e0b;
}
.adminBadgeBloqueado {
    background-color: #fff0f0;
    color: #8a1f1f;
}
.adminBadgeBloqueado::before {
    background-color: #d9534f;
}

/* Action Buttons (DIVs) */
.adminBtn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    height: 32px;
    padding: 0 12px;
    border-radius: 6px;
    border: 1px solid transparent;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.78em;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: background-color 130ms ease, border-color 130ms ease, transform 110ms ease;
    box-sizing: border-box;
    white-space: nowrap;
}
.adminBtn svg {
    width: 15px;
    height: 15px;
    display: block;
    color: currentColor;
    flex-shrink: 0;
}
.adminBtn:hover {
    transform: translateY(-1px);
}
.adminBtn:active {
    transform: translateY(0);
}
.adminBtnAprovar {
    background: #fff5d6;
    border-color: #ffe08a;
    color: #8a5a00;
}
.adminBtnAprovar:hover {
    background: #ffedb0;
    border-color: #ffcc4d;
}
.adminBtnAtivar {
    background: #e9f8ee;
    border-color: #b8e4c6;
    color: #146636;
}
.adminBtnAtivar:hover {
    background: #d4f1dd;
    border-color: #8ed2a5;
}
.adminBtnBloquear {
    background: #fff0f0;
    border-color: #f3c4c4;
    color: #8a1f1f;
}
.adminBtnBloquear:hover {
    background: #fde0e0;
    border-color: #eaa0a0;
}
.adminBtnDisabled {
    background: #f0f2f6;
    border-color: #dfe3ea;
    color: #8a90a0;
    cursor: not-allowed;
    padding: 0 10px;
    opacity: 0.9;
}
.adminBtnDisabled:hover {
    transform: none;
    background: #f0f2f6;
    border-color: #dfe3ea;
}

/* Toasts */
@keyframes adminToastIn {
    from { opacity: 0; transform: translateX(10px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes adminToastOut {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(10px); }
}
.adminToastIcon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hfOverlay {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(10, 14, 26, 0.45);
    z-index: 99998;
    opacity: 0;
    display: none;
    transition: opacity 240ms ease;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.hfOverlay.open {
    opacity: 1;
}

.hfDrawer {
    position: fixed !important;
    top: 0;
    right: 0;
    width: 380px;
    max-width: calc(100vw - 16px);
    height: 100vh;
    background-color: #ffffff;
    z-index: 99999;
    box-sizing: border-box;
    display: none;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -14px 0 44px rgba(12, 18, 34, 0.22);
    border-left: 1px solid #eceff5;
}

.hfDrawer.open {
    transform: translateX(0);
}

.hfHeader {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    min-height: 56px;
    padding: 0 18px;
    box-sizing: border-box;
    border-bottom: 1px solid #eceff5;
    background-color: #fafbff;
}

.hfTitle {
    font-size: 0.95em;
    font-weight: 600;
    color: #1a1d2b;
    letter-spacing: 0.01em;
}

.hfClose {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6a6f7e;
    cursor: pointer;
    transition: background-color 140ms ease, color 140ms ease;
    user-select: none;
    box-sizing: border-box;
}

.hfClose:hover {
    background-color: #eef0f7;
    color: #1a1d2b;
}

.hfClose svg {
    width: 18px;
    height: 18px;
    display: block;
}

.hfBody {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 18px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hfField {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}

.hfLabel {
    font-size: 0.78em;
    font-weight: 600;
    color: #4c505f;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.hfSelectWrap {
    width: 100%;
    box-sizing: border-box;
}

.hfSelect {
    width: 100%;
    height: 42px;
    min-height: 42px;
    padding: 0 12px;
    box-sizing: border-box;
    border-radius: 10px;
    border: 1px solid #dde2ec;
    background-color: #ffffff;
    color: #1a1d2b;
    font-size: 0.85em;
    font-weight: 500;
    outline: none;
    transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23555b6d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 16px;
    padding-right: 38px;
    cursor: pointer;
    box-shadow: 0 1px 0 rgba(18, 24, 40, 0.02);
}

.hfSelect:hover {
    border-color: #cdd3e0;
    background-color: #fcfdff;
}

.hfSelect:focus {
    border-color: #473bf0;
    box-shadow: 0 0 0 3px rgba(71, 59, 240, 0.12);
    background-color: #ffffff;
}

.hfFooter {
    flex-shrink: 0;
    height: 76px;
    min-height: 76px;
    padding: 16px 18px;
    box-sizing: border-box;
    border-top: 1px solid #eceff5;
    background-color: #fafbff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.hfBtn {
    height: 40px;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85em;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    box-sizing: border-box;
    white-space: nowrap;
    transition: background-color 130ms ease, border-color 130ms ease, color 130ms ease, transform 100ms ease, box-shadow 130ms ease;
    border: 1px solid transparent;
    letter-spacing: 0.01em;
}

.hfBtn:active {
    transform: translateY(1px);
}

.hfBtnGhost {
    background-color: transparent;
    color: #4c505f;
    border-color: #dde2ec;
}

.hfBtnGhost:hover {
    background-color: #eef0f7;
    color: #1a1d2b;
    border-color: #ccd2e0;
}

.hfBtnPrimary {
    background-color: #473bf0;
    color: #ffffff;
    border-color: #473bf0;
    box-shadow: 0 2px 8px rgba(71, 59, 240, 0.22);
}

.hfBtnPrimary:hover {
    background-color: #3b2fe0;
    border-color: #3b2fe0;
    box-shadow: 0 3px 12px rgba(71, 59, 240, 0.30);
}

.hfMulti {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.hfMultiTrigger {
    width: 100%;
    min-width: 0;
    height: 42px;
    min-height: 42px;
    padding: 0 40px 0 12px;
    box-sizing: border-box;
    border-radius: 10px;
    border: 1px solid #dde2ec;
    background-color: #ffffff;
    color: #1a1d2b;
    font-size: 0.85em;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
    box-shadow: 0 1px 0 rgba(18, 24, 40, 0.02);
    position: relative;
    overflow: hidden;
}

.hfMultiTrigger:hover {
    border-color: #cdd3e0;
    background-color: #fcfdff;
}

.hfMultiOpen > .hfMultiTrigger,
.hfMulti:focus-within > .hfMultiTrigger {
    border-color: #473bf0;
    box-shadow: 0 0 0 3px rgba(71, 59, 240, 0.12);
    background-color: #ffffff;
}

.hfMultiTriggerTxt {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #1a1d2b;
    font-weight: 500;
    font-size: 0.85em;
}

.hfMultiTxtSel {
    color: #473bf0;
    font-weight: 600;
}

.hfMultiChevron {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    color: #555b6d;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.hfMultiChevron svg {
    width: 16px;
    height: 16px;
    display: block;
    flex-shrink: 0;
}

.hfMultiDropdown {
    position: absolute;
    top: 100%;
    left: 0;
    box-sizing: border-box;
    z-index: 999999;
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #dde2ec;
    box-shadow: 0 14px 36px rgba(12, 18, 34, 0.18), 0 2px 0 rgba(12, 18, 34, 0.02);
    display: none;
    flex-direction: column;
    overflow: hidden;
    max-height: 320px;
    min-height: 0;
}

.hfMultiOpen > .hfMultiDropdown {
    display: flex;
}

.hfMultiSearchWrap {
    flex-shrink: 0;
    width: 100%;
    min-width: 0;
    padding: 9px 10px;
    box-sizing: border-box;
    border-bottom: 1px solid #eceff5;
    background-color: #fafbff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hfMultiSearchIco {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #7a7f8e;
    flex-shrink: 0;
}

.hfMultiSearchIco svg {
    width: 16px;
    height: 16px;
    display: block;
    flex-shrink: 0;
}

.hfMultiSearch {
    flex: 1 1 auto;
    min-width: 0;
    height: 36px;
    min-height: 36px;
    padding: 0 12px;
    box-sizing: border-box;
    border-radius: 9px;
    border: 1px solid #e6eaf2;
    background-color: #ffffff;
    color: #1a1d2b;
    font-size: 0.85em;
    font-weight: 500;
    outline: none;
    transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.hfMultiSearch:focus {
    border-color: #473bf0;
    box-shadow: 0 0 0 3px rgba(71, 59, 240, 0.12);
    background-color: #ffffff;
}

.hfMultiList {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    min-width: 0;
    padding: 6px;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hfOpt {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-height: 36px;
    padding: 6px 8px;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    box-sizing: border-box;
    transition: background-color 120ms ease;
    width: 100%;
    min-width: 0;
    flex-shrink: 0;
}

.hfOpt:hover {
    background-color: #f5f7fc;
}

.hfOptChk {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #473bf0;
}

.hfOptLabel {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #1a1d2b;
    font-size: 0.85em;
    font-weight: 500;
    line-height: 1.25;
}

.hfOptAll.hfOptGlobal .hfOptLabel {
    font-weight: 600;
    color: #1a1d2b;
}

.hfOptSep {
    width: calc(100% + 12px);
    min-width: 0;
    height: 1px;
    margin: 4px -6px 4px -6px;
    background-color: #eceff5;
    flex-shrink: 0;
}

.hfEmptyState {
    padding: 26px 14px;
    text-align: center;
    color: #8a8f9f;
    font-size: 0.82em;
    line-height: 1.4;
    font-weight: 500;
    width: 100%;
    box-sizing: border-box;
}

