.lockup .product { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .86); white-space: nowrap; }
.who { display: flex; align-items: center; gap: 12px; font-size: 14px; color: rgba(255, 255, 255, .8); min-width: 0; }
.who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn.small { height: 34px; padding: 0 14px; font-size: 13px; }

.admin { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 32px var(--pad) 64px; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 22px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(0, 40, 40, .45); backdrop-filter: blur(12px); }
.tabs button { height: 36px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: rgba(255, 255, 255, .75); font-size: 13px; font-weight: 500; letter-spacing: .06em; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--g800); }

.panel { padding: 28px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .16); background: linear-gradient(160deg, rgba(0, 60, 60, .7), rgba(0, 31, 32, .82)); backdrop-filter: blur(18px); box-shadow: 0 30px 80px rgba(0, 10, 10, .35); }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 20px; }
.panel h2 { font-size: 26px; font-weight: 500; letter-spacing: -.01em; }
.panel h3 { font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-bottom: 10px; }
.panel .sub { max-width: 46em; margin-top: 6px; color: rgba(255, 255, 255, .72); font-size: 14.5px; }

.add { display: grid; grid-template-columns: 1fr 1.3fr .9fr; gap: 0 14px; align-items: end; padding: 18px; margin-bottom: 18px; border-radius: 8px; background: rgba(0, 20, 20, .35); border: 1px solid rgba(255, 255, 255, .12); }
.add .check { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, .85); margin: 2px 0 14px; }
.add .check input { width: 18px; height: 18px; accent-color: var(--yellow); }
.add-actions { grid-column: 1 / -1; display: flex; gap: 10px; }
.add .msg { grid-column: 1 / -1; }
.field select option { color: var(--ink); }

.summary { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.summary span { padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); font-size: 12.5px; color: rgba(255, 255, 255, .85); }
.summary b { color: #fff; font-weight: 600; }

.table-wrap { overflow-x: auto; margin: 0 -8px; }
table.people { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 760px; }
.people th { text-align: left; padding: 10px 8px; font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.people td { padding: 12px 8px; border-bottom: 1px solid rgba(255, 255, 255, .08); vertical-align: middle; }
.people tr.group td { padding-top: 22px; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); border-bottom: 0; }
.people .name { font-weight: 500; }
.people .email { color: rgba(255, 255, 255, .7); font-size: 13px; }
.people .muted { color: rgba(255, 255, 255, .55); }
.people .actions { text-align: right; white-space: nowrap; }
.people .actions button { margin-left: 6px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: transparent; color: #fff; font-size: 12.5px; }
.people .actions button:hover { background: rgba(255, 255, 255, .1); }
.people .actions button.primary { background: var(--yellow); border-color: var(--yellow); color: var(--g800); font-weight: 600; }
.people .actions button.danger:hover { background: rgba(255, 120, 100, .18); border-color: var(--bad); }
.people .actions button:disabled { opacity: .45; cursor: default; }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; background: rgba(255, 255, 255, .1); }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.active { color: var(--ok); }
.pill.invited { color: var(--yellow); }
.pill.not_invited { color: rgba(255, 255, 255, .7); }
.pill.disabled, .pill.reset { color: var(--bad); }

.site { max-width: 720px; }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.switch { display: inline-flex; align-items: center; gap: 14px; cursor: pointer; font-size: 18px; font-weight: 500; }
.switch input { position: absolute; opacity: 0; }
.switch i { position: relative; width: 54px; height: 30px; border-radius: 999px; background: rgba(255, 255, 255, .18); transition: background .25s; flex: none; }
.switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.switch input:checked + i { background: var(--g500); }
.switch input:checked + i::after { transform: translateX(24px); }
.switch input:focus-visible + i { outline: 2px solid var(--yellow); outline-offset: 3px; }
.row.left { justify-content: flex-start; gap: 18px; }

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.feed { list-style: none; padding: 0; max-height: 520px; overflow: auto; }
.feed li { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.feed time { flex: none; color: rgba(255, 255, 255, .55); font-size: 12.5px; }
.feed .empty { color: rgba(255, 255, 255, .55); }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 10; transform: translate(-50%, 20px); opacity: 0; padding: 12px 18px; border-radius: 999px; background: #fff; color: var(--g800); font-size: 14px; font-weight: 500; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: opacity .25s, transform .25s var(--ease); pointer-events: none; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { background: #ffe1dc; color: #7a1b10; }

@media (max-width: 800px) {
  .add { grid-template-columns: 1fr; }
  .cols { grid-template-columns: 1fr; }
  .panel { padding: 20px 16px; }
  .panel-head { flex-direction: column; }
  .lockup .product { display: none; }
}
