.entry-actions {
  display: flex;
  align-items: center;
  gap: .7rem 1.1rem;
  flex-wrap: wrap;
  margin-top: 1.35rem;
}

.entry-actions .button, #runner-access-form .button {
  margin: 0;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  touch-action: manipulation;
}

.entry-public {
  min-height: 2.75rem;
  display: inline-flex;
  gap: .4rem;
  align-items: center;
  color: #e1d9ff;
  font-size: .9rem;
  font-weight: 670;
}

.entry-public:hover { text-decoration: underline; }

#runner-access-dialog {
  width: min(29rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  color: #f3f2fa;
  background: #1e1d30;
  border: 1px solid #5c507b;
  border-radius: 1rem;
  padding: clamp(1rem, 4vw, 1.75rem);
  box-shadow: 0 1.2rem 5rem #08071399;
}

#runner-access-dialog::backdrop { background: #0b0a16c7; }

.access-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .6rem;
}

.access-heading h2 {
  font-size: clamp(1.35rem, 5vw, 1.85rem);
  letter-spacing: -.035em;
}

.access-close {
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  background: #292638;
  color: #f3f2fa;
  border-radius: .55rem;
  cursor: pointer;
  font: 1.6rem/1 system-ui, sans-serif;
}

#runner-access-help, #runner-access-status {
  color: #d3cde8;
  font-size: .92rem;
  line-height: 1.5;
  margin-top: .55rem;
  overflow-wrap: anywhere;
}

#runner-access-form label {
  display: block;
  font-weight: 650;
  margin: 1rem 0 .4rem;
}

#runner-key {
  width: 100%;
  max-width: 100%;
  padding: .38rem;
  color: #f3f2fa;
  background: #131322;
  border: 1px dashed #6b5c89;
  border-radius: .55rem;
  font: .85rem/1.4 system-ui, sans-serif;
}

#runner-key::file-selector-button {
  padding: .7rem .7rem;
  margin-inline-end: .5rem;
  color: #111023;
  border: 0;
  border-radius: .35rem;
  background: #d2c1ff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

#runner-access-status { min-height: 1.4em; margin-bottom: .6rem; }

#runner-access-form .button:disabled {
  opacity: .55;
  cursor: default;
}

.entry-actions :focus-visible, #runner-access-dialog :focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}
