/* ===== Barre du haut ===== */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px 0;
}

.topbar__title {
  font-size: 19px;
  font-weight: 600;
}

.topbar__brand {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-style: italic;
}

.round {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(28, 26, 24, 0.06);
  color: var(--ink);
}

.round--glass {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
  backdrop-filter: blur(8px);
}

.round--sm {
  width: 44px;
  height: 44px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.7);
}

/* ===== Titres ===== */
.hero-title {
  padding: 26px 26px 0;
  font-size: 44px;
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.crumbs {
  padding: 12px 26px 0;
  color: var(--muted);
  font-size: 14px;
}

.label-dot {
  padding: 0 26px;
  font-family: var(--dot);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink-soft);
}

/* ===== Chiffres clés ===== */
.kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 10px 18px 0;
  text-align: center;
}

.kpi__label {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 8px;
}

.kpi__value {
  font-size: 46px;
}

.kpi__unit {
  font-family: var(--font);
  font-size: 13px;
  color: var(--muted);
  margin-left: 2px;
}

.kpi--warn .kpi__value {
  color: #b5562e;
}

/* ===== Carte verre ===== */
.glass {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  color: #fff;
  box-shadow: var(--shadow-card);
  isolation: isolate;
}

.glass__bg {
  position: absolute;
  inset: -20px;
  z-index: -2;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  object-fit: cover;
  filter: blur(14px) saturate(1.1);
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 45%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    inset 0 -14px 30px -18px rgba(255, 255, 255, 0.55);
}

.glass--dark-text {
  color: var(--ink);
}

.pill {
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.glass--dark-text .pill {
  background: rgba(255, 255, 255, 0.35);
}

.tick {
  display: flex;
  align-items: center;
  gap: 0;
}

.tick i {
  width: 30px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
}

.tick b {
  width: 22px;
  height: 5px;
  border-radius: 2px;
  background: #fff;
}

.glass--dark-text .tick i {
  background: rgba(28, 26, 24, 0.3);
}

.glass--dark-text .tick b {
  background: var(--ink);
}

/* ===== Blob chromé ===== */
.blob {
  position: relative;
  z-index: 2;
  width: 300px;
  height: 300px;
  margin: 12px auto 0;
  filter: drop-shadow(0 26px 30px rgba(30, 25, 22, 0.35));
}

.blob__shape {
  position: absolute;
  inset: 0;
  clip-path: url(#flower);
}

.blob__shape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
}

.blob__shape::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 52%, rgba(40, 38, 40, 0.55) 0%, rgba(40, 38, 40, 0.25) 42%, transparent 70%);
}

.blob__rings {
  position: absolute;
  inset: 52px;
  border-radius: 50%;
  border: 1.5px dotted rgba(255, 255, 255, 0.35);
}

.blob__rings::before {
  content: "";
  position: absolute;
  inset: 22px -34px;
  border-radius: 50%;
  border: 1.5px dotted rgba(255, 255, 255, 0.22);
}

.blob__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.blob__title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 14px;
}

.blob__value {
  font-size: 58px;
}

.blob__sub {
  margin-top: 12px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8);
}

.progress {
  position: relative;
  width: 150px;
  height: 2px;
  margin-top: 22px;
  background: rgba(255, 255, 255, 0.3);
}

.progress__fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: #fff;
}

.progress__mark {
  position: absolute;
  top: -11px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #fff;
  transform: translateX(-50%);
}

/* ===== Barre de navigation ===== */
.nav {
  position: fixed;
  left: 50%;
  bottom: calc(18px + var(--safe-bottom));
  z-index: 40;
  width: calc(100% - 28px);
  max-width: 412px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 22px 0 0;
  border-radius: 40px;
  background: rgba(250, 248, 245, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 34px -14px rgba(60, 40, 25, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: var(--ink-soft);
}

.nav__scan {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #f3fbb0, var(--lime) 55%, var(--lime-deep));
  color: var(--ink);
  box-shadow: 0 10px 22px -8px rgba(160, 180, 40, 0.7);
}

.nav__active {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 24px -10px rgba(60, 40, 25, 0.35);
}

.nav .icon {
  width: 26px;
  height: 26px;
}

/* ===== Écran 1 : tableau de bord ===== */
.alert-card {
  position: relative;
  display: block;
  margin: -34px 22px 0;
  padding: 50px 22px 22px 26px;
  border-radius: 34px;
  background: rgba(226, 221, 214, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.alert-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.alert-card__title {
  font-size: 19px;
  font-weight: 500;
}

.alert-card__title b {
  font-weight: 700;
}

.alert-card__line {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 13.5px;
}

.alert-card__line .tag {
  display: inline-block;
  padding: 2px 8px;
  margin-right: 6px;
  border-radius: 8px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 600;
  font-size: 12px;
}

/* ===== Écran 2 : catalogue ===== */
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 22px 0;
  height: 50px;
  padding: 0 18px;
  border-radius: 25px;
  background: rgba(28, 26, 24, 0.05);
  color: var(--muted);
  font-size: 15px;
}

.chips {
  display: flex;
  gap: 8px;
  padding: 14px 22px 0;
}

.chip {
  padding: 9px 14px;
  white-space: nowrap;
  border-radius: 20px;
  background: rgba(28, 26, 24, 0.05);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}

.chip--on {
  background: var(--ink);
  color: var(--bg);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 14px 0;
}

.product {
  padding: 20px 20px 16px;
  height: 150px;
}

.product__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.thumb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6);
}

.product__name {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.15;
}

.product__family {
  font-size: 12.5px;
  opacity: 0.75;
}

.badge {
  margin-left: auto;
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 12px;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.25);
}

.badge--alert {
  background: var(--lime);
  color: var(--ink);
}

.product__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 14px;
  padding: 10px 18px 12px;
}

.product__k {
  font-size: 12px;
  opacity: 0.65;
  margin-bottom: 5px;
}

.product__v {
  font-size: 25px;
}

.product__row .right {
  text-align: right;
}

/* ===== Écran 3 : fiche produit ===== */
.cover {
  position: relative;
  height: 320px;
  margin: 0;
  border-radius: 0 0 40px 40px;
  overflow: hidden;
}

.cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 35%, transparent 60%, rgba(0, 0, 0, 0.45));
}

.cover__bar {
  position: absolute;
  top: var(--safe-top);
  left: 0;
  right: 0;
  z-index: 2;
  color: #fff;
}

.cover__bar .status {
  color: #fff;
}

.cover__info {
  position: absolute;
  left: 26px;
  bottom: 22px;
  z-index: 2;
  color: #fff;
}

.cover__name {
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.cover__ref {
  margin-top: 4px;
  font-size: 13.5px;
  opacity: 0.85;
}

.forecast {
  margin: 14px 14px 0;
  padding: 18px 20px 16px;
  height: 236px;
}

.forecast__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.forecast__k {
  font-size: 14px;
  opacity: 0.8;
}

.forecast__v {
  margin-top: 6px;
  font-size: 30px;
}

.chart {
  display: block;
  width: 100%;
  height: 120px;
  margin-top: 10px;
  overflow: visible;
}

.chart__axis {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  opacity: 0.7;
}

.actions {
  display: flex;
  gap: 10px;
  margin: 14px 14px 0;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 64px;
  border-radius: 32px;
  font-size: 16px;
  font-weight: 600;
}

.btn--lime {
  flex: 1;
  background: radial-gradient(circle at 30% 20%, #f4fbb8, var(--lime) 55%, var(--lime-deep));
  box-shadow: 0 12px 24px -12px rgba(150, 170, 30, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.btn--ghost {
  width: 64px;
  background: rgba(28, 26, 24, 0.06);
}

/* ===== Écran 4 : réception ===== */
.viewer {
  position: relative;
  height: 330px;
  margin: 18px 14px 0;
  border-radius: 36px;
  overflow: hidden;
  background:
    radial-gradient(300px 220px at 50% 40%, rgba(120, 105, 90, 0.5), transparent 70%),
    #1d1b19;
}

.paper {
  position: absolute;
  left: 50%;
  top: 30px;
  width: 236px;
  padding: 18px 18px 16px;
  transform: translateX(-50%) rotate(-3deg);
  background: #f7f4ee;
  color: #2a2724;
  font-family: "Courier New", monospace;
  font-size: 9.5px;
  line-height: 1.5;
  box-shadow: 0 30px 40px -20px rgba(0, 0, 0, 0.7);
}

.paper__h {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 11px;
  border-bottom: 1px solid #2a2724;
  padding-bottom: 6px;
  margin-bottom: 8px;
}

.paper__row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #b9b2a8;
  padding: 4px 0;
}

.paper__sign {
  margin-top: 14px;
  font-style: italic;
  opacity: 0.7;
}

.frame {
  position: absolute;
  inset: 22px 40px 40px;
}

.frame span {
  position: absolute;
  width: 34px;
  height: 34px;
  border: 3px solid var(--lime);
}

.frame span:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 12px 0 0 0; }
.frame span:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 12px 0 0; }
.frame span:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 12px; }
.frame span:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 12px 0; }

.scanline {
  position: absolute;
  left: 40px;
  right: 40px;
  top: 150px;
  height: 2px;
  background: var(--lime);
  box-shadow: 0 0 24px 6px rgba(227, 242, 123, 0.55);
}

.viewer__tag {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  padding: 7px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}

.read {
  margin: 12px 14px 0;
  padding: 18px 20px 8px;
}

.read__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.read__title {
  font-size: 17px;
  font-weight: 600;
}

.read__meta {
  font-size: 12px;
  opacity: 0.7;
}

.line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.line__check {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.line__check .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2.4;
}

.line__name {
  font-size: 14px;
  font-weight: 500;
}

.line__ref {
  font-size: 11.5px;
  opacity: 0.7;
}

.line__qty {
  margin-left: auto;
  font-size: 19px;
}

/* ===== Écran 5 : alertes ===== */
.alerts {
  margin: 18px 22px 0;
}

.alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.alert__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c4642f;
  box-shadow: 0 0 0 4px rgba(196, 100, 47, 0.15);
}

.alert__dot--soft {
  background: #d9a441;
  box-shadow: 0 0 0 4px rgba(217, 164, 65, 0.18);
}

.alert__name {
  font-size: 15px;
  font-weight: 600;
}

.alert__why {
  font-size: 12.5px;
  color: var(--muted);
}

.alert__days {
  margin-left: auto;
  font-size: 22px;
  text-align: right;
}

.alert__days small {
  display: block;
  margin-top: 3px;
  font-family: var(--font);
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

.po {
  margin: 18px 14px 0;
  padding: 20px 22px 18px;
}

.po__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.po__title {
  font-size: 20px;
  font-weight: 500;
}

.po__sup {
  margin-top: 3px;
  font-size: 13px;
  opacity: 0.8;
}

.po__lines {
  margin-top: 14px;
  padding: 6px 16px;
}

.po__line {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  font-size: 13.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.po__line:last-child {
  border-bottom: 0;
}

.po__line .dot {
  font-size: 15px;
}

.po__total {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 14px;
}

.po__total .product__v {
  font-size: 30px;
}

.po__by {
  margin-top: 12px;
  font-size: 12px;
  opacity: 0.75;
}

/* ===== Écran 6 : rapport ===== */
.report {
  margin: 18px 14px 0;
  padding: 22px 22px 20px;
}

.report__k {
  font-size: 14px;
  opacity: 0.8;
}

.report__v {
  margin-top: 8px;
  font-size: 54px;
}

.report__delta {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 11px;
  border-radius: 12px;
  background: var(--lime);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
}

.report__text {
  margin-top: 16px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.5;
}

.minis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 12px 14px 0;
}

.mini {
  padding: 14px 12px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 1px 0 #fff, 0 10px 20px -14px rgba(60, 40, 25, 0.35);
}

.mini__k {
  font-size: 12px;
  color: var(--muted);
}

.mini__v {
  margin-top: 8px;
  font-size: 30px;
}

.mini__s {
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--ink-soft);
  line-height: 1.3;
}

.sent {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 26px 0;
  color: var(--muted);
  font-size: 12.5px;
}

/* Cartes roses : teinte saturée pour lire le texte blanc */
.glass--rose::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(176, 52, 128, 0.78), rgba(214, 92, 140, 0.55) 55%, rgba(226, 140, 150, 0.45));
  mix-blend-mode: multiply;
}

.dot .gap {
  display: inline-block;
  width: 0.22em;
}

.moves {
  margin: 18px 26px 0;
}

.moves__title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.move {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-soft);
}

.move .dot {
  font-size: 18px;
  color: var(--ink);
}


/* ===================== Ajouts app ===================== */
.topbar {
  padding-top: 18px;
}

.round {
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease;
}

.round:active,
.btn:active,
.nav a:active {
  transform: scale(0.94);
}

.round.is-spinning .icon {
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Accueil */
.home .hero-title {
  padding-top: 18px;
  font-size: 42px;
}

.home .label-dot {
  margin-top: 18px;
}

.home .blob {
  width: 280px;
  height: 280px;
  margin-top: 10px;
}

.home .blob__value {
  font-size: 54px;
}

.alert-card {
  background: rgba(226, 221, 214, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.alert-card--ok .tag {
  background: rgba(255, 255, 255, 0.8);
}

/* Navigation */
.nav a {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  position: relative;
}

.nav a.nav__scan,
.nav a.nav__active {
  width: 76px;
  height: 76px;
}

.nav__badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--warn);
  box-shadow: 0 0 0 2px #faf8f5;
}

/* Catalogue */
.search {
  color: var(--ink);
}

.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
}

.search input::placeholder {
  color: var(--muted);
}

.chips {
  overflow-x: auto;
  scrollbar-width: none;
}

.chip {
  cursor: pointer;
}

.stack {
  padding-bottom: 10px;
}

.product {
  display: block;
  height: auto;
}

.badge--dormant {
  background: rgba(28, 26, 24, 0.55);
  color: #fff;
}

/* Fiche produit */
.cover__info {
  right: 26px;
}

.forecast {
  height: auto;
}

.forecast__empty {
  margin-top: 26px;
  font-size: 14px;
  opacity: 0.85;
}

.btn {
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.2s ease;
}

.btn[disabled] {
  opacity: 0.45;
  pointer-events: none;
}

.btn--dark {
  flex: 1;
  background: var(--ink);
  color: var(--bg);
}

.move__when {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
}

/* Feuille (vente) */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(28, 26, 24, 0.35);
  backdrop-filter: blur(4px);
}

.sheet__panel {
  width: 100%;
  max-width: 440px;
  padding: 26px 22px calc(26px + var(--safe-bottom));
  border-radius: 34px 34px 0 0;
  background: var(--bg);
  animation: sheetUp 0.3s ease both;
}

@keyframes sheetUp {
  from {
    transform: translateY(100%);
  }
}

.sheet__title {
  font-size: 22px;
  font-weight: 500;
}

.sheet__sub {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.field {
  display: block;
  margin-top: 18px;
}

.field span {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--ink-soft);
}

.field input,
.field select {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  border: 0;
  border-radius: 20px;
  background: rgba(28, 26, 24, 0.06);
  outline: 0;
  font-size: 17px;
}

.sheet .actions {
  margin: 22px 0 0;
}

/* Réception */
.viewer {
  height: 360px;
}

.viewer__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.viewer__prompt {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 30px;
  color: #fff;
  text-align: center;
}

.viewer__prompt p {
  font-size: 15px;
  line-height: 1.45;
  opacity: 0.85;
}

.viewer__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 24px;
  border-radius: 28px;
  background: radial-gradient(circle at 30% 20%, #f4fbb8, var(--lime) 55%, var(--lime-deep));
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
}

.viewer__alt {
  color: #fff;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.8;
}

.scanline {
  animation: scan 1.8s ease-in-out infinite alternate;
}

@keyframes scan {
  from {
    top: 40px;
  }
  to {
    top: 300px;
  }
}

.line input {
  width: 74px;
  height: 38px;
  margin-left: auto;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  font-family: var(--dot);
  font-weight: 800;
  font-size: 18px;
  text-align: center;
  outline: 0;
}

.line__check--off {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.line--off {
  opacity: 0.55;
}

.line__unit {
  font-size: 12px;
  opacity: 0.8;
  width: 30px;
}

.conf {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.25);
  font-size: 10.5px;
}

/* Alertes / bons */
.alerts a {
  display: flex;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 26px 26px 0;
  font-size: 15px;
  font-weight: 600;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 14px;
  background: rgba(28, 26, 24, 0.06);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.link-btn .icon {
  width: 15px;
  height: 15px;
}

.po + .actions {
  margin-bottom: 4px;
}

.po--sent {
  opacity: 0.92;
}

.status-pill {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.25);
  font-size: 12px;
  font-weight: 700;
}

.status-pill--draft {
  background: var(--lime);
  color: var(--ink);
}

/* Rapport */
.report__text {
  white-space: pre-line;
}

.mini__v {
  font-size: 26px;
}

.mini__v.is-text {
  font-size: 19px;
  white-space: nowrap;
}

/* Bandeau démo */
.demo-note {
  margin: 30px 26px 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

.sent .icon {
  width: 16px;
  height: 16px;
}

.moves {
  padding-bottom: 10px;
}
