
/* HK common left-panel framework (Company/User/etc) */
.hk-split {
    display: flex;
    width: 100%;
    min-height: calc(100vh - 120px);
}

.hk-leftpanel {
    width: 20%;
    min-width: 240px;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    position: relative;
    background: #fff;
    padding: 12px;
    box-sizing: border-box;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 14px;
    overflow: hidden;
}

.hk-rightpanel {
    flex: 1 1 auto;
    min-width: 0;
    background: #fff;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 14px;
    overflow: hidden;
}

.hk-leftpanel .hk-search {
    width: 100%;
    box-sizing: border-box;
}

.hk-leftpanel .hk-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 0;
}

.hk-listbox {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 8px;
    padding: 4px;
    background: #fff;
    outline: none;
}

.hk-item {
    display: block;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    user-select: none;
    text-decoration: none;
    color: inherit;
}

    .hk-item:hover {
        background: rgba(0,0,0,.04);
    }

    .hk-item.hk-selected {
        background: rgba(255,140,0,.14);
    }

.hk-resizer {
    position: absolute;
    top: 0;
    right: -3px;
    width: 6px;
    height: 100%;
    cursor: col-resize;
}

    .hk-resizer::after {
        content: "";
        position: absolute;
        top: 0;
        right: 2px;
        width: 2px;
        height: 100%;
        background: rgba(0,0,0,.06);
    }

body.hk-resizing {
    cursor: col-resize;
    user-select: none;
}

.hk-rightpanel-inner {
    padding: 12px;
    box-sizing: border-box;
}

.hk-item.active {
    background: rgba(255,140,0,.14);
}
