/* Assembly live meeting + signature sheet */
.bulk-vote {
  margin: 0.65rem 0 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  background: color-mix(in srgb, var(--card) 92%, var(--muted) 8%);
  color: var(--ink);
}
.bulk-vote summary {
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
}
.bulk-vote__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  align-items: end;
  margin-top: 0.65rem;
}
.bulk-vote__form label {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.82rem;
}
.bulk-vote__form input[type="number"] {
  width: 4.5rem;
}

.asm-fact {
  margin: 0.15rem 0 0.35rem;
  font-weight: 600;
}

/* Покана и протокол: .stack-form--floating (36rem) wins over --flush and leaves
   an empty right half on the desktop card. Scope the override to this form. */
.stack-form.asm-meeting-details-form {
  max-width: none;
  width: 100%;
  min-width: 0;
}
.asm-notify-ask .hero-actions {
  margin-top: 0.85rem;
}
.asm-notify-ask .hero-actions form {
  margin: 0;
}

.signatures-sheet__head h2 { margin: 0 0 0.35rem; }
.signatures-sheet__foot { margin-top: 1.5rem; }
.signatures-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.signatures-table th,
.signatures-table td {
  border-bottom: 1px solid var(--line);
  padding: 0.65rem 0.4rem;
  text-align: left;
  vertical-align: bottom;
  color: var(--ink);
}
.signatures-table__sign {
  min-width: 10rem;
  border-bottom: 1px solid var(--ink) !important;
}

.attendance-table {
  table-layout: fixed;
}
.attendance-table .col-num { width: 8%; }
.attendance-table .col-unit { width: 16%; }
.attendance-table .col-owner { width: 28%; }
.attendance-table .col-area { width: 12%; }
.attendance-table .col-share { width: 12%; }
.attendance-table .col-sign { width: 24%; min-height: 2.4rem; }
.sheet-page-num { text-align: right; margin: 0 0 0.35rem; }
.attendance-page + .attendance-page { margin-top: 1.25rem; }

@media print {
  @page { size: A4; margin: 12mm; }
  .signatures-table__sign { height: 2.2rem; }
  .attendance-page {
    break-after: page;
    page-break-after: always;
    box-shadow: none;
    border: 0;
  }
  .attendance-page:last-child {
    break-after: auto;
    page-break-after: auto;
  }
  .attendance-table th,
  .attendance-table td {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .attendance-table tr { break-inside: avoid; page-break-inside: avoid; }
  .attendance-table thead { display: table-header-group; }
  .col-sign { height: 2.4rem; min-height: 2.4rem; }
}
