/* Evensies — strony konta na evensies.com (/l, /t, /delete-account).
 * Dokłada się do site.css (tokeny, .invite, .invite-facts, .btn…) tylko na stronach, które o to proszą
 * w nagłówku <!--meta … "styles": ["account.css"] -->; reszta strony go nie ładuje.
 * Wymiary z docs/design/makiety/2026-10-m3/INDEX.md §2.13. */

/* Kafel stanu (zamiast ikony aplikacji): 84, promień 26, brandTint, ikona 38. */
.state-icon {
  width: 84px; height: 84px; border-radius: 26px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-tint); color: var(--brand);
}
.state-icon svg { width: 38px; height: 38px; stroke-width: 1.7; }

/* Panel: karta `surface`, promień 22, wypełnienie 18 20, ikona 22 `brand`. */
.panel {
  margin-top: 12px; width: 100%; text-align: left;
  display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; align-items: start;
  padding: 18px 20px; border-radius: var(--r-xl);
  background: var(--surface); border: 1px solid var(--hairline);
}
.lead + .panel { margin-top: 32px; }
.panel > svg { width: 22px; height: 22px; margin-top: 1px; color: var(--brand); }
.panel-title { font-size: 1.0625rem; line-height: 1.5; font-weight: 600; letter-spacing: -.01em; }
.panel p { margin-top: 4px; font-size: .9375rem; line-height: 1.55; color: var(--ink-secondary); text-wrap: wrap; } /* jak na planszy G14: bez „pretty” */

/* Sklepy: jeszcze bez odnośników (M4) — to napisy, nie przyciski. */
.stores { margin-top: 14px; display: grid; gap: 10px; }
.store {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 16px; border-radius: var(--r-md);
  border: 1px solid var(--control-border);
  font-size: .9375rem; font-weight: 600; color: var(--ink);
}
.store svg { width: 20px; height: 20px; color: var(--ink-secondary); flex: none; }
.store small { font-size: .75rem; font-weight: 600; color: var(--ink-secondary); }

/* /l: telefon i komputer to dwa warianty tej samej strony. Wybiera je CSS (bez JavaScriptu):
 * komputer = główny wskaźnik dokładny z najechaniem (mysz, gładzik); telefon i tablet dotykowy = reszta. */
.l-desktop { display: none; }
@media (hover: hover) and (pointer: fine) {
  .l-phone { display: none; }
  .l-desktop { display: flex; }
}
.l-phone .invite-facts li, .l-desktop .invite-facts li { text-wrap: wrap; } /* łamanie jak na planszy G14 */

/* ---------- /delete-account (plansze G14c–G14e) ---------- */
/* Tokeny ostrzegawcze z system-projektowy.md §2.1 (danger / dangerTint) — site.css ich nie ma, bo reszta strony ich nie używa. */
:root { --danger: #A33A22; --danger-tint: #FBE8E3; }
@media (prefers-color-scheme: dark) { :root { --danger: #FF9C86; --danger-tint: #372F2A; } }

.del > section { width: 100%; display: flex; flex-direction: column; align-items: center; }
.del > section[hidden] { display: none; }
.del h1:focus, .del .msg:focus { outline: none; }          /* fokus programowy: bez ramki wokół nagłówka i komunikatu */
.del h1:focus-visible { outline: none; }
.addr { overflow-wrap: anywhere; color: var(--ink); font-weight: 600; }

/* Pole: etykieta overline nad polem 54 (kod: 60, cyfry 28/600 z odstępem 0,3 em), obrys 1,5; fokus = brand. */
.del-form { margin-top: 32px; width: 100%; display: flex; flex-direction: column; }
.field { display: flex; flex-direction: column; gap: 8px; text-align: left; }
.input {
  width: 100%; height: 54px; padding: 0 16px; border-radius: var(--r-md);
  border: 1.5px solid var(--control-border); background: var(--surface); color: var(--ink);
  font: inherit; font-size: 1.0625rem; font-weight: 500; line-height: 1.2;
  appearance: none; -webkit-appearance: none;
}
.input:focus { border-color: var(--brand); outline: none; }
.input:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: var(--r-md); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.input:disabled, .input[readonly] { background: var(--surface-sunken); border-color: var(--hairline); color: var(--ink-secondary); }
.input-code { height: 60px; text-align: center; font-size: 1.75rem; font-weight: 600; letter-spacing: .3em; text-indent: .3em; font-variant-numeric: tabular-nums; }

/* Komunikat pod polem: spokojny (bez potrząsania), ostrzeżenie w danger z ikoną; pusty nie zajmuje miejsca. */
.msg { margin-top: 0; font-size: .9375rem; line-height: 1.5; text-align: left; }
.msg:not(.is-shown) { display: block; height: 0; overflow: hidden; margin: 0; padding: 0; }
.msg.is-shown { margin-top: 12px; padding: 12px 16px; border-radius: var(--r-md); background: var(--danger-tint); color: var(--danger); font-weight: 550; }
.msg.is-shown.is-info { background: var(--surface-sunken); color: var(--ink-secondary); font-weight: 500; }
.del-form .btn { margin-top: 16px; width: 100%; }
.del-form .btn:disabled { opacity: .45; cursor: default; }
.del-form .btn:disabled:active { transform: none; }
.msg + .btn { margin-top: 16px; }
.del-form > .field + .btn { margin-top: 16px; }

/* Przyciski tekstowe: „Wyślij ponownie”, „Zmień adres”, „Anuluj” — cel ≥ 44. */
.links { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 0 20px; justify-content: center; }
.link-btn {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 6px; margin: 0;
  background: none; border: 0; font: inherit; font-size: .9375rem; font-weight: 600; color: var(--brand);
  cursor: pointer; text-decoration: none; border-radius: var(--r-sm);
}
.link-btn:hover { color: var(--brand-pressed); text-decoration: underline; text-underline-offset: .2em; }
.link-btn:disabled { cursor: default; text-decoration: none; }
.link-btn-muted, .link-btn-muted:hover { color: var(--ink-secondary); font-weight: 500; }
.del .link-btn { margin-top: 8px; }
.links .link-btn { margin-top: 0; }

/* Przycisk destrukcyjny (§2.7): tło dangerTint, tekst danger, 54, promień lg. */
.btn-danger { background: var(--danger-tint); color: var(--danger); width: 100%; margin-top: 32px; }
.btn-danger:hover { background: var(--danger-tint); color: var(--danger); filter: brightness(.97); }
.btn-danger:disabled { opacity: .6; cursor: default; }
.del-again { margin-top: 24px; }

/* Lista pozycji podglądu i „Co się stanie z danymi”. */
.del-preview { margin-top: 24px; width: 100%; text-align: left; }
.del-preview .overline, .del-info .overline { margin-top: 24px; }
.del-preview > .overline:first-child { margin-top: 0; }
.items { margin-top: 8px; display: grid; gap: 0; }
.items li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding-block: 6px; font-size: 1rem; line-height: 1.5; overflow-wrap: anywhere; }
.items li[hidden] { display: none; }
.items svg { width: 20px; height: 20px; margin-top: 2px; color: var(--ink-muted); }
.del-note { margin-top: 16px; font-size: .875rem; line-height: 1.45; color: var(--ink-secondary); text-align: center; }

/* Opis danych pod formularzem kroku 1 (wymóg Google Play: co usuwamy, co zostaje, jak długo). */
.del-info { margin-top: 40px; width: 100%; text-align: left; }
.del-info-title { font-size: 1.25rem; line-height: 1.35; font-weight: 650; letter-spacing: -.015em; }
.del-info .overline:first-of-type { margin-top: 16px; }
.del-info .del-note { text-align: left; margin-top: 20px; }
.del .invite-facts { margin-top: 32px; }
.del-form + .invite-facts, .links + .invite-facts { margin-top: 32px; }
.mini-footer nav { flex-wrap: wrap; row-gap: 4px; }
