/* ═══════════════════════════════════════════
   PHONE MOCKUPS: built from the Calm slate tokens so they look like
   screenshots of the app. Every value shown is an example, never real data.
   Each mockup is role="img" with an aria-label; nothing is shown only here.
   Needs css/shared.css for the tokens.
   ═══════════════════════════════════════════ */

.phone-wrap {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}

.phone {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px 20px 0;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--outline);
  border-radius: 44px;
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
}
.phone p { max-width: none; }

/* Status bar: the time alone, and a plain island */
.ph-bar {
  position: relative;
  display: flex;
  align-items: center;
  height: 28px;
  padding-left: 8px;
}
.ph-time { font-size: 14px; font-weight: 600; color: var(--text); }
.ph-island {
  position: absolute;
  left: 50%;
  top: 0;
  width: 88px;
  height: 26px;
  transform: translateX(-50%);
  border-radius: var(--r-pill);
  background: var(--card);
}

/* Labels, dates and meta lines */
.ph-date { font-size: 13px; line-height: 1.3; color: var(--muted); }
.ph-title {
  margin-top: -8px;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.ph-label { font-size: 13px; line-height: 1.3; font-weight: 600; color: var(--muted); }
.ph-meta { font-size: 13px; line-height: 1.3; color: var(--muted); }

/* The coach row: an accent "M", then "Melde · Your coach" */
.ph-coach { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--secondary); }
.ph-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 14px;
  font-weight: 700;
}

/* Status pill: always carries its word */
.ph-status-row { display: flex; align-items: flex-start; gap: 10px; }
.ph-status-row p { padding-top: 3px; font-size: 13px; line-height: 1.4; color: var(--secondary); }
.ph-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--green-tint);
  border: 1px solid var(--green-edge);
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}
.ph-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

/* The brief */
.ph-headline {
  font-size: 28px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.ph-headline-block { display: flex; flex-direction: column; gap: 6px; }

/* Today's session: the one featured card on the screen */
.ph-session {
  padding: 16px 18px;
  background: var(--session-bg);
  border: 1px solid var(--accent-edge);
  border-radius: var(--r-card);
}
.ph-session-title {
  margin-top: 4px;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--text);
}

/* Signals: one card, three tiles split by hairlines */
.ph-signals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
.ph-tile {
  min-width: 0;
  padding: 14px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ph-tile + .ph-tile { border-left: 1px solid var(--line); }
.ph-tile-label { font-size: 12px; line-height: 1.3; color: var(--muted); }
.ph-val { font-size: 23px; line-height: 1.15; font-weight: 600; color: var(--text); }
.ph-unit { font-size: 12px; font-weight: 400; color: var(--muted); }
.ph-spark { width: 100%; height: 18px; margin-top: 6px; color: var(--green); }

/* Context chips: grey outline, at most one in the amber "logged" state */
.ph-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ph-chip {
  padding: 5px 12px;
  border: 1px solid var(--outline);
  border-radius: var(--r-pill);
  font-size: 13px;
  line-height: 1.3;
  color: var(--secondary);
}
.ph-chip--logged {
  background: var(--amber-tint);
  border-color: var(--amber-edge);
  color: var(--amber);
  font-weight: 600;
}
.ph-block { display: flex; flex-direction: column; gap: 8px; }

/* The dock at the foot: suggestion chips and the Ask pill */
.ph-dock {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 6px -20px 0;
  padding: 12px 20px 20px;
  border-top: 1px solid var(--line);
}
.ph-ask {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 14px;
  color: var(--muted);
}
.ph-send {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
}
.ph-send svg { width: 16px; height: 16px; }

/* Coach: a message whose lead sentence is 600 weight, then short body text */
.ph-msg { display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.5; color: var(--secondary); }
.ph-lead { font-weight: 600; color: var(--text); }
.ph-fine { font-size: 12px; line-height: 1.4; color: var(--muted); }

/* Coach: the suggestion chooser, only for a real plan proposal */
.ph-options { display: flex; flex-direction: column; gap: 10px; }
.ph-option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-small);
  font-size: 15px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--text);
}
.ph-option--chosen { background: var(--accent-tint); border-color: var(--accent-edge); }
.ph-radio {
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border: 2px solid var(--muted);
  border-radius: 50%;
}
.ph-option--chosen .ph-radio { border-color: var(--accent); background: var(--accent); }
.ph-option--chosen .ph-radio::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--on-accent);
}
.ph-tag { display: block; font-size: 12px; font-weight: 600; color: var(--link); }

/* Under each mockup */
.mockup-caption {
  margin: 16px auto 0;
  text-align: center;
  font-size: 15px;
  line-height: 1.4;
  color: var(--secondary);
}
.mockup-note {
  margin: 4px auto 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}
