/* The steps that put xread in the share sheet, with their drawn pictures: the install page and the faster
   way's sheet on a phone (src/ui/install.ts; src/ui/way-in.ts; design/preview/screens.html). */

.install { max-width: 440px; margin: 0 auto; padding: var(--space-8) var(--gutter); }
.install__title { font-family: var(--serif); font-size: 24px; line-height: 1.25; letter-spacing: -.01em; }
.install__sub { font-size: var(--text-label); line-height: var(--leading-ui); color: var(--muted); margin-block-start: 8px; }
.install__steps { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 18px; }
/* Each step: its number, its words, the step's own button, then its drawn picture under the words. */
.install__step { display: grid; grid-template-columns: 24px 1fr; gap: 4px 12px; align-items: start; }
.install__step > b { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 12px; font-weight: 600; margin-block-start: 1px; }
.install__step > span { font-size: 14px; line-height: 1.5; }
.install__step > span small { display: block; font-size: 12.5px; color: var(--faint); margin-block-start: 3px; line-height: 1.45; }
.install__step > .btn { grid-column: 2; margin-block-start: 10px; }
.install__q { font-weight: 600; background: linear-gradient(to top, color-mix(in srgb, var(--pin) 46%, transparent) 0 42%, transparent 42%); border-radius: 3px; padding: 0 2px; }
.install__note { font-size: var(--text-sub); line-height: 1.5; color: var(--muted); margin-block-start: 12px; }
.install__paste { margin-block-start: 14px; }
.install__paste summary { list-style: none; cursor: pointer; width: 100%; }
.install__paste summary::-webkit-details-marker { display: none; }
.install__paste[open] summary { display: none; }
.install__paste .paste { margin-block-start: 8px; }
.install__cannot .paste { margin-block-start: 22px; }

/* The pictures: drawn, not screenshots; the thing to tap ringed in the accent. Words are the device's, in the reader's language. */
.ipic { grid-column: 2; min-height: 118px; margin-block-start: 8px; padding: 14px 12px; border-radius: 14px; border: 1px solid var(--rule); background: var(--tint);
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; font-family: var(--sans); font-size: 13px; color: var(--ink); }
.ipic__ring { position: relative; box-shadow: 0 0 0 2px var(--accent), 0 0 0 6px color-mix(in srgb, var(--accent) 20%, transparent); }
.ipic__stack { display: flex; flex-direction: column; gap: 6px; width: 100%; align-items: stretch; }
.ipic__then { color: var(--faint); text-align: center; line-height: 1; }
.ipic__card { width: 100%; background: var(--paper); border-radius: 12px; padding: 9px 10px; box-shadow: 0 6px 18px -10px rgba(20, 24, 33, .35); }
.ipic__card--row { padding: 10px 0 10px 10px; overflow: hidden; }
.ipic__head { display: block; font-size: 11.5px; font-weight: 600; margin-block-end: 8px; }
.ipic__small { font-size: 11px; color: var(--faint); padding: 0 6px 4px; }
.ipic__ln { display: block; height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--ink) 14%, transparent); margin: 5px 0; }
.ipic__acts { display: flex; justify-content: space-between; align-items: center; color: var(--muted); margin-block-start: 10px; padding: 0 2px; }
.ipic__acts i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.ipic__acts i.ipic__ring { color: var(--ink); }
.ipic__addb { margin-block-start: 10px; height: 28px; border-radius: 9px; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 12px; font-weight: 600; white-space: nowrap; }
.ipic__apps-row { display: flex; gap: 12px; align-items: flex-start; white-space: nowrap; }
.ipic__app { flex: none; width: 34px; height: 34px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 12%, transparent); }
.ipic__app--faint { opacity: .5; }
.ipic__via { flex: none; display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 11px; }
.ipic__via i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); font-style: normal; font-weight: 700; }
.ipic__apps { display: flex; gap: 12px; justify-content: center; margin-block-end: 8px; }
.ipic__apps i { width: 30px; height: 30px; border-radius: 9px; background: color-mix(in srgb, var(--ink) 12%, transparent); }
.ipic__apps i.ipic__me { display: grid; place-items: center; background: var(--paper); color: var(--ink); }
.ipic__names { display: flex; justify-content: center; gap: 12px; font-size: 11px; color: var(--faint); margin-block-start: 6px; }
.ipic__names > * { width: 30px; text-align: center; }
.ipic__names b { color: var(--ink); font-weight: 600; }
.ipic__row { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border-radius: 8px; font-size: 12px; white-space: nowrap; }
.ipic__row--dim { color: var(--faint); }
.ipic__row--big { gap: 12px; font-size: 14px; }
.ipic__row--accent { color: var(--accent); }
.ipic__plus { flex: none; width: 18px; height: 18px; border-radius: 50%; background: #34c759; color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 13px; }
.ipic__dlg { width: 100%; background: var(--paper); border-radius: 14px; padding: 12px 14px; box-shadow: 0 6px 18px -10px rgba(20, 24, 33, .35); }
.ipic__dlg > b { font-size: 12.5px; }
.ipic__dlg--ask { text-align: center; padding: 12px 10px; }
.ipic__btns { display: flex; justify-content: flex-end; gap: 16px; margin-block-start: 12px; font-weight: 600; }
.ipic__btns span { padding: 4px 8px; border-radius: 8px; color: var(--muted); }
.ipic__btns span.ipic__accent { color: var(--accent); }
.ipic__choices { display: grid; gap: 2px; margin-block-start: 10px; font-size: 12.5px; }
.ipic__choices span { color: var(--accent); padding: 5px; border-radius: 8px; }
.ipic__res { width: 100%; background: var(--paper); border-radius: 12px; padding: 10px 12px; }
.ipic__bar { display: flex; align-items: center; gap: 6px; font-family: var(--serif); font-weight: 600; font-size: 13px; }
.ipic__tt { display: block; font-family: var(--serif); font-weight: 600; font-size: 14px; margin-block-start: 8px; color: var(--accent); }

