.work-entry-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(20px, 5vw, 32px);
  background: var(--brand-surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: none;
}

.work-entry-panel .h2 {
  font-size: clamp(28px, 7vw, 38px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.03em;
}

.work-entry-note {
  color: var(--ink-2);
  margin: 0;
}

.work-entry-panel .work-entry-primary {
  font-weight: 650;
}

.work-entry-email {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.work-entry-email summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

.work-entry-email summary::-webkit-details-marker { display: none; }
.work-entry-email summary::after {
  content: '';
  width: 7px;
  height: 7px;
  flex: none;
  margin-inline: 5px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.work-entry-email[open] summary::after { transform: rotate(-135deg); }
.work-entry-email .form { margin-top: 10px; }
.work-entry-email .auth-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 0 6px;
  color: var(--brand-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.work-entry-email .auth-links a:hover { color: var(--brand-accent-hover); }

.work-entry-panel :is(input, button, a, summary):focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 3px;
}

@media (max-width: 400px) {
  .work-entry-panel .work-entry-primary { padding-inline: 10px; }
}

/* Подтверждение входа из Mini App: чей аккаунт, крупно */
.handoff-who { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--brand-tint); text-align: start; margin: 4px 0 12px; }
.handoff-ava { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 18px; color: var(--brand-ink); background: var(--brand-gradient); }
.handoff-who b { display: block; font-size: 17px; }
.handoff-who small { display: block; font-size: 13.5px; color: var(--ink-2); }
