.maca-settings-wrap .maca-settings-tabs {
    margin: 12px 0 0;
}

.maca-settings-tabs .maca-settings-tab--hidden {
    display: none;
}

.maca-settings-sections {
    max-width: 960px;
    margin-top: 16px;
}

.maca-settings-tab-panel {
    display: none;
}

.maca-settings-section {
    margin: 0 0 28px;
    padding: 20px 22px 8px;
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.maca-settings-section-title {
    margin: 0 0 6px;
    padding: 0;
    font-size: 1.15em;
    font-weight: 600;
    line-height: 1.4;
}

.maca-settings-section-desc {
    margin: 0 0 14px;
}

.maca-settings-section .form-table {
    margin-top: 0;
}

.maca-settings-section .form-table th {
    padding-left: 0;
}

.maca-settings-section .form-table td {
    padding-right: 0;
}

.maca-settings-sections + .submit,
.maca-settings-sections ~ p.submit {
    margin-top: 8px;
    padding-top: 0;
}

/* Guest UI texts editor */
.maca-guest-strings-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin: 0 0 16px;
}

.maca-guest-strings-toolbar .regular-text {
    min-width: 220px;
}

.maca-guest-strings-wrap {
    max-height: 70vh;
    overflow: auto;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    background: #f6f7f7;
    padding: 8px;
}

.maca-guest-strings-group {
    margin: 0 0 10px;
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 4px;
}

.maca-guest-strings-group-title {
    cursor: pointer;
    font-weight: 600;
    padding: 10px 12px;
    list-style: none;
}

.maca-guest-strings-group-title::-webkit-details-marker {
    display: none;
}

.maca-guest-strings-count {
    font-weight: 400;
    color: #646970;
    margin-left: 8px;
}

.maca-guest-strings-table {
    margin: 0;
    border-top: 1px solid #dcdcde;
}

.maca-guest-strings-table th {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
}

.maca-guest-strings-msgid {
    display: block;
    font-size: 12px;
    white-space: pre-wrap;
    word-break: break-word;
}

.maca-guest-strings-table textarea {
    width: 100%;
    min-height: 2.5em;
    resize: vertical;
}

.maca-guest-strings-row--custom .maca-col-reference code {
    font-weight: 600;
}

.maca-guest-strings-footer-note {
    margin-top: 12px;
}
