/* Atölye destek odası */

.peer-help-box {
  margin: 0.25rem 0 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--border, #ccc) 75%, transparent);
  background: color-mix(in srgb, var(--surface, #f7f7f5) 88%, #fff);
}

.peer-help-title {
  margin: 0 0 0.4rem;
  font-weight: 650;
  font-size: 0.98rem;
}

.peer-help-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted, #444);
  font-size: 0.9rem;
  line-height: 1.5;
}

.peer-help-list li + li {
  margin-top: 0.25rem;
}

.peer-help-list a {
  color: var(--accent, #2c5f4a);
}

.peer-schedule {
  margin: 0.35rem 0 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent, #2c5f4a) 12%, transparent);
  color: var(--text, #1a1a1a);
  font-size: 0.92rem;
  line-height: 1.45;
}

.peer-closed-box {
  margin: 0.5rem 0 1rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid color-mix(in srgb, var(--border, #ccc) 80%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface, #f7f7f5) 90%, #fff);
}

.peer-closed-title {
  margin: 0 0 0.35rem;
  font-weight: 650;
  font-size: 1.05rem;
}

.peer-closed-text {
  margin: 0;
  color: var(--muted, #555);
  line-height: 1.5;
}

.peer-posts {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.peer-card {
  border: 1px solid color-mix(in srgb, var(--border, #ccc) 85%, transparent);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  background: var(--surface, #fff);
}

.peer-card.is-resolved {
  opacity: 0.78;
}

.peer-card-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: baseline;
  margin-bottom: 0.35rem;
}

.peer-card-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
}

.peer-card-meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted, #666);
}

.peer-card-body {
  margin: 0.4rem 0 0.65rem;
  white-space: pre-wrap;
  line-height: 1.5;
}

.peer-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
}

.peer-replies {
  margin: 0;
  padding: 0.55rem 0 0 0.75rem;
  border-left: 2px solid color-mix(in srgb, var(--accent, #2c5f4a) 35%, transparent);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.peer-reply {
  font-size: 0.92rem;
}

.peer-reply-meta {
  margin: 0 0 0.15rem;
  font-size: 0.8rem;
  color: var(--muted, #666);
}

.peer-reply-body {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.45;
}

.peer-my-issues {
  margin-top: 1.35rem;
}

.peer-issues-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.75rem 1rem 1rem;
}

.peer-issue-row {
  border: 1px solid color-mix(in srgb, var(--border, #ccc) 80%, transparent);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
}

.peer-issue-row h4 {
  margin: 0 0 0.25rem;
  font-size: 0.98rem;
}

.peer-issue-status {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  background: #efe6d6;
  color: #5a4518;
  margin-left: 0.35rem;
}

.peer-issue-status.is-done {
  background: #dceee3;
  color: #1d5a38;
}

.peer-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.peer-form label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.9rem;
}

.peer-form input,
.peer-form textarea {
  font: inherit;
  padding: 0.45rem 0.55rem;
  border-radius: 6px;
  border: 1px solid color-mix(in srgb, var(--border, #bbb) 90%, transparent);
}

.peer-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.peer-rules-text {
  white-space: pre-wrap;
  line-height: 1.5;
  margin: 0 0 0.85rem;
}

.peer-rules-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
}

.peer-empty {
  margin: 0.5rem 0;
  color: var(--muted, #666);
}
