/* The check-in's steps (shared/steps.js), on the phone and in the start page's preview: everything inside .cstep, so the start page's
   own names (the screen's .count) never meet these. The card, the scale and the buttons as the phone had them; the words' fields after
   the sketch (docs/mocks/checkin-ways.html). */
.cstep { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cstep .card { background: var(--surface); border-radius: 22px; padding: 16px 18px; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 6px; text-align: center; }
.cstep .card h1, .cstep .card h2 { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 700; text-wrap: balance; overflow-wrap: anywhere; }
.cstep .card p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.cstep .card:focus { outline: none; }
.cstep .steps { display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--muted); }
.cstep .bars { display: inline-flex; gap: 5px; }
.cstep .bars i { width: 22px; height: 5px; border-radius: 3px; background: var(--well); }
.cstep .bars i.on { background: var(--ink); }
.cstep .actions { position: sticky; bottom: 0; z-index: 2; display: flex; gap: 8px; padding-block: 10px max(12px, env(safe-area-inset-bottom, 0px)); background: var(--bg); margin-top: auto; }
.cstep .actions .btn { font-size: 17px; min-height: 52px; flex: 1; }
.cstep .actions .btn.ghost { flex: none; }
.cstep .scale { display: flex; justify-content: space-between; align-items: center; position: relative; margin: 18px 4px 6px; }
.cstep .scale::before { content: ""; position: absolute; left: 14px; right: 14px; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; background: var(--well); }
.cstep .scale button { position: relative; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--edge); font-size: 17px; font-weight: 700; color: var(--muted); }
.cstep .scale button[aria-pressed="true"] { background: var(--ink); color: var(--bg); box-shadow: none; }
.cstep .ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin: 0 2px; }
.cstep .wfield, .cstep textarea { font: inherit; font-size: 17px; color: var(--ink); background: var(--surface); border: 1.5px solid var(--edge); border-radius: 12px; padding: 12px; width: 100%; min-width: 0; box-sizing: border-box; }
.cstep .wfield:focus, .cstep textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.cstep textarea { display: block; resize: none; line-height: 1.4; padding-bottom: 30px; }
.cstep .area { position: relative; }
.cstep .area .count { position: absolute; right: 12px; bottom: 8px; font-size: 12px; color: var(--muted); }
.cstep .inrow { display: flex; gap: 8px; }
.cstep .add { flex: none; font: inherit; font-weight: 700; min-height: 50px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.cstep .wchips { display: flex; flex-wrap: wrap; gap: 6px; }
.cstep .wchips button { font: inherit; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 12px; border-radius: 999px; border: 0; background: var(--well); color: var(--ink); max-width: 100%; overflow-wrap: anywhere; text-align: start; }
.cstep .wchips b { font-weight: 400; color: var(--muted); }
.cstep .pnote { margin: 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.cstep .pnote.full { color: var(--ink); font-weight: 600; }
/* The place (docs/mocks/checkin-ways.html, section 5): a field to search in with the countries and cities found under it, the place
   chosen as a chip, and a word when the city search isn't answering. */
.cstep .combo { position: relative; }
.cstep .found { list-style: none; margin: 6px 0 0; padding: 4px; background: var(--surface); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line), 0 6px 18px rgba(0, 0, 0, .08); display: grid; gap: 2px; }
.cstep .found[hidden] { display: none; }
.cstep .found li { padding: 10px 12px; border-radius: 9px; font-size: 16px; cursor: pointer; display: flex; flex-wrap: wrap; gap: 0 8px; align-items: baseline; overflow-wrap: anywhere; }
.cstep .found li span { font-size: 13px; color: var(--muted); }
.cstep .found li.on, .cstep .found li:hover { background: var(--well); }
.cstep .found li.none { cursor: default; color: var(--muted); font-size: 14px; }
.cstep .found li.none:hover { background: none; }
.cstep .pnote.warn { color: var(--ink); }
.cstep .pnote.warn[hidden] { display: none; }
