/* law685 member role v1.0 */
.lmr-tag{color:#5b6472!important;background:#eef0f4!important}
.lmr-btn{height:28px;padding:0 9px;margin-right:4px;border:1px solid var(--border-default,#e4e4e7);border-radius:999px;background:#fff;color:var(--text-primary,#18181b);font:inherit;font-size:12.5px;font-weight:500;cursor:pointer;white-space:nowrap}
.lmr-btn:hover{border-color:var(--accent-border,rgba(91,91,214,.4));color:var(--accent,#5b5bd6);background:var(--accent-tint,#f1f1fd)}
.lmr-ov{position:fixed;inset:0;z-index:2000;background:rgba(20,16,40,.42);display:grid;place-items:center;padding:16px}
.lmr-modal{width:min(520px,100%);max-height:calc(100vh - 32px);display:flex;flex-direction:column;background:#fff;border-radius:16px;box-shadow:0 18px 50px rgba(34,22,64,.25);overflow:hidden}
.lmr-mh{display:flex;align-items:center;justify-content:space-between;padding:18px 20px 6px}
.lmr-mh h3{margin:0;font-size:17px}
.lmr-x{width:32px;height:32px;border:0;border-radius:8px;background:none;font-size:22px;line-height:1;color:#71717a;cursor:pointer}
.lmr-x:hover{background:#f4f4f5}
.lmr-lead{margin:0;padding:0 20px 12px;color:#71717a;font-size:13.5px;line-height:1.55}
.lmr-list{overflow:auto;padding:4px 12px 8px;border-top:1px solid #f1f1f4;border-bottom:1px solid #f1f1f4}
.lmr-row{display:flex;align-items:center;gap:10px;padding:10px 8px;border-radius:10px;cursor:pointer}
.lmr-row:hover{background:#f7f6fb}
.lmr-row input{width:16px;height:16px;accent-color:var(--accent,#5b5bd6)}
.lmr-name{flex:1;min-width:0;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lmr-sub{color:#71717a;font-size:12.5px;flex:none}
.lmr-empty{margin:0;padding:14px 8px;color:#71717a;font-size:13.5px}
.lmr-ft{display:flex;align-items:center;gap:8px;padding:12px 20px 16px}
.lmr-msg{flex:1;color:#71717a;font-size:13px}
.lmr-cancel,.lmr-save{height:36px;padding:0 16px;border-radius:10px;font:inherit;font-size:14px;font-weight:500;cursor:pointer}
.lmr-cancel{border:1px solid #e4e4e7;background:#fff}
.lmr-save{border:0;background:var(--accent,#5b5bd6);color:#fff}
.lmr-save:disabled{opacity:.55;cursor:default}

/* 1.2.1：操作欄加寬，讓「可用對象」與原本的「編輯帳號」鉛筆並排都放得下（表格是 table-layout:fixed） */
th[class*="_thActions_"],td[class*="_tdActions_"]{width:150px!important;min-width:150px}
td[class*="_tdActions_"] [class*="_actions_"]{flex-wrap:nowrap}

/* accounts-actions v1 (2026-10-27): 操作欄加寬，刪除鈕不再被裁掉 */
td[class*=_tdActions_]{width:auto!important;min-width:210px;white-space:nowrap}
td[class*=_tdActions_]>[class*=_actions_]{flex-wrap:nowrap;gap:6px}
table:has(td[class*=_tdActions_]){table-layout:auto!important}
table:has(td[class*=_tdActions_]) th:last-child,table:has(td[class*=_tdActions_]) col:last-child{width:auto!important;min-width:210px}
