
/* MedAtlas — Atlas Research Artifacts R1.0 */

.ar-panel {
  --ar-navy: #14213d;
  --ar-deep: #0d1830;
  --ar-gold: #ad7a20;
  --ar-soft-gold: #d7b56f;
  --ar-ivory: #faf7ef;

  margin: 16px 0 8px;
  padding: 20px;
  color: var(--ar-ivory);
  background: linear-gradient(
    145deg, var(--ar-navy), var(--ar-deep)
  );
  border: 1px solid rgba(173,122,32,.45);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0,0,0,.13);
  font-family: inherit;
}

.ar-panel * { box-sizing: border-box; }

.ar-heading,
.ar-toolbar,
.ar-card-top,
.ar-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.ar-heading {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(215,181,111,.24);
}

.ar-heading-title {
  font-size: 1.08rem;
  font-weight: 750;
  letter-spacing: .025em;
  color: var(--ar-soft-gold);
}

.ar-count {
  font-size: .78rem;
  color: #d5dceb;
}

.ar-toolbar {
  justify-content: flex-start;
  margin: 16px 0;
}

.ar-label {
  font-size: .83rem;
  font-weight: 650;
  color: #f1eadc;
}

.ar-select {
  min-width: 145px;
  padding: 9px 12px;
  border: 1px solid #64728c;
  border-radius: 8px;
  background: #fffdf8;
  color: #14213d;
  font: inherit;
  font-size: .86rem;
}

.ar-button,
.ar-copy {
  padding: 9px 13px;
  border: 1px solid var(--ar-gold);
  border-radius: 8px;
  background: var(--ar-gold);
  color: #fffdf8;
  font: inherit;
  font-size: .82rem;
  font-weight: 650;
  cursor: pointer;
  transition: background .18s, transform .18s;
}

.ar-button:hover,
.ar-copy:hover {
  background: #8d6118;
  transform: translateY(-1px);
}

.ar-outline {
  background: transparent;
  color: var(--ar-soft-gold);
}

.ar-list {
  display: grid;
  gap: 12px;
}

.ar-card {
  padding: 17px;
  border: 1px solid #435270;
  border-radius: 12px;
  background: #263654;
  overflow-wrap: anywhere;
}

.ar-card-top {
  justify-content: flex-start;
  margin-bottom: 12px;
}

.ar-marker {
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(215,181,111,.13);
  color: var(--ar-soft-gold);
  font-size: .76rem;
  font-weight: 750;
}

.ar-status {
  padding: 4px 9px;
  border: 1px solid #68758c;
  border-radius: 20px;
  color: #e2e6ed;
  font-size: .73rem;
}

.ar-verified {
  border-color: #87b9a3;
  color: #b9e3ce;
}

.ar-title {
  display: block;
  margin-bottom: 8px;
  color: #fff0c7;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

.ar-title:hover {
  text-decoration: underline;
  color: #ffffff;
}

.ar-scope {
  margin: 0 0 12px;
  font-size: .77rem;
  color: #d4dce8;
}

.ar-citation {
  margin: 0;
  padding: 12px 14px;
  border-left: 3px solid var(--ar-gold);
  border-radius: 5px;
  background: rgba(13,24,48,.55);
  color: #f1eadc;
  font-size: .85rem;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.ar-card-actions {
  justify-content: flex-end;
  margin-top: 12px;
}

.ar-copy {
  background: transparent;
  color: var(--ar-soft-gold);
}

@media (max-width: 680px) {
  .ar-panel { padding: 13px; }
  .ar-toolbar { align-items: stretch; }
  .ar-select { flex: 1; }
  .ar-button { flex: 1; }
  .ar-card { padding: 13px; }
}
