/* Couples connections (templates/couples.html #connect-view, js/connect_hub.js): the invitee's page is the /offer/ card
   from offer.css with a few touches; the hub is the members page's calm card look with labelled fields, numbered steps
   and one row per report. Phone first spacing; every text box is 16px so an iPhone never zooms in on focus. */
.cv-card { text-align: left; max-width: 640px; margin: 18px auto 0; }
.cv-card .offer-head { margin-bottom: 14px; }
.cv-card .offer-pitch { color: var(--ink); }
.cv-card .offer-price { font-weight: 500; line-height: 1.55; }
.cv-card .offer-yes { margin-top: 4px; }
.cv-card .offer-secure { line-height: 1.55; margin-top: 14px; }
.cv-alt { text-align: center; color: var(--muted); margin: 18px 0 0; }

#connect-hub { margin: 2.6em 0 2.8em; text-align: left; }
.cc-h2 { margin: 0 0 .3em; font-size: 1.35rem; }
.cc-sub { margin: 0 0 1.1em; color: var(--muted); line-height: 1.55; }
.cc-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 24px 20px; }

.cc-steps { list-style: none; counter-reset: cc; margin: 0 0 24px; padding: 0 0 22px; border-bottom: 1px solid var(--line); display: grid; gap: 14px; }
.cc-steps li { counter-increment: cc; position: relative; padding-left: 42px; line-height: 1.5; color: var(--muted); }
.cc-steps li::before { content: counter(cc); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%;
  background: #f1edff; color: var(--accent-deep); font-weight: 700; font-size: .9rem; display: flex; align-items: center; justify-content: center; }

.cc-tools { display: grid; gap: 18px; }
.cc-field { min-width: 0; }
.cc-label { display: block; font-weight: 600; margin: 0 0 8px; }
.cc-row { display: flex; flex-wrap: wrap; gap: 10px; }
.cc-input { flex: 1 1 220px; min-width: 0; box-sizing: border-box; padding: 13px 14px; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .15s ease, box-shadow .15s ease; }
.cc-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(122, 92, 255, .15); }
.cc-link { color: var(--muted); text-overflow: ellipsis; }
.cc-btn { font-size: 1rem; padding: 13px 22px; white-space: nowrap; box-shadow: none; }
.cc-copy, .cc-quiet { background: var(--card); color: var(--accent-deep); border: 1.5px solid var(--accent); }
.cc-copy:hover, .cc-quiet:hover { background: #f1edff; color: var(--accent-deep); }
.cc-hint { margin: 8px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.cc-say { margin: 12px 0 0; padding: 11px 14px; background: #eef8f3; border-left: 3px solid var(--angel); border-radius: 10px; line-height: 1.5; }
.cc-or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; }
.cc-or::before, .cc-or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.cc-private { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; line-height: 1.55; }

.cc-h3 { font-family: "Fraunces", Georgia, serif; font-size: 1.12rem; margin: 2em 0 .7em; }
.cc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cc-person { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 10px 14px; padding: 16px 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.cc-avatar { width: 44px; height: 44px; border-radius: 50%; background: #f1edff; color: var(--accent-deep); display: flex; align-items: center;
  justify-content: center; font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 1.15rem; }
.cc-who { min-width: 0; }
.cc-who strong { display: block; font-size: 1.05rem; }
.cc-who small { display: block; color: var(--muted); font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cc-pill { justify-self: start; grid-column: 2; font-size: .8rem; font-weight: 600; padding: 5px 12px; border-radius: 99px; white-space: nowrap; }
.cc-open { background: #e7f5ee; color: var(--angel); }
.cc-wait { background: #f3efe7; color: var(--muted); }
.cc-pay { background: #fbf6ea; color: var(--gold); }
.cc-go { grid-column: 1 / -1; font-size: .95rem; padding: 12px 18px; box-shadow: none; }

@media (max-width: 699px) {
  .cc-row .cc-btn { flex: 1 1 100%; }
}
@media (min-width: 700px) {
  .cc-card { padding: 32px 34px; }
  .cc-steps { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .cc-steps li { padding: 40px 0 0; }
  .cc-steps li::before { top: 0; }
  .cc-person { grid-template-columns: 44px minmax(0, 1fr) auto auto; }
  .cc-pill { grid-column: auto; }
  .cc-go { grid-column: auto; }
}
@media (min-width: 900px) {
  .members .cc-tools { grid-template-columns: 1fr auto 1fr; align-items: start; gap: 28px; }
  .members .cc-or { flex-direction: column; align-self: stretch; padding-top: 30px; }
  .members .cc-or::before, .members .cc-or::after { border-top: none; border-left: 1px solid var(--line); }
}
