.flex {
    display: flex;
}

.flex1 {
    flex: 1;
}

.spa {
    /* 移除 position、top、left、transform */
    width: 1334px;
    max-width: 100%;
    height: 750px;
    margin: 40px auto; /* 上下留白，水平居中 */
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    padding: 20px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

@media (max-width: 768px) {
    .left {
        display: none;
    }
}


.left {
    width: 500px;
    /* 设置.left宽度为500px */
    height: 100%;
    /* 使.left填满高度 */
    display: flex;
    flex-direction: column;
    padding-right: 20px;
}

@media (max-width: 768px) {
    .left {
        display: none;
    }
}

.right {
    max-width: 796px;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    /* 让.right填充剩余空间 */
    height: 100%;
    /* 使.right填满高度 */
}

.left > div {
    flex: 1;
    display: flex;
}


.task_container {
    display: flex;
    gap: 16px;
    height: 600px;
}

.task_container > div {
    padding: 10px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.task-scroll {
    flex: 1;
    overflow-y: auto;
    margin-top: 8px;

}


.tableft > div {
    width: 100%;
}

#leftlist, #rightlist {
    list-style: none;
    padding: 0;
    margin: 0;

}

.task-scroll::-webkit-scrollbar {
    width: 2px;
}

.task-scroll::-webkit-scrollbar-thumb {
    background: #2b2d30;
    border-radius: 3px;
}

#leftlist li, #rightlist li {
    padding: 4px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}

#leftlist li:hover, #rightlist li:hover {
    background-color: #f0f0f0;
}


.hwndconfig .uk-select {
    width: 24ch;
}

#log > p {
    margin: 0;
}

#log {
    height: 668px;
    overflow-y: scroll;
    background-color: #f4f4f4;
}

.plan-box {
    width: 100%;
    max-width: 350px;
}


/* 任务介绍表格 */
#task-desc {
    border-collapse: collapse;
    width: 100%;
    font-size: 14px;
}

#task-desc th,
#task-desc td {
    border: 1px solid #ccc;
    padding: 8px 12px;
    text-align: left;
}

#task-desc th {
    background-color: #f0f0f0;
    font-weight: bold;
}

#task-desc tr:nth-child(even) {
    background-color: #fafafa;
}

/* 重置checkbox的样式,misago中有覆盖,故强制重置 */
input[type=checkbox],.uk-checkbox{
    margin: 0!important;
}