.amsfe-wrap {
    max-width: 1200px;
    margin: 24px auto;
    padding: 0 16px;
    font-family: system-ui
}

.amsfe-tabs {
    display: flex;
    gap: 8px;
    margin: 12px 0
}

.amsfe-tabs .tab {
    padding: 8px 12px;
    border: 1px solid #ddd;
    cursor: pointer;
    border-radius: 6px
}

.amsfe-tabs .tab.active {
    background: #0a66ff;
    color: #fff
}

.panel {
    border: 1px solid #eee;
    background: #fff;
    margin-bottom: 16px;
    border-radius: 6px
}

.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee
}

.table {
    padding: 10px
}

.table table {
    width: 100%;
    border-collapse: collapse
}

.table th,
.table td {
    padding: 8px;
    border-bottom: 1px solid #eee
}

.btn {
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #f7f7f7
}

.btn.primary {
    background: #0a66ff;
    color: #fff;
    border-color: #0a66ff
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999
}

.dialog {
    background: #fff;
    padding: 16px;
    border-radius: 8px;
    width: 600px;
    max-width: 95%
}

.dialog-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px
}

.dialog-body input,
.dialog-body textarea,
.dialog-body select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 6px
}