/* Buttons and button-like links. */

.wy-primary, .wy-secondary {
  min-height: 47px; padding: 13px 21px; border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; justify-content: center; gap: 25px;
  text-decoration: none; font-size: 14px; font-weight: 600; line-height: 1.5;
}
.wy-primary { background: var(--ink); color: var(--paper); }
.wy-primary:hover:not(:disabled) { background: var(--primary-hover); color: #fff; }
.wy-primary span, .wy-secondary span { font-size: 18px; line-height: 1; }
.wy-secondary { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.wy-secondary:hover:not(:disabled) { background: var(--soft); }

.wy-quiet { font-size: 14px; padding: 12px 0; display: flex; gap: 16px; align-items: center; font-weight: 500; text-decoration: none; }
.wy-quiet:hover { text-decoration: underline; text-underline-offset: 5px; }

.wy-text-button {
  font-size: 14px; min-height: 42px; padding: 10px 0; color: inherit;
  text-decoration: underline; text-underline-offset: 4px; display: inline-flex; align-items: center; gap: 12px;
}

.wy-close {
  width: 39px; height: 39px; min-width: 39px; border: 1px solid var(--line); border-radius: 50%;
  font-size: 26px; line-height: 1; display: inline-flex; justify-content: center; align-items: center; background: var(--surface);
}
.wy-close:hover { background: var(--soft); }

.wy-save-form { display: flex; margin: 0; }
.wy-save-button { font-size: 13px; min-height: 36px; padding: 5px 0; display: inline-flex; align-items: center; gap: 5px; color: var(--muted); }
.wy-save-button[aria-pressed=true] { color: var(--ink); font-weight: 600; }

.wy-quick-view { font-size: 13px; border-bottom: 1px solid var(--line); padding: 7px 0; min-height: 36px; text-decoration: none; display: inline-flex; align-items: center; }
.wy-quick-view:hover { border-color: var(--ink); }

@media (max-width: 650px) {
  .wy-save-button, .wy-quick-view { min-height: 40px; font-size: 12px; }
}
