/* Hub layout: zone banner, principles, nav, kit sections */
.tk-zone-banner {
  padding: 12px 14px 14px;
  border-bottom: 1px solid var(--tk-border);
  background: linear-gradient(180deg, #f8fafc 0%, var(--tk-surface) 100%);
}

.tk-zone-banner__row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.tk-zone-banner__zone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--tk-text);
  margin: 0;
}

.tk-zone-banner__zone-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #92400e;
  flex-shrink: 0;
}

.tk-zone-banner__warn {
  font-size: 13px;
  color: var(--tk-text);
  margin: 0 0 8px;
  line-height: 1.4;
}

.tk-color-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.tk-color-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 6px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid transparent;
}

.tk-color-chip::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}

.tk-color-chip--blue { background: #dbeafe; color: #1e40af; border-color: #93c5fd; }
.tk-color-chip--blue::before { background: #2563eb; }

.tk-color-chip--yellow { background: #fef9c3; color: #854d0e; border-color: #fde047; }
.tk-color-chip--yellow::before { background: #ca8a04; }

.tk-color-chip--red { background: #fee2e2; color: #991b1b; border-color: #fca5a5; }
.tk-color-chip--red::before { background: #dc2626; }

.tk-color-chip--green { background: #dcfce7; color: #166534; border-color: #86efac; }
.tk-color-chip--green::before { background: #16a34a; }

.tk-color-chip__hint {
  font-weight: 500;
  opacity: 0.85;
}

.tk-zone-banner__note {
  font-size: 12px;
  color: var(--tk-muted);
  margin: 0;
  line-height: 1.4;
}

.tk-hub-nav {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 10px 12px;
  border-bottom: 1px solid var(--tk-border);
  background: var(--tk-surface);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tk-hub-nav::-webkit-scrollbar { display: none; }

.tk-hub-nav a {
  flex: 0 0 auto;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  color: var(--tk-accent);
  background: var(--tk-surface-muted);
  border: 1px solid var(--tk-border);
  white-space: nowrap;
}

.tk-hub-nav a:hover { background: #e2e8f0; }

.tk-principles {
  padding: 14px;
  border-bottom: 1px solid var(--tk-border);
}

.tk-section-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--tk-text);
}

.tk-principles__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

@media (max-width: 380px) {
  .tk-principles__grid { grid-template-columns: 1fr; }
}

.tk-principle-card {
  padding: 10px 12px;
  border-radius: var(--tk-radius-sm);
  background: var(--tk-surface-muted);
  border: 1px solid var(--tk-border);
  font-size: 12px;
  line-height: 1.4;
  color: var(--tk-text);
}

.tk-principle-card strong {
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}

.tk-catalog-embed {
  padding: 14px;
  border-bottom: 1px solid var(--tk-border);
}

.tk-catalog-embed__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.tk-catalog-embed__meta { flex: 1; min-width: 0; }

.tk-catalog-embed__type {
  font-size: 12px;
  color: var(--tk-muted);
  margin: 0 0 4px;
}

.tk-catalog-embed__name {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.tk-catalog-embed__link {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  color: var(--tk-accent);
  padding: 6px 10px;
  border: 1px solid var(--tk-border);
  border-radius: var(--tk-radius-sm);
  background: var(--tk-surface);
}

.tk-kit-section { border-bottom: 8px solid var(--tk-bg); }

.tk-kit-section__title {
  margin: 0;
  padding: 12px 14px 6px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tk-muted);
}

.tk-kit-section--equipment .tk-kit-section__title { color: #1e40af; }
.tk-kit-section--textile .tk-kit-section__title { color: #854d0e; }
.tk-kit-section--consumables .tk-kit-section__title { color: #0f766e; }

.tk-item-card__open--link { text-decoration: none; color: inherit; }

.tk-header__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
}

.tk-header__type {
  font-size: 13px;
  color: var(--tk-muted);
  margin: 0 0 10px;
}
