/* Sharing a crew plan and joining one (Crew card, Share sheet, join page).
   Built only from the design system's own values. */

/* The "Get your crew on this plan" card at the top of Crew. */
.share-card{display:flex;flex-direction:column;gap:var(--small-gap,12px)}
.share-card .share-intro{margin:0}
.share-card .share-intro>.icon{width:40px;height:40px}
.share-card .share-intro h3{font-size:17px}
.share-card .primary .action-art,
.share-actions .primary .action-art{width:22px;height:22px;flex-basis:22px}

/* "Shared · up to date" under the card. */
.live-note{display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.5;color:var(--muted);margin:calc(-1 * var(--card-gap,12px) + 10px) 2px 0}
.live-dot{width:8px;height:8px;border-radius:50%;flex:none;background:var(--muted)}
.live-dot--saved{background:var(--green)}
.live-dot--saving{background:var(--yellow)}
.live-dot--offline{background:var(--warning)}

/* Crew rows: tap a person to edit or remove them. */
.crew-member>.row .chev{margin-left:auto}

/* The plan link in the Share sheet. */
.link-box{width:100%;border:0;border-radius:16px;background:var(--field);color:var(--text);font-size:14px;padding:14px 16px;text-overflow:ellipsis}
.share-actions{display:flex;flex-direction:column;gap:10px;margin-top:16px}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* The join page. */
.join-page{padding-top:8px}
.join-page .title-row h1{margin:7px 0}
.join-summary{display:flex;flex-wrap:wrap;gap:4px 14px}
.member-row{width:100%;text-align:left}
.member-row .chev{margin-left:auto}
.join-page .two-actions .secondary{min-height:52px}
.join-page>.text-btn{margin-top:12px}

/* "+2" after the first three faces in the header. */
#app .avatar.avatar--more{background:var(--field);background-image:none;box-shadow:none;text-shadow:none;color:var(--text);font-size:11px;font-weight:600;letter-spacing:-.2px}

/* Setup's last step: bring your crew. */
.setup-crew .crew-step-art{width:64px;height:64px;margin:12px 0 4px}
.setup-crew .step-stack{display:flex;flex-direction:column;gap:10px;margin-top:8px}
.setup-crew .step-stack .primary .action-art{width:22px;height:22px;flex-basis:22px}

/* One color per person, the same on every phone (shared-plan.js PERSON_COLORS).
   Same glossy style as before; eight hues far enough apart to tell at a glance. */
#app .person-c0,#dialog-root .person-c0,#app #cheer-experience .person-c0{background:radial-gradient(ellipse at 28% 18%,#91d6ff 0%,#408cf1 35%,#3657bd 76%,#243c86 100%);text-shadow:0 1px 2px #12387c}
#app .person-c1,#dialog-root .person-c1,#app #cheer-experience .person-c1{background:radial-gradient(ellipse at 28% 18%,#ffd29a 0%,#ff9a3d 36%,#d9661c 76%,#8f3d0d 100%);text-shadow:0 1px 2px #6b2c08}
#app .person-c2,#dialog-root .person-c2,#app #cheer-experience .person-c2{background:radial-gradient(ellipse at 28% 18%,#b5f5cc 0%,#3cc87a 36%,#1f8a4f 76%,#146c35 100%);text-shadow:0 1px 2px #0d4527}
#app .person-c3,#dialog-root .person-c3,#app #cheer-experience .person-c3{background:radial-gradient(ellipse at 28% 18%,#ffc8e0 0%,#f06aa4 36%,#c2407c 76%,#7d2450 100%);text-shadow:0 1px 2px #5c1a3a}
#app .person-c4,#dialog-root .person-c4,#app #cheer-experience .person-c4{background:radial-gradient(ellipse at 28% 18%,#d9bdff 0%,#9a78e9 36%,#6950b5 76%,#48357e 100%);text-shadow:0 1px 2px #482d7a}
#app .person-c5,#dialog-root .person-c5,#app #cheer-experience .person-c5{background:radial-gradient(ellipse at 28% 18%,#b2f5f2 0%,#2ec4c0 36%,#1b8f8c 76%,#0f5c5a 100%);text-shadow:0 1px 2px #0a4442}
#app .person-c6,#dialog-root .person-c6,#app #cheer-experience .person-c6{background:radial-gradient(ellipse at 28% 18%,#fff2a8 0%,#f2c230 36%,#c9971a 76%,#7f5e0b 100%);text-shadow:0 1px 2px #5c4306}
#app .person-c7,#dialog-root .person-c7,#app #cheer-experience .person-c7{background:radial-gradient(ellipse at 28% 18%,#ffb8ae 0%,#f0604f 36%,#c23a2c 76%,#7d1f16 100%);text-shadow:0 1px 2px #5c150f}

/* Rows in a card line up with the card's other content, not the card edge. */
#app .row-group,#dialog-root .row-group{padding-inline:var(--card-padding)}
#app .crew-member .row{padding-inline:0}

/* Bubbles in rows sit where the row starts; only the header stack overlaps them. */
#app .row .avatar,#dialog-root .row .avatar{margin-left:0}

/* Cheer planner: runner tiles are all the same size, two to a row. */
#app .gc-mobile .gc-runner-chips{display:grid;grid-template-columns:1fr 1fr}
#app .gc-mobile .gc-runner-chip{min-width:0}
#app .gc-mobile .gc-runner-chip strong,#app .gc-mobile .gc-runner-chip small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#app .gc-mobile .gc-runner-chip>span:last-child{min-width:0}
