
.stencil-container {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 0;
  padding-bottom: 0;
}

.stencil-page {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.stencil-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: stretch;
  gap: 18px;
  min-width: 0;
}

.stencil-type-card {
  min-width: 0;
  padding: 18px 20px;
  background: #f8fafd;
  border: 1px solid #e3ebf4;
  border-radius: var(--radius-md, 10px);
}

.stencil-type-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 16.5px;
  line-height: 1.35;
  color: var(--primary-color, #144B8A);
}

.stencil-type-card h3 i {
  flex-shrink: 0;
  font-size: 15px;
}

.stencil-type-card h3 span {
  min-width: 0;
  overflow-wrap: break-word;
}

.stencil-type-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: #4a5568;
}

.stencil-thick-list {
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
}

.stencil-thick-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 11px 2px;
  border-bottom: 1px dashed #eef2f7;
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  min-width: 0;
}

.stencil-thick-list li:first-child {
  padding-top: 2px;
}

.stencil-thick-list li:last-child {
  border-bottom: none;
}

.stencil-thick-value {
  flex: 0 0 82px;
  font-weight: 700;
  color: var(--primary-color, #144B8A);
  white-space: nowrap;
}

.stencil-thick-list li > span:last-child {
  min-width: 0;
  overflow-wrap: break-word;
}

.table-scroll {
  overflow-x: auto;
  max-width: 100%;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
}

.stencil-specs .section-header {
  background-color: #eaf1f8;
}

.stencil-specs tbody tr:nth-child(even) td {
  background-color: #f8fafc;
}

.stencil-specs tbody tr:nth-child(even) td.param-name {
  background-color: #f2f7fc;
}

.stencil-specs tbody tr:hover td {
  background-color: #fbfdff;
}

@media (max-width: 900px) {
  .stencil-page {
    gap: 18px;
  }
}

@media (max-width: 600px) {
  .card-title-accent {
    font-size: 18px;
    gap: 9px;
  }
}
