:root {
  --bg: #f4f6f9; --panel: #ffffff; --panel-2: #f8fafc; --line: #e3e8ef; --text: #1d2433; --muted: #6b7587;
  --accent: #2563eb; --accent-soft: #e8efff; --ok: #16a34a; --ok-soft: #e7f7ec; --warn: #d97706; --warn-soft: #fdf3e2;
  --bad: #dc2626; --bad-soft: #fdeaea; --side: #111827; --side-text: #cbd2dc; --side-active: #1f2a3d;
  --radius: 10px; --shadow: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.08);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1117; --panel: #151b24; --panel-2: #1a212c; --line: #263040; --text: #e6ebf2; --muted: #8b96a8;
    --accent: #5b8cff; --accent-soft: #1b2a4a; --ok: #3fb96b; --ok-soft: #13301f; --warn: #f0a33a; --warn-soft: #36270f;
    --bad: #f06565; --bad-soft: #3a1717; --side: #0a0e14; --side-text: #9aa6b8; --side-active: #182131;
    --shadow: none;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Segoe UI", sans-serif; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a { color: var(--accent); text-decoration: none; }
.hidden { display: none !important; }
.mono { font-family: var(--mono); font-size: 12.5px; }
.muted { color: var(--muted); }

.brand { font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.logo { color: var(--accent); }

/* login */
.login { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.login-card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 28px; width: 100%; max-width: 360px; display: grid; gap: 14px; box-shadow: var(--shadow); }
.err { color: var(--bad); min-height: 1.2em; font-size: 13px; }

/* layout */
.app { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.side { background: var(--side); color: var(--side-text); padding: 18px 12px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 0; height: 100vh; }
.side .brand { color: #fff; padding: 0 8px; }
.side-menu { display: flex; flex-direction: column; gap: 14px; flex: 1; min-height: 0; }
.side nav { display: grid; align-content: start; gap: 2px; overflow-y: auto; min-height: 0; flex: 0 1 auto; scrollbar-width: thin; scrollbar-color: #2a3446 transparent; }
.nav-group { font-size: 11px; font-weight: 600; letter-spacing: .06em; color: #6b7587; padding: 12px 12px 4px; }
.side nav a { color: var(--side-text); padding: 9px 12px; border-radius: 8px; }
.side nav a:hover { background: var(--side-active); color: #fff; }
.side nav a.active { background: var(--side-active); color: #fff; font-weight: 600; box-shadow: inset 3px 0 0 var(--accent); }
.side-foot { margin-top: auto; font-size: 12.5px; padding: 0 8px; }
.side-foot a { color: var(--side-text); text-decoration: underline; }
.nav-toggle, .page-title, .nav-backdrop { display: none; }
main { padding: 24px 28px 48px; min-width: 0; isolation: isolate; }
@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .side { --bar-h: 52px; position: fixed; top: 0; left: 0; right: 0; height: var(--bar-h); padding: 0 16px 0 6px; z-index: 50; flex-direction: row; align-items: center; gap: 6px; }
  .side-head { display: flex; align-items: center; gap: 6px; min-width: 0; flex: 1; }
  .side .brand { padding: 0; white-space: nowrap; }
  .page-title { display: block; margin-left: auto; color: #fff; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .nav-toggle { display: grid; place-items: center; position: relative; width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; color: #fff; cursor: pointer; flex: none; }
  .nav-toggle:hover, .nav-toggle:focus-visible { background: var(--side-active); }
  .nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 20px; height: 2px; border-radius: 1px; background: currentColor; transition: transform .2s, opacity .2s; }
  .nav-toggle .bars { position: relative; }
  .nav-toggle .bars::before, .nav-toggle .bars::after { content: ''; position: absolute; left: 0; }
  .nav-toggle .bars::before { top: -6px; }
  .nav-toggle .bars::after { top: 6px; }
  .app.nav-open .nav-toggle .bars { background: transparent; }
  .app.nav-open .nav-toggle .bars::before { transform: translateY(6px) rotate(45deg); }
  .app.nav-open .nav-toggle .bars::after { transform: translateY(-6px) rotate(-45deg); }
  .nav-dot { position: absolute; top: 9px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--bad); box-shadow: 0 0 0 2px var(--side); }
  .side-menu { position: fixed; top: var(--bar-h); left: 0; bottom: 0; width: min(280px, 84vw); padding: 12px 12px 16px; background: var(--side); overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(-100%); visibility: hidden; transition: transform .22s ease, visibility 0s linear .22s; z-index: 2; }
  .app.nav-open .side-menu { transform: none; visibility: visible; transition: transform .22s ease; }
  .side nav { overflow: visible; flex: none; }
  .side-foot { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--side-active); }
  .nav-backdrop { display: block; position: fixed; inset: var(--bar-h) 0 0 0; background: rgba(0, 0, 0, .45); opacity: 0; pointer-events: none; transition: opacity .22s; z-index: 1; }
  .app.nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }
  body.nav-lock { overflow: hidden; }
  main { padding: calc(52px + 16px) 16px 16px; }
  html .ptr { display: grid; }
}
/* pull to refresh indicator (mobile) */
.ptr { display: none; place-items: center; position: fixed; top: 52px; left: 50%; width: 36px; height: 36px; margin-left: -18px; border-radius: 50%;
  background: var(--panel); color: var(--accent); border: 1px solid var(--line); box-shadow: var(--shadow); z-index: 40; opacity: 0; transform: translateY(-44px); pointer-events: none; }
.ptr svg { width: 20px; height: 20px; }
.ptr.settle { transition: transform .45s cubic-bezier(.3, 1.25, .5, 1), opacity .3s ease; }
main.ptr-settle { transition: transform .45s cubic-bezier(.3, 1.25, .5, 1); }
.ptr.ready { color: #fff; background: var(--accent); border-color: var(--accent); }
.ptr.spin svg { animation: ptr-spin .8s linear infinite; }
@keyframes ptr-spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) and (prefers-reduced-motion: reduce) { .side-menu, .nav-backdrop, .nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { transition: none !important; } }

h1 { font-size: 20px; margin: 0 0 4px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head p { margin: 0; color: var(--muted); }
h2 { font-size: 15px; margin: 0; }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 18px; min-width: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.card-body { padding: 16px; }
.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
@media (max-width: 1100px) { .grid.two { grid-template-columns: 1fr; } }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.stat .label { color: var(--muted); font-size: 12.5px; }
.stat .value { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; margin-top: 2px; }
.stat .sub { color: var(--muted); font-size: 12px; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; vertical-align: middle; }
th { font-size: 12px; color: var(--muted); font-weight: 600; background: var(--panel-2); position: sticky; top: 0; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; }
.empty { padding: 28px; text-align: center; color: var(--muted); }

.badge { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--panel-2); color: var(--muted); border: 1px solid var(--line); }
.badge.ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.badge.warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.badge.bad { background: var(--bad-soft); color: var(--bad); border-color: transparent; }
.badge.info { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); margin-right: 6px; }
.dot.ok { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }

.btn { white-space: nowrap; border: 1px solid var(--line); background: var(--panel); color: var(--text); padding: 7px 14px; border-radius: 8px; cursor: pointer; font: inherit; font-weight: 500; }
.btn:hover { border-color: var(--accent); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.danger { color: var(--bad); }
.btn.danger:hover { border-color: var(--bad); }
.btn.sm { padding: 3px 10px; font-size: 12.5px; }
.actions { display: flex; gap: 6px; }

input, select, textarea { font: inherit; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
input[type=checkbox] { width: auto; }
/* iOS Safari zooms into inputs under 16px and stays zoomed after login */
@media (max-width: 860px), (pointer: coarse) { input, select, textarea { font-size: 16px; } }
label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
label.check { display: flex; align-items: center; gap: 8px; color: var(--text); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.form .full { grid-column: 1 / -1; }
.form h3 { grid-column: 1 / -1; margin: 8px 0 0; font-size: 13px; color: var(--text); border-top: 1px solid var(--line); padding-top: 12px; }
.hint { font-size: 12px; color: var(--muted); }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

.modal { position: fixed; inset: 0; background: rgba(8,12,20,.5); display: grid; place-items: center; padding: 16px; z-index: 1000; }
.modal-card { background: var(--panel); border-radius: 14px; width: 100%; max-width: 680px; max-height: calc(100vh - 32px); overflow: auto; border: 1px solid var(--line); }
.modal-card .card-head { position: sticky; top: 0; background: var(--panel); z-index: 1; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); position: sticky; bottom: 0; background: var(--panel); }

.toast { position: fixed; bottom: 20px; right: 20px; background: var(--text); color: var(--panel); padding: 10px 16px; border-radius: 8px; z-index: 2000; max-width: 420px; }
.toast.bad { background: var(--bad); color: #fff; }

#map { height: 360px; border-radius: 0 0 var(--radius) var(--radius); }
.chart { width: 100%; height: 160px; display: block; }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 3px; border-radius: 2px; margin-right: 5px; vertical-align: middle; }

pre.st { margin: 0; padding: 14px 16px; overflow: auto; font-family: var(--mono); font-size: 12px; background: var(--panel-2); max-height: 320px; }
.tabs { display: flex; gap: 4px; }
.tabs button { border: 1px solid var(--line); background: var(--panel); color: var(--muted); padding: 5px 12px; border-radius: 8px; cursor: pointer; font: inherit; }
.tabs button.active { background: var(--accent-soft); color: var(--accent); border-color: transparent; font-weight: 600; }
.rule-mode { width: 120px; }
.rule-int { width: 90px; }
.leaflet-container { background: var(--panel-2); font: inherit; }

td.wrap, .wrap { white-space: normal; min-width: 180px; }
.checks { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.check-grid { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; }
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.filters label { min-width: 150px; flex: 0 1 180px; }
.bar { height: 8px; background: var(--panel-2); border-radius: 4px; overflow: hidden; border: 1px solid var(--line); }
.bar i { display: block; height: 100%; background: var(--accent); }
.legend i.pin { width: 8px; height: 8px; border-radius: 50%; }

.notice { background: var(--warn-soft); color: var(--warn); border-radius: 8px; padding: 10px 12px; font-size: 13px; margin-bottom: 12px; font-weight: 500; }
.cred-cards { display: grid; gap: 10px; }
pre.cred { margin: 0; padding: 12px 14px; font-family: var(--mono); font-size: 12.5px; line-height: 1.6; background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; white-space: pre-wrap; word-break: break-all; }

/* printing a credential card prints only the cards */
@media print {
  body * { visibility: hidden; }
  .cred-cards, .cred-cards * { visibility: visible; }
  .cred-cards { position: absolute; inset: 0 auto auto 0; width: 100%; }
  pre.cred { break-inside: avoid; border: 1px solid #999; background: #fff; color: #000; margin-bottom: 12px; }
}

tr.clickable { cursor: pointer; }
tr.clickable:hover td { background: var(--panel-2); }
.bad-text { color: var(--bad); }
.fixbar { position: relative; width: 90px; height: 18px; border-radius: 4px; background: var(--panel-2); border: 1px solid var(--line); overflow: hidden; font-size: 11.5px; }
.fixbar i { position: absolute; inset: 0 auto 0 0; }
.fixbar.ok i { background: var(--ok-soft); } .fixbar.warn i { background: var(--warn-soft); } .fixbar.bad i { background: var(--bad-soft); }
.fixbar span { position: relative; padding-left: 6px; line-height: 16px; font-weight: 600; }
.fixbar.ok span { color: var(--ok); } .fixbar.warn span { color: var(--warn); } .fixbar.bad span { color: var(--bad); }
table.kv th { width: 170px; background: none; position: static; white-space: nowrap; }
table.kv td { white-space: normal; }

.nav-badge { display: inline-block; min-width: 18px; padding: 0 6px; margin-left: 8px; border-radius: 9px; background: var(--bad); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.alert-banner { display: block; margin-bottom: 18px; padding: 12px 16px; border-radius: var(--radius); background: var(--warn-soft); color: var(--warn); font-weight: 600; }
.alert-banner.crit { background: var(--bad-soft); color: var(--bad); }
.alert-banner:hover { text-decoration: underline; }

.warn-text { color: var(--warn); font-weight: 600; }
.bad-text { color: var(--bad); font-weight: 600; }
tr.sub td { background: var(--panel-2); font-size: 13px; }

.warn-btn { color: var(--warn); border-color: var(--warn); }
.wrap-actions { flex-wrap: wrap; max-width: 260px; }

/* IGS antenna names are fixed-width with meaningful spaces */
.ant { font-family: var(--mono); font-size: 12.5px; white-space: pre; }
td.pre { white-space: pre-wrap; word-break: break-all; }

table.contacts td { padding: 4px 6px 4px 0; border: 0; }
table.contacts select { width: 80px; }
.lbl { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }

.preview { margin-top: 12px; }
.preview-row { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline; padding: 10px 12px; background: var(--accent-soft); border-radius: 8px; }
.preview-warn { margin-top: 6px; padding: 8px 12px; border-radius: 8px; background: var(--warn-soft); color: var(--warn); font-size: 13px; font-weight: 500; }
.bulk-group { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin-bottom: 10px; display: grid; gap: 8px; }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; margin: 0 6px 6px 0; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
tr.dim td { opacity: .55; }

/* Mobile: hide scrollbars (content still scrolls by swipe) */
@media (max-width: 860px), (pointer: coarse) {
  * { scrollbar-width: none; }
  *::-webkit-scrollbar { display: none; width: 0; height: 0; }
}

/* caster connection check */
.form-action { display: grid; gap: 6px; justify-items: start; min-width: 0; }
.form-action > div { width: 100%; min-width: 0; }
.check-result { width: 100%; margin-top: 4px; border: 1px solid var(--line); border-left: 4px solid var(--bad); border-radius: 8px; padding: 10px 12px; background: var(--panel-2); font-size: 13px; }
.check-result.ok { border-left-color: var(--ok); }
.check-title { font-weight: 700; margin-bottom: 6px; }
.check-result.ok .check-title { color: var(--ok); }
.check-result:not(.ok) .check-title { color: var(--bad); }
.check-result ul { list-style: none; margin: 0 0 4px; padding: 0; display: grid; gap: 4px; }
.check-result li { display: grid; grid-template-columns: 150px 1fr; gap: 8px; }
.check-result li.ok b { color: var(--ok); }
.check-result li.bad b { color: var(--bad); }
.check-result li.skip { color: var(--muted); }
@media (max-width: 600px) { .check-result li { grid-template-columns: 1fr; gap: 0; } }

/* supplier caster sourcetable views */
.check-views { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.upv { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 8px; width: 100%; min-width: 0; }
.upv-panel { min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: var(--panel); display: grid; gap: 8px; }
.upv-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; }
.upv-head .upv-q { flex: 1; min-width: 160px; }
.upv-table { max-height: 360px; overflow: auto; }
.upv-table td, .upv-table th { font-size: 12.5px; padding: 6px 8px; }
.upv .clip { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; }
.upv pre.st { max-height: 360px; white-space: pre; margin: 0; }
.check-result, .upv-panel { scroll-margin: 64px 0 76px; } /* clear the modal's sticky header and footer */

/* destructive confirmation */
.danger-box { background: var(--bad-soft); color: var(--bad); border-radius: 8px; padding: 10px 12px; margin-bottom: 10px; }
.del-list { margin: 0 0 12px; padding-left: 18px; display: grid; gap: 6px; font-size: 13.5px; }
.del-names { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; max-height: 160px; overflow: auto; }
.del-names .chip.on { border-color: var(--ok); }
.btn.danger-solid { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn.danger-solid:disabled { opacity: .45; cursor: not-allowed; }

/* sourcetable import toolbar */
.ri-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; }
.ri-actions { margin-left: auto; display: flex; gap: 6px; }
.ri-probe { white-space: nowrap; }
.ok-text { color: var(--ok); }
.ri-probe div { white-space: normal; }
.modal-card.wide { max-width: 1000px; }
.ri-name { width: 150px; }
.ri-pos { font-size: 12px; white-space: nowrap; }
.ri-gen { font-size: 12.5px; max-width: 150px; overflow-wrap: anywhere; }

/* password show/hide */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 40px; }
.pw-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--muted);
  width: 34px; height: 30px; display: grid; place-items: center; cursor: pointer; border-radius: 6px; }
.pw-eye:hover { color: var(--text); background: var(--panel-2); }
.ver { margin-top: 10px; font-size: 11px; line-height: 1.5; color: #6b7587; }
.ver b { color: var(--side-text); font-weight: 600; }
/* sourcetable import list keeps one size whatever the search matches */
.ri-wrap { height: min(50vh, 460px); overflow: auto; }
.ri-table { table-layout: fixed; width: 100%; }
.ri-table td, .ri-table th { overflow-wrap: anywhere; }
.ri-table .ri-name { width: 100%; }
.ri-table .ri-probe { white-space: normal; }
.relay-problems { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 4px; font-size: 13px; }

/* bulk actions and switches */
.bulk-bar { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; padding: 8px 12px;
  background: var(--accent-soft); border: 1px solid var(--accent); border-radius: 10px; font-size: 13px; }
.bulk-bar span { font-weight: 700; margin-right: 6px; }
@media (max-width: 860px) { .bulk-bar { top: 52px; } }
.switches { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 6px; }
.switch { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text); cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch span { position: relative; width: 36px; height: 20px; border-radius: 999px; background: var(--line); transition: background .15s; flex: none; }
.switch span::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.3); transition: transform .15s; }
.switch input:checked + span { background: var(--ok); }
.switch input:checked + span::after { transform: translateX(16px); }
.switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.switch.off { opacity: .5; cursor: not-allowed; }
.checks .check-grid { max-height: 220px; overflow: auto; }

/* segmented choice */
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.seg button { border: 0; background: var(--panel); color: var(--text); padding: 7px 14px; font: inherit; font-size: 13px; cursor: pointer; border-right: 1px solid var(--line); }
.seg button:last-child { border-right: 0; }
.seg button.on { background: var(--accent); color: #fff; font-weight: 600; }
tr.dim td { opacity: .55; }
.members { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px 14px; max-height: 240px; overflow: auto; margin-top: 4px; }
.member { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.scope-pick { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 18px; margin-top: 12px; }
.scope-pick label:not(.check) { min-width: 240px; }
