/* ============ Page ============ */
html {
  scrollbar-gutter: stable;
}
html.sheet-on {
  overflow: hidden;
}
:root {
  --bar-h: 132px; /* hauteur de l'en-tête collant, mesurée en JS */
  --gutter: 24px;
  --ok: #1a673f;
  --late: #c2552d;
}
@media (max-width: 760px) {
  :root {
    --gutter: 16px;
  }
}

.page {
  min-height: 100dvh;
}

.num {
  font-variant-numeric: tabular-nums;
}
.muted {
  color: var(--ink-2);
}
.dash {
  color: var(--ink-4);
}
.strong {
  font-weight: 650;
  color: var(--ink);
}
.small {
  font-size: var(--fs-xs);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.spin {
  display: inline-grid;
}
.spin .i {
  animation: spin 0.9s linear infinite;
}

.demo-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px var(--gutter);
  background: #fff6dd;
  color: #6b4e00;
  font-size: var(--fs-sm);
  font-weight: 500;
  text-align: center;
}
.demo-banner .i {
  width: 15px;
  height: 15px;
}

/* ============ En-tête ============ */
.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px var(--gutter) 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin-right: 12px;
}
.brand-logo {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.brand-t {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  white-space: nowrap;
}
.brand-t b {
  font-size: var(--fs-md);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand-t small {
  font-size: var(--fs-xs);
  color: var(--ink-3);
}

.search {
  position: relative;
  flex: 1;
  max-width: 440px;
  height: 38px;
  border-radius: 999px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
  transition:
    background-color 0.2s,
    box-shadow 0.2s;
}
.search:focus-within {
  background: #fff;
  box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 3px rgba(91, 107, 245, 0.13);
}
.search-i {
  position: absolute;
  top: 50%;
  left: 13px;
  color: var(--ink-3);
  transform: translateY(-50%);
  pointer-events: none;
}
.search-i .i {
  width: 16px;
  height: 16px;
}
.search-in {
  width: 100%;
  height: 100%;
  padding: 0 36px 0 38px;
  border: 0;
  background: transparent;
  font-size: var(--fs-md);
  font-weight: 500;
  outline: none;
}
.search-in::placeholder {
  color: var(--ink-3);
}
.search-x {
  position: absolute;
  top: 50%;
  right: 5px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--ink-2);
  transform: translateY(-50%);
  cursor: pointer;
}
.search-x .i {
  width: 14px;
  height: 14px;
}
.search:has(.search-in:placeholder-shown) .search-x {
  display: none;
}

.new-btn {
  margin-left: auto;
}
.avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--spring-snappy-ms) var(--spring-snappy);
}
.avatar:active {
  transform: scale(0.9);
}

/* vues : les pages de l'ancienne interface */
.views {
  display: flex;
  gap: 4px;
  padding: 0 calc(var(--gutter) - 6px);
  overflow-x: auto;
  scrollbar-width: none;
}
.views::-webkit-scrollbar {
  display: none;
}
.view {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 8px 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-size: var(--fs);
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s,
    transform var(--spring-snappy-ms) var(--spring-snappy);
}
.view:hover {
  background: var(--surface-2);
}
.view:active {
  transform: scale(0.96);
}
.view.on {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 6px 14px -8px rgba(19, 22, 29, 0.6);
}
.view.on .count {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--ink-3);
  font-size: var(--fs-2xs);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.filters {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px var(--gutter) 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.filters::-webkit-scrollbar {
  display: none;
}
.seg-camp {
  flex: none;
  width: 250px;
}
.fchips {
  display: flex;
  flex: none;
  gap: 6px;
}
.fchip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 8px 0 12px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition:
    box-shadow 0.2s,
    color 0.2s,
    transform var(--spring-snappy-ms) var(--spring-snappy);
}
.fchip:not(:has(.count)) {
  padding-right: 12px;
}
.fchip:active {
  transform: scale(0.95);
}
.fchip.on {
  color: var(--ink);
  box-shadow: inset 0 0 0 1.6px var(--ink);
}

/* ============ Pastilles ============ */
.pill {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
}
.calls {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.sms {
  display: inline-grid;
  color: var(--ink-3);
}
.sms .i {
  width: 16px;
  height: 16px;
}
.tel {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}
.tel:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.when.late {
  color: var(--late);
  font-weight: 600;
}

/* ============ Tableau (ordinateur) ============ */
.list {
  padding: 0 var(--gutter) 96px;
}
.tbl {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: var(--fs);
}
.tbl thead th {
  position: sticky;
  top: var(--bar-h);
  z-index: 2;
  height: 36px;
  padding: 0 10px;
  background: #fff;
  box-shadow: inset 0 -1px 0 var(--line-2);
  color: var(--ink-3);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tbl thead th:first-child {
  padding-left: 18px;
}
.tbl .ctr {
  text-align: center;
}

.g-month td {
  padding: 30px 0 8px 4px;
  border: 0;
}
.tbl tbody:first-of-type .g-month td {
  padding-top: 18px;
}
.g-day td {
  padding: 14px 0 7px 4px;
  box-shadow: inset 0 -1px 0 var(--line-2);
}
.g-in {
  display: flex;
  align-items: center;
  gap: 8px;
}
.g-month .g-in {
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.g-day .g-in {
  font-size: var(--fs-md);
  font-weight: 650;
  color: var(--ink);
}
.g-day.today .g-in {
  color: var(--accent);
}

.tbl .row td {
  position: relative;
  height: 46px;
  padding: 0 10px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
  transition: background-color 0.15s;
}
/* couleur du statut : un trait à gauche de la ligne (comme la couleur de ligne d'Airtable) */
.tbl .row td:first-child {
  padding-left: 18px;
}
.tbl .row td:first-child::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 4px;
  width: 4px;
  border-radius: 4px;
  background: var(--st);
}
.tbl .row {
  cursor: pointer;
  outline: none;
}
.tbl .row:hover td {
  background: var(--surface-2);
}
.tbl .row.sel td {
  background: var(--accent-soft);
}
.tbl .row:focus-visible td {
  background: var(--surface-2);
  box-shadow: inset 0 1px 0 var(--accent), inset 0 -1px 0 var(--accent);
}
.name {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.name-t {
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink);
  font-weight: 600;
}
.c-email .muted,
.c-paiement_infos .muted {
  color: var(--ink-3);
}

/* ============ Cartes (téléphone) ============ */
.list:has(.cards) {
  padding: 0 0 96px;
}
.cg-month {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 24px var(--gutter) 4px;
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.cg-day {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px var(--gutter) 7px;
  font-size: var(--fs-md);
  font-weight: 650;
}
.cg-box {
  margin: 0 12px;
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sh-card), 0 0 0 1px var(--line);
  overflow: hidden;
}
.card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 12px 20px;
  cursor: pointer;
  outline: none;
  transition: background-color 0.15s;
}
.card + .card {
  box-shadow: inset 0 1px 0 var(--line);
}
.card::before {
  content: '';
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 8px;
  width: 4px;
  border-radius: 4px;
  background: var(--st);
}
.card:active,
.card.sel {
  background: var(--surface-2);
}
.card-main {
  flex: 1;
  min-width: 0;
}
.card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.card-name {
  overflow: hidden;
  font-size: var(--fs-md);
  font-weight: 650;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.card-time {
  flex: none;
  color: var(--ink-3);
  font-size: var(--fs-sm);
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
}
.card-calls {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ink-3);
  font-size: var(--fs-xs);
}
.card-note {
  display: -webkit-box;
  margin-top: 6px;
  overflow: hidden;
  color: var(--ink-2);
  font-size: var(--fs-sm);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.card-call {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--ink);
  transition:
    transform var(--spring-snappy-ms) var(--spring-snappy),
    background-color 0.2s;
}
.card-call:active {
  transform: scale(0.88);
}
.card-call .i {
  width: 17px;
  height: 17px;
}

/* ============ Vide ============ */
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 84px 16px;
  text-align: center;
}
.empty-i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--ink-3);
}
.empty-i .i {
  width: 21px;
  height: 21px;
}
.empty b {
  font-size: var(--fs-lg);
  font-weight: 650;
}
.empty small {
  max-width: 380px;
  color: var(--ink-3);
  font-size: var(--fs-sm);
}

/* ============ Menu du compte ============ */
.menu {
  position: fixed;
  z-index: 60;
  min-width: 230px;
  padding: 6px;
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--sh-3), 0 0 0 1px var(--line);
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  transition:
    opacity 0.2s,
    transform var(--spring-ms) var(--spring);
}
.menu.in {
  opacity: 1;
  transform: none;
}
.menu-who {
  display: flex;
  flex-direction: column;
  margin-bottom: 4px;
  padding: 8px 12px 10px;
  box-shadow: inset 0 -1px 0 var(--line);
}
.menu-who b {
  font-size: var(--fs-md);
  font-weight: 650;
}
.menu-who small {
  color: var(--ink-3);
  font-size: var(--fs-xs);
}
.menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--r);
  background: transparent;
  font-size: var(--fs-md);
  font-weight: 500;
  cursor: pointer;
}
.menu-item:hover {
  background: var(--surface-2);
}
.menu-item .i {
  width: 16px;
  height: 16px;
  color: var(--ink-2);
}

/* ============ Fiche ============ */
.sheet-layer {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}
.sheet-layer.open {
  pointer-events: auto;
}
.sheet-veil {
  position: absolute;
  inset: 0;
  background: rgba(19, 22, 29, 0.16);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.sheet-layer.open .sheet-veil {
  opacity: 1;
}
.sheet {
  position: absolute;
  top: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  width: min(480px, calc(100% - 24px));
  overflow: hidden;
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--sh-3), 0 0 0 1px var(--line);
  outline: none;
  transform: translateX(calc(100% + 24px));
  transition: transform var(--spring-soft-ms) var(--spring-soft);
}
.sheet-layer.open .sheet {
  transform: none;
}
.sheet-layer.instant .sheet,
.sheet-layer.instant .sheet-veil {
  transition: none;
}
@media (max-width: 760px) {
  .sheet {
    top: calc(var(--safe-t) + 32px);
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    transform: translateY(100%);
  }
}

.sh-head {
  position: relative;
  z-index: 1;
  display: flex;
  flex: none;
  align-items: center;
  gap: 12px;
  padding: 16px 12px 12px 18px;
  background: #fff;
}
.sh-head::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  height: 20px;
  background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.sh-head.scrolled::after {
  opacity: 1;
}
.sh-av {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg, var(--surface-3));
  color: var(--ink, var(--ink));
  font-size: var(--fs-md);
  font-weight: 700;
  transition:
    background-color 0.3s,
    color 0.3s;
}
.sh-av.new {
  background: var(--surface-3);
  color: var(--ink);
}
.sh-av .i {
  width: 20px;
  height: 20px;
}
.sh-head-t {
  flex: 1;
  min-width: 0;
}
.sh-title {
  overflow: hidden;
  font-size: var(--fs-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.sh-sub {
  overflow: hidden;
  color: var(--ink-3);
  font-size: var(--fs-sm);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.sh-save {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 5px;
  color: var(--ink-3);
  font-size: var(--fs-xs);
  font-weight: 500;
  white-space: nowrap;
}
.sh-save .i {
  width: 13px;
  height: 13px;
}
.sh-save.done {
  color: var(--ok);
}
.sh-save.fail {
  color: var(--danger);
}

.sh-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px 18px calc(var(--safe-b) + 28px);
}
.sh-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 4px;
}
.sh-act {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--spring-snappy-ms) var(--spring-snappy);
}
.sh-act:active {
  transform: scale(0.95);
}
.sh-act .i {
  width: 15px;
  height: 15px;
}
.sh-act.primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 16px -9px rgba(19, 22, 29, 0.6);
}

.sh-sec {
  margin-top: 16px;
  padding-top: 16px;
  box-shadow: inset 0 1px 0 var(--line);
}
.sh-sec-t {
  margin-bottom: 10px;
  color: var(--ink-3);
  font-size: var(--fs-xs);
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.fld {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  margin-bottom: 12px;
}
.fld-l {
  color: var(--ink-2);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.fld.inline {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.input.ta {
  height: auto;
  min-height: 42px;
  padding: 10px 13px;
  overflow: hidden;
  line-height: 1.45;
  resize: none;
}
.dt {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dt .input {
  flex: 1;
  min-width: 0;
}
.quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.qchip {
  height: 28px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--spring-snappy-ms) var(--spring-snappy);
}
.qchip:active {
  transform: scale(0.94);
}

.st-groups {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.st-group-t {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-3);
  font-size: var(--fs-xs);
  font-weight: 600;
}
.st-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.st-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 12px 0 10px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s,
    box-shadow 0.2s,
    transform var(--spring-snappy-ms) var(--spring-snappy);
}
.st-chip::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.st-chip:active {
  transform: scale(0.94);
}
.st-chip.on {
  background: var(--bg);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ink) 30%, transparent);
}
.st-chip.on::before {
  background: var(--ink);
}

.calls-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.calls.lg {
  height: 28px;
  margin: 0 4px;
  padding: 0 11px;
  font-size: var(--fs-sm);
}
.seg.none .seg-thumb {
  opacity: 0;
}
.ro {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: var(--r);
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: var(--fs-sm);
  white-space: pre-wrap;
}
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.links .i {
  width: 14px;
  height: 14px;
}
.sh-hist {
  margin-top: 22px;
  color: var(--ink-3);
  font-size: var(--fs-xs);
  line-height: 1.6;
}
.sh-submit {
  padding-top: 12px;
}
.form-err {
  margin: 2px 0 6px;
  color: var(--danger);
  font-size: var(--fs-sm);
  font-weight: 500;
}
.form-err.ok {
  color: var(--ok);
}

/* ============ Connexion ============ */
.auth {
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: 24px 16px;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.35s var(--ease),
    transform var(--spring-soft-ms) var(--spring-soft);
}
.auth.in {
  opacity: 1;
  transform: none;
}
.auth-card {
  width: min(380px, 100%);
  padding: 32px 24px 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--sh-2), 0 0 0 1px var(--line);
  text-align: center;
}
.auth-logo {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 16px;
}
.auth-title {
  font-size: var(--fs-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.auth-sub {
  margin-bottom: 22px;
  color: var(--ink-3);
  font-size: var(--fs-sm);
}
.auth-text {
  margin-bottom: 16px;
  color: var(--ink-2);
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}
.auth-form .btn-block {
  margin-top: 4px;
}
.auth-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  text-align: left;
}
.auth-note .i {
  width: 17px;
  height: 17px;
}
.auth-note.warn {
  background: var(--danger-soft);
  color: var(--danger);
}
.link-btn {
  align-self: center;
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.boot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 100dvh;
  color: var(--ink-3);
}
.boot .i {
  width: 22px;
  height: 22px;
}

/* ============ Téléphone ============ */
@media (max-width: 760px) {
  .bar-row {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px var(--gutter) 10px;
  }
  .brand {
    margin-right: 0;
  }
  .search {
    order: 5;
    flex-basis: 100%;
    max-width: none;
  }
  .new-btn {
    width: 34px;
    height: 34px;
    padding: 0;
  }
  .new-t {
    display: none;
  }
  .views {
    padding: 0 calc(var(--gutter) - 4px);
  }
  .filters {
    gap: 10px;
    padding: 8px var(--gutter) 10px;
  }
  .seg-camp {
    width: 220px;
  }
  .demo-long {
    display: none;
  }
  /* actions de la fiche : sur une ligne, à parts égales */
  .sh-actions {
    display: grid;
    grid-auto-columns: 1fr;
    grid-auto-flow: column;
    gap: 6px;
  }
  .sh-act {
    justify-content: center;
    padding: 0 8px;
  }
}
