.h5-table {
  width: 100%;
  border-collapse: collapse;
}

.h5-table th,
.h5-table td {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
  font-size: var(--font-body);
}

.h5-table th {
  width: 7.5em;
  min-width: 7.5em;
  padding-right: var(--space-md);
  color: var(--color-text-tertiary);
  font-weight: 400;
}

.h5-section-note {
  font-size: var(--font-caption);
  color: var(--color-text-tertiary);
  line-height: var(--line-height-article);
  margin: 0 0 var(--space-md);
}

.h5-store-panel-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.h5-store-name {
  margin: 0;
  font-size: var(--font-h3, var(--font-body));
  font-weight: 600;
  color: var(--color-text-primary);
}

.h5-store-meta {
  margin: 0;
  font-size: var(--font-caption);
  color: var(--color-text-secondary);
}

.h5-store-phone-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-sm);
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-muted);
  text-decoration: none;
}

.h5-store-phone-label {
  font-size: var(--font-caption);
  color: var(--color-text-secondary);
}

.h5-store-phone-value {
  margin-left: auto;
  font-size: var(--font-body);
  font-weight: 600;
  color: var(--color-primary);
}

.h5-price {
  font-size: var(--font-h2);
  font-weight: 600;
  color: var(--color-text-primary);
}

.h5-price-note {
  display: block;
  margin-top: var(--space-xs);
  font-size: var(--font-caption);
  color: var(--color-text-tertiary);
}

.h5-node {
  margin-bottom: var(--space-lg);
}

.h5-node-title {
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.h5-node-note {
  font-size: var(--font-body);
  line-height: var(--line-height-article);
  color: var(--color-text-secondary);
}

.h5-placeholder-img {
  width: 100%;
  min-height: var(--size-h5-img-placeholder);
  background: var(--color-bg-muted);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-tertiary);
  font-size: var(--font-caption);
  margin-bottom: var(--space-sm);
}

.h5-node-img {
  width: 100%;
  min-height: var(--size-h5-process-img-min);
  max-height: none;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  background: var(--color-bg-muted);
}

.h5-node-img--contain {
  object-fit: contain;
  background: var(--color-bg-muted);
}

.h5-compliance {
  font-size: var(--font-caption);
  color: var(--color-text-tertiary);
  margin-top: var(--space-sm);
  line-height: var(--line-height-article);
}

.h5-internal-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.h5-internal-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background: var(--color-bg-muted);
  text-decoration: none;
  color: var(--color-text-primary);
}

.h5-internal-link-label {
  font-weight: 600;
}

.h5-internal-link-hint {
  font-size: var(--font-caption);
  color: var(--color-text-tertiary);
  white-space: nowrap;
}

.h5-article-lead {
  margin-bottom: var(--space-lg);
  padding: var(--space-lg);
  background: var(--color-bg-muted);
  border-radius: var(--radius-lg);
}

.h5-article-lead-label {
  margin: 0 0 var(--space-sm);
  font-size: var(--font-caption);
  color: var(--color-text-tertiary);
}

.h5-article-section {
  margin-bottom: var(--space-lg);
}

.h5-article-text {
  font-size: var(--font-body);
  line-height: var(--line-height-article);
  color: var(--color-text-secondary);
}

.h5-article-text p {
  margin: 0 0 var(--space-md);
}

.h5-article-node {
  margin-bottom: var(--space-xl);
}

.h5-figure {
  margin: 0 0 var(--space-md);
}

.h5-figure-caption {
  margin-top: var(--space-xs);
  font-size: var(--font-caption);
  color: var(--color-text-tertiary);
  line-height: var(--line-height-article);
}

.h5-consult-sheet[hidden] {
  display: none !important;
}

.h5-consult-sheet {
  position: fixed;
  inset: 0;
  z-index: var(--z-h5-sheet);
}

.h5-consult-sheet-mask {
  position: absolute;
  inset: 0;
  background: var(--color-mask);
}

.h5-consult-sheet-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 85vh;
  overflow: auto;
  padding: var(--space-lg);
  padding-bottom: calc(var(--space-lg) + env(safe-area-inset-bottom));
  background: var(--color-bg-card);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.h5-consult-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.h5-consult-close {
  border: none;
  background: none;
  color: var(--color-text-tertiary);
  font-size: var(--font-body);
  cursor: pointer;
}

.h5-field {
  display: block;
  margin-bottom: var(--space-md);
}

.h5-field span {
  display: block;
  margin-bottom: var(--space-xs);
  font-size: var(--font-caption);
  color: var(--color-text-secondary);
}

.h5-field input,
.h5-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--font-body);
  font-family: inherit;
  background: var(--color-bg-surface);
}

.h5-consult-consent {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  font-size: var(--font-caption);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
  line-height: var(--line-height-article);
}

.h5-consult-error {
  color: var(--color-danger);
  font-size: var(--font-caption);
  margin: 0 0 var(--space-sm);
}

.h5-related-case-list .h5-media-list-item {
  margin-bottom: 0;
}

.h5-related-case-list .h5-media-list + .h5-media-list-item,
.h5-related-case-list .h5-media-list-item + .h5-media-list-item {
  margin-top: 0;
}

.h5-trust-attestation {
  margin: var(--space-md) 0 0;
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-muted);
}

.h5-trust-attestation__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xs);
}

.h5-trust-attestation__title {
  font-size: var(--font-body);
  color: var(--color-text-primary);
}

.h5-trust-attestation__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.h5-trust-attestation__body {
  margin: 0;
  color: var(--color-text-secondary);
  line-height: 1.6;
}
