/* 회원 추가 표(grid.js). 제목 줄 높이 32px는 grid.js의 HD와 같아야 함 */
.gbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 8px 0; }
.gbar button:disabled { color: var(--gray); cursor: not-allowed; } .gbar button.primary:disabled { color: #fff; }
.gbar label { flex-direction: row; align-items: center; gap: 6px; margin: 0 0 0 auto; } .gbar label input { padding: 6px 8px; }
.gnote { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 10px 14px; margin: 8px 0; border: 1px solid var(--line); border-left: 5px solid var(--blue); border-radius: 10px; background: #fff; overflow-wrap: anywhere; }
.gnote.good { border-left-color: var(--green); background: #f0f9f3; } .gnote.good b { font-size: 16px; color: #1e6b40; }
.gnote.warn { border-left-color: var(--yellow); } .gnote.bad { border-left-color: var(--red); }
.gnote p { margin: 4px 0 0; } .gnote p button { padding: 3px 10px; margin: 2px 4px 2px 0; } .gnote > button { padding: 2px 6px; white-space: nowrap; }
.gsums { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; min-height: 30px; margin-bottom: 8px; }
.gsums button { padding: 3px 12px; border-radius: 14px; font-size: 13px; font-weight: 600; }
.gsums .new, .grow.new .gju b { background: #dff3e6; color: #1e6b40; } .gsums .rejoin, .grow.rejoin .gju b { background: #fff0c2; color: #7a5a00; }
.gsums .already, .grow.already .gju b { background: #eceef1; color: var(--muted); } .gsums .bad, .grow.bad .gju b { background: #fde4e2; color: #a92a24; }
.gsums .msg { min-height: 0; }

.gwrap { position: relative; overflow: auto; background: #fff; border: 1px solid #cfd5dd; border-radius: 8px; font-size: 13px; user-select: none; -webkit-user-select: none; cursor: cell; }
.gwrap.lock { opacity: .6; cursor: progress; }
.ghead { position: sticky; top: 0; z-index: 6; display: flex; height: 32px; font-weight: 600; }
.ghead > div { background: #eef1f5 !important; line-height: 31px; border-bottom-color: #cfd5dd; }
.gbody { position: relative; }
.grow { position: absolute; left: 0; display: flex; }
.gno, .gju, .gc { flex: none; height: 100%; padding: 0 7px; border-right: 1px solid #e2e5ea; border-bottom: 1px solid #e2e5ea; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; display: block; }
.grow > div { line-height: 29px; }
.gno, .gju { position: sticky; z-index: 3; background: #fff; } .gno { left: 0; padding: 0 4px; text-align: center; color: var(--muted); background: #f5f6f8; } .gju { border-right-color: #cfd5dd; }
.gju b { display: inline-block; padding: 0 7px; border-radius: 9px; font-size: 12px; line-height: 19px; font-weight: 600; } .gju span { margin-left: 5px; font-size: 12px; color: var(--muted); }
.grow.bad .gju span { color: #a92a24; } .grow.bad .gc { background: #fff8f7; } .grow.already .gc { color: var(--muted); }
.grow.on .gno { background: #cfe0fa; color: var(--navy); font-weight: 600; }
.grow .gc.in { background: #e4eeff; } .grow .gc.act { background: #fff; box-shadow: inset 0 0 0 2px var(--blue); }
.gedit { position: absolute; z-index: 2; margin: 0; padding: 4px 7px; border: none; border-radius: 0; resize: none; overflow: hidden; font-size: 13px; line-height: 20px; white-space: pre-wrap; overflow-wrap: anywhere;
  background: transparent; color: transparent; caret-color: transparent; pointer-events: none; }
.gedit:focus { outline: none; }
.gedit.on { z-index: 4; overflow: auto; background: #fff; color: var(--ink); caret-color: auto; pointer-events: auto; cursor: text; user-select: text; -webkit-user-select: text; box-shadow: 0 0 0 2px var(--blue), 0 4px 14px rgba(20, 30, 50, .2); }
.gsug { position: absolute; z-index: 5; max-height: 240px; overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: 7px; box-shadow: 0 6px 20px rgba(20, 30, 50, .2); cursor: pointer; }
.gsug div { padding: 5px 10px; white-space: nowrap; } .gsug div.on, .gsug div:hover { background: #e4eeff; }
.ginfo { min-height: 20px; margin: 0 0 8px; overflow-wrap: anywhere; }
.gdlg { width: min(460px, calc(100vw - 32px)); color: var(--ink); } .gdlg::backdrop { background: rgba(20, 30, 50, .35); }
.gdlg p { margin: 0 0 12px; white-space: pre-line; } .gdlg .actions { display: flex; justify-content: flex-end; gap: 8px; }
.gbig { width: 100%; margin-bottom: 12px; font-size: 16px; }
@media (max-width: 640px) {
  .gbar button { flex: 1 1 45%; padding: 8px 6px; white-space: nowrap; } .gbar label { margin: 0; }
  .gwrap { font-size: 14px; } .ginfo { height: 40px; overflow: auto; }   /* 이유 글이 길어져도 표가 밀리지 않게 */
  .grow > div { line-height: 39px; } .gju { padding: 0 4px; } .gju span { display: none; } .gju b { padding: 0 6px; }
  .gedit { font-size: 16px; line-height: 24px; padding: 8px 7px; }
}
