/* Settings share the status-list table, row height and numeric editor styles. */
.settings-sidebar{position:static}
.settings-note{margin:0 0 var(--section-gap);padding:12px 18px;border:1px solid var(--line);border-radius:8px;line-height:1.7;color:var(--text)}
.settings-card>header{height:var(--row-height);box-sizing:border-box;padding:0 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--heading)}
.settings-card h2{margin:0;font-size:14px;font-weight:400}
.settings-heading-text{display:flex;align-items:baseline;gap:12px;white-space:nowrap}
.settings-eyebrow{display:block;font-size:11px;line-height:1.3;color:var(--text)}
.settings-page button:where(:not(.sidebar *)){font:inherit;cursor:pointer;padding:5px 12px;border:1px solid var(--line);border-radius:5px;color:var(--text);background:var(--heading)}
.settings-page button:where(:not(.sidebar *)):hover:not(:disabled){border-color:var(--factor)}
.settings-page button:where(:not(.sidebar *)):disabled{opacity:.5;cursor:default}
.settings-batch{display:flex;align-items:center;gap:8px}
.settings-table{width:100%;table-layout:auto}
.settings-table th,.settings-table td{height:var(--row-height);padding:1px 12px;text-align:left}
.settings-table thead th{background:var(--heading);border-bottom:1px solid var(--line);font-weight:400}
.settings-table :is(th,td):not(.settings-fill){width:1%;white-space:nowrap}
.settings-table .settings-fill{width:auto;padding:0;pointer-events:none}
.settings-table tbody :is(th,td){border:0;background:transparent;font-weight:400}
.settings-table tbody tr:nth-child(odd){background:var(--heading-2)}
.settings-table tbody tr:nth-child(even){background:var(--cell)}
.settings-item{display:flex;align-items:center;gap:12px;min-width:0;width:max-content;max-width:1000px}
.settings-item>span:last-child{min-width:0}
.settings-icon{display:flex;align-items:center;justify-content:flex-start;flex:0 0 100px;height:46px}
.settings-page .settings-icon img{display:block;width:auto;height:auto;min-width:0;min-height:0;max-width:320px;max-height:146px;zoom:.30;object-fit:contain}
.settings-name{display:block;line-height:1.4;white-space:nowrap;overflow-wrap:normal}
.settings-item small{display:block;font-size:11px;line-height:1.4;white-space:normal;overflow-wrap:anywhere;color:var(--text)}
.settings-number{gap:5px;color:var(--text)}
.settings-number input{font-variant-numeric:tabular-nums}
.settings-number:hover input{text-decoration:underline;text-underline-offset:.15em}
.settings-number input[data-dirty]{color:var(--factor)}
.settings-number input:invalid{color:var(--text-orange-light)}
.settings-save-content{line-height:1.6}
.settings-save-content :is(strong,small){display:block;padding:8px 14px;overflow-wrap:anywhere}
.settings-save-content strong{font-weight:400}
.settings-save-content strong:empty{display:none}
.settings-save-content small{font-size:11px}
.settings-empty{padding:20px;border-radius:8px;background:var(--heading-2)}
.settings-page :is(a,button):where(:not(.sidebar *)):focus-visible{outline:2px solid var(--text-cyan);outline-offset:2px}

/* Keep each settings toolbar separate while its batch buttons target the same group. */
.settings-table .settings-icon-cell{padding-right:0}
.settings-table .settings-icon{width:100px}

.settings-upgrade-table .settings-item{max-width:none}
.settings-upgrade-table .settings-item>span:last-child{flex:0 0 auto}
