/* Имовина кроз године: стил визуелног блока пријава на профилу особе.
   Сопствени модул уз scripts/asset-timeline.js; не мења стилове главне апликације. */

.at-root {
  --at-prop: #54644a;
  --at-veh: #a98243;
  --at-inc: #5a7d9a;
  --at-unknown: #b9b6a8;
  margin: 26px 0;
  padding: 20px 22px;
  background: var(--light, #faf9f3);
  border: 1px solid var(--line, #d4d1c5);
  border-radius: 6px;
}

.at-head .at-eyebrow {
  font-size: 9px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--muted, #73736a);
  margin-bottom: 6px;
}

.at-head h3 { margin: 0 0 6px; }
.at-lead { color: var(--muted, #73736a); font-size: 12px; }

.at-chart { margin-top: 14px; overflow-x: auto; }
.at-svg { display: block; width: 100%; min-width: 520px; height: auto; }

.at-row-label { font-size: 10px; fill: var(--ink, #282924); }
.at-row-hint { fill: var(--muted, #73736a); font-size: 8px; }
.at-baseline { stroke: var(--line, #d4d1c5); stroke-width: 1; }
.at-year { font-size: 9.5px; fill: var(--muted, #73736a); }

.at-bar { transition: opacity .12s ease; }
.at-bar-prop { fill: var(--at-prop); }
.at-bar-veh { fill: var(--at-veh); }
.at-bar-inc { fill: var(--at-inc); }
.at-bar-unknown { fill: var(--at-unknown); opacity: .55; }
.at-zero { stroke: var(--ink, #282924); stroke-width: 1.5; stroke-linecap: round; opacity: .6; }

.at-hit { fill: transparent; }
.at-col { cursor: pointer; outline: none; }
.at-col:hover .at-bar,
.at-col:focus-visible .at-bar { stroke: var(--ink, #282924); stroke-width: 1; }
.at-col:hover .at-year,
.at-col:hover + .at-year { fill: var(--ink, #282924); font-weight: 700; }

.at-legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 10px 0 0;
  padding: 0;
  font-size: 11px;
}
.at-legend li { display: flex; align-items: center; gap: 7px; }
.at-legend small { color: var(--muted, #73736a); }
.at-swatch { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.at-swatch.at-bar-prop { background: var(--at-prop); }
.at-swatch.at-bar-veh { background: var(--at-veh); }
.at-swatch.at-bar-inc { background: var(--at-inc); }

.at-years { margin: 14px 0 0; font-size: 11.5px; }
.at-years summary { cursor: pointer; color: var(--muted, #73736a); }
.at-years ol { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.at-years li {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 4px 12px;
  align-items: baseline;
  padding: 6px 8px;
  background: var(--paper, #f4f2e9);
  border: 1px solid var(--line, #d4d1c5);
  border-radius: 4px;
}
.at-year-cell { font-weight: 700; }

.at-notes {
  list-style: none;
  margin: 14px 0 0;
  padding: 10px 0 0;
  border-top: 1px dashed var(--line, #d4d1c5);
  color: var(--muted, #73736a);
  font-size: 11px;
  display: grid;
  gap: 4px;
}
.at-notes li::before { content: '※ '; opacity: .7; }

@media (max-width: 720px) {
  .at-root { padding: 14px; }
  .at-years li { grid-template-columns: 56px 1fr; }
  .at-years li span:last-child { grid-column: 1 / -1; }
}
