/* Invitations: built on base.css (call sheet editor) – same materials. */
.wrap { max-width: 860px; }
.small { font-size: 13px; }
.opt { font-style: normal; color: var(--text-3); font-weight: 400; margin-left: 6px; }
.app .block + .block, .app form.block + .block { margin-top: 14px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }

/* Site chips (checkboxes) */
.sites { display: flex; gap: 8px; flex-wrap: wrap; }
.site-chip { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line-strong); background: var(--field); font-size: 13px; font-weight: 600; color: var(--text-2); cursor: pointer; user-select: none; }
.site-chip input { position: absolute; opacity: 0; pointer-events: none; }
.site-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); }
.site-chip:has(input:checked) { color: var(--text); border-color: rgba(214, 246, 78, .45); background: rgba(214, 246, 78, .07); }
.site-chip:has(input:checked) i { background: var(--lime); }
.site-chip:has(input:focus-visible) { outline: 2px solid var(--lime); outline-offset: 2px; }
.sites.small .site-chip { height: 28px; padding: 0 10px; font-size: 12px; }

.result { border: 1px solid rgba(214, 246, 78, .3); background: rgba(214, 246, 78, .05); border-radius: 12px; padding: 14px; display: grid; gap: 10px; }
.result p { margin: 0; }
.link-row { display: flex; gap: 8px; }
.link-row input { font-family: var(--mono); font-size: 12.5px; }

/* Lists */
.rows-list { display: grid; gap: 8px; }
.rows-list:empty::before { content: "Nothing here yet."; color: var(--text-3); font-size: 13px; }
.person { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #0d0d0d; }
.person .who { min-width: 0; display: grid; gap: 2px; }
.person .who strong { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person .who span { color: var(--text-2); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person .acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.person .sites { grid-column: 1 / -1; }
.btn-danger-quiet { color: var(--text-3); }
.btn-danger-quiet:hover { color: var(--warn); }

/* Accept page */
.accept { width: min(420px, 100%); }
.accept h1 { font-size: 26px; margin: 0 0 6px; }
.accept form { display: grid; gap: 16px; }
.accept p { margin: 0; }
.site-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--field); font-weight: 600; }
.site-list li i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.open-list { display: grid; gap: 8px; margin-top: 18px; }
.open-list a { justify-content: space-between; }
input[readonly] { color: var(--text-2); }

@media (max-width: 640px) {
  .g2 { grid-template-columns: minmax(0, 1fr); }
  .person { grid-template-columns: minmax(0, 1fr); }
  .person .acts { justify-content: flex-start; }
  .form-actions .btn { flex: 1; }
}
