/* Collaborate: the Invite people page, Projects shared with me, and the guest's banner. */

.co-ri .count.live { background: #1e9656; }
.co-collab-btn { position: relative; display: inline-flex; }
.co-collab-btn .dot { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; display: grid; place-items: center; font-size: 10.5px; font-weight: 800; color: #fff; background: #b26a00; pointer-events: none; }

.cb-page { display: flex; flex-direction: column; gap: 16px; }
.cb-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cb-top .badge { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 12px; color: var(--co-accent-text); background: rgba(var(--co-accent-rgb), 0.14); }
.cb-top h2 { margin: 0; font-size: 19px; font-weight: 700; }
.cb-top p { margin: 5px 0 0; display: flex; flex-wrap: wrap; gap: 8px; color: var(--rf-dim); font-size: 12.5px; }
.cb-tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 99px; font-size: 11.5px; font-weight: 700; color: var(--rf-dim); background: var(--rf-tool); }
.cb-tag.live { color: #1e9656; background: rgba(30, 150, 86, 0.14); }
.cb-tag.live b { width: 7px; height: 7px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 3px rgba(47, 191, 113, 0.25); }

.cb-intro p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.55; max-width: 900px; }
.cb-intro p.muted { font-size: 12.5px; }
.cb-levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.cb-levels > div { padding: 10px 12px; border-radius: 10px; background: var(--rf-field); box-shadow: inset 0 0 0 1px var(--rf-line); font-size: 12px; color: var(--rf-dim); }
.cb-levels b { display: block; margin-bottom: 3px; font-size: 13px; color: var(--rf-text); }

.cb-card > header { align-items: flex-start; }
.cb-soon { flex: none; padding: 3px 8px; border-radius: 99px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.02em; color: var(--rf-faint); background: var(--rf-tool); white-space: nowrap; }
.cb-card.soon .cb-dim { opacity: 0.5; pointer-events: none; }
.cb-small { margin: 0; font-size: 12px; line-height: 1.5; }
.cb-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.cb-sel { width: 150px; }
.cb-form { display: flex; flex-direction: column; gap: 12px; }

.cb-code { padding: 14px 16px; border-radius: 10px; background: var(--rf-field); box-shadow: inset 0 0 0 1px var(--rf-line); }
.cb-code b { display: block; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 14px; letter-spacing: 0.02em; line-height: 1.6; word-break: break-all; user-select: all; }
.cb-note { display: flex; align-items: flex-start; gap: 7px; margin: 0; font-size: 12px; line-height: 1.45; color: var(--rf-dim); }
.cb-note .hub-icon { flex: none; margin-top: 1px; }
.cb-note.ok .hub-icon { color: #2fbf71; }
.cb-note.warn { color: var(--rf-warn); }
.cb-ask { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid var(--rf-line); }
.cb-ask .muted { font-size: 12.5px; }

.cb-people { display: flex; flex-direction: column; gap: 6px; }
.cb-person { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--rf-field); flex-wrap: wrap; }
.cb-person.ask { box-shadow: inset 0 0 0 1.5px var(--rf-warn); }
.cb-person > i { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; font-style: normal; font-weight: 800; font-size: 13px; color: #fff; background: #5c6b94; }
.cb-person > i.host { background: var(--co-accent); }
.cb-person b { display: block; font-size: 13px; }
.cb-person small { display: block; font-size: 11.5px; color: var(--rf-faint); }
.cb-person.ask small { color: var(--rf-warn); font-weight: 700; }
.cb-acts { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cb-acts .cb-sel { width: 130px; }
.cb-acts .input { height: 32px; padding-top: 4px; padding-bottom: 4px; font-size: 12.5px; }
.cb-level { font-size: 12px; font-weight: 700; color: var(--rf-dim); }
.cb-none { margin: 4px 0 0; font-size: 12.5px; }

.cb-wait { display: flex; align-items: center; gap: 18px; }
.cb-wait h3 { margin: 0 0 4px; font-size: 16px; }
.cb-wait p { margin: 0; }
.cb-spin { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 3px solid var(--rf-tool); border-top-color: var(--co-accent); animation: cb-spin 0.9s linear infinite; }
@keyframes cb-spin { to { transform: rotate(360deg); } }

.cb-banner { display: flex; align-items: center; gap: 8px; padding: 7px 24px; font-size: 12.5px; font-weight: 600; color: #fff; background: #1e7a4a; }
.cb-banner.warn { background: #9a5a00; }
.cb-banner span { flex: 1; }
.cb-banner button { padding: 3px 10px; border-radius: 6px; border: 0; font: inherit; font-size: 12px; color: #fff; background: rgba(255, 255, 255, 0.18); cursor: pointer; }
.cb-banner button:hover { background: rgba(255, 255, 255, 0.3); }

@media (max-width: 900px) {
  .cb-levels { grid-template-columns: minmax(0, 1fr); }
}
@media print {
  .cb-banner { display: none !important; }
}
.cb-me { max-width: 360px; margin: 2px 0 12px; }

/* The Schedulo account: who is signed in, at the top of Collaborate */
.cb-account { display: flex; align-items: center; gap: 10px; padding: 10px 14px; margin-bottom: 12px; border-radius: 12px; background: var(--rf-field); box-shadow: inset 0 0 0 1px var(--rf-line); font-size: 13px; color: var(--rf-dim); }
.cb-account b { color: var(--rf-text); }
.cb-account .grow { flex: 1; min-width: 0; }
.cb-code.small b { font-size: 12.5px; letter-spacing: 0; word-break: break-all; }
.cb-row.wrap { flex-wrap: wrap; align-items: flex-end; }
.cb-row.wrap .field { max-width: 170px; }
.cb-links { margin-top: 12px; display: grid; gap: 6px; }

/* a cloud project open: its name in the title bar */
.co-cloud-name { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
