@layer components {

.terms-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}
.terms-card {
  overflow: hidden;
}
.terms-head {
  padding: 28px 30px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.terms-title {
  margin-top: 14px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  letter-spacing: -.05em;
  font-weight: 900;
}
.terms-meta {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.terms-content {
  padding: 30px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 2;
  white-space: pre-wrap;
}
.terms-content.is-html { white-space: normal; }
.sticky-panel {
  position: sticky;
  top: calc(var(--header-total, 144px) + 24px);
  display: grid;
  gap: 16px;
}
.action-card {
  padding: 22px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-sm);
}
.action-card h3 {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -.02em;
}
.action-card p {
  margin-top: 10px;
  color: var(--text-2);
  line-height: 1.75;
}
.action-stack {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.status-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--text-2);
  font-size: 13px;
}
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #34d399, #10b981);
  flex-shrink: 0;
}
@media (max-width: 980px) {
  .terms-detail-grid { grid-template-columns: 1fr; }
  .sticky-panel { position: static; }
}

}
