/* -- PALLETS OVERVIEW -- build 2 | v2.1.19 */

.ov {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--sp-8);
  color: var(--text-on-workspace);
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.ov-loading { padding: var(--sp-8); color: var(--text-muted); font-size: 13px; }

/* SECTIONS */
.ov-section {
  background: #fff;
  border: 1px solid var(--tabs-border);
  border-radius: var(--radius);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.ov-section--info { }

.ov-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ov-section-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.ov-edit-btn {
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  background: var(--accent-dark);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.ov-edit-btn:hover { background: var(--accent-deeper); }
.ov-edit-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* FIELDS */
.ov-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.ov-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.ov-field--full { grid-column: 1 / -1; }

.ov-field label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.ov-field input,
.ov-field select,
.ov-field textarea {
  background: var(--workspace);
  border: 1px solid var(--tabs-border);
  border-radius: var(--radius-sm);
  padding: var(--sp-2) var(--sp-3);
  color: var(--text-on-workspace);
  font-size: 13px;
  font-family: var(--font-ui);
  outline: none;
  width: 100%;
  transition: border-color var(--transition);
}
.ov-field input:focus,
.ov-field select:focus,
.ov-field textarea:focus { border-color: var(--accent-dark); }
.ov-field input:disabled,
.ov-field select:disabled,
.ov-field textarea:disabled {
  background: var(--tabs);
  color: var(--text-on-workspace);
  cursor: default;
  opacity: 0.8;
}
.ov-field textarea { resize: vertical; min-height: 72px; }
.ov-field select option { text-transform: capitalize; }

.ov-value {
  font-size: 13px;
  color: var(--text-on-workspace);
  padding: var(--sp-2) 0;
}

/* ANNOUNCEMENTS */
.ov-announcements { display: flex; flex-direction: column; gap: var(--sp-2); }

.ov-announcement {
  padding: var(--sp-3) var(--sp-4);
  background: var(--tabs);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--tabs-border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ov-announcement--pinned { border-left-color: var(--accent-dark); }

.ov-announcement-title { font-size: 13px; font-weight: 500; color: var(--text-on-workspace); }
.ov-announcement-meta  { font-size: 11px; color: var(--text-muted); }

/* NEXT EVENT */
.ov-next-event {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  padding: var(--sp-4);
  background: var(--tabs);
  border-radius: var(--radius);
}

.ov-next-event-date {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-on-workspace);
}

.ov-next-event-type {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: capitalize;
  padding: 2px var(--sp-2);
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--tabs-border);
}

.ov-next-event-location { font-size: 12px; color: var(--text-muted); }

/* TEAM */
.ov-team {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.ov-member {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: var(--tabs);
  border-radius: var(--radius);
  min-width: 200px;
}

.ov-member-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
  overflow: hidden;
}
.ov-member-avatar img { width: 100%; height: 100%; object-fit: cover; }

.ov-member-info { display: flex; flex-direction: column; gap: 2px; }
.ov-member-name { font-size: 13px; font-weight: 500; color: var(--text-on-workspace); }
.ov-member-role { font-size: 11px; color: var(--text-muted); text-transform: capitalize; }

/* EMPTY */
.ov-empty { font-size: 13px; color: var(--text-muted); padding: var(--sp-2) 0; }

/* MOBILE */
@media (max-width: 768px) {
  .ov { padding: var(--sp-4); gap: var(--sp-4); }
  .ov-info-grid { grid-template-columns: 1fr; }
  .ov-team { flex-direction: column; }
  .ov-member { min-width: 0; width: 100%; }
}

/* DARK MODE */
[data-theme="dark"] .ov-section {
  background: var(--shell-mid);
  border-color: var(--shell-edge);
}
[data-theme="dark"] .ov-field input,
[data-theme="dark"] .ov-field select,
[data-theme="dark"] .ov-field textarea {
  background: var(--shell);
  border-color: var(--shell-edge);
  color: var(--text-on-shell);
}
[data-theme="dark"] .ov-field input:disabled,
[data-theme="dark"] .ov-field select:disabled,
[data-theme="dark"] .ov-field textarea:disabled {
  background: var(--shell-deep);
  color: var(--text-muted);
}
[data-theme="dark"] .ov-field label { color: var(--text-muted); }
[data-theme="dark"] .ov-value { color: var(--text-on-shell); }
[data-theme="dark"] .ov-announcement { background: var(--shell); }
[data-theme="dark"] .ov-announcement-title { color: var(--text-on-shell); }
[data-theme="dark"] .ov-next-event { background: var(--shell); }
[data-theme="dark"] .ov-next-event-date { color: var(--text-on-shell); }
[data-theme="dark"] .ov-next-event-type { background: var(--shell-mid); border-color: var(--shell-edge); color: var(--text-muted); }
[data-theme="dark"] .ov-member { background: var(--shell); }
[data-theme="dark"] .ov-member-name { color: var(--text-on-shell); }
