.together-topbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; align-items: center; }
.together-topbar h1 { min-width: 0; font-size: 17px; grid-column: 1; }
.together-topbar .auth-status { grid-column: 1; grid-row: 2; gap: 6px; font-size: 11px; }
.together-topbar #openShareModal { grid-column: 2; grid-row: 1 / span 2; width: auto; flex: 0 0 auto; padding: 10px 13px; font-size: 12px; }
.share-form { display: grid; gap: 12px; min-width: min(80vw, 360px); }
.share-form label { display: grid; gap: 6px; color: var(--color-muted); font-size: 13px; }
.share-form select, .inline-form input {
  width: 100%;
  padding: 12px;
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  background: #FBFAFF;
  font: inherit;
}
.shared-template { padding: 12px 0 20px; border-bottom: 1px solid var(--color-border); }
.shared-template:last-child { border-bottom: 0; }
.shared-template h2 { margin: 0; font-size: 17px; }
.shared-template ul { padding-left: 20px; }
.shared-template .btn-primary { display: block; text-align: center; }
.shared-template-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.empty-shares { padding: 18px 4px; text-align: center; }
.empty-shares h2 { font-size: 17px; }
.share-modal {
  width: min(92vw, 430px);
  border: 0;
  border-radius: var(--radius);
  padding: 22px;
  color: var(--color-text);
  box-shadow: 0 20px 60px rgba(45, 42, 61, 0.22);
}
.share-modal::backdrop { background: rgba(45, 42, 61, 0.42); }
.modal-heading { display: flex; align-items: center; justify-content: space-between; }
.modal-heading h2 { margin: 0; font-size: 18px; }
.modal-heading .btn-icon { font-size: 20px; }