.syhc-main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1rem;
}

.syhc-wrap {
  width: 100%;
}

.syhc-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .syhc-grid {
    grid-template-columns: 1fr;
  }
}

.syhc-card {
  background: var(--card-bg, #ffffff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.syhc-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.syhc-head-btns {
  display: flex;
  gap: 0.5rem;
}

.syhc-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  color: var(--text, #1e293b);
}

.syhc-sub-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  color: var(--text, #1e293b);
}

.syhc-form-group {
  margin-bottom: 1.25rem;
}

.syhc-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text, #1e293b);
  margin-bottom: 0.35rem;
}

.syhc-select,
.syhc-textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font-size: 0.95rem;
  color: var(--text, #1e293b);
  background: var(--card-bg, #ffffff);
  border: 1px solid var(--border, #cbd5e1);
  border-radius: 6px;
  box-sizing: border-box;
  font-family: inherit;
}

.syhc-textarea {
  line-height: 1.6;
  resize: vertical;
  font-size: 1rem;
}

.syhc-select:focus,
.syhc-textarea:focus {
  outline: none;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.syhc-hint {
  font-size: 0.8rem;
  color: var(--muted, #64748b);
  margin: 0;
}

.syhc-btn-ghost {
  background: transparent;
  color: #0284c7;
  border: 1px solid #bae6fd;
  border-radius: 4px;
  padding: 0.25rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.syhc-btn-ghost:hover {
  background: #f0f9ff;
}

/* Status Banner */
.syhc-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.syhc-banner-warn {
  background: #fffbeb;
  border-color: #fde68a;
}

.syhc-banner-text {
  flex: 1;
  min-width: 0;
}

.syhc-banner-icon {
  font-size: 1.75rem;
  font-weight: 900;
  color: #15803d;
  line-height: 1;
}

.syhc-banner-warn .syhc-banner-icon {
  color: #b45309;
}

.syhc-banner-title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #15803d;
  margin-bottom: 0.2rem;
}

.syhc-banner-warn .syhc-banner-title {
  color: #b45309;
}

.syhc-banner-sub {
  font-size: 0.85rem;
  color: var(--text, #1e293b);
  margin: 0;
}

/* KPI Cards */
.syhc-kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.syhc-kpi-card {
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.syhc-kpi-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.syhc-kpi-val {
  font-size: 1.5rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.syhc-kpi-sub {
  font-size: 0.75rem;
  opacity: 0.85;
  margin-top: 0.25rem;
}

.syhc-kpi-total {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.syhc-kpi-lines {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
}

.syhc-kpi-words {
  background: #faf5ff;
  border: 1px solid #f3e8ff;
  color: #7e22ce;
}

.syhc-kpi-status {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #b45309;
}

/* Lines List */
.syhc-lines-section {
  border-top: 1px solid var(--border, #e2e8f0);
  padding-top: 1rem;
  margin-bottom: 1.25rem;
}

.syhc-lines-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.syhc-line-item {
  background: #f8fafc;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 8px;
  padding: 0.75rem 1rem;
}

.syhc-line-perfect {
  border-left: 4px solid #16a34a;
}

.syhc-line-mismatch {
  border-left: 4px solid #f59e0b;
}

.syhc-line-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}

.syhc-line-num {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted, #64748b);
}

.syhc-line-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #15803d;
  background: #dcfce7;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.syhc-badge-warn {
  color: #b45309;
  background: #fef3c7;
}

.syhc-line-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text, #1e293b);
  margin: 0.2rem 0 0.5rem 0;
}

.syhc-word-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.syhc-chip {
  background: #ffffff;
  border: 1px solid var(--border, #cbd5e1);
  border-radius: 4px;
  font-size: 0.75rem;
  padding: 0.15rem 0.4rem;
  color: var(--text, #1e293b);
}

.syhc-actions-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.syhc-btn-action {
  background: #0284c7;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 40px;
}

.syhc-btn-action:hover {
  background: #0369a1;
}

.syhc-status-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #16a34a;
}
