/* Sources: screen styles (owned by the builder of this screen). Use tokens only.
   One list language (iOS inset grouped): a section header with its state in words, then rows on
   --surface with hairlines inset to the text, in a container only when there are two or more;
   a single fact is a plain row on the page. States are words and line icons, never colour. */

.src-notice:not(:empty) { display: grid; gap: 8px; margin-bottom: var(--s3); }
.src-skel { margin-top: var(--s2); }

/* ---------------------------------------------------------------- the verdict (leads the screen) */
.src-hero { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; align-items: start; }
.src-hero__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sunk); color: var(--ink); margin-top: 2px; }
.src-hero__icon .ico { width: 22px; height: 22px; }
.src-hero__title { font-size: 22px; font-weight: 740; font-stretch: 104%; letter-spacing: -.015em; line-height: 1.2; padding-top: 7px; text-wrap: pretty; }
.src-hero__text { font-size: var(--t-sub); color: var(--ink-2); margin-top: 6px; text-wrap: pretty; }
.src-hero__btn { margin-top: 14px; gap: 6px; }
.src-hero__btn .ico { width: 18px; height: 18px; }
.src-hero__btn[hidden] { display: none; }

/* ---------------------------------------------------------------- sections */
.src-sec { margin-top: 36px; }
.src-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; margin-bottom: 8px; }
.src-h__t { font-size: 17px; font-weight: 700; letter-spacing: -.005em; min-width: 0; }
.src-h__state { display: inline-flex; flex: none; }
.src-lede { font-size: var(--t-sub); color: var(--ink-2); text-wrap: pretty; }
.src-note { font-size: var(--t-foot); color: var(--ink-2); margin-top: 10px; text-wrap: pretty; }
.src-note[hidden] { display: none; }
.src-h + .src-lede { margin-top: 0; }

/* rows: one grammar for every section */
.src-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 56px; padding: 11px 16px; text-align: left; width: 100%; }
.src-row__label { min-width: 0; font-size: var(--t-body); font-weight: 560; }
.src-row__sub { display: block; font-size: var(--t-foot); color: var(--ink-2); margin-top: 2px; font-weight: 440; }
.src-row__sub[hidden] { display: none; }
.src-val { font-size: var(--t-sub); font-weight: 620; color: var(--ink); text-align: right; white-space: nowrap; }
.view[data-offline] .src-val { color: var(--ink-2); }

/* two rows or more: an inset grouped list */
.src-list { border-radius: var(--r-m); background: var(--surface); box-shadow: inset 0 0 0 1px var(--hair); overflow: hidden; }
.src-list > * + *::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: 1px; background: var(--hair); }
.src-list > .src-acc + .src-acc::before { left: 56px; }
/* one fact: a plain row on the page, on the gutter, under one hairline */
.src-plain { border-top: 1px solid var(--hair); }
.src-plain > .src-row { padding-inline: 0; }
.src-lede + .src-plain, .src-lede + .src-list { margin-top: 12px; }

/* messages not recognised: the server already masked the digits */
.src-msg { display: block; padding-block: 12px; }
.src-msg__time { display: block; font-size: var(--t-micro); font-weight: 600; color: var(--ink-2); }
.src-msg__text { font-size: var(--t-sub); line-height: 1.4; margin-top: 3px; overflow-wrap: anywhere; color: var(--ink); }

/* a row that leads somewhere */
.src-link { transition: background-color var(--d-smooth) var(--e-smooth); }
.src-link__t { font-weight: 600; }
.src-plain > .src-link { border-radius: 0; }
.src-link:active { background: var(--sunk); transition-duration: var(--d-press); }
.src-link > .ico { width: 20px; height: 20px; color: var(--ink-2); flex: none; }

/* cards: tracked or not, one switch each */
.src-acc { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; column-gap: 12px; cursor: pointer; }
.src-acc__ico { color: var(--ink-2); display: grid; place-items: center; }
.src-acc__ico .ico { width: 22px; height: 22px; }
/* the verdict's text: one sentence per line; a long list of issues behind « Voir le détail » */
.src-hero__s { display: block; }
.src-hero__text[hidden], .src-hero__more[hidden] { display: none; }
.src-hero__more { display: block; margin-top: 8px; font-size: var(--t-sub); }
