.setting .mud-card-header {
    padding: 0 .5rem 0 1rem !important;
    background: rgba(var(--black-color), .05);
}

.setting .mud-card-header .mud-card-header-content {
    display: flex;
}

.setting .mud-card-header .mud-typography {
    font-weight: 500;
}

.setting .mud-card-header-actions {
    display: flex;
    align-items: center;
    height: 100%;
}

.setting .mud-card-header-content {
    padding: 1rem 0;
}

.setting .mud-card-header .mud-card-header-actions {
    margin-top: 0 !important;
    margin-right: 0 !important;
    margin-inline-end: 0 !important;
}

.setting .mud-input-control-input-container {
    height: 24px !important;
}

.setting .mud-grid-spacing-xs-6>.mud-grid-item {
    padding-top: 22px;
}

.form-title {
    width: 40%;
    display: inline-flex;
    color: rgba(var(--black-color), .5);
    word-break: break-all;
}

.form-content {
    display: inline-flex;
    width: 55%;
    font-weight: 500;
    word-break: break-all;
}

hr {
    border-bottom: 1px dashed rgba(var(--black-color), .4);
    background-color: transparent;
    margin: 10px 0;
}

/* 不要再把 .mud-switch 壓成固定高度。開關的軌道（.mud-switch-span）是 38px，
   外框被鎖成 26px 的話軌道會上下各溢出 6px —— 時間同步頁的「啟用自動同步」就是這樣
   壓在上面那個 NTP 欄位的下框線上。緊湊度由下面的 .mud-switch-span 內距控制，
   那才是真正該調的地方。 */
.mud-switch {
    margin-inline-start: 0 !important;
    margin-inline-end: 0 !important;
}

/* space-between 只給設定頁的列式排版用，不要放全域。
   MudSwitch 的根元素是 .mud-input-control（flex column），裡面的 .mud-switch 會被
   align-items:stretch 撐成滿寬，這時 space-between 就把標籤推到容器最右邊——在對話框
   與屬性面板上會離開關數百 px。設定頁的卡片本來就是這種左右對齊的列，所以留在這裡。 */
.setting .mud-switch {
    justify-content: space-between;
}

.mud-switch-label-medium {
    font-size: 14px !important;
    color: rgba(var(--black-color), .5);
}

.mud-switch-span-medium.mud-switch-span {
    padding: 4px !important;
}

.mud-switch-span .mud-switch-track {
    border-radius: 100px !important;
}

.mud-typography-caption {
    color: rgba(var(--black-color), .4);
    letter-spacing: 0;
}

.setting .mud-card {
    border-radius: var(--raduis-sm);
    width: 100%;
}