/* Connections (#/connections) and its activity log. Sizes and spacing are
   Connections.dc.html's; colors are tokens.css variables only. */

.v1c-cx { background: var(--bg); color: var(--ink); min-height: 100vh; min-height: 100dvh; }
.v1c-cx-inner {
  max-width: 620px; margin: 0 auto; padding: 14px 20px 48px;
  display: flex; flex-direction: column; gap: 28px;
}

.v1c-cx-header { display: flex; align-items: center; min-height: 44px; }
.v1c-root .v1c-cx-back {
  display: inline-flex; align-items: center; gap: 4px; height: 44px; margin-left: -8px; padding: 0 8px;
  color: var(--secondary); text-decoration: none; font-size: 15.5px; font-weight: 600; line-height: 1;
}
.v1c-root .v1c-cx-back:hover { color: var(--gold-text); }

.v1c-cx-intro { display: flex; flex-direction: column; gap: 10px; margin-top: -8px; }
.v1c-cx-title {
  margin: 0; font-family: var(--font-brand); font-weight: 700; font-size: 30px;
  line-height: 1.1; letter-spacing: -0.02em; color: var(--ink);
}
.v1c-cx-lede { margin: 0; font-size: 16px; line-height: 1.55; color: var(--body-2); text-wrap: pretty; }

.v1c-cx-sec { display: flex; flex-direction: column; gap: 12px; }
.v1c-cx-sechead { display: flex; align-items: baseline; justify-content: space-between; padding: 0 2px; }
.v1c-cx-sechead--stack { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px; }
.v1c-cx-count { font-size: 13px; color: var(--secondary-2); }
.v1c-cx-sechead--stack .v1c-cx-sub { font-size: 13.5px; }
.v1c-cx-sub { font-size: 13px; color: var(--secondary-2); }

.v1c-cx-card { border-radius: 22px; background: var(--card); border: 1px solid var(--card-border); overflow: hidden; }

/* Coming in */
.v1c-cx-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px; }
.v1c-cx-row + .v1c-cx-row { border-top: 1px solid var(--divider); }
.v1c-cx-mark {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px;
  font-family: var(--font-brand); font-size: 17px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.v1c-cx-rowbody { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.v1c-cx-namerow { display: flex; align-items: center; gap: 8px; min-width: 0; }
.v1c-cx-name {
  min-width: 0; font-size: 16px; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.v1c-cx-kind {
  flex-shrink: 0; display: inline-flex; align-items: center; height: 20px; padding: 0 8px;
  border-radius: 10px; background: var(--fill); color: var(--secondary);
  font-size: 11px; font-weight: 600; line-height: 1; white-space: nowrap;
}
.v1c-cx-what { font-size: 14px; line-height: 1.45; color: var(--secondary); overflow-wrap: anywhere; }
.v1c-cx-status { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--gold-text); }
.v1c-cx-addrrow { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.v1c-cx-addr { min-height: 36px; padding-top: 7px; padding-bottom: 7px; font-size: 12.5px; }
.v1c-cx-copy { height: 36px; padding: 0 14px; font-size: 13.5px; }

.v1c-cx-skelrow .v1c-cx-rowbody { gap: 10px; padding-top: 4px; }
.v1c-cx-skelmark { background: var(--fill); }

.v1c-cx-empty { align-items: flex-start; }

/* Reaching you */
.v1c-cx-outrow { display: flex; align-items: center; gap: 14px; padding: 12px 16px; min-height: 56px; }
.v1c-cx-outrow + .v1c-cx-outrow { border-top: 1px solid var(--divider); }
.v1c-cx-outtext { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.v1c-cx-outname { font-size: 15.5px; font-weight: 600; }
.v1c-cx-outdetail { font-size: 13px; color: var(--secondary-2); }
.v1c-cx-switchwait { width: 52px; height: 32px; flex-shrink: 0; border-radius: 16px; background: var(--fill); }

/* Add a connection */
.v1c-cx-add { gap: 16px; }
.v1c-cx-addh { margin: 0 2px; }
.v1c-cx-group { display: flex; flex-direction: column; gap: 10px; }
.v1c-cx-grouphead { display: flex; flex-direction: column; gap: 2px; padding: 0 2px; }
.v1c-cx-grouptitle { font-size: 15px; font-weight: 600; }
.v1c-cx-tiles { display: flex; flex-wrap: wrap; gap: 8px; }
.v1c-root .v1c-cx-tile {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 6px;
  border-radius: 22px; background: var(--card); border: 1px solid var(--field-border);
  text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap;
}
.v1c-root a.v1c-cx-tile:hover { color: var(--ink); border-color: var(--btn-border); }
.v1c-root .v1c-cx-tile--soon { background: var(--field); color: var(--secondary); }
.v1c-cx-tilemark {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 9px;
  font-family: var(--font-brand); font-size: 13px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.v1c-cx-soon { margin-left: 2px; font-size: 11px; font-weight: 600; color: var(--secondary-2); }

/* What a connection can do */
.v1c-cx-cando {
  border-radius: 24px; background: var(--inv-bg); color: var(--inv-text);
  padding: 20px; display: flex; flex-direction: column; gap: 12px;
}
.v1c-cx-candoh { color: var(--inv-label); }
.v1c-cx-candolist {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 9px; font-size: 15px; line-height: 1.4;
}
.v1c-cx-candolist li { display: flex; gap: 10px; align-items: center; }
.v1c-cx-candot { width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: var(--gold); }
.v1c-cx-candonote { margin: 0; font-size: 14px; line-height: 1.5; color: var(--inv-body); }
.v1c-root .v1c-cx-allact {
  position: relative; align-self: flex-start; display: inline-flex; align-items: center;
  height: 40px; padding: 0 16px; border-radius: 20px; border: 1px solid var(--inv-border);
  color: var(--inv-text); text-decoration: none; font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap;
}
.v1c-root .v1c-cx-allact:hover { color: var(--inv-label); }
.v1c-cx-cando :focus-visible { outline-color: var(--inv-label); }

/* Activity */
.v1c-cx-actrow { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; }
.v1c-cx-actrow + .v1c-cx-actrow { border-top: 1px solid var(--divider); }
.v1c-cx-actmark {
  width: 28px; height: 28px; flex-shrink: 0; border-radius: 8px;
  font-size: 11.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
}
.v1c-cx-actbody { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.v1c-cx-acttext { font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.v1c-cx-actwho { font-weight: 600; }
.v1c-cx-actwhen { font-size: 12.5px; color: var(--secondary-2); }
.v1c-cx-actfoot { display: flex; gap: 8px; margin-top: 7px; }
.v1c-cx-undone { font-size: 13px; font-weight: 600; color: var(--secondary-2); }
.v1c-cx-undone:focus { outline: none; }
.v1c-cx-more { align-self: center; margin-top: 12px; }
.v1c-cx-slot { display: flex; flex-direction: column; }
.v1c-cx-sec[hidden] { display: none; }
.v1c-cx-rmtitle { font-weight: 600; }
.v1c-cx-title:focus { outline: none; }

/* Source mark tones live in connect_shared.css (the Connect sheet uses them too). */

/* Account, sign out and privacy: a quiet row at the end, into the existing
   app's Settings until v1 has its own account screen. */
.v1c-cx-account { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 16px; text-decoration: none; color: var(--body); font-size: 15px; font-weight: 600; }
.v1c-cx-account:hover { color: var(--ink); }
.v1c-cx-account-chev { flex-shrink: 0; color: var(--secondary-2); }

/* Forward-to-mial: the address card under Coming in. */
.v1c-cx-inbound { margin-top: 12px; padding: 16px; }
.v1c-cx-inboundlabel { font-size: 15px; font-weight: 600; color: var(--ink); }
