.matrix-row-batch-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:10px 0;padding:10px 12px;border:1px solid var(--border,#52606e);border-radius:8px}
.matrix-row-batch-toolbar .btn{min-height:44px}.matrix-row-batch-toolbar .hint{flex:1 1 280px}.matrix-row-selected{box-shadow:inset 3px 0 var(--accent,#e8bb72)}
.matrix-row-selected .matrix-skill-name{color:var(--accent,#e8bb72);font-weight:700}.matrix-row-selected>td{box-shadow:inset 0 2px color-mix(in srgb,var(--accent,#e8bb72) 50%,transparent),inset 0 -2px color-mix(in srgb,var(--accent,#e8bb72) 50%,transparent)}
.matrix-skill-pick:focus-visible{outline:2px solid var(--accent,#e8bb72);outline-offset:2px}
.matrix-row-rounds{flex:1 0 100%;display:flex;align-items:center;gap:8px 16px;flex-wrap:wrap;margin:0;padding:8px 12px;border:1px solid var(--border,#52606e);border-radius:6px}.matrix-row-rounds label{display:flex;align-items:center;gap:7px;min-height:36px;cursor:pointer}.matrix-row-rounds input{width:18px;height:18px}.matrix-row-rounds .hint{flex:1 0 100%}

.matrix-row-dragging,.matrix-row-dragging *{user-select:none!important}
.matrix-row-dragging .matrix-skill-pick{cursor:crosshair}

.matrix-copy-dialog{width:min(760px,calc(100vw - 32px));max-height:calc(100dvh - 48px);box-sizing:border-box;overflow:auto;border:1px solid var(--border,#52606e);border-radius:12px;background:var(--bg-panel,var(--bg,#141923));color:var(--text,#edf0f5);padding:20px}.matrix-copy-dialog::backdrop{background:rgb(0 0 0 / .65)}.matrix-copy-dialog h3{margin-top:0}.matrix-copy-dialog p{line-height:1.6}.matrix-copy-list{display:grid;gap:12px}.matrix-copy-item{display:grid;gap:8px;padding:12px;border:1px solid var(--border,#52606e);border-radius:8px;overflow-wrap:anywhere}.matrix-copy-item select{width:100%;min-width:0;min-height:44px;font:inherit;background:var(--bg-input,var(--bg,#141923));color:inherit;border:1px solid var(--border,#52606e);border-radius:6px;padding:8px}.matrix-copy-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap}.matrix-copy-actions .btn{min-height:44px}.matrix-copy-error{min-height:1.6em;color:var(--danger,#ff9c9c)}.matrix-copy-dialog :is(select,button):focus-visible{outline:2px solid var(--accent,#e8bb72);outline-offset:3px}
