/* Ekstra stilarter til profil.html (bygger på style.css) */

/* Tre slags profiler: små tegninger af rum */
.rooms .card svg {
  width: 100%;
  height: auto;
  color: var(--ink-soft);
  background: #f7f7f5;
  border-radius: var(--radius-sm);
  padding: 10px;
  margin-bottom: 14px;
}
.rooms .card--good {
  border-color: var(--good);
  box-shadow: var(--shadow);
}
.rooms .card--good svg {
  color: var(--good);
  background: var(--sand-tint);
}
.room-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--bad);
}
.card--good .room-tag {
  color: var(--good);
}

/* Definitioner med ord i stedet for korte operatorer */
.defs--words .defs-row {
  grid-template-columns: 7.4rem 1fr;
}
.defs--words dt {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.4;
}

/* Overskrift, der deles op i dele */
.headline-sample {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 16px 0 8px;
  font-weight: 750;
  font-size: 1.08rem;
  line-height: 1.45;
}
.parts {
  list-style: none;
  margin: 8px 0 18px;
  padding: 0;
}
.parts li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.parts li:first-child {
  border-top: 0;
}
.part {
  display: inline-block;
  background: var(--sand-tint);
  color: #4d3f28;
  font-weight: 750;
  border-radius: 8px;
  padding: 2px 8px;
  margin-bottom: 4px;
}
.parts span {
  display: block;
  color: var(--ink-soft);
}

/* Hele profilen før og efter */
.ba-part {
  display: block;
  padding: 12px 18px 0;
  font-weight: 800;
  font-size: 1.02rem;
}
.ba-item .ba-part + .ba-before {
  margin-top: 8px;
  border-top: 1px solid var(--line);
}
.ba-text ul,
.ba-after ul {
  margin: 6px 0 0;
  padding-left: 1.15em;
}
.ba-after ul li::marker {
  color: var(--good);
}

/* Del, del, del: Lone -> Hans -> Mette */
.chain {
  list-style: none;
  display: flex;
  margin: 20px 0 16px;
  padding: 18px 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.chain li {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  text-align: center;
}
.chain li + li::before {
  content: "";
  position: absolute;
  top: 25px;
  left: -50%;
  width: 100%;
  border-top: 2px dashed var(--accent);
  z-index: 0;
}
.chain-dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--accent);
  font-weight: 800;
  font-size: 1.1rem;
  border: 3px solid var(--card);
  box-shadow: 0 0 0 2px var(--accent);
}
.chain li:last-child .chain-dot {
  background: var(--sand);
  color: var(--ink);
  box-shadow: 0 0 0 2px var(--sand);
}
.chain small {
  display: block;
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

/* Links på mørk baggrund */
.plan .closing a {
  color: #fff;
}

@media print {
  .rooms .card svg {
    background: none;
    color: #000;
  }
  .chain {
    border: 1px solid #999;
  }
  .chain-dot {
    background: none !important;
    color: #000 !important;
    box-shadow: 0 0 0 1.5px #000 !important;
  }
  .chain li + li::before {
    border-color: #000;
  }
  .part {
    background: none;
    color: #000;
    padding: 0;
  }
}
