/* flashycopy — clair par défaut : fond gris très clair, panneaux blancs, texte noir, filets fins.
   Le sombre (graphite, pas noir pur) est un choix explicite de l'utilisateur : data-theme="dark"
   posé par theme.js. On ne suit PAS le réglage du système : décision du 21/10/2026, le noir
   intégral manquait de contraste. */
@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  /* Contraste relevé le 24/10/2026 à la demande de l'utilisateur (gris et filets plus marqués). */
  --bg: #f0f0f3;       /* fond de page */
  --surface: #ffffff;  /* panneaux : saisie, liste, dialogues, champs */
  --fg: #0b0b0c;
  --on-fg: #ffffff;    /* texte sur un fond --fg (bouton principal, toast) */
  --muted: #58585d;
  --faint: #8a8a8f;
  --line: #d6d6db;
  --soft: #ebebef;     /* survol, remplissage discret */
  --danger: #b3261e;
  --radius: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #1c1c1e;
  --surface: #2c2c2e;
  --fg: #f5f5f7;
  --on-fg: #1c1c1e;
  --muted: #b4b4b9;
  --faint: #85858a;
  --line: #48484b;
  --soft: #3a3a3c;
  --danger: #ff6b61;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; background: var(--bg); color: var(--fg);
  font: 500 15px/1.55 "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: -0.005em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

svg.i { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.mark { width: 22px; height: 22px; flex: none; }
.mark .m-back { fill: none; stroke: currentColor; stroke-width: 4; }
.mark .m-front { fill: currentColor; fill-rule: evenodd; }
.wordmark { font-weight: 700; letter-spacing: -0.035em; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border: 1px solid transparent; border-radius: var(--radius);
  background: none; font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: background .15s, border-color .15s, opacity .15s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--fg); color: var(--on-fg); }
.btn-primary:hover { opacity: .85; }
.btn-primary:disabled { opacity: .2; cursor: default; }
.btn-ghost { border-color: var(--line); }
.btn-ghost:hover { background: var(--soft); }
.btn-square { width: 40px; padding: 0; }
.icon-btn {
  display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0;
  border: 0; border-radius: 9px; background: none; color: var(--fg); cursor: pointer;
  text-decoration: none; transition: background .15s, color .15s;
}
.icon-btn:hover { background: var(--soft); }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn.danger:hover { color: var(--danger); }
/* Armé (1er appui) : pastille rouge « Supprimer ? », le 2e appui confirme. */
.icon-btn.armed { width: auto; gap: 6px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 99px; background: var(--danger); color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; }
.icon-btn.armed:hover { color: #fff; }
.link {
  padding: 0; border: 0; background: none; font-weight: 600; cursor: pointer;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.link-muted { color: var(--muted); font-weight: 500; }
.link-muted.armed { color: var(--danger); font-weight: 700; }

/* ---------- Connexion ---------- */
.auth {
  min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 40px; padding: calc(48px + env(safe-area-inset-top)) 16px 48px;
}
.auth-brand { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.mark-lg { width: 56px; height: 56px; }
.auth h1 { margin: 0; font-size: 32px; line-height: 1; }
.tagline { margin: 0; color: var(--muted); }
.form { width: 100%; max-width: 340px; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 13px; font-weight: 600; }
.field small { color: var(--muted); font-size: 12.5px; }
.field input {
  height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); outline: none; transition: border-color .15s;
}
.field input:focus { border-color: var(--fg); }
.form .btn-primary { height: 46px; margin-top: 4px; }
.form-error { margin: 0; color: var(--danger); font-size: 13.5px; }
.form-alt { margin: 4px 0 0; color: var(--muted); font-size: 14px; text-align: center; }

/* ---------- Barre du haut ---------- */
.topbar {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand .wordmark { font-size: 17px; }
.top-actions { display: flex; align-items: center; gap: 6px; flex: none; min-width: 0; }
.space-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; max-width: 200px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 99px; background: var(--surface); color: var(--fg);
  font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s;
}
.space-btn:hover { background: var(--soft); }
.space-btn svg { width: 18px; height: 18px; }
.space-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.content { max-width: 720px; margin: 0 auto; padding: 24px 16px calc(64px + env(safe-area-inset-bottom)); }

/* ---------- Saisie ---------- */
.composer { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; transition: border-color .15s; }
.composer:focus-within { border-color: var(--fg); }
.composer textarea {
  display: block; width: 100%; min-height: 56px; max-height: 40vh; padding: 16px 16px 6px;
  border: 0; outline: none; resize: none; background: none; line-height: 1.5;
}
.composer textarea::placeholder { color: var(--faint); }
.composer-bar { display: flex; align-items: center; gap: 8px; padding: 8px; }
.spacer { flex: 1; }
.opt-toggle {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 8px 0 10px;
  border: 1px solid transparent; border-radius: var(--radius); background: none;
  color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer;
}
.opt-toggle svg { width: 16px; height: 16px; }
.opt-toggle:hover, .opt-toggle[aria-expanded="true"] { color: var(--fg); background: var(--soft); }
/* Une limite de téléchargements est active pour le prochain envoi : ça doit se voir. */
.opt-toggle.active { color: var(--fg); border-color: var(--fg); }
.composer-options {
  display: flex; flex-wrap: wrap; gap: 12px 20px; margin: 6px 16px 0; padding: 12px 0 4px;
  border-top: 1px solid var(--line);
}
.opt { display: flex; flex-direction: column; gap: 4px; min-width: 150px; flex: 1; }
.opt > span { color: var(--muted); font-size: 12px; font-weight: 600; }
.opt select {
  height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); font-size: 14px; cursor: pointer;
}
.opt select:focus { border-color: var(--fg); outline: none; }
@media (max-width: 520px) {
  .composer-bar #btn-paste { width: 40px; padding: 0; }
  .composer-bar #btn-paste span { display: none; }
  .opt-toggle .i:first-child { display: none; }
  .space-btn { max-width: 140px; }
}

/* ---------- Occupation ---------- */
.usage { display: flex; align-items: center; gap: 12px; flex: 1; max-width: 320px; color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.usage-bar { flex: 1; height: 2px; overflow: hidden; border-radius: 2px; background: var(--line); }
.usage-bar i { display: block; width: var(--p, 0%); height: 100%; background: var(--fg); transition: width .3s var(--ease); }

/* ---------- Envois en cours ---------- */
/* Envois et éléments : regroupés dans un panneau blanc, séparés par des filets (liste « groupée »). */
.uploads, .items { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 16px; }
.uploads:empty, .items:empty { display: none; }
.uploads { display: flex; flex-direction: column; margin-top: 20px; }
.up { padding: 12px 0; border-top: 1px solid var(--line); }
.up:first-child { border-top: 0; }
.up-head { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.up-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.up-stat { color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.up .icon-btn { width: 30px; height: 30px; }
.up .icon-btn svg { width: 16px; height: 16px; }
.up-bar { height: 2px; margin-top: 10px; overflow: hidden; border-radius: 2px; background: var(--line); }
.up-bar i { display: block; width: var(--p, 0%); height: 100%; background: var(--fg); transition: width .25s linear; }
.up.err .up-stat { color: var(--danger); }

/* ---------- Éléments ---------- */
.items { margin-top: 20px; }
.item { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.item:first-child { border-top: 0; }
.item.new { animation: arrive .3s var(--ease); }
@keyframes arrive { from { opacity: 0; transform: translateY(-4px); } }
.item-ic {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: 9px; background: var(--bg); color: var(--muted);
}
.item-ic svg { width: 18px; height: 18px; }
.item-body { flex: 1; min-width: 0; }
.item-text {
  margin: 0; max-height: 9.3em; overflow: hidden; font-size: 14.5px;
  white-space: pre-wrap; overflow-wrap: anywhere;
}
.item-text.open { max-height: none; }
.item-text a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.item-name { font-weight: 600; overflow-wrap: anywhere; }
.item-meta { display: flex; flex-wrap: wrap; gap: 0 10px; margin-top: 4px; color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.item-more { margin-top: 6px; font-size: 13px; }
a.item-name { display: block; color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--line); }
a.item-name:hover { text-decoration-color: currentColor; }
.item-preview-link { display: block; width: fit-content; }
.item-preview { display: block; max-width: 100%; max-height: 280px; margin-top: 10px; border: 1px solid var(--line); border-radius: 8px; }
.item-actions { display: flex; gap: 2px; align-self: flex-start; flex: none; }

.empty { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 380px; margin: 48px auto 0; text-align: center; }
.empty-title { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.foot { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 28px; padding: 0 2px; font-size: 13px; }
.foot-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.foot-actions:not(:has(> :not([hidden]))) { display: none; }
.btn.danger:hover { color: var(--danger); }
.btn.armed, .btn.armed:hover { border-color: var(--danger); background: var(--danger); color: #fff; font-weight: 700; }

/* ---------- Dépôt ---------- */
.drop {
  position: fixed; inset: 0; z-index: 50; display: grid; padding: 16px; pointer-events: none;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.drop-inner {
  display: grid; place-items: center; border: 1.5px dashed var(--fg); border-radius: 18px;
  font-size: 20px; font-weight: 700; letter-spacing: -0.02em;
}

/* ---------- Dialogues ---------- */
.dialog {
  width: min(380px, calc(100vw - 32px)); padding: 20px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--surface); color: var(--fg);
}
.dialog::backdrop { background: rgb(0 0 0 / .4); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dialog-head h2 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.dialog-text { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.devices + .dialog-text { margin: 12px 0 0; font-size: 12.5px; }
.qr { aspect-ratio: 1; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.qr svg { display: block; width: 100%; height: 100%; }
.qr.expired { opacity: .15; }
.reveal {
  max-height: 50vh; margin: 0 0 16px; padding: 12px 14px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--bg);
  font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere;
}
.item-locked { margin: 0; color: var(--muted); font-size: 14px; }
.dialog-meta { margin: 12px 0; color: var(--muted); font-size: 12.5px; text-align: center; font-variant-numeric: tabular-nums; }
.dialog-actions { display: flex; justify-content: center; }
.devices { margin: 0; padding: 0; list-style: none; }
.devices li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.devices li:last-child { border-bottom: 1px solid var(--line); }
.dev-body { flex: 1; min-width: 0; }
.dev-name { font-size: 14px; font-weight: 600; }
.dev-meta { color: var(--muted); font-size: 12.5px; }
.badge { padding: 2px 9px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-size: 11.5px; font-weight: 700; white-space: nowrap; }

/* ---------- Dialogue « Partager par lien » ---------- */
.dialog-wide { width: min(460px, calc(100vw - 32px)); }
.share-new { display: flex; flex-wrap: wrap; gap: 12px; }
.share-new .btn { flex-basis: 100%; height: 44px; }
.opt-full { flex-basis: 100%; }
.opt > label { color: var(--muted); font-size: 12px; font-weight: 600; }
.pass-row { display: flex; gap: 8px; }
.pass-row input { flex: 1; min-width: 0; font-variant-numeric: tabular-nums; }
.share-new .pass-row .btn { flex: none; height: 38px; } /* sinon « .share-new .btn » l'étire sur toute la ligne */
.opt input {
  height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); font-size: 14px; outline: none;
}
.opt input:focus { border-color: var(--fg); }
.opt input::placeholder { color: var(--faint); }
.share-pass-note { margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; }
.share-pass-note strong { font-weight: 700; overflow-wrap: anywhere; }
.share-result { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.share-link { display: flex; gap: 8px; }
.share-link input {
  flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--bg); font-size: 13px; outline: none;
}
.share-link input:focus { border-color: var(--fg); }
.qr-sm { width: 168px; align-self: center; }
.dialog-sub { margin: 22px 0 4px; color: var(--muted); font-size: 12.5px; font-weight: 700; }
@media (max-width: 520px) {
  .share-link .btn { width: 40px; padding: 0; }
  .share-link .btn span { display: none; }
}

/* ---------- Page publique d'un lien (share.html) ---------- */
.share {
  min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 28px; padding: calc(40px + env(safe-area-inset-top)) 16px 40px;
}
.share-brand { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.share-card {
  width: 100%; max-width: 440px; display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 32px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); text-align: center;
}
.share-card h1 { margin: 0; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.share-card form { margin: 0; }
.share-form { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 300px; text-align: left; }
.share-form .btn { width: 100%; }
.share-card .btn { height: 46px; padding: 0 26px; text-decoration: none; }
.share-card .reveal { width: 100%; margin: 0; text-align: left; }
.share-ic { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--muted); }
.share-ic svg { width: 22px; height: 22px; }
.share-muted { margin: 0; color: var(--muted); font-size: 14px; }
.share-once { margin: 0; font-size: 14px; font-weight: 600; }
.share-meta { display: flex; flex-direction: column; gap: 2px; margin: 4px 0 0; color: var(--muted); font-size: 12.5px; }
.share-foot { margin: 0; color: var(--faint); font-size: 12.5px; }

/* ---------- Toast ---------- */
.toast {
  inset: auto; margin: 0; border: 0; /* neutralise le style par défaut d'un popover */
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 60;
  max-width: calc(100vw - 32px); padding: 10px 16px; border-radius: 99px;
  background: var(--fg); color: var(--on-fg); font-size: 13.5px; font-weight: 600;
  opacity: 0; pointer-events: none; transform: translate(-50%, 12px);
  transition: opacity .2s, transform .25s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Téléchargements : panneau en bas d'écran, chaque ligne reste jusqu'à ce qu'on la ferme. */
.downloads {
  inset: auto 16px calc(16px + env(safe-area-inset-bottom)) auto; margin: 0; /* neutralise le style par défaut d'un popover */
  position: fixed; z-index: 55; width: min(400px, calc(100vw - 32px)); max-height: 50vh; overflow: auto;
  padding: 0 16px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface); color: var(--fg); box-shadow: 0 8px 30px rgb(0 0 0 / .14);
}
.downloads .act { height: 30px; padding: 0 10px; }
.dl-note { margin: 4px 0 0; color: var(--muted); font-size: 12.5px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Le focus va au dialogue lui-même à l'ouverture (attribut autofocus) : pas de cadre autour. */
.dialog:focus { outline: none; }

/* ---------- Ajouts de la revue UX (21/10/2026) ---------- */
/* Action principale d'un élément : icône + libellé. */
.act {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--fg);
  font-size: 13px; font-weight: 600; white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background .15s;
}
.act:hover { background: var(--soft); }
.act svg { width: 16px; height: 16px; }
.meta-link {
  padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px;
}
.meta-link:hover { color: var(--fg); }
.item-actions { align-items: center; }

/* Mobile : les actions passent SOUS le contenu, qui garde toute la largeur. */
@media (max-width: 520px) {
  .item { flex-wrap: wrap; row-gap: 10px; }
  .item-body { flex-basis: calc(100% - 54px); }
  .item-actions { flex-basis: 100%; padding-left: 54px; }
  .foot { flex-direction: column-reverse; align-items: stretch; gap: 14px; text-align: center; }
  .usage { max-width: none; }
  /* Fichier copiable = 4 actions : « Copier » se réduit à son icône, sinon la corbeille déborde. */
  .act-copy { aspect-ratio: 1; padding: 0; justify-content: center; }
  .act-copy span { display: none; }
}
@media (max-width: 380px) {
  .item-actions:has(.act-copy) .act { aspect-ratio: 1; padding: 0; justify-content: center; }
  .item-actions:has(.act-copy) .act span { display: none; }
}
/* Écran tactile : cibles de 44 px. */
@media (pointer: coarse) {
  .icon-btn, .act { height: 44px; }
  .icon-btn { width: 44px; }
  .icon-btn.armed { width: auto; }
  .space-btn { height: 40px; }
}

/* Boutons */
.btn-block { width: 100%; }
.btn-sm { height: 32px; padding: 0 10px; font-size: 13px; }
.btn-sm svg { width: 15px; height: 15px; }
.badge-new { border-color: var(--fg); color: var(--fg); }

/* Connexion : afficher / masquer le mot de passe, invitation */
.field > label { font-size: 13px; font-weight: 600; }
.pass-field { position: relative; display: flex; }
.pass-field input { flex: 1; min-width: 0; padding-right: 84px; }
.pass-toggle {
  position: absolute; top: 50%; right: 6px; transform: translateY(-50%); height: 34px; padding: 0 10px;
  border: 0; border-radius: 8px; background: none; color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer;
}
.pass-toggle:hover { color: var(--fg); background: var(--soft); }

/* Dialogue « Espace » */
.dlg-section + .dlg-section { margin-top: 22px; padding-top: 4px; border-top: 1px solid var(--line); }
.dlg-section > .dialog-sub:first-child { margin-top: 10px; }
.dlg-section .btn-block { margin: 6px 0 4px; height: 44px; }
.pair-panel { margin-top: 8px; }
.qr-md { width: min(260px, 100%); margin: 0 auto; }
.dialog-actions { gap: 8px; }
.dlg-foot { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); text-align: center; font-size: 13.5px; }
.invite-result { display: flex; flex-direction: column; gap: 12px; margin: 12px 0 4px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.invite-code { margin: 0; text-align: center; font-size: 22px; font-weight: 700; letter-spacing: .08em; font-variant-numeric: tabular-nums; }

/* Dialogue « Partager par lien » */
.share-actions { display: flex; gap: 8px; }
.share-actions .btn { flex: 1; height: 44px; }
.share-more { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.share-sent { margin: 0; font-size: 14px; font-weight: 600; white-space: pre-line; overflow-wrap: anywhere; }
.pass-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.share-pass-note { display: flex; flex-direction: column; gap: 6px; }
.share-pass-note small { color: var(--muted); font-size: 12px; }
.share-new .form-error { flex-basis: 100%; }
.share-actions { flex-wrap: wrap; }
.share-actions .btn { flex: 1 1 140px; min-width: 0; }
.dev-name .badge { display: inline-block; margin-left: 4px; vertical-align: 1px; }
