/* Shared component rules. Semantic colors and proportions come from style.css. */
.v3-meta {
  color: var(--muted);
  font-size: var(--font-meta);
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.v3-description { color: var(--muted); }

.v3-tabs {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  overflow-x: auto;
  padding: 3px;
}

.v3-tabs > button {
  flex: none;
  min-height: var(--touch-size);
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  white-space: nowrap;
}

.v3-tabs > button:is(:hover, :active, [aria-pressed="true"]) {
  border-color: transparent;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.v3-tabs > button[aria-pressed="true"] { font-weight: 700; }

dialog.v3-edit-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(100%, 30rem);
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: var(--page-padding);
  border: 0;
  border-radius: 0;
  background: var(--canvas);
  color: var(--ink);
  overflow: auto;
}

.v3-edit-drawer-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  margin-block-end: var(--space-4);
}

.v3-edit-drawer-heading h2 {
  margin: 0;
  overflow-wrap: anywhere;
}
