#editor .source-row{grid-template-columns:28px minmax(180px,1fr) 70px 165px 72px 36px 36px;align-items:start;gap:8px}
#editor .source-row .source-mode{grid-column:4;min-width:0}
#editor .source-row .move-buttons{grid-column:6;display:flex;flex-direction:column;gap:4px}
#editor .source-row .remove{grid-column:7}
#editor .mode-description,#editor .duplicate-warning,#editor .source-headers{grid-column:2/-1;letter-spacing:normal;font-weight:400;margin:0;font-size:13px;line-height:1.5}
#editor .source-headers{padding-top:10px;margin-top:4px}
#editor .source-headers[open]{display:grid;grid-template-columns:1fr 1fr;gap:8px 14px}
#editor .source-headers summary,#editor .source-headers label:has([data-header="user-agent"]){grid-column:1/-1}
#editor .source-headers label{display:grid;gap:4px;min-width:0;color:var(--muted)}
#editor .source-headers button{justify-self:start}
#editor .source-main .source-status{letter-spacing:normal;font-weight:400}
.card-indicators{display:inline-flex;gap:5px;align-items:center;font-weight:900;color:#70b9ff}
.card-indicators .indicator-ok{color:#46d48c}.card-indicators .indicator-bad{color:#ff6677}
.m3u-dialog{width:min(1180px,96%)}
#m3uText{width:100%;min-height:190px;resize:vertical;background:#080d13;color:#dcecff;border:1px solid var(--line);border-radius:10px;padding:14px;font:13px/1.5 ui-monospace,Consolas,monospace}
.m3u-analyse,.m3u-preview-head{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:12px}
.m3u-analyse .error{margin-left:auto}.m3u-preview-head strong{margin-right:auto}.m3u-preview-head input{width:min(280px,100%)}
.m3u-table-wrap{overflow:auto;margin-top:12px;border:1px solid var(--line);border-radius:11px;max-height:43vh}
.m3u-table{width:100%;min-width:1040px;border-collapse:collapse;background:#091019}
.m3u-table th{position:sticky;top:0;z-index:1;background:#152130;color:#9fb3c8;text-align:left;font-size:12px;padding:10px}
.m3u-table td{border-top:1px solid var(--line);padding:8px;vertical-align:top}.m3u-table td:first-child{width:34px}.m3u-table td:last-child{width:42px}
.m3u-table input,.m3u-table select{padding:8px;font-size:13px;min-width:125px}.m3u-table [type=checkbox]{min-width:0;width:auto}.m3u-table td:nth-child(4) input{min-width:290px}.m3u-table small{display:block;margin-top:4px;font-size:11px}
@media(max-width:850px){#editor .source-row{grid-template-columns:28px minmax(0,1fr) 36px}#editor .source-row .source-mode,#editor .source-row .source-toggle,#editor .source-row .test-source,#editor .source-row .move-buttons{grid-column:2}#editor .source-row .remove{grid-column:3;grid-row:1}#editor .source-headers[open]{grid-template-columns:1fr}.m3u-preview-head{align-items:stretch;flex-direction:column}.m3u-preview-head input{width:100%}}
.return-primary-option span{display:flex;align-items:center;gap:.6rem;font-weight:700}.return-primary-option input[type=checkbox]{width:auto;accent-color:#3b9cff}.return-primary-option small{display:block;margin-top:.45rem}
