/* Shared web primitives. Layout remains owned by each consuming surface. */
.ov-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 48px;
  padding: 13px 24px;
  border: 1px solid var(--ov-color-forest);
  border-radius: var(--ov-radius-small);
  background: var(--ov-color-forest);
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  transition:
    background 0.18s,
    box-shadow 0.18s;
}
.ov-button:hover {
  background: var(--ov-color-forestDeep);
  box-shadow: 0 4px 12px #03372c18;
}
.ov-button svg {
  width: 18px;
  height: 18px;
}
.ov-button.secondary {
  background: transparent;
  color: var(--ov-color-ink);
  border-color: #517366;
}
.ov-button.secondary:hover {
  background: var(--ov-color-mint);
}
.ov-button.small {
  font-size: 12px;
  padding: 11px 16px;
  min-height: 44px;
  gap: 12px;
}
.ov-button.light {
  background: var(--ov-color-paper);
  border-color: var(--ov-color-paper);
  color: var(--ov-color-ink);
}
.ov-button.light:hover {
  background: var(--ov-color-mint);
}
.ov-status {
  border-radius: var(--ov-radius-pill);
  padding: 3px 6px;
  font-size: 9px;
  white-space: nowrap;
  line-height: 1.5;
}
.ov-status.pending {
  color: var(--ov-color-pendingText);
  background: var(--ov-color-pendingSurface);
}
.ov-status.draft {
  color: var(--ov-color-draftText);
  background: var(--ov-color-draftSurface);
}
.ov-status.approved {
  color: var(--ov-color-approvedText);
  background: var(--ov-color-approvedSurface);
}
.ov-status.neutral {
  color: var(--ov-color-muted);
  background: var(--ov-color-cream);
}
.ov-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 53px;
  height: 53px;
  background: var(--ov-color-mint);
  color: var(--ov-color-forest);
  border-radius: 50%;
  flex-shrink: 0;
}
.ov-icon-circle svg {
  width: 27px;
  height: 27px;
}
.ov-field {
  display: grid;
  gap: 8px;
}
.ov-field label {
  font-weight: 500;
  font-size: 14px;
}
.ov-field input,
.ov-field textarea,
.ov-field select {
  border: 1px solid var(--ov-color-border);
  border-radius: var(--ov-radius-small);
  padding: 12px;
  background: var(--ov-color-white);
  color: var(--ov-color-ink);
  width: 100%;
  min-height: 44px;
}
.ov-field [aria-invalid="true"] {
  border-color: var(--ov-color-heldText);
}

.ov-button:focus-visible,
.ov-field input:focus-visible,
.ov-field textarea:focus-visible,
.ov-field select:focus-visible {
  outline: 3px solid var(--ov-color-focus);
  outline-offset: 5px;
}
