/* Archive Manager (file-roller-flavoured) */

.ar {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.ar-head {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  background: var(--win-head);
  font-size: 13px;
}
.ar-head .icon { width: 18px; height: 18px; }
.ar-head .ar-name { font-weight: 700; }
.ar-head .ar-count { color: var(--text-dim); }
.ar-head .btn { margin-left: auto; }

.ar-list {
  flex: 1;
  overflow-y: auto;
  padding: 6px 10px 20px;
}

.ar-year {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 6px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
}
.ar-year .icon { width: 13px; height: 13px; color: var(--text-dim); transition: transform 0.15s; }
.ar-year.open .icon { transform: rotate(90deg); }
.ar-year small { color: var(--text-dim); font-weight: 400; font-size: 12px; }

.ar-month {
  font-size: 11.5px;
  color: var(--text-dim);
  padding: 8px 8px 4px 24px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 10px 8px 24px;
  border-radius: 9px;
  font-size: 13.5px;
  text-align: left;
}
.ar-row:hover { background: var(--hover); }
.ar-row time { color: var(--text-dim); font-size: 12px; font-variant-numeric: tabular-nums; width: 74px; flex: none; }
.ar-row .ar-title { font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ar-row .ar-tags { color: var(--text-dim); font-size: 11.5px; flex: none; }
.ar-row .ar-size { color: var(--text-dim); font-size: 11.5px; width: 70px; text-align: right; flex: none; font-variant-numeric: tabular-nums; }
